Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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:59:03.289454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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 23:59:22.131079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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_13_01_3764.jpg', '/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_06_2682.jpg', '/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_09_2729.jpg', '/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_15_2839.jpg', '/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_18_2686.jpg', '/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_24_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/13/12/image_30102025_13_13_01_3764.jpg
/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_06_2682.jpg
/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_09_2729.jpg
/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_15_2839.jpg
/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_18_2686.jpg
/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_24_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938780","1391938861","1391938695","1391938496","1391938457","1391938565"],"photo_ids_order":["1391938457","1391938496","1391938565","1391938695","1391938780","1391938861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01b0aeafbddc377812db9a809a58e6b6.jpg","text":"TemporaryFile(/tmp/multipartBody7133859906263213056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124435016,"filename":"image_30102025_13_13_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/3/b38c71c11668f7f81c6152a246e4cbd0.jpg","text":"TemporaryFile(/tmp/multipartBody6716852695480085031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124435016,"filename":"image_30102025_13_13_24_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fec345b880dd5f023f682fa236784b79.jpg","text":"TemporaryFile(/tmp/multipartBody66442543200069714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124435016,"filename":"image_30102025_13_13_15_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/3/ea3ce5ab4e921cfdf690c5585a80c04b.jpg","text":"TemporaryFile(/tmp/multipartBody7364927179784479189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124435016,"filename":"image_30102025_13_13_06_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/3/7336ce367212a0246c3b9014f4e03333.jpg","text":"TemporaryFile(/tmp/multipartBody8157925172884349066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124435016,"filename":"image_30102025_13_13_01_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/3/0e466cc002a7ef6285e5ade7529275f3.jpg","text":"TemporaryFile(/tmp/multipartBody4429336498032483548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124435016,"filename":"image_30102025_13_13_09_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938565","file1":"1391938496","file0":"1391938457","file4":"1391938780","file5":"1391938861","file3":"1391938695"},"map_files_photo_id_array":[{"photo_id":"1391938861","filename":"file5"},{"photo_id":"1391938565","filename":"file2"},{"photo_id":"1391938780","filename":"file4"},{"photo_id":"1391938496","filename":"file1"},{"photo_id":"1391938457","filename":"file0"},{"photo_id":"1391938695","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391938780":["hashtag1","hashtag2"]},{"1391938861":["hashtag1","hashtag2"]},{"1391938695":["hashtag1","hashtag2"]},{"1391938496":["hashtag1","hashtag2"]},{"1391938457":["hashtag1","hashtag2"]},{"1391938565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391938780, 1391938861, 1391938695, 1391938496, 1391938457, 1391938565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.08588671684265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:00:29.613281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/13/image_30102025_13_13_27_2902.jpg', '/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_33_2795.jpg', '/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_36_3764.jpg', '/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_51_2740.jpg', '/home/pi/Desktop/images/30102025/13/13/image_30102025_13_14_00_2719.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_03_3022.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/13/image_30102025_13_13_27_2902.jpg
/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_33_2795.jpg
/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_36_3764.jpg
/home/pi/Desktop/images/30102025/13/13/image_30102025_13_13_51_2740.jpg
/home/pi/Desktop/images/30102025/13/13/image_30102025_13_14_00_2719.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_03_3022.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391939796","1391939541","1391939463","1391939759","1391939693","1391939615"],"photo_ids_order":["1391939463","1391939541","1391939615","1391939693","1391939759","1391939796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/10f7dc62f8471294872df9a827216b92.jpg","text":"TemporaryFile(/tmp/multipartBody1417545360927702769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124495850,"filename":"image_30102025_13_14_03_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/3/5fb1debc90eed615690d0902c050dbdd.jpg","text":"TemporaryFile(/tmp/multipartBody5500943625268472350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124495850,"filename":"image_30102025_13_13_33_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/3/8c9faa26f6816ee15a084ed81ac5e86a.jpg","text":"TemporaryFile(/tmp/multipartBody5578125996749062414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124495850,"filename":"image_30102025_13_13_27_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/3/4f851d05f67cc049b4c2aaec0a31860f.jpg","text":"TemporaryFile(/tmp/multipartBody1885677998230984690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124495850,"filename":"image_30102025_13_14_00_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/3/5aac31c76c42bdb069bfdbd276c43a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1273771173267315865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124495850,"filename":"image_30102025_13_13_51_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/3/ebcd580de0bde244938235809525ca35.jpg","text":"TemporaryFile(/tmp/multipartBody3227290853320292581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124495850,"filename":"image_30102025_13_13_36_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391939615","file1":"1391939541","file0":"1391939463","file4":"1391939759","file5":"1391939796","file3":"1391939693"},"map_files_photo_id_array":[{"photo_id":"1391939796","filename":"file5"},{"photo_id":"1391939615","filename":"file2"},{"photo_id":"1391939759","filename":"file4"},{"photo_id":"1391939541","filename":"file1"},{"photo_id":"1391939463","filename":"file0"},{"photo_id":"1391939693","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391939796":["hashtag1","hashtag2"]},{"1391939541":["hashtag1","hashtag2"]},{"1391939463":["hashtag1","hashtag2"]},{"1391939759":["hashtag1","hashtag2"]},{"1391939693":["hashtag1","hashtag2"]},{"1391939615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391939796, 1391939541, 1391939463, 1391939759, 1391939693, 1391939615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08786487579346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:01:22.463318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/14/image_30102025_13_14_06_2659.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_09_3583.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_12_2657.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_18_3708.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_21_2517.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_24_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/13/14/image_30102025_13_14_06_2659.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_09_3583.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_12_2657.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_18_3708.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_21_2517.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_24_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940097","1391940160","1391940135","1391940201","1391940191","1391940161"],"photo_ids_order":["1391940097","1391940135","1391940160","1391940161","1391940191","1391940201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be03db397a8517d95202d298644783d3.jpg","text":"TemporaryFile(/tmp/multipartBody1297676601959320852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124544934,"filename":"image_30102025_13_14_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/3/1dbedd15c3f07636a67567d7caeabe06.jpg","text":"TemporaryFile(/tmp/multipartBody7997781633076496587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124544934,"filename":"image_30102025_13_14_12_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/3/c1a59160c47f47a66d0c6e59172fbe1c.jpg","text":"TemporaryFile(/tmp/multipartBody2161693910103995457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124544934,"filename":"image_30102025_13_14_09_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/3/922a177ef973e0cfebf79c0f3440d42f.jpg","text":"TemporaryFile(/tmp/multipartBody5818641633779232398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124544934,"filename":"image_30102025_13_14_24_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/3/0a826e315b70bbc5ba58d1bf89979c57.jpg","text":"TemporaryFile(/tmp/multipartBody5766121517722174830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124544934,"filename":"image_30102025_13_14_21_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/3/809c57bebd40ebaf22b1f89415518411.jpg","text":"TemporaryFile(/tmp/multipartBody3594273418956822061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124544934,"filename":"image_30102025_13_14_18_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940160","file1":"1391940135","file0":"1391940097","file4":"1391940191","file5":"1391940201","file3":"1391940161"},"map_files_photo_id_array":[{"photo_id":"1391940201","filename":"file5"},{"photo_id":"1391940160","filename":"file2"},{"photo_id":"1391940191","filename":"file4"},{"photo_id":"1391940135","filename":"file1"},{"photo_id":"1391940097","filename":"file0"},{"photo_id":"1391940161","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940097":["hashtag1","hashtag2"]},{"1391940160":["hashtag1","hashtag2"]},{"1391940135":["hashtag1","hashtag2"]},{"1391940201":["hashtag1","hashtag2"]},{"1391940191":["hashtag1","hashtag2"]},{"1391940161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940097, 1391940160, 1391940135, 1391940201, 1391940191, 1391940161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05416131019592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:02:03.197911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/14/image_30102025_13_14_27_3649.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_30_2652.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_33_2896.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_36_2963.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_39_3636.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_42_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/13/14/image_30102025_13_14_27_3649.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_30_2652.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_33_2896.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_36_2963.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_39_3636.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_42_2868.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940220","1391940223","1391940217","1391940222","1391940216","1391940218"],"photo_ids_order":["1391940216","1391940217","1391940218","1391940220","1391940222","1391940223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ece56988e6e1a1cc8fd905293744a6b9.jpg","text":"TemporaryFile(/tmp/multipartBody6445403633540826391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124585078,"filename":"image_30102025_13_14_36_2963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f2aac710bee1e6c4fdaefd7a282e10a.jpg","text":"TemporaryFile(/tmp/multipartBody2241701928773447701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124585078,"filename":"image_30102025_13_14_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/3/4741b1af89740d639e43123475b77f4e.jpg","text":"TemporaryFile(/tmp/multipartBody1438507882338477288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124585078,"filename":"image_30102025_13_14_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/3/3a00553026a16c1234786caefd9a8f67.jpg","text":"TemporaryFile(/tmp/multipartBody518435678453137986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124585078,"filename":"image_30102025_13_14_39_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/3/fd3914d70d5cddc12e779a4ddc13fb25.jpg","text":"TemporaryFile(/tmp/multipartBody2014139896020528113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124585078,"filename":"image_30102025_13_14_27_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/3/a5db897b0f7b742e57f0c79b0d232358.jpg","text":"TemporaryFile(/tmp/multipartBody7076277825514703401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124585078,"filename":"image_30102025_13_14_33_2896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940218","file1":"1391940217","file0":"1391940216","file4":"1391940222","file5":"1391940223","file3":"1391940220"},"map_files_photo_id_array":[{"photo_id":"1391940223","filename":"file5"},{"photo_id":"1391940218","filename":"file2"},{"photo_id":"1391940222","filename":"file4"},{"photo_id":"1391940217","filename":"file1"},{"photo_id":"1391940216","filename":"file0"},{"photo_id":"1391940220","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940220":["hashtag1","hashtag2"]},{"1391940223":["hashtag1","hashtag2"]},{"1391940217":["hashtag1","hashtag2"]},{"1391940222":["hashtag1","hashtag2"]},{"1391940216":["hashtag1","hashtag2"]},{"1391940218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940220, 1391940223, 1391940217, 1391940222, 1391940216, 1391940218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73465037345886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:02:42.726181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 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_31102025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'error': 'Invalid access_token'}
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_31102025.txt'

During handling of the above exception, another exception occurred:

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 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 92, in create_portfolio
    portfolio_id = res_json['portfolio_id']
KeyError: 'portfolio_id'
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:03:09.942825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 00:03:22.234671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/14/image_30102025_13_14_45_2662.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_50_2824.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_54_3566.jpg', '/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_57_2754.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_02_2828.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_12_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_45_2662.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_50_2824.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_54_3566.jpg
/home/pi/Desktop/images/30102025/13/14/image_30102025_13_14_57_2754.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_02_2828.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_12_2663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940649","1391940696","1391940651","1391940639","1391940695","1391940668"],"photo_ids_order":["1391940639","1391940649","1391940651","1391940668","1391940695","1391940696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/adfac0444cefbaf4c6614fd42e1fe105.jpg","text":"TemporaryFile(/tmp/multipartBody5914665706554760969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124676930,"filename":"image_30102025_13_14_50_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/3/295e29ce160bc31b2c5bd4daba95c3cf.jpg","text":"TemporaryFile(/tmp/multipartBody6049867891816146425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124676930,"filename":"image_30102025_13_15_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/3/c4376167582c19a4ecffaf9513ada8bc.jpg","text":"TemporaryFile(/tmp/multipartBody891786614946636456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124676930,"filename":"image_30102025_13_14_54_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/3/42a3e2bb67763a3bb36646c6087a35c3.jpg","text":"TemporaryFile(/tmp/multipartBody4476625119727352022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124676930,"filename":"image_30102025_13_14_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/3/d00b2202c8a7bd8d7e3a6e80e2515311.jpg","text":"TemporaryFile(/tmp/multipartBody2310066481897386777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124676930,"filename":"image_30102025_13_15_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/3/279c57a4d40ce92b89520b3b57f69e67.jpg","text":"TemporaryFile(/tmp/multipartBody4418910348023860591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124676930,"filename":"image_30102025_13_14_57_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940651","file1":"1391940649","file0":"1391940639","file4":"1391940695","file5":"1391940696","file3":"1391940668"},"map_files_photo_id_array":[{"photo_id":"1391940696","filename":"file5"},{"photo_id":"1391940651","filename":"file2"},{"photo_id":"1391940695","filename":"file4"},{"photo_id":"1391940649","filename":"file1"},{"photo_id":"1391940639","filename":"file0"},{"photo_id":"1391940668","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940649":["hashtag1","hashtag2"]},{"1391940696":["hashtag1","hashtag2"]},{"1391940651":["hashtag1","hashtag2"]},{"1391940639":["hashtag1","hashtag2"]},{"1391940695":["hashtag1","hashtag2"]},{"1391940668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940649, 1391940696, 1391940651, 1391940639, 1391940695, 1391940668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.22660493850708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:04:22.214331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/15/image_30102025_13_15_15_2684.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_21_3718.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_24_2667.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_26_2637.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_30_3660.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_33_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/13/15/image_30102025_13_15_15_2684.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_21_3718.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_24_2667.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_26_2637.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_30_3660.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_33_2801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940760","1391940757","1391940759","1391940761","1391940764","1391940758"],"photo_ids_order":["1391940757","1391940758","1391940759","1391940760","1391940761","1391940764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/689790d813ba9ca04d330787489d564b.jpg","text":"TemporaryFile(/tmp/multipartBody6662871843814898453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124727479,"filename":"image_30102025_13_15_26_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/3/d260f8b7e65b99bb67d2dbe52c0a5e64.jpg","text":"TemporaryFile(/tmp/multipartBody7116603210326537739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124727479,"filename":"image_30102025_13_15_15_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0a060424108d0968e9794884e2857618.jpg","text":"TemporaryFile(/tmp/multipartBody210415384566943248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124727479,"filename":"image_30102025_13_15_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/3/dc55031780392979abafe3f361e405aa.jpg","text":"TemporaryFile(/tmp/multipartBody4074649547685196625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124727479,"filename":"image_30102025_13_15_30_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/3/0f82feec1cd62d896764417b405960ec.jpg","text":"TemporaryFile(/tmp/multipartBody3413375289192699030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124727479,"filename":"image_30102025_13_15_33_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/3/84aa7cdd50b993d6562b84f9505172b2.jpg","text":"TemporaryFile(/tmp/multipartBody9206120530139549612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124727479,"filename":"image_30102025_13_15_21_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940759","file1":"1391940758","file0":"1391940757","file4":"1391940761","file5":"1391940764","file3":"1391940760"},"map_files_photo_id_array":[{"photo_id":"1391940764","filename":"file5"},{"photo_id":"1391940759","filename":"file2"},{"photo_id":"1391940761","filename":"file4"},{"photo_id":"1391940758","filename":"file1"},{"photo_id":"1391940757","filename":"file0"},{"photo_id":"1391940760","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940760":["hashtag1","hashtag2"]},{"1391940757":["hashtag1","hashtag2"]},{"1391940759":["hashtag1","hashtag2"]},{"1391940761":["hashtag1","hashtag2"]},{"1391940764":["hashtag1","hashtag2"]},{"1391940758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940760, 1391940757, 1391940759, 1391940761, 1391940764, 1391940758)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.22151517868042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:05:42.465107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 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_31102025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 28077004, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1762124803000}
4220
3980708
4220
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/00/image_31102025_00_00_04_3055.jpg', '/home/pi/Desktop/images/31102025/00/00/image_31102025_00_00_16_11386.jpg', '/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_04_1698.jpg', '/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_08_1796.jpg', '/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_20_2698.jpg', '/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_31_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/00/image_31102025_00_00_04_3055.jpg
/home/pi/Desktop/images/31102025/00/00/image_31102025_00_00_16_11386.jpg
/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_04_1698.jpg
/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_08_1796.jpg
/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_20_2698.jpg
/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_31_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940775","1391940777","1391940786","1391940780","1391940782","1391940785"],"photo_ids_order":["1391940775","1391940777","1391940780","1391940782","1391940785","1391940786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33515ec3f0eec8c62ceceefb743e7854.jpg","text":"TemporaryFile(/tmp/multipartBody7697262318343009083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124806609,"filename":"image_31102025_00_00_04_3055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ccba9064589a08d5bff50f8aad7629e3.jpg","text":"TemporaryFile(/tmp/multipartBody7484331667863734938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124806609,"filename":"image_31102025_00_00_16_11386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/533c04579fa27caed958b4c6d0a836eb.jpg","text":"TemporaryFile(/tmp/multipartBody7321517074106004552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124806609,"filename":"image_31102025_00_01_31_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/3/d184529f8294bd88c8a06520103b30d6.jpg","text":"TemporaryFile(/tmp/multipartBody6812917843195120846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124806609,"filename":"image_31102025_00_01_04_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/3/44e61f51e7aadf5a5a8287bcfbd64e7f.jpg","text":"TemporaryFile(/tmp/multipartBody9086761436928081256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124806609,"filename":"image_31102025_00_01_08_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/3/f952384e19fa55c4968faa749e98b535.jpg","text":"TemporaryFile(/tmp/multipartBody1720802525937188315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124806609,"filename":"image_31102025_00_01_20_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940780","file1":"1391940777","file0":"1391940775","file4":"1391940785","file5":"1391940786","file3":"1391940782"},"map_files_photo_id_array":[{"photo_id":"1391940786","filename":"file5"},{"photo_id":"1391940780","filename":"file2"},{"photo_id":"1391940785","filename":"file4"},{"photo_id":"1391940777","filename":"file1"},{"photo_id":"1391940775","filename":"file0"},{"photo_id":"1391940782","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391940775":["hashtag1","hashtag2"]},{"1391940777":["hashtag1","hashtag2"]},{"1391940786":["hashtag1","hashtag2"]},{"1391940780":["hashtag1","hashtag2"]},{"1391940782":["hashtag1","hashtag2"]},{"1391940785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391940775, 1391940777, 1391940786, 1391940780, 1391940782, 1391940785)","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.02033162117004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:07:22.864298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/15/image_30102025_13_15_35_2556.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_39_3832.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_51_3652.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_54_2674.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_57_2701.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_16_00_2936.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/15/image_30102025_13_15_35_2556.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_39_3832.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_51_3652.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_54_2674.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_57_2701.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_16_00_2936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940803","1391940802","1391940805","1391940808","1391940804","1391940806"],"photo_ids_order":["1391940802","1391940803","1391940804","1391940805","1391940806","1391940808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2ec8d1b4edc7e42a6e25ead6b8635e68.jpg","text":"TemporaryFile(/tmp/multipartBody582524063815373873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124907921,"filename":"image_30102025_13_15_39_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/3/539770db64b0e457e73c15ce0bf7e7cc.jpg","text":"TemporaryFile(/tmp/multipartBody1824031592681829208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124907921,"filename":"image_30102025_13_15_35_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/014fd821a38f8ebdf13afcf153fb611f.jpg","text":"TemporaryFile(/tmp/multipartBody4053886760644580681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124907921,"filename":"image_30102025_13_15_54_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/66adedc05922eada4a40887c6a428821.jpg","text":"TemporaryFile(/tmp/multipartBody4473267751308004316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124907921,"filename":"image_30102025_13_16_00_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf9b4adfa78840ace101d409d1c75aef.jpg","text":"TemporaryFile(/tmp/multipartBody8265402122938562779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124907921,"filename":"image_30102025_13_15_51_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/3/a3a7e57206a19bd69e2c639e96227cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4038089396976184931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124907921,"filename":"image_30102025_13_15_57_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940804","file1":"1391940803","file0":"1391940802","file4":"1391940806","file5":"1391940808","file3":"1391940805"},"map_files_photo_id_array":[{"photo_id":"1391940808","filename":"file5"},{"photo_id":"1391940804","filename":"file2"},{"photo_id":"1391940806","filename":"file4"},{"photo_id":"1391940803","filename":"file1"},{"photo_id":"1391940802","filename":"file0"},{"photo_id":"1391940805","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940803":["hashtag1","hashtag2"]},{"1391940802":["hashtag1","hashtag2"]},{"1391940805":["hashtag1","hashtag2"]},{"1391940808":["hashtag1","hashtag2"]},{"1391940804":["hashtag1","hashtag2"]},{"1391940806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940803, 1391940802, 1391940805, 1391940808, 1391940804, 1391940806)","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 = 1391940804 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_51_3652.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391940804 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_51_3652.jpg";
uploaded 6 photos
time to upload: 71.59047269821167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:08:49.754102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 00:09:10.229545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 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-03 00:09:28.523183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/15/image_30102025_13_15_35_2556.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_39_3832.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_51_3652.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_54_2674.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_57_2701.jpg', '/home/pi/Desktop/images/30102025/13/15/image_30102025_13_16_00_2936.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/15/image_30102025_13_15_35_2556.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_39_3832.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_51_3652.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_54_2674.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_57_2701.jpg
/home/pi/Desktop/images/30102025/13/15/image_30102025_13_16_00_2936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940823","1391940826","1391940822","1391940825","1391940824","1391940827"],"photo_ids_order":["1391940822","1391940823","1391940824","1391940825","1391940826","1391940827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1f3d7338539309998bddae3d3e3fb1d0.jpg","text":"TemporaryFile(/tmp/multipartBody4265996439219320935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125038812,"filename":"image_30102025_13_15_39_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/3/819e11aea04e6f40bb202b9537c36e53.jpg","text":"TemporaryFile(/tmp/multipartBody328607432503115879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125038812,"filename":"image_30102025_13_15_57_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6463e86503cbfa3e0f69d775909009fe.jpg","text":"TemporaryFile(/tmp/multipartBody7256758443055685848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125038812,"filename":"image_30102025_13_15_35_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/75b5a9906ad1c8d0b9a023d97b568b5e.jpg","text":"TemporaryFile(/tmp/multipartBody4106446826708980766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125038812,"filename":"image_30102025_13_15_54_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a954b9ca06862053589382b66cecd0d3.jpg","text":"TemporaryFile(/tmp/multipartBody8671561454009708571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125038812,"filename":"image_30102025_13_15_51_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/3/006d5c104a07cac1e81a415f8c43aedf.jpg","text":"TemporaryFile(/tmp/multipartBody3602040685223194244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125038812,"filename":"image_30102025_13_16_00_2936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940824","file1":"1391940823","file0":"1391940822","file4":"1391940826","file5":"1391940827","file3":"1391940825"},"map_files_photo_id_array":[{"photo_id":"1391940827","filename":"file5"},{"photo_id":"1391940824","filename":"file2"},{"photo_id":"1391940826","filename":"file4"},{"photo_id":"1391940823","filename":"file1"},{"photo_id":"1391940822","filename":"file0"},{"photo_id":"1391940825","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940823":["hashtag1","hashtag2"]},{"1391940826":["hashtag1","hashtag2"]},{"1391940822":["hashtag1","hashtag2"]},{"1391940825":["hashtag1","hashtag2"]},{"1391940824":["hashtag1","hashtag2"]},{"1391940827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940823, 1391940826, 1391940822, 1391940825, 1391940824, 1391940827)","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 = 1391940824 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/15/image_30102025_13_15_51_3652.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 74.54969334602356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:10:44.579096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_38_3820.jpg', '/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_58_8768.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_13_9868.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_21_8838.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_23_1494.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_27_4460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_38_3820.jpg
/home/pi/Desktop/images/31102025/00/01/image_31102025_00_01_58_8768.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_13_9868.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_21_8838.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_23_1494.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_27_4460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940841","1391940835","1391940838","1391940837","1391940842","1391940836"],"photo_ids_order":["1391940835","1391940836","1391940837","1391940838","1391940841","1391940842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f4f051fbe4e5f6ad073ae8d642d0f223.jpg","text":"TemporaryFile(/tmp/multipartBody4161517999066492380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125109514,"filename":"image_31102025_00_02_23_1494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f2532c8ef81712c6ac828ed948790639.jpg","text":"TemporaryFile(/tmp/multipartBody7588512777532720925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125109514,"filename":"image_31102025_00_01_38_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/3/0177b67abab040bbb3c3772a2bb66588.jpg","text":"TemporaryFile(/tmp/multipartBody7942296448536582267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125109514,"filename":"image_31102025_00_02_21_8838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bdefd5073ce0f7c251f1a4930242d8fa.jpg","text":"TemporaryFile(/tmp/multipartBody8783276661739428636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125109514,"filename":"image_31102025_00_02_13_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/207d179aedc132653d9d5ac22387ad76.jpg","text":"TemporaryFile(/tmp/multipartBody1181495865411397898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125109514,"filename":"image_31102025_00_02_27_4460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26ba3f83c61579f78c139e6ceea336f7.jpg","text":"TemporaryFile(/tmp/multipartBody8205681287900083268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125109514,"filename":"image_31102025_00_01_58_8768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940837","file1":"1391940836","file0":"1391940835","file4":"1391940841","file5":"1391940842","file3":"1391940838"},"map_files_photo_id_array":[{"photo_id":"1391940842","filename":"file5"},{"photo_id":"1391940837","filename":"file2"},{"photo_id":"1391940841","filename":"file4"},{"photo_id":"1391940836","filename":"file1"},{"photo_id":"1391940835","filename":"file0"},{"photo_id":"1391940838","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391940841":["hashtag1","hashtag2"]},{"1391940835":["hashtag1","hashtag2"]},{"1391940838":["hashtag1","hashtag2"]},{"1391940837":["hashtag1","hashtag2"]},{"1391940842":["hashtag1","hashtag2"]},{"1391940836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391940841, 1391940835, 1391940838, 1391940837, 1391940842, 1391940836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32931900024414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:11:42.736472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_31_1651.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_34_1606.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_38_1678.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_39_1642.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_41_1720.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_43_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_31_1651.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_34_1606.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_38_1678.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_39_1642.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_41_1720.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_43_1714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940853","1391940850","1391940846","1391940849","1391940851","1391940848"],"photo_ids_order":["1391940846","1391940848","1391940849","1391940850","1391940851","1391940853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6fd619c3b2a335d12fd2e2097848e3c9.jpg","text":"TemporaryFile(/tmp/multipartBody6748518196265647450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125164541,"filename":"image_31102025_00_02_43_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/3/c10e0ec3e4f80ccb1c67dc0ada4c51ef.jpg","text":"TemporaryFile(/tmp/multipartBody555546272931425029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125164541,"filename":"image_31102025_00_02_39_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/3/fcfcf3b48966abe0cabf53b65013f766.jpg","text":"TemporaryFile(/tmp/multipartBody6665783175201350998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125164541,"filename":"image_31102025_00_02_31_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/3/3ddb384cb1a1070550177487aeaabb62.jpg","text":"TemporaryFile(/tmp/multipartBody6354852394753525279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125164541,"filename":"image_31102025_00_02_38_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/3/406a2cbb64d8ac1d64f5568366b3889e.jpg","text":"TemporaryFile(/tmp/multipartBody2271403582277535276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125164541,"filename":"image_31102025_00_02_41_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/3/60302fb068555f1ebe6f805116182fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5008825819949924884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125164541,"filename":"image_31102025_00_02_34_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940849","file1":"1391940848","file0":"1391940846","file4":"1391940851","file5":"1391940853","file3":"1391940850"},"map_files_photo_id_array":[{"photo_id":"1391940853","filename":"file5"},{"photo_id":"1391940849","filename":"file2"},{"photo_id":"1391940851","filename":"file4"},{"photo_id":"1391940848","filename":"file1"},{"photo_id":"1391940846","filename":"file0"},{"photo_id":"1391940850","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391940853":["hashtag1","hashtag2"]},{"1391940850":["hashtag1","hashtag2"]},{"1391940846":["hashtag1","hashtag2"]},{"1391940849":["hashtag1","hashtag2"]},{"1391940851":["hashtag1","hashtag2"]},{"1391940848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391940853, 1391940850, 1391940846, 1391940849, 1391940851, 1391940848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.983513832092285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:12:22.606163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/16/image_30102025_13_16_08_2570.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_12_3660.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_15_2902.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_18_2587.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_20_2611.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_24_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/13/16/image_30102025_13_16_08_2570.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_12_3660.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_15_2902.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_18_2587.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_20_2611.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_24_3758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940865","1391940862","1391940859","1391940861","1391940860","1391940863"],"photo_ids_order":["1391940859","1391940860","1391940861","1391940862","1391940863","1391940865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c7785e67236c0122c0a9c53a8a5bf30e.jpg","text":"TemporaryFile(/tmp/multipartBody4344733364470402352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125206323,"filename":"image_30102025_13_16_24_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/3/f8aa363e004bea145bb5efbd76605956.jpg","text":"TemporaryFile(/tmp/multipartBody126851419502933750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125206323,"filename":"image_30102025_13_16_18_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/3/d897de6be7e7b10edef28445ffe173cd.jpg","text":"TemporaryFile(/tmp/multipartBody2797795846351166118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125206323,"filename":"image_30102025_13_16_08_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/3/e67b32dbc8c5626630bddb7e600e9e7c.jpg","text":"TemporaryFile(/tmp/multipartBody7297323051932894901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125206323,"filename":"image_30102025_13_16_15_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/3/92361c15f17a1d88bcc338d622c94f52.jpg","text":"TemporaryFile(/tmp/multipartBody1125297202997599059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125206323,"filename":"image_30102025_13_16_12_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/3/cec08b951f32cafaf2250da113191d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8494830581010656920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125206323,"filename":"image_30102025_13_16_20_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940861","file1":"1391940860","file0":"1391940859","file4":"1391940863","file5":"1391940865","file3":"1391940862"},"map_files_photo_id_array":[{"photo_id":"1391940865","filename":"file5"},{"photo_id":"1391940861","filename":"file2"},{"photo_id":"1391940863","filename":"file4"},{"photo_id":"1391940860","filename":"file1"},{"photo_id":"1391940859","filename":"file0"},{"photo_id":"1391940862","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940865":["hashtag1","hashtag2"]},{"1391940862":["hashtag1","hashtag2"]},{"1391940859":["hashtag1","hashtag2"]},{"1391940861":["hashtag1","hashtag2"]},{"1391940860":["hashtag1","hashtag2"]},{"1391940863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940865, 1391940862, 1391940859, 1391940861, 1391940860, 1391940863)","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: 92.0297703742981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:14:21.708472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 00:14:41.668073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/16/image_30102025_13_16_27_2577.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_29_2652.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_33_3642.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_36_2699.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_38_2774.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_42_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_27_2577.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_29_2652.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_33_3642.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_36_2699.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_38_2774.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_42_3531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940886","1391940889","1391940880","1391940882","1391940891","1391940884"],"photo_ids_order":["1391940880","1391940882","1391940884","1391940886","1391940889","1391940891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dba92ee6abeffe7147921e4c6d59b4fb.jpg","text":"TemporaryFile(/tmp/multipartBody375319684809093868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125346522,"filename":"image_30102025_13_16_36_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/3/13a1a5f966dd0c2bfd039d2faded94aa.jpg","text":"TemporaryFile(/tmp/multipartBody3141182981025051814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125346522,"filename":"image_30102025_13_16_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/3/19d55a8ccc1fe665d06287de5eef5fab.jpg","text":"TemporaryFile(/tmp/multipartBody8415011095097133704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125346522,"filename":"image_30102025_13_16_27_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/3/c5618048b2ee79c3da5033050d0400d9.jpg","text":"TemporaryFile(/tmp/multipartBody1666887535107419944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125346522,"filename":"image_30102025_13_16_29_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/3/ddd189fd1c181b70a9a9a4142f2f6018.jpg","text":"TemporaryFile(/tmp/multipartBody6926532091822928210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125346522,"filename":"image_30102025_13_16_42_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/3/92604657f8380b5ac733e2924c43f051.jpg","text":"TemporaryFile(/tmp/multipartBody7290319153177514079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125346522,"filename":"image_30102025_13_16_33_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940884","file1":"1391940882","file0":"1391940880","file4":"1391940889","file5":"1391940891","file3":"1391940886"},"map_files_photo_id_array":[{"photo_id":"1391940891","filename":"file5"},{"photo_id":"1391940884","filename":"file2"},{"photo_id":"1391940889","filename":"file4"},{"photo_id":"1391940882","filename":"file1"},{"photo_id":"1391940880","filename":"file0"},{"photo_id":"1391940886","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940886":["hashtag1","hashtag2"]},{"1391940889":["hashtag1","hashtag2"]},{"1391940880":["hashtag1","hashtag2"]},{"1391940882":["hashtag1","hashtag2"]},{"1391940891":["hashtag1","hashtag2"]},{"1391940884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940886, 1391940889, 1391940880, 1391940882, 1391940891, 1391940884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.83481478691101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:15:41.788563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_44_1615.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_52_2927.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_55_2583.jpg', '/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_58_2816.jpg', '/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_02_3847.jpg', '/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_30_1772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_44_1615.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_52_2927.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_55_2583.jpg
/home/pi/Desktop/images/31102025/00/02/image_31102025_00_02_58_2816.jpg
/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_02_3847.jpg
/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_30_1772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940898","1391940895","1391940894","1391940897","1391940899","1391940896"],"photo_ids_order":["1391940894","1391940895","1391940896","1391940897","1391940898","1391940899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/faa401bfb3bea945d51965c08aa58cab.jpg","text":"TemporaryFile(/tmp/multipartBody201470374204026222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125402988,"filename":"image_31102025_00_03_02_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ab83aacbb4a9ebd81b0ac4e0b18f54fe.jpg","text":"TemporaryFile(/tmp/multipartBody3062731636368430184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125402988,"filename":"image_31102025_00_02_52_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/3/2ae920d99b543cec9ba2886b7ddb8dac.jpg","text":"TemporaryFile(/tmp/multipartBody4194773285488373934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125402988,"filename":"image_31102025_00_02_44_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/3/97f4238571c7ebbdcf5163af15008ace.jpg","text":"TemporaryFile(/tmp/multipartBody4126184919568086432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125402988,"filename":"image_31102025_00_02_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/3/e3d9bf7b3e90d86d6319c7db8480375d.jpg","text":"TemporaryFile(/tmp/multipartBody1746866884672947497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125402988,"filename":"image_31102025_00_03_30_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/3/26f7cd5dc9782bb260dc9ddc569a836a.jpg","text":"TemporaryFile(/tmp/multipartBody1320046628024367292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125402988,"filename":"image_31102025_00_02_55_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940896","file1":"1391940895","file0":"1391940894","file4":"1391940898","file5":"1391940899","file3":"1391940897"},"map_files_photo_id_array":[{"photo_id":"1391940899","filename":"file5"},{"photo_id":"1391940896","filename":"file2"},{"photo_id":"1391940898","filename":"file4"},{"photo_id":"1391940895","filename":"file1"},{"photo_id":"1391940894","filename":"file0"},{"photo_id":"1391940897","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391940898":["hashtag1","hashtag2"]},{"1391940895":["hashtag1","hashtag2"]},{"1391940894":["hashtag1","hashtag2"]},{"1391940897":["hashtag1","hashtag2"]},{"1391940899":["hashtag1","hashtag2"]},{"1391940896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391940898, 1391940895, 1391940894, 1391940897, 1391940899, 1391940896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.104546785354614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:16:22.093709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/16/image_30102025_13_16_45_2783.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_48_2856.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_50_2729.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_54_3682.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_57_2656.jpg', '/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_59_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/16/image_30102025_13_16_45_2783.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_48_2856.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_50_2729.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_54_3682.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_57_2656.jpg
/home/pi/Desktop/images/30102025/13/16/image_30102025_13_16_59_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940908","1391940910","1391940907","1391940909","1391940911","1391940905"],"photo_ids_order":["1391940905","1391940907","1391940908","1391940909","1391940910","1391940911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b17286caa38e78d02f1ba33ebf464ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5517620992863667463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125444508,"filename":"image_30102025_13_16_50_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/3/509f7fd7f3685aed5040436cd3ffbe93.jpg","text":"TemporaryFile(/tmp/multipartBody6385449669325569275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125444508,"filename":"image_30102025_13_16_57_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/3/56e2bf4cfaa42203ac028b8dc3855a1f.jpg","text":"TemporaryFile(/tmp/multipartBody9065256562913518967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125444508,"filename":"image_30102025_13_16_48_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/3/7ed0a04b98c3dd6b5282757fc25ec136.jpg","text":"TemporaryFile(/tmp/multipartBody8698974575764804552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125444508,"filename":"image_30102025_13_16_54_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/3/15a6163f1f22d4240cead8f4241e2ec6.jpg","text":"TemporaryFile(/tmp/multipartBody3537253348914854380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125444508,"filename":"image_30102025_13_16_59_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/3/8453d48785f99ae78f16d617fe3e6093.jpg","text":"TemporaryFile(/tmp/multipartBody1635522684125721241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125444508,"filename":"image_30102025_13_16_45_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940908","file1":"1391940907","file0":"1391940905","file4":"1391940910","file5":"1391940911","file3":"1391940909"},"map_files_photo_id_array":[{"photo_id":"1391940911","filename":"file5"},{"photo_id":"1391940908","filename":"file2"},{"photo_id":"1391940910","filename":"file4"},{"photo_id":"1391940907","filename":"file1"},{"photo_id":"1391940905","filename":"file0"},{"photo_id":"1391940909","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940908":["hashtag1","hashtag2"]},{"1391940910":["hashtag1","hashtag2"]},{"1391940907":["hashtag1","hashtag2"]},{"1391940909":["hashtag1","hashtag2"]},{"1391940911":["hashtag1","hashtag2"]},{"1391940905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940908, 1391940910, 1391940907, 1391940909, 1391940911, 1391940905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14595341682434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:17:02.984299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_13_17_03_3649.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_06_2668.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_08_2809.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_12_3780.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_15_2616.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_17_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/13/17/image_30102025_13_17_03_3649.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_06_2668.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_08_2809.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_12_3780.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_15_2616.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_17_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":["1391940920","1391940928","1391940922","1391940924","1391940927","1391940918"],"photo_ids_order":["1391940918","1391940920","1391940922","1391940924","1391940927","1391940928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6db87636b67f7943d68aa39a90da6055.jpg","text":"TemporaryFile(/tmp/multipartBody2856576647506166878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125486669,"filename":"image_30102025_13_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/3/2729c0b8fe9ff02d22b27fb0c1725710.jpg","text":"TemporaryFile(/tmp/multipartBody135224521877948794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125486669,"filename":"image_30102025_13_17_17_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/34522100de3017d5865b8d2ce4d33c38.jpg","text":"TemporaryFile(/tmp/multipartBody806309432472361217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125486669,"filename":"image_30102025_13_17_08_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/3/ea3425a3f7161581fc837725c499f473.jpg","text":"TemporaryFile(/tmp/multipartBody5443813870078041343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125486669,"filename":"image_30102025_13_17_12_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/3/7d117318430ecd764210678119c7c542.jpg","text":"TemporaryFile(/tmp/multipartBody7622130897274097699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125486669,"filename":"image_30102025_13_17_15_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/3/2658404dc675598c37d85d16b883ae85.jpg","text":"TemporaryFile(/tmp/multipartBody2180577427046427085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125486669,"filename":"image_30102025_13_17_03_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940922","file1":"1391940920","file0":"1391940918","file4":"1391940927","file5":"1391940928","file3":"1391940924"},"map_files_photo_id_array":[{"photo_id":"1391940928","filename":"file5"},{"photo_id":"1391940922","filename":"file2"},{"photo_id":"1391940927","filename":"file4"},{"photo_id":"1391940920","filename":"file1"},{"photo_id":"1391940918","filename":"file0"},{"photo_id":"1391940924","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940920":["hashtag1","hashtag2"]},{"1391940928":["hashtag1","hashtag2"]},{"1391940922":["hashtag1","hashtag2"]},{"1391940924":["hashtag1","hashtag2"]},{"1391940927":["hashtag1","hashtag2"]},{"1391940918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940920, 1391940928, 1391940922, 1391940924, 1391940927, 1391940918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81904125213623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:18:02.823687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_13_17_20_2675.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_24_3674.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_27_2694.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_29_2621.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_33_3785.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_36_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/13/17/image_30102025_13_17_20_2675.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_24_3674.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_27_2694.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_29_2621.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_33_3785.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_36_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: 1.7468163967132568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:18:22.385418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_13_17_20_2675.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_24_3674.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_27_2694.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_29_2621.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_33_3785.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_36_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/13/17/image_30102025_13_17_20_2675.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_24_3674.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_27_2694.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_29_2621.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_33_3785.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_36_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940946","1391940943","1391940942","1391940945","1391940941","1391940944"],"photo_ids_order":["1391940941","1391940942","1391940943","1391940944","1391940945","1391940946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef7a1a31fe6d5e1db133f27af84d7af2.jpg","text":"TemporaryFile(/tmp/multipartBody6184233891079154365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125564664,"filename":"image_30102025_13_17_36_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a23b1e129f4f1a184d389324771409e7.jpg","text":"TemporaryFile(/tmp/multipartBody6706328665360135250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125564664,"filename":"image_30102025_13_17_27_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/3/5a55ac0e4a0db432dee47d32813205f5.jpg","text":"TemporaryFile(/tmp/multipartBody6946491105181560078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125564664,"filename":"image_30102025_13_17_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/3/ba84b5f9b6d98bd8aefcc089c49496c3.jpg","text":"TemporaryFile(/tmp/multipartBody6279252066740101683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125564664,"filename":"image_30102025_13_17_33_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/3/ab6767b086c7241f15e3b68db5c1fa4f.jpg","text":"TemporaryFile(/tmp/multipartBody6156564839429007251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125564664,"filename":"image_30102025_13_17_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/3/89f6a62edcb70c4d8b672d6584d54bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8724044227512414038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125564664,"filename":"image_30102025_13_17_29_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940943","file1":"1391940942","file0":"1391940941","file4":"1391940945","file5":"1391940946","file3":"1391940944"},"map_files_photo_id_array":[{"photo_id":"1391940946","filename":"file5"},{"photo_id":"1391940943","filename":"file2"},{"photo_id":"1391940945","filename":"file4"},{"photo_id":"1391940942","filename":"file1"},{"photo_id":"1391940941","filename":"file0"},{"photo_id":"1391940944","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940946":["hashtag1","hashtag2"]},{"1391940943":["hashtag1","hashtag2"]},{"1391940942":["hashtag1","hashtag2"]},{"1391940945":["hashtag1","hashtag2"]},{"1391940941":["hashtag1","hashtag2"]},{"1391940944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940946, 1391940943, 1391940942, 1391940945, 1391940941, 1391940944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07872033119202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:19:03.451571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_13_17_38_2658.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_42_3660.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_48_2679.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_50_2561.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_54_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/13/17/image_30102025_13_17_38_2658.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_42_3660.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_48_2679.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_50_2561.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_54_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391940952","1391940955","1391940957","1391940948","1391940959","1391940950"],"photo_ids_order":["1391940948","1391940950","1391940952","1391940955","1391940957","1391940959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5521a5482580d12ef733e1f985f9b9ef.jpg","text":"TemporaryFile(/tmp/multipartBody5345573925958086797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125605508,"filename":"image_30102025_13_17_45_3112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f19b72b0dd10bd24fb12f4bbc1d3a264.jpg","text":"TemporaryFile(/tmp/multipartBody2581628422739501376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125605508,"filename":"image_30102025_13_17_48_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f6fb0bf6f601960fbca42d8d1f29d4e8.jpg","text":"TemporaryFile(/tmp/multipartBody75642301932248830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125605508,"filename":"image_30102025_13_17_50_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/3/d038142ef1346c7bdc7fe3566058d77d.jpg","text":"TemporaryFile(/tmp/multipartBody193150387136064343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125605508,"filename":"image_30102025_13_17_38_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/3/9e21e2ba4c557f3d734a63920a87f2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5481777086326606469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125605508,"filename":"image_30102025_13_17_54_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/3/b61626caf0789a88bdf2df72c7e6b96b.jpg","text":"TemporaryFile(/tmp/multipartBody4875724804275478325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125605508,"filename":"image_30102025_13_17_42_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940952","file1":"1391940950","file0":"1391940948","file4":"1391940957","file5":"1391940959","file3":"1391940955"},"map_files_photo_id_array":[{"photo_id":"1391940959","filename":"file5"},{"photo_id":"1391940952","filename":"file2"},{"photo_id":"1391940957","filename":"file4"},{"photo_id":"1391940950","filename":"file1"},{"photo_id":"1391940948","filename":"file0"},{"photo_id":"1391940955","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940952":["hashtag1","hashtag2"]},{"1391940955":["hashtag1","hashtag2"]},{"1391940957":["hashtag1","hashtag2"]},{"1391940948":["hashtag1","hashtag2"]},{"1391940959":["hashtag1","hashtag2"]},{"1391940950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940952, 1391940955, 1391940957, 1391940948, 1391940959, 1391940950)","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 = 1391940952 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391940952 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg";
uploaded 6 photos
time to upload: 62.613553285598755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:20:22.577535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_13_17_38_2658.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_42_3660.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_48_2679.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_50_2561.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_54_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/13/17/image_30102025_13_17_38_2658.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_42_3660.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_48_2679.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_50_2561.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_54_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":["1391940970","1391940967","1391940969","1391940972","1391940966","1391940971"],"photo_ids_order":["1391940966","1391940967","1391940969","1391940970","1391940971","1391940972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/481655e81bd2fbe47fa8b523bb4817e7.jpg","text":"TemporaryFile(/tmp/multipartBody1055066091824631515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125687443,"filename":"image_30102025_13_17_48_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/501f3ec792b1f3cae85fcd1044856d90.jpg","text":"TemporaryFile(/tmp/multipartBody3441912783555679892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125687443,"filename":"image_30102025_13_17_42_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/74632384da2bffc35c8ccb43fde75b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7035462698487684081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125687443,"filename":"image_30102025_13_17_45_3112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c436284dc30669e75dba1beb683ab01f.jpg","text":"TemporaryFile(/tmp/multipartBody6140379152000095633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125687443,"filename":"image_30102025_13_17_54_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/3/91f6196333dc3e3f28f19c7650250ad8.jpg","text":"TemporaryFile(/tmp/multipartBody311050567810287846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125687443,"filename":"image_30102025_13_17_38_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/3/aa64654a0414b1949efea674350dead1.jpg","text":"TemporaryFile(/tmp/multipartBody470829128521907479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125687443,"filename":"image_30102025_13_17_50_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391940969","file1":"1391940967","file0":"1391940966","file4":"1391940971","file5":"1391940972","file3":"1391940970"},"map_files_photo_id_array":[{"photo_id":"1391940972","filename":"file5"},{"photo_id":"1391940969","filename":"file2"},{"photo_id":"1391940971","filename":"file4"},{"photo_id":"1391940967","filename":"file1"},{"photo_id":"1391940966","filename":"file0"},{"photo_id":"1391940970","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391940970":["hashtag1","hashtag2"]},{"1391940967":["hashtag1","hashtag2"]},{"1391940969":["hashtag1","hashtag2"]},{"1391940972":["hashtag1","hashtag2"]},{"1391940966":["hashtag1","hashtag2"]},{"1391940971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391940970, 1391940967, 1391940969, 1391940972, 1391940966, 1391940971)","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 = 1391940969 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391940969 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg";
uploaded 6 photos
time to upload: 67.66261076927185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:21:45.159684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 00:22:29.200634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 00:22:39.910905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_13_17_38_2658.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_42_3660.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_48_2679.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_50_2561.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_54_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/13/17/image_30102025_13_17_38_2658.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_42_3660.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_45_3112.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_48_2679.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_50_2561.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_54_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":["1391942920","1391942793","1391942676","1391943067","1391943232","1391942572"],"photo_ids_order":["1391942572","1391942676","1391942793","1391942920","1391943067","1391943232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd1f5ecbfe4f01300c1000e3dd8cf5d4.jpg","text":"TemporaryFile(/tmp/multipartBody8447265289888011790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125822362,"filename":"image_30102025_13_17_48_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f54604650b426d98e8378ece9333a911.jpg","text":"TemporaryFile(/tmp/multipartBody2528181127358831928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125822362,"filename":"image_30102025_13_17_45_3112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6c41ea080bce082d04d9ba8727b223d9.jpg","text":"TemporaryFile(/tmp/multipartBody5985154767304483229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125822362,"filename":"image_30102025_13_17_42_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b568dde7b3c5074c59898e9688dbbe4.jpg","text":"TemporaryFile(/tmp/multipartBody5453539477717447501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125822362,"filename":"image_30102025_13_17_50_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/3/6e18cf6b229dd5a27e08fd7f46c2294e.jpg","text":"TemporaryFile(/tmp/multipartBody3159242497059392325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125822362,"filename":"image_30102025_13_17_54_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/3/561795d562a29fe0bb814c017970ec83.jpg","text":"TemporaryFile(/tmp/multipartBody7985556613060223806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125822362,"filename":"image_30102025_13_17_38_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391942793","file1":"1391942676","file0":"1391942572","file4":"1391943067","file5":"1391943232","file3":"1391942920"},"map_files_photo_id_array":[{"photo_id":"1391943232","filename":"file5"},{"photo_id":"1391942793","filename":"file2"},{"photo_id":"1391943067","filename":"file4"},{"photo_id":"1391942676","filename":"file1"},{"photo_id":"1391942572","filename":"file0"},{"photo_id":"1391942920","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391942920":["hashtag1","hashtag2"]},{"1391942793":["hashtag1","hashtag2"]},{"1391942676":["hashtag1","hashtag2"]},{"1391943067":["hashtag1","hashtag2"]},{"1391943232":["hashtag1","hashtag2"]},{"1391942572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391942920, 1391942793, 1391942676, 1391943067, 1391943232, 1391942572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35700845718384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:23:28.214851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_13_17_57_2721.jpg', '/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_59_2742.jpg', '/home/pi/Desktop/images/30102025/13/18/image_30102025_13_18_02_2762.jpg', '/home/pi/Desktop/images/30102025/13/18/image_30102025_13_18_08_2662.jpg', '/home/pi/Desktop/images/30102025/13/18/image_30102025_13_18_11_2709.jpg', '/home/pi/Desktop/images/30102025/13/18/image_30102025_13_18_15_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/13/17/image_30102025_13_17_57_2721.jpg
/home/pi/Desktop/images/30102025/13/17/image_30102025_13_17_59_2742.jpg
/home/pi/Desktop/images/30102025/13/18/image_30102025_13_18_02_2762.jpg
/home/pi/Desktop/images/30102025/13/18/image_30102025_13_18_08_2662.jpg
/home/pi/Desktop/images/30102025/13/18/image_30102025_13_18_11_2709.jpg
/home/pi/Desktop/images/30102025/13/18/image_30102025_13_18_15_3619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391944617","1391944388","1391944126","1391944275","1391944746","1391944500"],"photo_ids_order":["1391944126","1391944275","1391944388","1391944500","1391944617","1391944746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/478e6c4f6a3df533b3a9b670260c22d9.jpg","text":"TemporaryFile(/tmp/multipartBody5867616625354937982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125873259,"filename":"image_30102025_13_18_11_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/3/01dd02f61a776a167847ddb6965392ff.jpg","text":"TemporaryFile(/tmp/multipartBody6175977529569781913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125873259,"filename":"image_30102025_13_18_02_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/3/a42bde8172887d356b154248d36552dc.jpg","text":"TemporaryFile(/tmp/multipartBody3531073012541667010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125873259,"filename":"image_30102025_13_17_57_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/3/b5921009ff3a655d801e5932489a67bb.jpg","text":"TemporaryFile(/tmp/multipartBody3482000118913916460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125873259,"filename":"image_30102025_13_17_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/3/0402e06f3fb216460931e596db73ee3f.jpg","text":"TemporaryFile(/tmp/multipartBody4723857189579381634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125873259,"filename":"image_30102025_13_18_15_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/3/537edbeadf1a10a00bdf206cdec02aba.jpg","text":"TemporaryFile(/tmp/multipartBody2349157075930359076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125873259,"filename":"image_30102025_13_18_08_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391944388","file1":"1391944275","file0":"1391944126","file4":"1391944617","file5":"1391944746","file3":"1391944500"},"map_files_photo_id_array":[{"photo_id":"1391944746","filename":"file5"},{"photo_id":"1391944388","filename":"file2"},{"photo_id":"1391944617","filename":"file4"},{"photo_id":"1391944275","filename":"file1"},{"photo_id":"1391944126","filename":"file0"},{"photo_id":"1391944500","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391944617":["hashtag1","hashtag2"]},{"1391944388":["hashtag1","hashtag2"]},{"1391944126":["hashtag1","hashtag2"]},{"1391944275":["hashtag1","hashtag2"]},{"1391944746":["hashtag1","hashtag2"]},{"1391944500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391944617, 1391944388, 1391944126, 1391944275, 1391944746, 1391944500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.915244579315186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:24:22.118517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/18/image_30102025_13_18_47_2700.jpg', '/home/pi/Desktop/images/30102025/13/18/image_30102025_13_19_00_3679.jpg', '/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_08_2699.jpg', '/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_14_2582.jpg', '/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_29_2753.jpg', '/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_42_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/13/18/image_30102025_13_18_47_2700.jpg
/home/pi/Desktop/images/30102025/13/18/image_30102025_13_19_00_3679.jpg
/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_08_2699.jpg
/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_14_2582.jpg
/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_29_2753.jpg
/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_42_3607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391945615","1391945797","1391945877","1391945835","1391945721","1391945489"],"photo_ids_order":["1391945489","1391945615","1391945721","1391945797","1391945835","1391945877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ab3e3d3be7c198dfd06b6c870730053.jpg","text":"TemporaryFile(/tmp/multipartBody7657685517573028150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125924527,"filename":"image_30102025_13_19_00_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/3/c93999be300006252219416c7a417f90.jpg","text":"TemporaryFile(/tmp/multipartBody2801164538843065719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125924527,"filename":"image_30102025_13_19_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/3/bd958f5038cc0b3d8bc07d4b397f27bf.jpg","text":"TemporaryFile(/tmp/multipartBody299381676936945111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125924527,"filename":"image_30102025_13_19_42_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/3/961021370d13ab00c08e06efd82cdfac.jpg","text":"TemporaryFile(/tmp/multipartBody4950888626986149925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125924527,"filename":"image_30102025_13_19_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/3/739ae4b9452f8600666a99d74189376c.jpg","text":"TemporaryFile(/tmp/multipartBody6530721462820234790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125924527,"filename":"image_30102025_13_19_08_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef98f4bcc338b2209e32edd37fd76df9.jpg","text":"TemporaryFile(/tmp/multipartBody9016347044367227993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125924527,"filename":"image_30102025_13_18_47_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391945721","file1":"1391945615","file0":"1391945489","file4":"1391945835","file5":"1391945877","file3":"1391945797"},"map_files_photo_id_array":[{"photo_id":"1391945877","filename":"file5"},{"photo_id":"1391945721","filename":"file2"},{"photo_id":"1391945835","filename":"file4"},{"photo_id":"1391945615","filename":"file1"},{"photo_id":"1391945489","filename":"file0"},{"photo_id":"1391945797","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391945615":["hashtag1","hashtag2"]},{"1391945797":["hashtag1","hashtag2"]},{"1391945877":["hashtag1","hashtag2"]},{"1391945835":["hashtag1","hashtag2"]},{"1391945721":["hashtag1","hashtag2"]},{"1391945489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391945615, 1391945797, 1391945877, 1391945835, 1391945721, 1391945489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.108967304229736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:25:02.931578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/19/image_30102025_13_19_44_2672.jpg', '/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_47_2670.jpg', '/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_51_3710.jpg', '/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_53_2567.jpg', '/home/pi/Desktop/images/30102025/13/19/image_30102025_13_20_00_3775.jpg', '/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_02_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/13/19/image_30102025_13_19_44_2672.jpg
/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_47_2670.jpg
/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_51_3710.jpg
/home/pi/Desktop/images/30102025/13/19/image_30102025_13_19_53_2567.jpg
/home/pi/Desktop/images/30102025/13/19/image_30102025_13_20_00_3775.jpg
/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_02_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391946283","1391946091","1391946205","1391946360","1391946132","1391946050"],"photo_ids_order":["1391946050","1391946091","1391946132","1391946205","1391946283","1391946360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5a10b6ee4b09137c0e2f70d7861123a0.jpg","text":"TemporaryFile(/tmp/multipartBody2300626359739387006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125964829,"filename":"image_30102025_13_20_00_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/3/28cbc871693f43da0344125a222b6664.jpg","text":"TemporaryFile(/tmp/multipartBody8157664049752980322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125964829,"filename":"image_30102025_13_19_47_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/3/55c0f190e1808d74c4c83be824f714aa.jpg","text":"TemporaryFile(/tmp/multipartBody999978767127913525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125964829,"filename":"image_30102025_13_19_53_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1fecfe5d4713d320b9129bdc0d41780f.jpg","text":"TemporaryFile(/tmp/multipartBody1466151202334358190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125964829,"filename":"image_30102025_13_20_02_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/3/1fd8f367a715f3c7e82f9f335b251daa.jpg","text":"TemporaryFile(/tmp/multipartBody373385265262403430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125964829,"filename":"image_30102025_13_19_51_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/3/90ba43927ad443bbd2a8a3f3d4ed48b6.jpg","text":"TemporaryFile(/tmp/multipartBody6042487120452225544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762125964829,"filename":"image_30102025_13_19_44_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391946132","file1":"1391946091","file0":"1391946050","file4":"1391946283","file5":"1391946360","file3":"1391946205"},"map_files_photo_id_array":[{"photo_id":"1391946360","filename":"file5"},{"photo_id":"1391946132","filename":"file2"},{"photo_id":"1391946283","filename":"file4"},{"photo_id":"1391946091","filename":"file1"},{"photo_id":"1391946050","filename":"file0"},{"photo_id":"1391946205","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391946283":["hashtag1","hashtag2"]},{"1391946091":["hashtag1","hashtag2"]},{"1391946205":["hashtag1","hashtag2"]},{"1391946360":["hashtag1","hashtag2"]},{"1391946132":["hashtag1","hashtag2"]},{"1391946050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391946283, 1391946091, 1391946205, 1391946360, 1391946132, 1391946050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90075325965881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:25:42.378490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_31_1748.jpg', '/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_38_1945.jpg', '/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_51_5886.jpg', '/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_53_1630.jpg', '/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_55_1627.jpg', '/home/pi/Desktop/images/31102025/00/03/image_31102025_00_04_00_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_31_1748.jpg
/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_38_1945.jpg
/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_51_5886.jpg
/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_53_1630.jpg
/home/pi/Desktop/images/31102025/00/03/image_31102025_00_03_55_1627.jpg
/home/pi/Desktop/images/31102025/00/03/image_31102025_00_04_00_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":["1391946634","1391946690","1391947131","1391947763","1391947564","1391946746"],"photo_ids_order":["1391946634","1391946690","1391946746","1391947131","1391947564","1391947763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d85fb5b46fb8109b53247ee2bbd06087.jpg","text":"TemporaryFile(/tmp/multipartBody3598173385248591519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126003526,"filename":"image_31102025_00_03_31_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/3/aee30df2276b19dbc375ab40701ad2d0.jpg","text":"TemporaryFile(/tmp/multipartBody8254667723651615417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126003526,"filename":"image_31102025_00_03_38_1945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6439a7b2fb6cac12f55c0da6d5ceab38.jpg","text":"TemporaryFile(/tmp/multipartBody1853896292034511194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126003526,"filename":"image_31102025_00_03_53_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/3/be7bdbfd776d69e6fb251bbbd603e772.jpg","text":"TemporaryFile(/tmp/multipartBody8131713110129601493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126003526,"filename":"image_31102025_00_04_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/3/063e986d243cddd472afea8d3fac5b2f.jpg","text":"TemporaryFile(/tmp/multipartBody3639721092444617031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126003526,"filename":"image_31102025_00_03_55_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/3/efa043595bc1f946ad214d411c66dcc0.jpg","text":"TemporaryFile(/tmp/multipartBody2632095683946342889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126003526,"filename":"image_31102025_00_03_51_5886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391946746","file1":"1391946690","file0":"1391946634","file4":"1391947564","file5":"1391947763","file3":"1391947131"},"map_files_photo_id_array":[{"photo_id":"1391947763","filename":"file5"},{"photo_id":"1391946746","filename":"file2"},{"photo_id":"1391947564","filename":"file4"},{"photo_id":"1391946690","filename":"file1"},{"photo_id":"1391946634","filename":"file0"},{"photo_id":"1391947131","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391946634":["hashtag1","hashtag2"]},{"1391946690":["hashtag1","hashtag2"]},{"1391947131":["hashtag1","hashtag2"]},{"1391947763":["hashtag1","hashtag2"]},{"1391947564":["hashtag1","hashtag2"]},{"1391946746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391946634, 1391946690, 1391947131, 1391947763, 1391947564, 1391946746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.01554536819458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:26:42.634008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_19_1719.jpg', '/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_25_1661.jpg', '/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_40_7115.jpg', '/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_45_4353.jpg', '/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_50_1692.jpg', '/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_51_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_19_1719.jpg
/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_25_1661.jpg
/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_40_7115.jpg
/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_45_4353.jpg
/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_50_1692.jpg
/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_51_1572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391949024","1391948457","1391948940","1391948729","1391948563","1391948845"],"photo_ids_order":["1391948457","1391948563","1391948729","1391948845","1391948940","1391949024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ece0b8d89d2d2b2ded3dcf06107a6e78.jpg","text":"TemporaryFile(/tmp/multipartBody737138731239086979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126063693,"filename":"image_31102025_00_04_51_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/3/6536bc164d83cbdb9648cbcea2e6463d.jpg","text":"TemporaryFile(/tmp/multipartBody7055187556168972756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126063693,"filename":"image_31102025_00_04_19_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/3/5b1d00e4730f7dc5554208515cc7ffba.jpg","text":"TemporaryFile(/tmp/multipartBody8378362296044566168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126063693,"filename":"image_31102025_00_04_50_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/3/b329962deacc839d5e5daf43365845d9.jpg","text":"TemporaryFile(/tmp/multipartBody8946936355573090017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126063693,"filename":"image_31102025_00_04_40_7115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/55ebeaf3225e36be2b9840ac40a1f80e.jpg","text":"TemporaryFile(/tmp/multipartBody4839447126836000209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126063693,"filename":"image_31102025_00_04_25_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/3/4c923b1990be49d6c2a37f585853296f.jpg","text":"TemporaryFile(/tmp/multipartBody7334374361043916567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126063693,"filename":"image_31102025_00_04_45_4353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391948729","file1":"1391948563","file0":"1391948457","file4":"1391948940","file5":"1391949024","file3":"1391948845"},"map_files_photo_id_array":[{"photo_id":"1391949024","filename":"file5"},{"photo_id":"1391948729","filename":"file2"},{"photo_id":"1391948940","filename":"file4"},{"photo_id":"1391948563","filename":"file1"},{"photo_id":"1391948457","filename":"file0"},{"photo_id":"1391948845","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391949024":["hashtag1","hashtag2"]},{"1391948457":["hashtag1","hashtag2"]},{"1391948940":["hashtag1","hashtag2"]},{"1391948729":["hashtag1","hashtag2"]},{"1391948563":["hashtag1","hashtag2"]},{"1391948845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391949024, 1391948457, 1391948940, 1391948729, 1391948563, 1391948845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48141527175903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:27:21.905303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/20/image_30102025_13_20_17_2646.jpg', '/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_23_2748.jpg', '/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_29_2703.jpg', '/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_32_2841.jpg', '/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_35_3585.jpg', '/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_42_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/13/20/image_30102025_13_20_17_2646.jpg
/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_23_2748.jpg
/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_29_2703.jpg
/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_32_2841.jpg
/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_35_3585.jpg
/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_42_3645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391949444","1391949603","1391949662","1391949527","1391949707","1391949483"],"photo_ids_order":["1391949444","1391949483","1391949527","1391949603","1391949662","1391949707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1c0095a58a433276c9ac86d087182701.jpg","text":"TemporaryFile(/tmp/multipartBody7783724566687501878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126111067,"filename":"image_30102025_13_20_17_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/3/b7bf26127083221a1293e78755a87c90.jpg","text":"TemporaryFile(/tmp/multipartBody2327453558766843468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126111067,"filename":"image_30102025_13_20_32_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/3/c20a7d121edcd63b9621610b78e06abe.jpg","text":"TemporaryFile(/tmp/multipartBody2629978181657489410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126111067,"filename":"image_30102025_13_20_35_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/3/a79ccc132edf6b07acde02a68eb8ea04.jpg","text":"TemporaryFile(/tmp/multipartBody4100410848348413503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126111067,"filename":"image_30102025_13_20_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/3/d87f9301e5ba8c8816d9aea78e000e55.jpg","text":"TemporaryFile(/tmp/multipartBody6875525150309696121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126111067,"filename":"image_30102025_13_20_42_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/3/94da1d23cb9391f97b5c490afda3d68a.jpg","text":"TemporaryFile(/tmp/multipartBody792936876855630639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126111067,"filename":"image_30102025_13_20_23_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391949527","file1":"1391949483","file0":"1391949444","file4":"1391949662","file5":"1391949707","file3":"1391949603"},"map_files_photo_id_array":[{"photo_id":"1391949707","filename":"file5"},{"photo_id":"1391949527","filename":"file2"},{"photo_id":"1391949662","filename":"file4"},{"photo_id":"1391949483","filename":"file1"},{"photo_id":"1391949444","filename":"file0"},{"photo_id":"1391949603","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391949444":["hashtag1","hashtag2"]},{"1391949603":["hashtag1","hashtag2"]},{"1391949662":["hashtag1","hashtag2"]},{"1391949527":["hashtag1","hashtag2"]},{"1391949707":["hashtag1","hashtag2"]},{"1391949483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391949444, 1391949603, 1391949662, 1391949527, 1391949707, 1391949483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.67154502868652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:28:22.174957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/20/image_30102025_13_20_45_2851.jpg', '/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_56_2779.jpg', '/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_59_3035.jpg', '/home/pi/Desktop/images/30102025/13/21/image_30102025_13_21_08_2620.jpg', '/home/pi/Desktop/images/30102025/13/21/image_30102025_13_21_14_2720.jpg', '/home/pi/Desktop/images/30102025/13/21/image_30102025_13_21_20_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/13/20/image_30102025_13_20_45_2851.jpg
/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_56_2779.jpg
/home/pi/Desktop/images/30102025/13/20/image_30102025_13_20_59_3035.jpg
/home/pi/Desktop/images/30102025/13/21/image_30102025_13_21_08_2620.jpg
/home/pi/Desktop/images/30102025/13/21/image_30102025_13_21_14_2720.jpg
/home/pi/Desktop/images/30102025/13/21/image_30102025_13_21_20_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391949839","1391949841","1391949835","1391949838","1391949840","1391949837"],"photo_ids_order":["1391949835","1391949837","1391949838","1391949839","1391949840","1391949841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9f6a9ecbe03abe471173a047679b602b.jpg","text":"TemporaryFile(/tmp/multipartBody7278687715083229064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126164570,"filename":"image_30102025_13_21_08_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/3/fe1a1a4cb1480b9e80c681a3a7397ff2.jpg","text":"TemporaryFile(/tmp/multipartBody1630114240027813787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126164570,"filename":"image_30102025_13_21_20_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/3/fa7f40a0c439fd4033eb0f7895a92de9.jpg","text":"TemporaryFile(/tmp/multipartBody241116845199822463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126164570,"filename":"image_30102025_13_20_45_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/3/6b62b38029eedee4c207c176172fd5cd.jpg","text":"TemporaryFile(/tmp/multipartBody6863950468140354799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126164570,"filename":"image_30102025_13_20_59_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/3/50ff1b22406c5d8680f5c64028af397b.jpg","text":"TemporaryFile(/tmp/multipartBody2633865697619730915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126164570,"filename":"image_30102025_13_21_14_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/3/4e0660982eccee58a0e24f464e6f4668.jpg","text":"TemporaryFile(/tmp/multipartBody8591159183294252421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126164570,"filename":"image_30102025_13_20_56_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391949838","file1":"1391949837","file0":"1391949835","file4":"1391949840","file5":"1391949841","file3":"1391949839"},"map_files_photo_id_array":[{"photo_id":"1391949841","filename":"file5"},{"photo_id":"1391949838","filename":"file2"},{"photo_id":"1391949840","filename":"file4"},{"photo_id":"1391949837","filename":"file1"},{"photo_id":"1391949835","filename":"file0"},{"photo_id":"1391949839","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391949839":["hashtag1","hashtag2"]},{"1391949841":["hashtag1","hashtag2"]},{"1391949835":["hashtag1","hashtag2"]},{"1391949838":["hashtag1","hashtag2"]},{"1391949840":["hashtag1","hashtag2"]},{"1391949837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391949839, 1391949841, 1391949835, 1391949838, 1391949840, 1391949837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.785799503326416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:29:03.297779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 00:29:23.614642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/21/image_30102025_13_21_26_2645.jpg', '/home/pi/Desktop/images/30102025/13/21/image_30102025_13_21_51_3590.jpg', '/home/pi/Desktop/images/30102025/13/21/image_30102025_13_22_00_3730.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_05_2837.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_09_3634.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_14_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/13/21/image_30102025_13_21_26_2645.jpg
/home/pi/Desktop/images/30102025/13/21/image_30102025_13_21_51_3590.jpg
/home/pi/Desktop/images/30102025/13/21/image_30102025_13_22_00_3730.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_05_2837.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_09_3634.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_14_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391949852","1391949851","1391949854","1391949859","1391949856","1391949858"],"photo_ids_order":["1391949851","1391949852","1391949854","1391949856","1391949858","1391949859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9e5a2d2bda72266e6df5a555b7fd1c06.jpg","text":"TemporaryFile(/tmp/multipartBody6179017208699562702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126226923,"filename":"image_30102025_13_21_51_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/3/4677da446ebfc952f4a40341d058c9ff.jpg","text":"TemporaryFile(/tmp/multipartBody7141901623883048226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126226923,"filename":"image_30102025_13_21_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/3/eaae04180e63f8ce938ab452150633f1.jpg","text":"TemporaryFile(/tmp/multipartBody3927652607548234425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126226923,"filename":"image_30102025_13_22_00_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/3/530b25b539aee0e48c2308aa04edded1.jpg","text":"TemporaryFile(/tmp/multipartBody2138402346085987621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126226923,"filename":"image_30102025_13_22_14_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/3/4e09b321b6760235f321519c32d34826.jpg","text":"TemporaryFile(/tmp/multipartBody6307534211706837804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126226923,"filename":"image_30102025_13_22_05_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/3/912ab873ac00aeaff5149d94aa559b83.jpg","text":"TemporaryFile(/tmp/multipartBody5149589592179720223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126226923,"filename":"image_30102025_13_22_09_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391949854","file1":"1391949852","file0":"1391949851","file4":"1391949858","file5":"1391949859","file3":"1391949856"},"map_files_photo_id_array":[{"photo_id":"1391949859","filename":"file5"},{"photo_id":"1391949854","filename":"file2"},{"photo_id":"1391949858","filename":"file4"},{"photo_id":"1391949852","filename":"file1"},{"photo_id":"1391949851","filename":"file0"},{"photo_id":"1391949856","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391949852":["hashtag1","hashtag2"]},{"1391949851":["hashtag1","hashtag2"]},{"1391949854":["hashtag1","hashtag2"]},{"1391949859":["hashtag1","hashtag2"]},{"1391949856":["hashtag1","hashtag2"]},{"1391949858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391949852, 1391949851, 1391949854, 1391949859, 1391949856, 1391949858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13285756111145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:30:03.191644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/22/image_30102025_13_22_17_2680.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_35_2717.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_38_2761.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_41_3581.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_47_3664.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_53_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/13/22/image_30102025_13_22_17_2680.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_35_2717.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_38_2761.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_41_3581.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_47_3664.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_53_2758.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.775315523147583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:30:22.656198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/22/image_30102025_13_22_17_2680.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_35_2717.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_38_2761.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_41_3581.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_47_3664.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_53_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/13/22/image_30102025_13_22_17_2680.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_35_2717.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_38_2761.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_41_3581.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_47_3664.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_53_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391950083","1391950122","1391950203","1391950163","1391950244","1391950285"],"photo_ids_order":["1391950083","1391950122","1391950163","1391950203","1391950244","1391950285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0f7c90643de5785a585b5981f0b40b7a.jpg","text":"TemporaryFile(/tmp/multipartBody7072654736432500390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126284942,"filename":"image_30102025_13_22_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/3/05a7b6b61349fc7656ad9dae37900249.jpg","text":"TemporaryFile(/tmp/multipartBody4037747622242876402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126284942,"filename":"image_30102025_13_22_35_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0af504d9c4c63cd763120e321ac68f37.jpg","text":"TemporaryFile(/tmp/multipartBody1473975611151775726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126284942,"filename":"image_30102025_13_22_41_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/3/74b384ac2053da5d70f35c476bbbbf78.jpg","text":"TemporaryFile(/tmp/multipartBody1783234890335859059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126284942,"filename":"image_30102025_13_22_38_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/3/3a116e3938019f8e0eee318516404594.jpg","text":"TemporaryFile(/tmp/multipartBody6413498591629522856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126284942,"filename":"image_30102025_13_22_47_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/3/ad71a292c9dc72724f35f75c50730e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4436415574423445889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126284942,"filename":"image_30102025_13_22_53_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391950163","file1":"1391950122","file0":"1391950083","file4":"1391950244","file5":"1391950285","file3":"1391950203"},"map_files_photo_id_array":[{"photo_id":"1391950285","filename":"file5"},{"photo_id":"1391950163","filename":"file2"},{"photo_id":"1391950244","filename":"file4"},{"photo_id":"1391950122","filename":"file1"},{"photo_id":"1391950083","filename":"file0"},{"photo_id":"1391950203","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391950083":["hashtag1","hashtag2"]},{"1391950122":["hashtag1","hashtag2"]},{"1391950203":["hashtag1","hashtag2"]},{"1391950163":["hashtag1","hashtag2"]},{"1391950244":["hashtag1","hashtag2"]},{"1391950285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391950083, 1391950122, 1391950203, 1391950163, 1391950244, 1391950285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50380539894104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:31:02.523895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/22/image_30102025_13_22_56_2855.jpg', '/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_59_3660.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_02_2594.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_05_2757.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_17_2707.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_20_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/13/22/image_30102025_13_22_56_2855.jpg
/home/pi/Desktop/images/30102025/13/22/image_30102025_13_22_59_3660.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_02_2594.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_05_2757.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_17_2707.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_20_3568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391950467","1391950407","1391950404","1391950430","1391950465","1391950402"],"photo_ids_order":["1391950402","1391950404","1391950407","1391950430","1391950465","1391950467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b7477ae3b4465d5487e006a9698fd29.jpg","text":"TemporaryFile(/tmp/multipartBody5187766560984643624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126324499,"filename":"image_30102025_13_23_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/3/6e92913c819202cf477e688810b57bc5.jpg","text":"TemporaryFile(/tmp/multipartBody2715168039020748746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126324499,"filename":"image_30102025_13_23_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/3/b47a343f33275da71f3aa21b9793bd10.jpg","text":"TemporaryFile(/tmp/multipartBody1231824649438326221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126324499,"filename":"image_30102025_13_22_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/3/4ea591d1e40e734effc6ff743582d7f6.jpg","text":"TemporaryFile(/tmp/multipartBody8306449887735796848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126324499,"filename":"image_30102025_13_23_05_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/3/821ec3d6530e041c491c6ba7e144e38e.jpg","text":"TemporaryFile(/tmp/multipartBody6482062389744418175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126324499,"filename":"image_30102025_13_23_17_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/3/cc47c13106a52c89545d1ced6418df57.jpg","text":"TemporaryFile(/tmp/multipartBody3894739625991220035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126324499,"filename":"image_30102025_13_22_56_2855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391950407","file1":"1391950404","file0":"1391950402","file4":"1391950465","file5":"1391950467","file3":"1391950430"},"map_files_photo_id_array":[{"photo_id":"1391950467","filename":"file5"},{"photo_id":"1391950407","filename":"file2"},{"photo_id":"1391950465","filename":"file4"},{"photo_id":"1391950404","filename":"file1"},{"photo_id":"1391950402","filename":"file0"},{"photo_id":"1391950430","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391950467":["hashtag1","hashtag2"]},{"1391950407":["hashtag1","hashtag2"]},{"1391950404":["hashtag1","hashtag2"]},{"1391950430":["hashtag1","hashtag2"]},{"1391950465":["hashtag1","hashtag2"]},{"1391950402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391950467, 1391950407, 1391950404, 1391950430, 1391950465, 1391950402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12230634689331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:31:41.905807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_53_1647.jpg', '/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_56_1682.jpg', '/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_58_1689.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_02_2629.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_11_1640.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_15_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_53_1647.jpg
/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_56_1682.jpg
/home/pi/Desktop/images/31102025/00/04/image_31102025_00_04_58_1689.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_02_2629.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_11_1640.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_15_1670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391950578","1391950557","1391950536","1391950503","1391950576","1391950579"],"photo_ids_order":["1391950503","1391950536","1391950557","1391950576","1391950578","1391950579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5a594d3734d91be61eb757f1d4ea03ac.jpg","text":"TemporaryFile(/tmp/multipartBody378084896022764711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126363027,"filename":"image_31102025_00_05_11_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/3/0281337395484ef8ca0fdac923b5bc61.jpg","text":"TemporaryFile(/tmp/multipartBody8336118542634106392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126363027,"filename":"image_31102025_00_04_58_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/3/18c330ec7c3cf2b36b2583fb368be7d5.jpg","text":"TemporaryFile(/tmp/multipartBody4695959817753797520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126363027,"filename":"image_31102025_00_04_56_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/3/686ab38599d2da5678be129a9c2d5cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4784116141415547231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126363027,"filename":"image_31102025_00_04_53_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/3/1746bce9d9b74acd9b201ab0d1a802ee.jpg","text":"TemporaryFile(/tmp/multipartBody5005817138411964485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126363027,"filename":"image_31102025_00_05_02_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/3/f1d171fde87b3c5303efdf57ce405865.jpg","text":"TemporaryFile(/tmp/multipartBody7080647557192951574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126363027,"filename":"image_31102025_00_05_15_1670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391950557","file1":"1391950536","file0":"1391950503","file4":"1391950578","file5":"1391950579","file3":"1391950576"},"map_files_photo_id_array":[{"photo_id":"1391950579","filename":"file5"},{"photo_id":"1391950557","filename":"file2"},{"photo_id":"1391950578","filename":"file4"},{"photo_id":"1391950536","filename":"file1"},{"photo_id":"1391950503","filename":"file0"},{"photo_id":"1391950576","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391950578":["hashtag1","hashtag2"]},{"1391950557":["hashtag1","hashtag2"]},{"1391950536":["hashtag1","hashtag2"]},{"1391950503":["hashtag1","hashtag2"]},{"1391950576":["hashtag1","hashtag2"]},{"1391950579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391950578, 1391950557, 1391950536, 1391950503, 1391950576, 1391950579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98065996170044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:32:22.140306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/23/image_30102025_13_23_23_2563.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_26_3659.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_29_2688.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_35_3641.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_38_2594.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_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/13/23/image_30102025_13_23_23_2563.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_26_3659.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_29_2688.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_35_3641.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_38_2594.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_41_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391950584","1391950589","1391950582","1391950591","1391950593","1391950587"],"photo_ids_order":["1391950582","1391950584","1391950587","1391950589","1391950591","1391950593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4ec4ec72cd364a16faff9058abdfbdd2.jpg","text":"TemporaryFile(/tmp/multipartBody9098658389265237397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126404556,"filename":"image_30102025_13_23_26_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/3/d0854aa94ae52f94d3dc2f9294f7e176.jpg","text":"TemporaryFile(/tmp/multipartBody8076786102935289499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126404556,"filename":"image_30102025_13_23_35_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/3/12384566322ee4f066aa73a0277f2a0d.jpg","text":"TemporaryFile(/tmp/multipartBody328320101105871679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126404556,"filename":"image_30102025_13_23_23_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/3/e3fff8e03c20059c82f4864b4316f4f0.jpg","text":"TemporaryFile(/tmp/multipartBody5043765512793459402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126404556,"filename":"image_30102025_13_23_38_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/3/1bf8040af9ba5a215d2fd32f1a8d716a.jpg","text":"TemporaryFile(/tmp/multipartBody3743793758347042422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126404556,"filename":"image_30102025_13_23_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/3/d36574213aef2fceedbb22de8ba54756.jpg","text":"TemporaryFile(/tmp/multipartBody5208709364104436719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126404556,"filename":"image_30102025_13_23_29_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391950587","file1":"1391950584","file0":"1391950582","file4":"1391950591","file5":"1391950593","file3":"1391950589"},"map_files_photo_id_array":[{"photo_id":"1391950593","filename":"file5"},{"photo_id":"1391950587","filename":"file2"},{"photo_id":"1391950591","filename":"file4"},{"photo_id":"1391950584","filename":"file1"},{"photo_id":"1391950582","filename":"file0"},{"photo_id":"1391950589","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391950584":["hashtag1","hashtag2"]},{"1391950589":["hashtag1","hashtag2"]},{"1391950582":["hashtag1","hashtag2"]},{"1391950591":["hashtag1","hashtag2"]},{"1391950593":["hashtag1","hashtag2"]},{"1391950587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391950584, 1391950589, 1391950582, 1391950591, 1391950593, 1391950587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78738284111023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:33:02.942945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/23/image_30102025_13_23_50_2717.jpg', '/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_56_3663.jpg', '/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_05_3700.jpg', '/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_11_2998.jpg', '/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_20_3633.jpg', '/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_23_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/13/23/image_30102025_13_23_50_2717.jpg
/home/pi/Desktop/images/30102025/13/23/image_30102025_13_23_56_3663.jpg
/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_05_3700.jpg
/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_11_2998.jpg
/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_20_3633.jpg
/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_23_2903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391950606","1391950598","1391950602","1391950595","1391950604","1391950600"],"photo_ids_order":["1391950595","1391950598","1391950600","1391950602","1391950604","1391950606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33238d8bfa375ac67b64b045acf50b09.jpg","text":"TemporaryFile(/tmp/multipartBody5610199875299560444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126444873,"filename":"image_30102025_13_24_23_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/3/e8231b22d860a8d879816044a5374f19.jpg","text":"TemporaryFile(/tmp/multipartBody6670491462512474513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126444873,"filename":"image_30102025_13_23_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/3/207f672ff081780483ca63876261be3b.jpg","text":"TemporaryFile(/tmp/multipartBody7972653632821272409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126444873,"filename":"image_30102025_13_24_11_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/09c78d0a60c12c8cccfa1d874ce27231.jpg","text":"TemporaryFile(/tmp/multipartBody7650453735901340225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126444873,"filename":"image_30102025_13_23_50_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b53976aa4b4115a8c2acc9564763291.jpg","text":"TemporaryFile(/tmp/multipartBody8183210140720583040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126444873,"filename":"image_30102025_13_24_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/3/b912a8c36fd40cf694cfd88aa1ada7d0.jpg","text":"TemporaryFile(/tmp/multipartBody879093579394289285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126444873,"filename":"image_30102025_13_24_05_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391950600","file1":"1391950598","file0":"1391950595","file4":"1391950604","file5":"1391950606","file3":"1391950602"},"map_files_photo_id_array":[{"photo_id":"1391950606","filename":"file5"},{"photo_id":"1391950600","filename":"file2"},{"photo_id":"1391950604","filename":"file4"},{"photo_id":"1391950598","filename":"file1"},{"photo_id":"1391950595","filename":"file0"},{"photo_id":"1391950602","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391950606":["hashtag1","hashtag2"]},{"1391950598":["hashtag1","hashtag2"]},{"1391950602":["hashtag1","hashtag2"]},{"1391950595":["hashtag1","hashtag2"]},{"1391950604":["hashtag1","hashtag2"]},{"1391950600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391950606, 1391950598, 1391950602, 1391950595, 1391950604, 1391950600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67921471595764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:33:42.418588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_16_1721.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_18_1729.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_20_1643.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_25_2614.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_31_3653.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_37_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_16_1721.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_18_1729.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_20_1643.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_25_2614.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_31_3653.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_37_2663.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0230882167816162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:34:03.328841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/24/image_30102025_13_24_26_2574.jpg', '/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_28_2669.jpg', '/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_41_3713.jpg', '/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_44_2708.jpg', '/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_59_3846.jpg', '/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_02_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/13/24/image_30102025_13_24_26_2574.jpg
/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_28_2669.jpg
/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_41_3713.jpg
/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_44_2708.jpg
/home/pi/Desktop/images/30102025/13/24/image_30102025_13_24_59_3846.jpg
/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_02_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391950623","1391950620","1391950617","1391950622","1391950619","1391950624"],"photo_ids_order":["1391950617","1391950619","1391950620","1391950622","1391950623","1391950624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/37c890c5e594659be415e92a71cb93e1.jpg","text":"TemporaryFile(/tmp/multipartBody8330886342059205047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126505315,"filename":"image_30102025_13_24_59_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/48a626798604e3002f921909ccf38c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2559779988082961320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126505315,"filename":"image_30102025_13_24_41_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fce96568abf132ebbffb083f746705fd.jpg","text":"TemporaryFile(/tmp/multipartBody443698295218143362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126505315,"filename":"image_30102025_13_24_26_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/3/0f17b87d42d39ddaafff24e34723f3ab.jpg","text":"TemporaryFile(/tmp/multipartBody1270231355107451984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126505315,"filename":"image_30102025_13_24_44_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/3/2ae01f740a6a06ec5221325db030aa32.jpg","text":"TemporaryFile(/tmp/multipartBody8934214229480962280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126505315,"filename":"image_30102025_13_24_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/3/e2c611a6f63be77b0205a0616899a791.jpg","text":"TemporaryFile(/tmp/multipartBody7066073581778803141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126505315,"filename":"image_30102025_13_25_02_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391950620","file1":"1391950619","file0":"1391950617","file4":"1391950623","file5":"1391950624","file3":"1391950622"},"map_files_photo_id_array":[{"photo_id":"1391950624","filename":"file5"},{"photo_id":"1391950620","filename":"file2"},{"photo_id":"1391950623","filename":"file4"},{"photo_id":"1391950619","filename":"file1"},{"photo_id":"1391950617","filename":"file0"},{"photo_id":"1391950622","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391950623":["hashtag1","hashtag2"]},{"1391950620":["hashtag1","hashtag2"]},{"1391950617":["hashtag1","hashtag2"]},{"1391950622":["hashtag1","hashtag2"]},{"1391950619":["hashtag1","hashtag2"]},{"1391950624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391950623, 1391950620, 1391950617, 1391950622, 1391950619, 1391950624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.565661907196045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:34:42.603481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_16_1721.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_18_1729.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_20_1643.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_25_2614.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_31_3653.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_37_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_16_1721.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_18_1729.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_20_1643.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_25_2614.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_31_3653.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_37_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391950626","1391950629","1391950631","1391950633","1391950627","1391950636"],"photo_ids_order":["1391950626","1391950627","1391950629","1391950631","1391950633","1391950636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a070efa0c15446236cf1787903ad6b9.jpg","text":"TemporaryFile(/tmp/multipartBody6136302896319895866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126543616,"filename":"image_31102025_00_05_16_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/3/fe3efe8414ed2b5a854c9222b0586ab2.jpg","text":"TemporaryFile(/tmp/multipartBody7645512661549932241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126543616,"filename":"image_31102025_00_05_20_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/3/7fdbc0ebb7aa3390a245ce813f1ac213.jpg","text":"TemporaryFile(/tmp/multipartBody6333607789553532721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126543616,"filename":"image_31102025_00_05_25_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4d7a1dac2cd0c0315996976e397e572e.jpg","text":"TemporaryFile(/tmp/multipartBody8933874352118859488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126543616,"filename":"image_31102025_00_05_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/3/252d7ddfc03dd0aa061dae1fe6c77744.jpg","text":"TemporaryFile(/tmp/multipartBody638361376858555429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126543616,"filename":"image_31102025_00_05_18_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/3/9915bd07552f783e9b58ac5a02bf3827.jpg","text":"TemporaryFile(/tmp/multipartBody4309767769749783986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126543616,"filename":"image_31102025_00_05_37_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391950629","file1":"1391950627","file0":"1391950626","file4":"1391950633","file5":"1391950636","file3":"1391950631"},"map_files_photo_id_array":[{"photo_id":"1391950636","filename":"file5"},{"photo_id":"1391950629","filename":"file2"},{"photo_id":"1391950633","filename":"file4"},{"photo_id":"1391950627","filename":"file1"},{"photo_id":"1391950626","filename":"file0"},{"photo_id":"1391950631","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391950626":["hashtag1","hashtag2"]},{"1391950629":["hashtag1","hashtag2"]},{"1391950631":["hashtag1","hashtag2"]},{"1391950633":["hashtag1","hashtag2"]},{"1391950627":["hashtag1","hashtag2"]},{"1391950636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391950626, 1391950629, 1391950631, 1391950633, 1391950627, 1391950636)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 56.25424075126648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:35:42.709478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_51_10681.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_52_1677.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_57_1558.jpg', '/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_59_1569.jpg', '/home/pi/Desktop/images/31102025/00/06/image_31102025_00_06_01_1909.jpg', '/home/pi/Desktop/images/31102025/00/06/image_31102025_00_06_07_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_51_10681.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_52_1677.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_57_1558.jpg
/home/pi/Desktop/images/31102025/00/05/image_31102025_00_05_59_1569.jpg
/home/pi/Desktop/images/31102025/00/06/image_31102025_00_06_01_1909.jpg
/home/pi/Desktop/images/31102025/00/06/image_31102025_00_06_07_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391950751","1391950829","1391950789","1391950870","1391950951","1391950912"],"photo_ids_order":["1391950751","1391950789","1391950829","1391950870","1391950912","1391950951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/242f6909cc3d10bb275a579b22f0b1c9.jpg","text":"TemporaryFile(/tmp/multipartBody3899120064260441107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126603823,"filename":"image_31102025_00_05_51_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3beb498d3b38a8e392c2eb08a20738a2.jpg","text":"TemporaryFile(/tmp/multipartBody1427671244445150856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126603823,"filename":"image_31102025_00_05_57_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/3/904bf6b6f725e18f9eb12f669ae26c1f.jpg","text":"TemporaryFile(/tmp/multipartBody471472618550375357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126603823,"filename":"image_31102025_00_05_52_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/3/3622d9ac251161427d7dff5078c59f8c.jpg","text":"TemporaryFile(/tmp/multipartBody145659644039062731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126603823,"filename":"image_31102025_00_05_59_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/3/89bf02de89a5bc2e4b18e9b09741844e.jpg","text":"TemporaryFile(/tmp/multipartBody7574051028134349363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126603823,"filename":"image_31102025_00_06_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/3/923449a9b27b458cbf159fc90497332b.jpg","text":"TemporaryFile(/tmp/multipartBody1164049945843121117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126603823,"filename":"image_31102025_00_06_01_1909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391950829","file1":"1391950789","file0":"1391950751","file4":"1391950912","file5":"1391950951","file3":"1391950870"},"map_files_photo_id_array":[{"photo_id":"1391950951","filename":"file5"},{"photo_id":"1391950829","filename":"file2"},{"photo_id":"1391950912","filename":"file4"},{"photo_id":"1391950789","filename":"file1"},{"photo_id":"1391950751","filename":"file0"},{"photo_id":"1391950870","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391950751":["hashtag1","hashtag2"]},{"1391950829":["hashtag1","hashtag2"]},{"1391950789":["hashtag1","hashtag2"]},{"1391950870":["hashtag1","hashtag2"]},{"1391950951":["hashtag1","hashtag2"]},{"1391950912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391950751, 1391950829, 1391950789, 1391950870, 1391950951, 1391950912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1821494102478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:36:21.792326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/25/image_30102025_13_25_11_3695.jpg', '/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_14_2677.jpg', '/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_43_2571.jpg', '/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_47_3705.jpg', '/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_50_2757.jpg', '/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_53_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/13/25/image_30102025_13_25_11_3695.jpg
/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_14_2677.jpg
/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_43_2571.jpg
/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_47_3705.jpg
/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_50_2757.jpg
/home/pi/Desktop/images/30102025/13/25/image_30102025_13_25_53_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391951301","1391951183","1391951258","1391951147","1391951108","1391951221"],"photo_ids_order":["1391951108","1391951147","1391951183","1391951221","1391951258","1391951301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3492cbc18bba67743fc9485998d71900.jpg","text":"TemporaryFile(/tmp/multipartBody4617401242539941746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126644206,"filename":"image_30102025_13_25_53_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ff0b8e5c11ebee1ea334be0544aef565.jpg","text":"TemporaryFile(/tmp/multipartBody4022712601640292800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126644206,"filename":"image_30102025_13_25_43_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/3/f0135b66e673d4ac0cd2a67eb50a1d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5205986800580798287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126644206,"filename":"image_30102025_13_25_50_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/3/c9b09259008c6bfb3c3c15d9373c1ad0.jpg","text":"TemporaryFile(/tmp/multipartBody9174259502699118159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126644206,"filename":"image_30102025_13_25_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/3/f1eeabb0190d60f2524065027b5d2f63.jpg","text":"TemporaryFile(/tmp/multipartBody4377792472205981985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126644206,"filename":"image_30102025_13_25_11_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/99607d1c1949cf469d210370a8ba928b.jpg","text":"TemporaryFile(/tmp/multipartBody7231398254498674879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126644206,"filename":"image_30102025_13_25_47_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391951183","file1":"1391951147","file0":"1391951108","file4":"1391951258","file5":"1391951301","file3":"1391951221"},"map_files_photo_id_array":[{"photo_id":"1391951301","filename":"file5"},{"photo_id":"1391951183","filename":"file2"},{"photo_id":"1391951258","filename":"file4"},{"photo_id":"1391951147","filename":"file1"},{"photo_id":"1391951108","filename":"file0"},{"photo_id":"1391951221","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391951301":["hashtag1","hashtag2"]},{"1391951183":["hashtag1","hashtag2"]},{"1391951258":["hashtag1","hashtag2"]},{"1391951147":["hashtag1","hashtag2"]},{"1391951108":["hashtag1","hashtag2"]},{"1391951221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391951301, 1391951183, 1391951258, 1391951147, 1391951108, 1391951221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21086239814758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:37:02.574859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/26/image_30102025_13_26_02_2663.jpg', '/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_05_3628.jpg', '/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_14_2714.jpg', '/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_20_2794.jpg', '/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_23_2554.jpg', '/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_58_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/13/26/image_30102025_13_26_02_2663.jpg
/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_05_3628.jpg
/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_14_2714.jpg
/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_20_2794.jpg
/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_23_2554.jpg
/home/pi/Desktop/images/30102025/13/26/image_30102025_13_26_58_2835.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391951576","1391951572","1391951518","1391951574","1391951469","1391951556"],"photo_ids_order":["1391951469","1391951518","1391951556","1391951572","1391951574","1391951576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/206a0d772a7dba5e72d476684a4c9a77.jpg","text":"TemporaryFile(/tmp/multipartBody2935575976268955427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126684484,"filename":"image_30102025_13_26_58_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/3/92d2b6608946d3f4e232e2f4e48fa51f.jpg","text":"TemporaryFile(/tmp/multipartBody743436666579789157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126684484,"filename":"image_30102025_13_26_20_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/3/b6795ec90c63eea90ef13f225d0619a5.jpg","text":"TemporaryFile(/tmp/multipartBody8181064272694285436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126684484,"filename":"image_30102025_13_26_05_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/3/980b0aabde5f2622e7ed15d3f96fb566.jpg","text":"TemporaryFile(/tmp/multipartBody5926213330856743568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126684484,"filename":"image_30102025_13_26_23_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/3/82ccb40b2df09fda39ec8f90655d3159.jpg","text":"TemporaryFile(/tmp/multipartBody8624979466907961377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126684484,"filename":"image_30102025_13_26_02_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/3/735423386cb67a6d8cd091970bdaace0.jpg","text":"TemporaryFile(/tmp/multipartBody8796683684544158722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126684484,"filename":"image_30102025_13_26_14_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391951556","file1":"1391951518","file0":"1391951469","file4":"1391951574","file5":"1391951576","file3":"1391951572"},"map_files_photo_id_array":[{"photo_id":"1391951576","filename":"file5"},{"photo_id":"1391951556","filename":"file2"},{"photo_id":"1391951574","filename":"file4"},{"photo_id":"1391951518","filename":"file1"},{"photo_id":"1391951469","filename":"file0"},{"photo_id":"1391951572","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391951576":["hashtag1","hashtag2"]},{"1391951572":["hashtag1","hashtag2"]},{"1391951518":["hashtag1","hashtag2"]},{"1391951574":["hashtag1","hashtag2"]},{"1391951469":["hashtag1","hashtag2"]},{"1391951556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391951576, 1391951572, 1391951518, 1391951574, 1391951469, 1391951556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.369088649749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:37:42.176443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/06/image_31102025_00_06_27_2606.jpg', '/home/pi/Desktop/images/31102025/00/06/image_31102025_00_06_49_2799.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_07_2674.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_13_3708.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_19_2673.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_22_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/06/image_31102025_00_06_27_2606.jpg
/home/pi/Desktop/images/31102025/00/06/image_31102025_00_06_49_2799.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_07_2674.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_13_3708.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_19_2673.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_22_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":["1391951588","1391951581","1391951590","1391951583","1391951592","1391951586"],"photo_ids_order":["1391951581","1391951583","1391951586","1391951588","1391951590","1391951592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7d50a5324a387440e5d85bf8b0e2c99c.jpg","text":"TemporaryFile(/tmp/multipartBody3434246324653971436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126723302,"filename":"image_31102025_00_07_13_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/3/75dd34f732aadc8347d41dbf53ce511f.jpg","text":"TemporaryFile(/tmp/multipartBody4213970369645985434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126723302,"filename":"image_31102025_00_06_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/3/3aa8c73b316953ead079dd5dbd646554.jpg","text":"TemporaryFile(/tmp/multipartBody8134517254123775767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126723302,"filename":"image_31102025_00_07_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/3/38b19347afef6f2f25a2066d7aaa0406.jpg","text":"TemporaryFile(/tmp/multipartBody589039054267381520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126723302,"filename":"image_31102025_00_06_49_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/3/5ba24364c20030ea20355161c814a264.jpg","text":"TemporaryFile(/tmp/multipartBody6745547538113088436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126723302,"filename":"image_31102025_00_07_22_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/3/bc5cdb3256be4ff7fb4373f0c292552c.jpg","text":"TemporaryFile(/tmp/multipartBody6022785759703413526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126723302,"filename":"image_31102025_00_07_07_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391951586","file1":"1391951583","file0":"1391951581","file4":"1391951590","file5":"1391951592","file3":"1391951588"},"map_files_photo_id_array":[{"photo_id":"1391951592","filename":"file5"},{"photo_id":"1391951586","filename":"file2"},{"photo_id":"1391951590","filename":"file4"},{"photo_id":"1391951583","filename":"file1"},{"photo_id":"1391951581","filename":"file0"},{"photo_id":"1391951588","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391951588":["hashtag1","hashtag2"]},{"1391951581":["hashtag1","hashtag2"]},{"1391951590":["hashtag1","hashtag2"]},{"1391951583":["hashtag1","hashtag2"]},{"1391951592":["hashtag1","hashtag2"]},{"1391951586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391951588, 1391951581, 1391951590, 1391951583, 1391951592, 1391951586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.047218322753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:38:42.418252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_25_2615.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_37_3516.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_43_2687.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_46_3596.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_49_2552.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_51_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_25_2615.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_37_3516.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_43_2687.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_46_3596.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_49_2552.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_51_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391951823","1391951945","1391951785","1391951743","1391951902","1391951859"],"photo_ids_order":["1391951743","1391951785","1391951823","1391951859","1391951902","1391951945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/75c4b596a9a710aeda526ac750e047e6.jpg","text":"TemporaryFile(/tmp/multipartBody4555326489153820658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126783574,"filename":"image_31102025_00_07_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/3/21d58da7f4c8578bc5b8083c819ba162.jpg","text":"TemporaryFile(/tmp/multipartBody782145828112779193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126783574,"filename":"image_31102025_00_07_51_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/3/0fc7d47e9165d03a6d1837e8d20b7707.jpg","text":"TemporaryFile(/tmp/multipartBody1441340488732353760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126783574,"filename":"image_31102025_00_07_37_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/3/9100ae57e4e3fc259407ea972b4c389f.jpg","text":"TemporaryFile(/tmp/multipartBody4805841475328876712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126783574,"filename":"image_31102025_00_07_25_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/3/a5f01165460848772a360a44d2abedd6.jpg","text":"TemporaryFile(/tmp/multipartBody7179165817891775936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126783574,"filename":"image_31102025_00_07_49_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/3/d1704a701c4dc8254ae004f62e5b05f2.jpg","text":"TemporaryFile(/tmp/multipartBody4071999925094104473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126783574,"filename":"image_31102025_00_07_46_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391951823","file1":"1391951785","file0":"1391951743","file4":"1391951902","file5":"1391951945","file3":"1391951859"},"map_files_photo_id_array":[{"photo_id":"1391951945","filename":"file5"},{"photo_id":"1391951823","filename":"file2"},{"photo_id":"1391951902","filename":"file4"},{"photo_id":"1391951785","filename":"file1"},{"photo_id":"1391951743","filename":"file0"},{"photo_id":"1391951859","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391951823":["hashtag1","hashtag2"]},{"1391951945":["hashtag1","hashtag2"]},{"1391951785":["hashtag1","hashtag2"]},{"1391951743":["hashtag1","hashtag2"]},{"1391951902":["hashtag1","hashtag2"]},{"1391951859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391951823, 1391951945, 1391951785, 1391951743, 1391951902, 1391951859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14636468887329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:39:22.499348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/27/image_30102025_13_27_02_3828.jpg', '/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_05_2743.jpg', '/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_08_2702.jpg', '/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_14_3621.jpg', '/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_17_2701.jpg', '/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_22_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/13/27/image_30102025_13_27_02_3828.jpg
/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_05_2743.jpg
/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_08_2702.jpg
/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_14_3621.jpg
/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_17_2701.jpg
/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_22_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391951990","1391952032","1391952031","1391952168","1391952060","1391952099"],"photo_ids_order":["1391951990","1391952031","1391952032","1391952060","1391952099","1391952168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0b64ca31916a343a0dc13896f4e8ebb3.jpg","text":"TemporaryFile(/tmp/multipartBody9169092105670833486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126824944,"filename":"image_30102025_13_27_02_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/3/f1b41d33aa0bc01753d0a6842b089862.jpg","text":"TemporaryFile(/tmp/multipartBody163982468886431011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126824944,"filename":"image_30102025_13_27_08_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7b8fd470b0c13a1bfb5211a91d190932.jpg","text":"TemporaryFile(/tmp/multipartBody1073411119555971273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126824944,"filename":"image_30102025_13_27_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/3/032cf846db0ae41fd8a37bf315ce112b.jpg","text":"TemporaryFile(/tmp/multipartBody3403250890835158609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126824944,"filename":"image_30102025_13_27_22_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/3/f3c1040486729ea7b4554b1f4c69cd27.jpg","text":"TemporaryFile(/tmp/multipartBody493242281158791542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126824944,"filename":"image_30102025_13_27_14_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/3/8cf2865d9aa4cd5670138f5866a24dd8.jpg","text":"TemporaryFile(/tmp/multipartBody9098466260137370633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126824944,"filename":"image_30102025_13_27_17_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391952032","file1":"1391952031","file0":"1391951990","file4":"1391952099","file5":"1391952168","file3":"1391952060"},"map_files_photo_id_array":[{"photo_id":"1391952168","filename":"file5"},{"photo_id":"1391952032","filename":"file2"},{"photo_id":"1391952099","filename":"file4"},{"photo_id":"1391952031","filename":"file1"},{"photo_id":"1391951990","filename":"file0"},{"photo_id":"1391952060","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391951990":["hashtag1","hashtag2"]},{"1391952032":["hashtag1","hashtag2"]},{"1391952031":["hashtag1","hashtag2"]},{"1391952168":["hashtag1","hashtag2"]},{"1391952060":["hashtag1","hashtag2"]},{"1391952099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391951990, 1391952032, 1391952031, 1391952168, 1391952060, 1391952099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.358322620391846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:40:03.176541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/27/image_30102025_13_27_35_3739.jpg', '/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_40_2677.jpg', '/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_47_3711.jpg', '/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_59_2902.jpg', '/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_07_2567.jpg', '/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_16_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/27/image_30102025_13_27_35_3739.jpg
/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_40_2677.jpg
/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_47_3711.jpg
/home/pi/Desktop/images/30102025/13/27/image_30102025_13_27_59_2902.jpg
/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_07_2567.jpg
/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_16_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391952371","1391952524","1391952407","1391952484","1391952445","1391952561"],"photo_ids_order":["1391952371","1391952407","1391952445","1391952484","1391952524","1391952561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/625142c9c297705ae24b473dd7b88e28.jpg","text":"TemporaryFile(/tmp/multipartBody2149375522366417537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126865043,"filename":"image_30102025_13_27_35_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/3/504312156dd16799b67822ea356c8538.jpg","text":"TemporaryFile(/tmp/multipartBody3446421708146324992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126865043,"filename":"image_30102025_13_28_07_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/3/fe88b96316720bff53383ba6eb5eb444.jpg","text":"TemporaryFile(/tmp/multipartBody46151129520078713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126865043,"filename":"image_30102025_13_27_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/3/73642541a62ce177ae41ca2d1b7b8a8e.jpg","text":"TemporaryFile(/tmp/multipartBody9047462454904517293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126865043,"filename":"image_30102025_13_27_59_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/3/171f61344c54c5ad19cd4156c715e38e.jpg","text":"TemporaryFile(/tmp/multipartBody2578344722334276362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126865043,"filename":"image_30102025_13_27_47_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/3/6d336e19a2832e94ff8c82299a0f53c5.jpg","text":"TemporaryFile(/tmp/multipartBody8938277819564769043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126865043,"filename":"image_30102025_13_28_16_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391952445","file1":"1391952407","file0":"1391952371","file4":"1391952524","file5":"1391952561","file3":"1391952484"},"map_files_photo_id_array":[{"photo_id":"1391952561","filename":"file5"},{"photo_id":"1391952445","filename":"file2"},{"photo_id":"1391952524","filename":"file4"},{"photo_id":"1391952407","filename":"file1"},{"photo_id":"1391952371","filename":"file0"},{"photo_id":"1391952484","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391952371":["hashtag1","hashtag2"]},{"1391952524":["hashtag1","hashtag2"]},{"1391952407":["hashtag1","hashtag2"]},{"1391952484":["hashtag1","hashtag2"]},{"1391952445":["hashtag1","hashtag2"]},{"1391952561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391952371, 1391952524, 1391952407, 1391952484, 1391952445, 1391952561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79446816444397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:40:42.791442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_55_3610.jpg', '/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_58_2592.jpg', '/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_04_2600.jpg', '/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_07_3559.jpg', '/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_10_2721.jpg', '/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_13_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_55_3610.jpg
/home/pi/Desktop/images/31102025/00/07/image_31102025_00_07_58_2592.jpg
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_04_2600.jpg
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_07_3559.jpg
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_10_2721.jpg
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_13_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391952974","1391952749","1391952827","1391953015","1391952904","1391953058"],"photo_ids_order":["1391952749","1391952827","1391952904","1391952974","1391953015","1391953058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/545bc2a83d56681b04ad44d6f1677956.jpg","text":"TemporaryFile(/tmp/multipartBody498080047420189353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126903899,"filename":"image_31102025_00_08_07_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/3/c42c6d3affabaaab66e36344ed7c7bff.jpg","text":"TemporaryFile(/tmp/multipartBody2442656247604471186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126903899,"filename":"image_31102025_00_07_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/3/ef90efd1dabdd9941014ce62fe360e79.jpg","text":"TemporaryFile(/tmp/multipartBody8102811989990536421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126903899,"filename":"image_31102025_00_07_58_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/3/4c756e589dbbea8235d433c738c52314.jpg","text":"TemporaryFile(/tmp/multipartBody1425558903703058584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126903899,"filename":"image_31102025_00_08_10_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/3/13490b534ab0805f18df733d3f5f5683.jpg","text":"TemporaryFile(/tmp/multipartBody8597022514573790155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126903899,"filename":"image_31102025_00_08_04_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/3/3578553ce6adc641d9bf75aa423bd159.jpg","text":"TemporaryFile(/tmp/multipartBody3969732744416991242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126903899,"filename":"image_31102025_00_08_13_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391952904","file1":"1391952827","file0":"1391952749","file4":"1391953015","file5":"1391953058","file3":"1391952974"},"map_files_photo_id_array":[{"photo_id":"1391953058","filename":"file5"},{"photo_id":"1391952904","filename":"file2"},{"photo_id":"1391953015","filename":"file4"},{"photo_id":"1391952827","filename":"file1"},{"photo_id":"1391952749","filename":"file0"},{"photo_id":"1391952974","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391952974":["hashtag1","hashtag2"]},{"1391952749":["hashtag1","hashtag2"]},{"1391952827":["hashtag1","hashtag2"]},{"1391953015":["hashtag1","hashtag2"]},{"1391952904":["hashtag1","hashtag2"]},{"1391953058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391952974, 1391952749, 1391952827, 1391953015, 1391952904, 1391953058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.715267181396484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:41:21.975343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/28/image_30102025_13_28_19_2873.jpg', '/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_31_2787.jpg', '/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_35_3630.jpg', '/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_40_2645.jpg', '/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_44_3833.jpg', '/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_47_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/13/28/image_30102025_13_28_19_2873.jpg
/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_31_2787.jpg
/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_35_3630.jpg
/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_40_2645.jpg
/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_44_3833.jpg
/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_47_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391953232","1391953514","1391953318","1391953389","1391953551","1391953466"],"photo_ids_order":["1391953232","1391953318","1391953389","1391953466","1391953514","1391953551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c4fd3322e817da36ef0a75188fa39f7b.jpg","text":"TemporaryFile(/tmp/multipartBody8196005472825824373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126944413,"filename":"image_30102025_13_28_19_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/3/e5a0e948a4135161146d493e78d4fa4f.jpg","text":"TemporaryFile(/tmp/multipartBody7613042024385672640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126944413,"filename":"image_30102025_13_28_44_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/3/402f322dcb10976829557234011c14ea.jpg","text":"TemporaryFile(/tmp/multipartBody5432116105891852825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126944413,"filename":"image_30102025_13_28_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/3/670079041c6f51a33132853a05b96d27.jpg","text":"TemporaryFile(/tmp/multipartBody7291030454911858799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126944413,"filename":"image_30102025_13_28_35_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/3/8c59b40f20a5e8c45d29984d61f861b4.jpg","text":"TemporaryFile(/tmp/multipartBody7715607621575739491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126944413,"filename":"image_30102025_13_28_47_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/3/b311bba340c73300561fe8063185ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody318984198730744850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762126944413,"filename":"image_30102025_13_28_40_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391953389","file1":"1391953318","file0":"1391953232","file4":"1391953514","file5":"1391953551","file3":"1391953466"},"map_files_photo_id_array":[{"photo_id":"1391953551","filename":"file5"},{"photo_id":"1391953389","filename":"file2"},{"photo_id":"1391953514","filename":"file4"},{"photo_id":"1391953318","filename":"file1"},{"photo_id":"1391953232","filename":"file0"},{"photo_id":"1391953466","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391953232":["hashtag1","hashtag2"]},{"1391953514":["hashtag1","hashtag2"]},{"1391953318":["hashtag1","hashtag2"]},{"1391953389":["hashtag1","hashtag2"]},{"1391953551":["hashtag1","hashtag2"]},{"1391953466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391953232, 1391953514, 1391953318, 1391953389, 1391953551, 1391953466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51539635658264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:42:02.539383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/28/image_30102025_13_28_55_2740.jpg', '/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_58_2788.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_02_3590.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_10_2773.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_14_3644.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_28_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/13/28/image_30102025_13_28_55_2740.jpg
/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_58_2788.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_02_3590.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_10_2773.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_14_3644.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_28_2790.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.759855031967163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:42:22.077392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/28/image_30102025_13_28_55_2740.jpg', '/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_58_2788.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_02_3590.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_10_2773.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_14_3644.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_28_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/13/28/image_30102025_13_28_55_2740.jpg
/home/pi/Desktop/images/30102025/13/28/image_30102025_13_28_58_2788.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_02_3590.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_10_2773.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_14_3644.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_28_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391953795","1391953876","1391953881","1391953883","1391953838","1391953760"],"photo_ids_order":["1391953760","1391953795","1391953838","1391953876","1391953881","1391953883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/35332e243f161e3637a2a8a01f73f37c.jpg","text":"TemporaryFile(/tmp/multipartBody642949868045002991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127004361,"filename":"image_30102025_13_28_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/3/ce33f69ea35abd69062d5b07f2bd06af.jpg","text":"TemporaryFile(/tmp/multipartBody496065437419317948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127004361,"filename":"image_30102025_13_29_10_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73b1587427eb83f6e2d47c6888214e0e.jpg","text":"TemporaryFile(/tmp/multipartBody893455767350293660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127004361,"filename":"image_30102025_13_29_14_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c3804565b07ac5845ad48f667d45f406.jpg","text":"TemporaryFile(/tmp/multipartBody8390117862118050040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127004361,"filename":"image_30102025_13_29_28_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/3/f6b1830628a26c8dca0175bcc3e04bc8.jpg","text":"TemporaryFile(/tmp/multipartBody250963602870107011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127004361,"filename":"image_30102025_13_29_02_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/3/ab72be5743edba6f2d196168a5479f07.jpg","text":"TemporaryFile(/tmp/multipartBody3019520872904495786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127004361,"filename":"image_30102025_13_28_55_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391953838","file1":"1391953795","file0":"1391953760","file4":"1391953881","file5":"1391953883","file3":"1391953876"},"map_files_photo_id_array":[{"photo_id":"1391953883","filename":"file5"},{"photo_id":"1391953838","filename":"file2"},{"photo_id":"1391953881","filename":"file4"},{"photo_id":"1391953795","filename":"file1"},{"photo_id":"1391953760","filename":"file0"},{"photo_id":"1391953876","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391953795":["hashtag1","hashtag2"]},{"1391953876":["hashtag1","hashtag2"]},{"1391953881":["hashtag1","hashtag2"]},{"1391953883":["hashtag1","hashtag2"]},{"1391953838":["hashtag1","hashtag2"]},{"1391953760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391953795, 1391953876, 1391953881, 1391953883, 1391953838, 1391953760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88263940811157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:43:03.316528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/29/image_30102025_13_29_31_2656.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_37_2719.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_44_3763.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_49_2735.jpg', '/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_52_2743.jpg', '/home/pi/Desktop/images/30102025/13/30/image_30102025_13_30_11_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/13/29/image_30102025_13_29_31_2656.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_37_2719.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_44_3763.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_49_2735.jpg
/home/pi/Desktop/images/30102025/13/29/image_30102025_13_29_52_2743.jpg
/home/pi/Desktop/images/30102025/13/30/image_30102025_13_30_11_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391953949","1391953957","1391953951","1391953953","1391953947","1391953955"],"photo_ids_order":["1391953947","1391953949","1391953951","1391953953","1391953955","1391953957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc253ccfbb81cf6de50105b245ebe865.jpg","text":"TemporaryFile(/tmp/multipartBody7200821055429741177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127045336,"filename":"image_30102025_13_29_37_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/3/44dd1902054d328f5888b0ee4fbc47ff.jpg","text":"TemporaryFile(/tmp/multipartBody2609962784859482771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127045336,"filename":"image_30102025_13_30_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/3/0d3f43f4dc1647e89461f39658df1230.jpg","text":"TemporaryFile(/tmp/multipartBody2747651496566079165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127045336,"filename":"image_30102025_13_29_44_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/3/42632e83c424649245aa0d1c7faaed3d.jpg","text":"TemporaryFile(/tmp/multipartBody8516086436469086043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127045336,"filename":"image_30102025_13_29_49_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ceda931e5c43bea895bbb31db3e0ec46.jpg","text":"TemporaryFile(/tmp/multipartBody5444705179334668063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127045336,"filename":"image_30102025_13_29_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/3/ca7786d100484ecc7011f289efb4df9a.jpg","text":"TemporaryFile(/tmp/multipartBody4038324333057855383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127045336,"filename":"image_30102025_13_29_52_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391953951","file1":"1391953949","file0":"1391953947","file4":"1391953955","file5":"1391953957","file3":"1391953953"},"map_files_photo_id_array":[{"photo_id":"1391953957","filename":"file5"},{"photo_id":"1391953951","filename":"file2"},{"photo_id":"1391953955","filename":"file4"},{"photo_id":"1391953949","filename":"file1"},{"photo_id":"1391953947","filename":"file0"},{"photo_id":"1391953953","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391953949":["hashtag1","hashtag2"]},{"1391953957":["hashtag1","hashtag2"]},{"1391953951":["hashtag1","hashtag2"]},{"1391953953":["hashtag1","hashtag2"]},{"1391953947":["hashtag1","hashtag2"]},{"1391953955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391953949, 1391953957, 1391953951, 1391953953, 1391953947, 1391953955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59846615791321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:43:42.724379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_28_2784.jpg', '/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_31_2720.jpg', '/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_37_3835.jpg', '/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_40_2750.jpg', '/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_49_2695.jpg', '/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_51_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_28_2784.jpg
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_31_2720.jpg
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_37_3835.jpg
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_40_2750.jpg
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_49_2695.jpg
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_51_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391953990","1391953959","1391954136","1391954060","1391953961","1391953958"],"photo_ids_order":["1391953958","1391953959","1391953961","1391953990","1391954060","1391954136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a7ed4306f32d5199b8d84e0ed37f7e96.jpg","text":"TemporaryFile(/tmp/multipartBody7071433300200904191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127083828,"filename":"image_31102025_00_08_40_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/3/88f49e9ff2f098e564cb200b513ca8b9.jpg","text":"TemporaryFile(/tmp/multipartBody4301363251696976081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127083828,"filename":"image_31102025_00_08_31_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7845c4b8675aef5fc17eeec56f6e3041.jpg","text":"TemporaryFile(/tmp/multipartBody698915122888742843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127083828,"filename":"image_31102025_00_08_51_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9d0a0b45b187056efdf3593b6aa5ee3d.jpg","text":"TemporaryFile(/tmp/multipartBody7458133302903058947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127083828,"filename":"image_31102025_00_08_49_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/3/a1f7855e93f33528caa3eceff8fa796e.jpg","text":"TemporaryFile(/tmp/multipartBody5308742708022241066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127083828,"filename":"image_31102025_00_08_37_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f79d5c725d9030fff35a04a709b7bf0a.jpg","text":"TemporaryFile(/tmp/multipartBody8682585096601235844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127083828,"filename":"image_31102025_00_08_28_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391953961","file1":"1391953959","file0":"1391953958","file4":"1391954060","file5":"1391954136","file3":"1391953990"},"map_files_photo_id_array":[{"photo_id":"1391954136","filename":"file5"},{"photo_id":"1391953961","filename":"file2"},{"photo_id":"1391954060","filename":"file4"},{"photo_id":"1391953959","filename":"file1"},{"photo_id":"1391953958","filename":"file0"},{"photo_id":"1391953990","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391953990":["hashtag1","hashtag2"]},{"1391953959":["hashtag1","hashtag2"]},{"1391954136":["hashtag1","hashtag2"]},{"1391954060":["hashtag1","hashtag2"]},{"1391953961":["hashtag1","hashtag2"]},{"1391953958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391953990, 1391953959, 1391954136, 1391954060, 1391953961, 1391953958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45236682891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:44:21.859717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/30/image_30102025_13_30_14_2757.jpg', '/home/pi/Desktop/images/30102025/13/30/image_30102025_13_30_17_2740.jpg', '/home/pi/Desktop/images/30102025/13/30/image_30102025_13_30_21_3664.jpg', '/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_05_2862.jpg', '/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_23_3623.jpg', '/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_26_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/13/30/image_30102025_13_30_14_2757.jpg
/home/pi/Desktop/images/30102025/13/30/image_30102025_13_30_17_2740.jpg
/home/pi/Desktop/images/30102025/13/30/image_30102025_13_30_21_3664.jpg
/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_05_2862.jpg
/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_23_3623.jpg
/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_26_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391954758","1391954446","1391954679","1391954523","1391954843","1391954600"],"photo_ids_order":["1391954446","1391954523","1391954600","1391954679","1391954758","1391954843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bdcc961e80f1b6eefa5a55239243b583.jpg","text":"TemporaryFile(/tmp/multipartBody2968039174760000441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127124256,"filename":"image_30102025_13_31_23_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/3/66e22d2ea252f69955752d7a4594991c.jpg","text":"TemporaryFile(/tmp/multipartBody1777468842662280406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127124256,"filename":"image_30102025_13_30_14_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/3/78e67ab95c7ce917b9b0c14a524055fe.jpg","text":"TemporaryFile(/tmp/multipartBody7955924832976731236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127124256,"filename":"image_30102025_13_31_05_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/3/67343968df9fbaa52547ee395765a04c.jpg","text":"TemporaryFile(/tmp/multipartBody1636863768870977934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127124256,"filename":"image_30102025_13_30_17_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/3/a8022b777e0f13f181431527475b3d8a.jpg","text":"TemporaryFile(/tmp/multipartBody1436596305872135562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127124256,"filename":"image_30102025_13_31_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/3/98d957bd1cc3736de04ca9001eab79a2.jpg","text":"TemporaryFile(/tmp/multipartBody6726760512605202652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127124256,"filename":"image_30102025_13_30_21_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391954600","file1":"1391954523","file0":"1391954446","file4":"1391954758","file5":"1391954843","file3":"1391954679"},"map_files_photo_id_array":[{"photo_id":"1391954843","filename":"file5"},{"photo_id":"1391954600","filename":"file2"},{"photo_id":"1391954758","filename":"file4"},{"photo_id":"1391954523","filename":"file1"},{"photo_id":"1391954446","filename":"file0"},{"photo_id":"1391954679","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391954758":["hashtag1","hashtag2"]},{"1391954446":["hashtag1","hashtag2"]},{"1391954679":["hashtag1","hashtag2"]},{"1391954523":["hashtag1","hashtag2"]},{"1391954843":["hashtag1","hashtag2"]},{"1391954600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391954758, 1391954446, 1391954679, 1391954523, 1391954843, 1391954600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4152717590332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:45:02.720792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/31/image_30102025_13_31_29_2768.jpg', '/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_32_3581.jpg', '/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_35_2838.jpg', '/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_38_2734.jpg', '/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_47_2852.jpg', '/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_59_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_29_2768.jpg
/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_32_3581.jpg
/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_35_2838.jpg
/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_38_2734.jpg
/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_47_2852.jpg
/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_59_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391955523","1391955307","1391955384","1391955453","1391955219","1391955593"],"photo_ids_order":["1391955219","1391955307","1391955384","1391955453","1391955523","1391955593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93719af9b70741632142748e90dfdaeb.jpg","text":"TemporaryFile(/tmp/multipartBody1538174474294146693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127168757,"filename":"image_30102025_13_31_47_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/3/c40165abb56b87291c757ef59e4a835c.jpg","text":"TemporaryFile(/tmp/multipartBody2413850589248983667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127168757,"filename":"image_30102025_13_31_32_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/3/21b30e961383a99054da901eb9870677.jpg","text":"TemporaryFile(/tmp/multipartBody2471742763232576386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127168757,"filename":"image_30102025_13_31_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/3/a7468c90b557fa37e9e8f997cdee8309.jpg","text":"TemporaryFile(/tmp/multipartBody4034760166707648295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127168757,"filename":"image_30102025_13_31_38_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/3/e1bc152937040bf7d6af470fea011f67.jpg","text":"TemporaryFile(/tmp/multipartBody7034038314932466588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127168757,"filename":"image_30102025_13_31_29_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/3/3dab08288fb341721fb2618e4516e4c2.jpg","text":"TemporaryFile(/tmp/multipartBody6706769101081435923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127168757,"filename":"image_30102025_13_31_59_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391955384","file1":"1391955307","file0":"1391955219","file4":"1391955523","file5":"1391955593","file3":"1391955453"},"map_files_photo_id_array":[{"photo_id":"1391955593","filename":"file5"},{"photo_id":"1391955384","filename":"file2"},{"photo_id":"1391955523","filename":"file4"},{"photo_id":"1391955307","filename":"file1"},{"photo_id":"1391955219","filename":"file0"},{"photo_id":"1391955453","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391955523":["hashtag1","hashtag2"]},{"1391955307":["hashtag1","hashtag2"]},{"1391955384":["hashtag1","hashtag2"]},{"1391955453":["hashtag1","hashtag2"]},{"1391955219":["hashtag1","hashtag2"]},{"1391955593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391955523, 1391955307, 1391955384, 1391955453, 1391955219, 1391955593)","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 = 1391955384 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/31/image_30102025_13_31_35_2838.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 65.15263223648071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 00:46:22.392253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/32/image_30102025_13_32_02_3644.jpg', '/home/pi/Desktop/images/30102025/13/32/image_30102025_13_32_05_2592.jpg', '/home/pi/Desktop/images/30102025/13/34/image_30102025_13_34_05_3709.jpg', '/home/pi/Desktop/images/30102025/13/34/image_30102025_13_34_11_2767.jpg', '/home/pi/Desktop/images/30102025/13/34/image_30102025_13_34_47_2679.jpg', '/home/pi/Desktop/images/30102025/13/34/image_30102025_13_34_53_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/13/32/image_30102025_13_32_02_3644.jpg
/home/pi/Desktop/images/30102025/13/32/image_30102025_13_32_05_2592.jpg
/home/pi/Desktop/images/30102025/13/34/image_30102025_13_34_05_3709.jpg
/home/pi/Desktop/images/30102025/13/34/image_30102025_13_34_11_2767.jpg
/home/pi/Desktop/images/30102025/13/34/image_30102025_13_34_47_2679.jpg
/home/pi/Desktop/images/30102025/13/34/image_30102025_13_34_53_3654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391956752","1391956626","1391956790","1391956685","1391956546","1391956587"],"photo_ids_order":["1391956546","1391956587","1391956626","1391956685","1391956752","1391956790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/982f73d57350def17316ffd6a43f0dfb.jpg","text":"TemporaryFile(/tmp/multipartBody4146259701954114404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127244772,"filename":"image_30102025_13_34_47_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f4bf704ca13bcc50792d805b449f427.jpg","text":"TemporaryFile(/tmp/multipartBody6923445239599822565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127244772,"filename":"image_30102025_13_34_05_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/3/f9ed59502a27441cb1258f2da6247202.jpg","text":"TemporaryFile(/tmp/multipartBody7267141090795513852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127244772,"filename":"image_30102025_13_34_53_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/3/585c34eb5f872c8f4b159a5829c31d14.jpg","text":"TemporaryFile(/tmp/multipartBody1599068925590082621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127244772,"filename":"image_30102025_13_34_11_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/3/f4baf3af5ea67f604dfc8c55d753ff3b.jpg","text":"TemporaryFile(/tmp/multipartBody1318275085221512914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127244772,"filename":"image_30102025_13_32_02_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/662cd876ee10f2e34e09de9e24e09854.jpg","text":"TemporaryFile(/tmp/multipartBody2892898348587057416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127244772,"filename":"image_30102025_13_32_05_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391956626","file1":"1391956587","file0":"1391956546","file4":"1391956752","file5":"1391956790","file3":"1391956685"},"map_files_photo_id_array":[{"photo_id":"1391956790","filename":"file5"},{"photo_id":"1391956626","filename":"file2"},{"photo_id":"1391956752","filename":"file4"},{"photo_id":"1391956587","filename":"file1"},{"photo_id":"1391956546","filename":"file0"},{"photo_id":"1391956685","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391956752":["hashtag1","hashtag2"]},{"1391956626":["hashtag1","hashtag2"]},{"1391956790":["hashtag1","hashtag2"]},{"1391956685":["hashtag1","hashtag2"]},{"1391956546":["hashtag1","hashtag2"]},{"1391956587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391956752, 1391956626, 1391956790, 1391956685, 1391956546, 1391956587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.034618854522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:47:03.348617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/35/image_30102025_13_35_52_2574.jpg', '/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_05_2818.jpg', '/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_10_2665.jpg', '/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_17_2756.jpg', '/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_23_3757.jpg', '/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_40_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/13/35/image_30102025_13_35_52_2574.jpg
/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_05_2818.jpg
/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_10_2665.jpg
/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_17_2756.jpg
/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_23_3757.jpg
/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_40_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391957034","1391956944","1391957048","1391957064","1391956989","1391956863"],"photo_ids_order":["1391956863","1391956944","1391956989","1391957034","1391957048","1391957064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7b65cdfeead54cf5651677cdb5787373.jpg","text":"TemporaryFile(/tmp/multipartBody577536670946651761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127285267,"filename":"image_30102025_13_36_17_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/275db45457b387a24723c7eb6573a8f6.jpg","text":"TemporaryFile(/tmp/multipartBody2735420265571131589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127285267,"filename":"image_30102025_13_36_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/3/55db755e087b2685af0478b2f70eae94.jpg","text":"TemporaryFile(/tmp/multipartBody374736320279512524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127285267,"filename":"image_30102025_13_36_23_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/3/a926125a78aaae2cbd61df201fc88746.jpg","text":"TemporaryFile(/tmp/multipartBody5367976505704331333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127285267,"filename":"image_30102025_13_36_40_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/3/a4265ee3c85372a7ddb9ef8dbed5a33f.jpg","text":"TemporaryFile(/tmp/multipartBody2302118551432081402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127285267,"filename":"image_30102025_13_36_10_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/37e0ca55ccfbe7d927ae8a3249345326.jpg","text":"TemporaryFile(/tmp/multipartBody8317000135963335257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127285267,"filename":"image_30102025_13_35_52_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391956989","file1":"1391956944","file0":"1391956863","file4":"1391957048","file5":"1391957064","file3":"1391957034"},"map_files_photo_id_array":[{"photo_id":"1391957064","filename":"file5"},{"photo_id":"1391956989","filename":"file2"},{"photo_id":"1391957048","filename":"file4"},{"photo_id":"1391956944","filename":"file1"},{"photo_id":"1391956863","filename":"file0"},{"photo_id":"1391957034","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391957034":["hashtag1","hashtag2"]},{"1391956944":["hashtag1","hashtag2"]},{"1391957048":["hashtag1","hashtag2"]},{"1391957064":["hashtag1","hashtag2"]},{"1391956989":["hashtag1","hashtag2"]},{"1391956863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391957034, 1391956944, 1391957048, 1391957064, 1391956989, 1391956863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.117517709732056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:47:42.702185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_55_3577.jpg', '/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_01_2779.jpg', '/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_07_3655.jpg', '/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_12_2682.jpg', '/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_19_2700.jpg', '/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_25_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/08/image_31102025_00_08_55_3577.jpg
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_01_2779.jpg
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_07_3655.jpg
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_12_2682.jpg
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_19_2700.jpg
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_25_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391957105","1391957108","1391957102","1391957101","1391957110","1391957107"],"photo_ids_order":["1391957101","1391957102","1391957105","1391957107","1391957108","1391957110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f5558ad5d48a501c69ad3389e7099299.jpg","text":"TemporaryFile(/tmp/multipartBody8727603707526646768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127323818,"filename":"image_31102025_00_09_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/3/2bc2df70bb6eff41907293f0a199a975.jpg","text":"TemporaryFile(/tmp/multipartBody8716159314519002647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127323818,"filename":"image_31102025_00_09_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/3/6bcbf2fd4ab16f8b182dd73fea5252fd.jpg","text":"TemporaryFile(/tmp/multipartBody2875911811341410293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127323818,"filename":"image_31102025_00_09_01_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/3/60c8fdb6b6ef7b92abd25fdf13ff5c4e.jpg","text":"TemporaryFile(/tmp/multipartBody2487601084017569925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127323818,"filename":"image_31102025_00_08_55_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/3/27062f1739ed0b6679721fa8719a17b1.jpg","text":"TemporaryFile(/tmp/multipartBody5685631076302594343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127323818,"filename":"image_31102025_00_09_25_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da23496e92c6e1d4a73685b48fac509a.jpg","text":"TemporaryFile(/tmp/multipartBody270750268441316753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127323818,"filename":"image_31102025_00_09_12_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391957105","file1":"1391957102","file0":"1391957101","file4":"1391957108","file5":"1391957110","file3":"1391957107"},"map_files_photo_id_array":[{"photo_id":"1391957110","filename":"file5"},{"photo_id":"1391957105","filename":"file2"},{"photo_id":"1391957108","filename":"file4"},{"photo_id":"1391957102","filename":"file1"},{"photo_id":"1391957101","filename":"file0"},{"photo_id":"1391957107","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391957105":["hashtag1","hashtag2"]},{"1391957108":["hashtag1","hashtag2"]},{"1391957102":["hashtag1","hashtag2"]},{"1391957101":["hashtag1","hashtag2"]},{"1391957110":["hashtag1","hashtag2"]},{"1391957107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391957105, 1391957108, 1391957102, 1391957101, 1391957110, 1391957107)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.214174032211304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:48:41.851230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_30_2814.jpg', '/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_43_3720.jpg', '/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_49_2671.jpg', '/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_55_3717.jpg', '/home/pi/Desktop/images/31102025/00/09/image_31102025_00_10_00_2671.jpg', '/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_04_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_30_2814.jpg
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_43_3720.jpg
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_49_2671.jpg
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_09_55_3717.jpg
/home/pi/Desktop/images/31102025/00/09/image_31102025_00_10_00_2671.jpg
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_04_3547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391957115","1391957118","1391957120","1391957122","1391957125","1391957124"],"photo_ids_order":["1391957115","1391957118","1391957120","1391957122","1391957124","1391957125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4598f2a04581b46ae6675c09f31a1233.jpg","text":"TemporaryFile(/tmp/multipartBody1122977634201663095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127382956,"filename":"image_31102025_00_09_30_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9913daf75d0096da0e02889a90749540.jpg","text":"TemporaryFile(/tmp/multipartBody5138841698499530850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127382956,"filename":"image_31102025_00_09_43_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/3/fcfd81e8fc7a89d5918efe611227fecf.jpg","text":"TemporaryFile(/tmp/multipartBody7328055119178773281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127382956,"filename":"image_31102025_00_09_49_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/3/1f6e92319afebdca40296b30c3b32acc.jpg","text":"TemporaryFile(/tmp/multipartBody2479384996148019562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127382956,"filename":"image_31102025_00_09_55_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/3/c657362660eaff99b8bba04d62a66290.jpg","text":"TemporaryFile(/tmp/multipartBody6267992401857628852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127382956,"filename":"image_31102025_00_10_04_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da0d4c2c3f7d03bc7d6b8f001300c16d.jpg","text":"TemporaryFile(/tmp/multipartBody6993299870563391138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127382956,"filename":"image_31102025_00_10_00_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391957120","file1":"1391957118","file0":"1391957115","file4":"1391957124","file5":"1391957125","file3":"1391957122"},"map_files_photo_id_array":[{"photo_id":"1391957125","filename":"file5"},{"photo_id":"1391957120","filename":"file2"},{"photo_id":"1391957124","filename":"file4"},{"photo_id":"1391957118","filename":"file1"},{"photo_id":"1391957115","filename":"file0"},{"photo_id":"1391957122","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391957115":["hashtag1","hashtag2"]},{"1391957118":["hashtag1","hashtag2"]},{"1391957120":["hashtag1","hashtag2"]},{"1391957122":["hashtag1","hashtag2"]},{"1391957125":["hashtag1","hashtag2"]},{"1391957124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391957115, 1391957118, 1391957120, 1391957122, 1391957125, 1391957124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.21685314178467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:49:43.006469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_13_3623.jpg', '/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_19_2732.jpg', '/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_21_2736.jpg', '/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_25_3651.jpg', '/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_30_2662.jpg', '/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_37_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_13_3623.jpg
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_19_2732.jpg
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_21_2736.jpg
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_25_3651.jpg
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_30_2662.jpg
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_37_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":["1391957133","1391957147","1391957140","1391957143","1391957137","1391957145"],"photo_ids_order":["1391957133","1391957137","1391957140","1391957143","1391957145","1391957147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be716ee14282432d47789d86a28520ae.jpg","text":"TemporaryFile(/tmp/multipartBody7867527581183608707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127457116,"filename":"image_31102025_00_10_13_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/3/3e8e81d223dfa0148df6a00be931a7f1.jpg","text":"TemporaryFile(/tmp/multipartBody5628697073337335230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127457116,"filename":"image_31102025_00_10_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/3/7cd7e81fcb9338959acaca3e8e45663d.jpg","text":"TemporaryFile(/tmp/multipartBody3528586686881472830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127457116,"filename":"image_31102025_00_10_21_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/3/b328482a3b048f125cf6880f77b308de.jpg","text":"TemporaryFile(/tmp/multipartBody4344743024389358903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127457116,"filename":"image_31102025_00_10_25_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/3/8ad15e77abddd0a3d0615d8c9a026227.jpg","text":"TemporaryFile(/tmp/multipartBody5626312349458162307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127457116,"filename":"image_31102025_00_10_19_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/3/75290b64a83ae8b7c1b7ff5dbb2d3767.jpg","text":"TemporaryFile(/tmp/multipartBody874183723297717308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127457116,"filename":"image_31102025_00_10_30_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391957140","file1":"1391957137","file0":"1391957133","file4":"1391957145","file5":"1391957147","file3":"1391957143"},"map_files_photo_id_array":[{"photo_id":"1391957147","filename":"file5"},{"photo_id":"1391957140","filename":"file2"},{"photo_id":"1391957145","filename":"file4"},{"photo_id":"1391957137","filename":"file1"},{"photo_id":"1391957133","filename":"file0"},{"photo_id":"1391957143","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391957133":["hashtag1","hashtag2"]},{"1391957147":["hashtag1","hashtag2"]},{"1391957140":["hashtag1","hashtag2"]},{"1391957143":["hashtag1","hashtag2"]},{"1391957137":["hashtag1","hashtag2"]},{"1391957145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391957133, 1391957147, 1391957140, 1391957143, 1391957137, 1391957145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.43788504600525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:50:42.019350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_39_2855.jpg', '/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_51_2682.jpg', '/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_55_3570.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_06_2717.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_09_2875.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_16_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_39_2855.jpg
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_51_2682.jpg
/home/pi/Desktop/images/31102025/00/10/image_31102025_00_10_55_3570.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_06_2717.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_09_2875.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_16_2798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391957154","1391957165","1391957167","1391957160","1391957163","1391957157"],"photo_ids_order":["1391957154","1391957157","1391957160","1391957163","1391957165","1391957167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6aa8af3c5396d4d1b4b29c77099573e1.jpg","text":"TemporaryFile(/tmp/multipartBody1188152104048295170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127503028,"filename":"image_31102025_00_10_39_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/3/7f59596fcb5c5ef39e73be4552c2b3e8.jpg","text":"TemporaryFile(/tmp/multipartBody9020247216267066574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127503028,"filename":"image_31102025_00_11_09_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/3/79e44a74bfed624173ba3b9bf2cdd5b4.jpg","text":"TemporaryFile(/tmp/multipartBody4065908985930913290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127503028,"filename":"image_31102025_00_11_16_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/3/902e6ff67e8c7e4343c7f16da8f99730.jpg","text":"TemporaryFile(/tmp/multipartBody8303033488657672055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127503028,"filename":"image_31102025_00_10_55_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/3/4c7d4f9027953cddcc6d300439177ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6950772313551215007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127503028,"filename":"image_31102025_00_11_06_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/481e1d5bec94988dc8fd05490e9be2c3.jpg","text":"TemporaryFile(/tmp/multipartBody2203036720976395259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127503028,"filename":"image_31102025_00_10_51_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391957160","file1":"1391957157","file0":"1391957154","file4":"1391957165","file5":"1391957167","file3":"1391957163"},"map_files_photo_id_array":[{"photo_id":"1391957167","filename":"file5"},{"photo_id":"1391957160","filename":"file2"},{"photo_id":"1391957165","filename":"file4"},{"photo_id":"1391957157","filename":"file1"},{"photo_id":"1391957154","filename":"file0"},{"photo_id":"1391957163","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391957154":["hashtag1","hashtag2"]},{"1391957165":["hashtag1","hashtag2"]},{"1391957167":["hashtag1","hashtag2"]},{"1391957160":["hashtag1","hashtag2"]},{"1391957163":["hashtag1","hashtag2"]},{"1391957157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391957154, 1391957165, 1391957167, 1391957160, 1391957163, 1391957157)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.155288219451904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:51:45.347341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_22_3682.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_24_2675.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_27_2713.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_30_2764.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_34_3943.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_37_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_22_3682.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_24_2675.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_27_2713.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_30_2764.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_34_3943.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_37_2839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391957345","1391957231","1391957191","1391957385","1391957305","1391957268"],"photo_ids_order":["1391957191","1391957231","1391957268","1391957305","1391957345","1391957385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bee9b419fa9178b3060c93f3c2f4d6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2023434807426179983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127568362,"filename":"image_31102025_00_11_34_3943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1b3fd4695f2dce96d6e58ef5f58d3ac.jpg","text":"TemporaryFile(/tmp/multipartBody9209155014298346652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127568362,"filename":"image_31102025_00_11_24_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/3/7c41385d0b2103e2422677bb20e4f0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2308577749767996691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127568362,"filename":"image_31102025_00_11_22_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/048b3f4c9167418a332dc566c2646ff3.jpg","text":"TemporaryFile(/tmp/multipartBody8529016074227626121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127568362,"filename":"image_31102025_00_11_37_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/3/f83c77b4b0820dd9102d749350c5ca29.jpg","text":"TemporaryFile(/tmp/multipartBody2164023799986200205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127568362,"filename":"image_31102025_00_11_30_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/3/3584a9af6fc83dbac5b4cdc4f0260a76.jpg","text":"TemporaryFile(/tmp/multipartBody7836551816399685473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127568362,"filename":"image_31102025_00_11_27_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391957268","file1":"1391957231","file0":"1391957191","file4":"1391957345","file5":"1391957385","file3":"1391957305"},"map_files_photo_id_array":[{"photo_id":"1391957385","filename":"file5"},{"photo_id":"1391957268","filename":"file2"},{"photo_id":"1391957345","filename":"file4"},{"photo_id":"1391957231","filename":"file1"},{"photo_id":"1391957191","filename":"file0"},{"photo_id":"1391957305","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391957345":["hashtag1","hashtag2"]},{"1391957231":["hashtag1","hashtag2"]},{"1391957191":["hashtag1","hashtag2"]},{"1391957385":["hashtag1","hashtag2"]},{"1391957305":["hashtag1","hashtag2"]},{"1391957268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391957345, 1391957231, 1391957191, 1391957385, 1391957305, 1391957268)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 69.26889848709106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:53:03.433135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/36/image_30102025_13_36_44_3646.jpg', '/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_53_3701.jpg', '/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_59_2903.jpg', '/home/pi/Desktop/images/30102025/13/37/image_30102025_13_37_04_2831.jpg', '/home/pi/Desktop/images/30102025/13/37/image_30102025_13_37_52_2715.jpg', '/home/pi/Desktop/images/30102025/13/38/image_30102025_13_38_01_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/13/36/image_30102025_13_36_44_3646.jpg
/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_53_3701.jpg
/home/pi/Desktop/images/30102025/13/36/image_30102025_13_36_59_2903.jpg
/home/pi/Desktop/images/30102025/13/37/image_30102025_13_37_04_2831.jpg
/home/pi/Desktop/images/30102025/13/37/image_30102025_13_37_52_2715.jpg
/home/pi/Desktop/images/30102025/13/38/image_30102025_13_38_01_2566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391958053","1391957951","1391958401","1391958282","1391958165","1391958519"],"photo_ids_order":["1391957951","1391958053","1391958165","1391958282","1391958401","1391958519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/65130fe710317cd827c3c328dab4a9b7.jpg","text":"TemporaryFile(/tmp/multipartBody8090424212148162591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127645450,"filename":"image_30102025_13_36_53_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/3/62b505f9056a83e13785f4e680b26e7a.jpg","text":"TemporaryFile(/tmp/multipartBody569754661110339637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127645450,"filename":"image_30102025_13_36_44_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/3/e5923c568addddb9b2fc72206ade408a.jpg","text":"TemporaryFile(/tmp/multipartBody2362129353790787218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127645450,"filename":"image_30102025_13_37_52_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/3/9fdafdab38ea688900eec0dff9ce8a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7654699210952218776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127645450,"filename":"image_30102025_13_37_04_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/3/efd348b31d76672f369acd356aff1530.jpg","text":"TemporaryFile(/tmp/multipartBody1855646372703693089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127645450,"filename":"image_30102025_13_36_59_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/3/de2c6bf7744608fb4591bcb62e7392f9.jpg","text":"TemporaryFile(/tmp/multipartBody3412074839665990232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127645450,"filename":"image_30102025_13_38_01_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391958165","file1":"1391958053","file0":"1391957951","file4":"1391958401","file5":"1391958519","file3":"1391958282"},"map_files_photo_id_array":[{"photo_id":"1391958519","filename":"file5"},{"photo_id":"1391958165","filename":"file2"},{"photo_id":"1391958401","filename":"file4"},{"photo_id":"1391958053","filename":"file1"},{"photo_id":"1391957951","filename":"file0"},{"photo_id":"1391958282","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391958053":["hashtag1","hashtag2"]},{"1391957951":["hashtag1","hashtag2"]},{"1391958401":["hashtag1","hashtag2"]},{"1391958282":["hashtag1","hashtag2"]},{"1391958165":["hashtag1","hashtag2"]},{"1391958519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391958053, 1391957951, 1391958401, 1391958282, 1391958165, 1391958519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03017711639404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:53:42.703057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_39_2640.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_42_2666.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_46_3714.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_51_2675.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_12_00_2660.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_03_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_39_2640.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_42_2666.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_46_3714.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_51_2675.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_12_00_2660.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_03_2668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9419863224029541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:54:02.638299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-03 00:54:40.256650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 00:55:02.869387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 00:55:22.148293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/39/image_30102025_13_39_46_2673.jpg', '/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_49_2748.jpg', '/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_56_3716.jpg', '/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_05_3842.jpg', '/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_19_2624.jpg', '/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_35_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/13/39/image_30102025_13_39_46_2673.jpg
/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_49_2748.jpg
/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_56_3716.jpg
/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_05_3842.jpg
/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_19_2624.jpg
/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_35_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":["1391960567","1391960648","1391960983","1391961065","1391960907","1391960610"],"photo_ids_order":["1391960567","1391960610","1391960648","1391960907","1391960983","1391961065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97048d19f10ef657e85755089983b355.jpg","text":"TemporaryFile(/tmp/multipartBody5692494039623652692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127784260,"filename":"image_30102025_13_39_46_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/3/3556cbb822ef1b8db034d94a963262fa.jpg","text":"TemporaryFile(/tmp/multipartBody2352830858013452190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127784260,"filename":"image_30102025_13_39_56_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/3/f13c227dcf88c610b9d3989bfc74741d.jpg","text":"TemporaryFile(/tmp/multipartBody157164494448819865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127784260,"filename":"image_30102025_13_40_19_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/3/c277947b01f002170446ba4878b10458.jpg","text":"TemporaryFile(/tmp/multipartBody9133593580100516694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127784260,"filename":"image_30102025_13_40_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/3/b21fb08a063fab4f8fb721c7c770bf43.jpg","text":"TemporaryFile(/tmp/multipartBody8753812687693422094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127784260,"filename":"image_30102025_13_40_05_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/3/871f41f6979116d5529159907b161386.jpg","text":"TemporaryFile(/tmp/multipartBody5146823956651768139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127784260,"filename":"image_30102025_13_39_49_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391960648","file1":"1391960610","file0":"1391960567","file4":"1391960983","file5":"1391961065","file3":"1391960907"},"map_files_photo_id_array":[{"photo_id":"1391961065","filename":"file5"},{"photo_id":"1391960648","filename":"file2"},{"photo_id":"1391960983","filename":"file4"},{"photo_id":"1391960610","filename":"file1"},{"photo_id":"1391960567","filename":"file0"},{"photo_id":"1391960907","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391960567":["hashtag1","hashtag2"]},{"1391960648":["hashtag1","hashtag2"]},{"1391960983":["hashtag1","hashtag2"]},{"1391961065":["hashtag1","hashtag2"]},{"1391960907":["hashtag1","hashtag2"]},{"1391960610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391960567, 1391960648, 1391960983, 1391961065, 1391960907, 1391960610)","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 = 1391960648 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_56_3716.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391960648 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_56_3716.jpg";
uploaded 6 photos
time to upload: 77.94090151786804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 00:56:42.413291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_39_2640.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_42_2666.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_46_3714.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_51_2675.jpg', '/home/pi/Desktop/images/31102025/00/11/image_31102025_00_12_00_2660.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_03_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_39_2640.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_42_2666.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_46_3714.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_11_51_2675.jpg
/home/pi/Desktop/images/31102025/00/11/image_31102025_00_12_00_2660.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_03_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391961391","1391961385","1391961388","1391961387","1391961386","1391961383"],"photo_ids_order":["1391961383","1391961385","1391961386","1391961387","1391961388","1391961391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/037943004ffb50f6d29c87e43b92502b.jpg","text":"TemporaryFile(/tmp/multipartBody662785963214761942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127865384,"filename":"image_31102025_00_12_03_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/89acb9c4d4e6faba8f81207155e2277e.jpg","text":"TemporaryFile(/tmp/multipartBody7782279277999982477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127865384,"filename":"image_31102025_00_11_42_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/3/90790db53b355a2295221128e8c9221c.jpg","text":"TemporaryFile(/tmp/multipartBody5582298110442292766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127865384,"filename":"image_31102025_00_12_00_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/898d29c2fdf958a944c8946a4540de5f.jpg","text":"TemporaryFile(/tmp/multipartBody5654612798058968069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127865384,"filename":"image_31102025_00_11_51_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/3/45585bc11002e3af7e8b09d2ba5f8143.jpg","text":"TemporaryFile(/tmp/multipartBody3948539592395315528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127865384,"filename":"image_31102025_00_11_46_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/3/cbe764248874e8cc7fb46e6ce568ce5f.jpg","text":"TemporaryFile(/tmp/multipartBody8004435647590936991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762127865384,"filename":"image_31102025_00_11_39_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391961386","file1":"1391961385","file0":"1391961383","file4":"1391961388","file5":"1391961391","file3":"1391961387"},"map_files_photo_id_array":[{"photo_id":"1391961391","filename":"file5"},{"photo_id":"1391961386","filename":"file2"},{"photo_id":"1391961388","filename":"file4"},{"photo_id":"1391961385","filename":"file1"},{"photo_id":"1391961383","filename":"file0"},{"photo_id":"1391961387","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391961391":["hashtag1","hashtag2"]},{"1391961385":["hashtag1","hashtag2"]},{"1391961388":["hashtag1","hashtag2"]},{"1391961387":["hashtag1","hashtag2"]},{"1391961386":["hashtag1","hashtag2"]},{"1391961383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391961391, 1391961385, 1391961388, 1391961387, 1391961386, 1391961383)","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.9214231967926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 00:59:03.269756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/39/image_30102025_13_39_46_2673.jpg', '/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_49_2748.jpg', '/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_56_3716.jpg', '/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_05_3842.jpg', '/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_19_2624.jpg', '/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_35_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/13/39/image_30102025_13_39_46_2673.jpg
/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_49_2748.jpg
/home/pi/Desktop/images/30102025/13/39/image_30102025_13_39_56_3716.jpg
/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_05_3842.jpg
/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_19_2624.jpg
/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_35_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391961994","1391962039","1391961825","1391961869","1391961956","1391961914"],"photo_ids_order":["1391961825","1391961869","1391961914","1391961956","1391961994","1391962039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e99397cacedaf3f8db5428214f9c9666.jpg","text":"TemporaryFile(/tmp/multipartBody8726398537080205585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128005099,"filename":"image_30102025_13_40_19_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/3/13064085834e290ffe378cc65a43faa3.jpg","text":"TemporaryFile(/tmp/multipartBody7867043389917808449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128005099,"filename":"image_30102025_13_40_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/3/57ba5932382793bb686da37865b067d7.jpg","text":"TemporaryFile(/tmp/multipartBody5842020462024852795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128005099,"filename":"image_30102025_13_39_46_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/3/aabb81e4a733ba145b834b0f6b8f7d55.jpg","text":"TemporaryFile(/tmp/multipartBody7001225053779807409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128005099,"filename":"image_30102025_13_39_49_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/3/b2d56aa341a4049cbd80f37478d166e1.jpg","text":"TemporaryFile(/tmp/multipartBody7571715053935101729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128005099,"filename":"image_30102025_13_40_05_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/3/b012f17a3aea178001122d159750f109.jpg","text":"TemporaryFile(/tmp/multipartBody4287052098518286410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128005099,"filename":"image_30102025_13_39_56_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391961914","file1":"1391961869","file0":"1391961825","file4":"1391961994","file5":"1391962039","file3":"1391961956"},"map_files_photo_id_array":[{"photo_id":"1391962039","filename":"file5"},{"photo_id":"1391961914","filename":"file2"},{"photo_id":"1391961994","filename":"file4"},{"photo_id":"1391961869","filename":"file1"},{"photo_id":"1391961825","filename":"file0"},{"photo_id":"1391961956","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391961994":["hashtag1","hashtag2"]},{"1391962039":["hashtag1","hashtag2"]},{"1391961825":["hashtag1","hashtag2"]},{"1391961869":["hashtag1","hashtag2"]},{"1391961956":["hashtag1","hashtag2"]},{"1391961914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391961994, 1391962039, 1391961825, 1391961869, 1391961956, 1391961914)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.48691368103027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:00:02.918361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/40/image_30102025_13_40_37_2778.jpg', '/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_40_2683.jpg', '/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_44_3681.jpg', '/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_56_3696.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_01_2618.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_04_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/13/40/image_30102025_13_40_37_2778.jpg
/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_40_2683.jpg
/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_44_3681.jpg
/home/pi/Desktop/images/30102025/13/40/image_30102025_13_40_56_3696.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_01_2618.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_04_3654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391962201","1391962504","1391962395","1391962452","1391962352","1391962280"],"photo_ids_order":["1391962201","1391962280","1391962352","1391962395","1391962452","1391962504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/32644c85238e92d67203ecc768f47824.jpg","text":"TemporaryFile(/tmp/multipartBody6154803018438278480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128066019,"filename":"image_30102025_13_40_37_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/3/365e28b772ee9347dfaa4321d01dec65.jpg","text":"TemporaryFile(/tmp/multipartBody7599833756842061279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128066019,"filename":"image_30102025_13_41_04_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/3/9e1580321b5dd5b24c209d55f21c509b.jpg","text":"TemporaryFile(/tmp/multipartBody6524006651928015850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128066019,"filename":"image_30102025_13_40_56_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/3/524258c33aa707112917c63762eb3d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3736202517858114394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128066019,"filename":"image_30102025_13_41_01_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/3/2948fec72287557fa7876f173760376c.jpg","text":"TemporaryFile(/tmp/multipartBody5337598364876847240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128066019,"filename":"image_30102025_13_40_44_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/3/5c581278dc1f76297aaa18bae39a30d7.jpg","text":"TemporaryFile(/tmp/multipartBody7658999827510341675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128066019,"filename":"image_30102025_13_40_40_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391962352","file1":"1391962280","file0":"1391962201","file4":"1391962452","file5":"1391962504","file3":"1391962395"},"map_files_photo_id_array":[{"photo_id":"1391962504","filename":"file5"},{"photo_id":"1391962352","filename":"file2"},{"photo_id":"1391962452","filename":"file4"},{"photo_id":"1391962280","filename":"file1"},{"photo_id":"1391962201","filename":"file0"},{"photo_id":"1391962395","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391962201":["hashtag1","hashtag2"]},{"1391962504":["hashtag1","hashtag2"]},{"1391962395":["hashtag1","hashtag2"]},{"1391962452":["hashtag1","hashtag2"]},{"1391962352":["hashtag1","hashtag2"]},{"1391962280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391962201, 1391962504, 1391962395, 1391962452, 1391962352, 1391962280)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.56215310096741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:01:02.653197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/41/image_30102025_13_41_17_2808.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_19_2784.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_22_2653.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_31_2676.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_35_3660.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_37_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/13/41/image_30102025_13_41_17_2808.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_19_2784.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_22_2653.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_31_2676.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_35_3660.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_37_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391962783","1391962804","1391962728","1391962895","1391962742","1391962835"],"photo_ids_order":["1391962728","1391962742","1391962783","1391962804","1391962835","1391962895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6525a024e516b2831f69c746ae5c9be4.jpg","text":"TemporaryFile(/tmp/multipartBody1014700322356805137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128124762,"filename":"image_30102025_13_41_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/3/3bd114b80ac3b59f444521301ad65ac3.jpg","text":"TemporaryFile(/tmp/multipartBody1928384196658892394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128124762,"filename":"image_30102025_13_41_31_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/3/c31f81f541fec0952b272903b9eeb40f.jpg","text":"TemporaryFile(/tmp/multipartBody3122842607483080467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128124762,"filename":"image_30102025_13_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/3/84164f0fce9eda44b9a2a5b7231c198b.jpg","text":"TemporaryFile(/tmp/multipartBody605160693250388896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128124762,"filename":"image_30102025_13_41_37_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/3/73dbf480fc4e48dc1e922db32b904d24.jpg","text":"TemporaryFile(/tmp/multipartBody6687582390630452900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128124762,"filename":"image_30102025_13_41_19_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93dc78e71bad45b3a39fb6c07d36ac7e.jpg","text":"TemporaryFile(/tmp/multipartBody8599306755897269296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128124762,"filename":"image_30102025_13_41_35_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391962783","file1":"1391962742","file0":"1391962728","file4":"1391962835","file5":"1391962895","file3":"1391962804"},"map_files_photo_id_array":[{"photo_id":"1391962895","filename":"file5"},{"photo_id":"1391962783","filename":"file2"},{"photo_id":"1391962835","filename":"file4"},{"photo_id":"1391962742","filename":"file1"},{"photo_id":"1391962728","filename":"file0"},{"photo_id":"1391962804","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391962783":["hashtag1","hashtag2"]},{"1391962804":["hashtag1","hashtag2"]},{"1391962728":["hashtag1","hashtag2"]},{"1391962895":["hashtag1","hashtag2"]},{"1391962742":["hashtag1","hashtag2"]},{"1391962835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391962783, 1391962804, 1391962728, 1391962895, 1391962742, 1391962835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.730628490448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:01:42.041422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_09_2629.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_13_3687.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_25_3772.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_28_2737.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_30_2806.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_33_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_09_2629.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_13_3687.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_25_3772.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_28_2737.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_30_2806.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_33_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963110","1391963073","1391963147","1391963225","1391963033","1391963185"],"photo_ids_order":["1391963033","1391963073","1391963110","1391963147","1391963185","1391963225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/afb10063c40ff084f00b38361f29b65b.jpg","text":"TemporaryFile(/tmp/multipartBody80358235305803740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128163109,"filename":"image_31102025_00_12_25_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/3/ad6e8dbb003d90a148829e4db41d8e3c.jpg","text":"TemporaryFile(/tmp/multipartBody7444660024218304634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128163109,"filename":"image_31102025_00_12_13_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/3/54480204402974df0fa5bd780f9f7852.jpg","text":"TemporaryFile(/tmp/multipartBody6157325283341589123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128163109,"filename":"image_31102025_00_12_28_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/3/e28ba2936baef639bc192f9ceae34f03.jpg","text":"TemporaryFile(/tmp/multipartBody2433663767917020391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128163109,"filename":"image_31102025_00_12_33_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/3/61d4831986c7d65a49400e261e48466b.jpg","text":"TemporaryFile(/tmp/multipartBody8161944627893562676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128163109,"filename":"image_31102025_00_12_09_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/3/3eddd59f4fed049b47c2df4c60262202.jpg","text":"TemporaryFile(/tmp/multipartBody4805645179581601870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128163109,"filename":"image_31102025_00_12_30_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963110","file1":"1391963073","file0":"1391963033","file4":"1391963185","file5":"1391963225","file3":"1391963147"},"map_files_photo_id_array":[{"photo_id":"1391963225","filename":"file5"},{"photo_id":"1391963110","filename":"file2"},{"photo_id":"1391963185","filename":"file4"},{"photo_id":"1391963073","filename":"file1"},{"photo_id":"1391963033","filename":"file0"},{"photo_id":"1391963147","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391963110":["hashtag1","hashtag2"]},{"1391963073":["hashtag1","hashtag2"]},{"1391963147":["hashtag1","hashtag2"]},{"1391963225":["hashtag1","hashtag2"]},{"1391963033":["hashtag1","hashtag2"]},{"1391963185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391963110, 1391963073, 1391963147, 1391963225, 1391963033, 1391963185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.697792768478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:02:22.304922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/41/image_30102025_13_41_40_2636.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_44_3735.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_55_2661.jpg', '/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_58_2760.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_04_2797.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_07_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/13/41/image_30102025_13_41_40_2636.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_44_3735.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_55_2661.jpg
/home/pi/Desktop/images/30102025/13/41/image_30102025_13_41_58_2760.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_04_2797.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_07_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963434","1391963433","1391963430","1391963399","1391963432","1391963431"],"photo_ids_order":["1391963399","1391963430","1391963431","1391963432","1391963433","1391963434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/76508cb65ca35c4deb163566392b81e3.jpg","text":"TemporaryFile(/tmp/multipartBody3908869936949112052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128204693,"filename":"image_30102025_13_42_07_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/3/e60286eacaa8fb6628820e449eb4afbd.jpg","text":"TemporaryFile(/tmp/multipartBody8239972722517483610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128204693,"filename":"image_30102025_13_42_04_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/3/d5bcf27fbd01e8448ced72856ffdc3b4.jpg","text":"TemporaryFile(/tmp/multipartBody8872939349118888137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128204693,"filename":"image_30102025_13_41_44_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/3/63813ed34bd036ad37300bca6c5ddfb5.jpg","text":"TemporaryFile(/tmp/multipartBody8008155954214445017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128204693,"filename":"image_30102025_13_41_40_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/3/272e0c5029465f64b16921390a2cf241.jpg","text":"TemporaryFile(/tmp/multipartBody7579841133006206205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128204693,"filename":"image_30102025_13_41_58_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/3/be7a05e25b63546d1cfbea3f17c2dd89.jpg","text":"TemporaryFile(/tmp/multipartBody18392050003541124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128204693,"filename":"image_30102025_13_41_55_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963431","file1":"1391963430","file0":"1391963399","file4":"1391963433","file5":"1391963434","file3":"1391963432"},"map_files_photo_id_array":[{"photo_id":"1391963434","filename":"file5"},{"photo_id":"1391963431","filename":"file2"},{"photo_id":"1391963433","filename":"file4"},{"photo_id":"1391963430","filename":"file1"},{"photo_id":"1391963399","filename":"file0"},{"photo_id":"1391963432","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963434":["hashtag1","hashtag2"]},{"1391963433":["hashtag1","hashtag2"]},{"1391963430":["hashtag1","hashtag2"]},{"1391963399":["hashtag1","hashtag2"]},{"1391963432":["hashtag1","hashtag2"]},{"1391963431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963434, 1391963433, 1391963430, 1391963399, 1391963432, 1391963431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3139169216156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:03:03.202093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/42/image_30102025_13_42_14_3750.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_16_2591.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_25_2696.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_31_2675.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_37_2650.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_46_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/13/42/image_30102025_13_42_14_3750.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_16_2591.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_25_2696.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_31_2675.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_37_2650.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_46_2797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963442","1391963445","1391963480","1391963444","1391963519","1391963446"],"photo_ids_order":["1391963442","1391963444","1391963445","1391963446","1391963480","1391963519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ed453b03bcc4cd4902260298248effb.jpg","text":"TemporaryFile(/tmp/multipartBody3578148157615129095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128246614,"filename":"image_30102025_13_42_14_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/3/e3efdd11703362c9dad8333f90f61297.jpg","text":"TemporaryFile(/tmp/multipartBody533166108972948359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128246614,"filename":"image_30102025_13_42_25_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9aa765f1033a11b958dadcbc0def755d.jpg","text":"TemporaryFile(/tmp/multipartBody2732575813244186307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128246614,"filename":"image_30102025_13_42_37_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b9be99fa9fe8e653cbc1d4fcb34bc6bc.jpg","text":"TemporaryFile(/tmp/multipartBody5689163822103700741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128246614,"filename":"image_30102025_13_42_16_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/3/7b75cd708727e3ee4291b2273db5cffa.jpg","text":"TemporaryFile(/tmp/multipartBody6024275076485223479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128246614,"filename":"image_30102025_13_42_46_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/3/819250216b7de9bd05ab7cc9a0be89c5.jpg","text":"TemporaryFile(/tmp/multipartBody6149804240535570490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128246614,"filename":"image_30102025_13_42_31_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963445","file1":"1391963444","file0":"1391963442","file4":"1391963480","file5":"1391963519","file3":"1391963446"},"map_files_photo_id_array":[{"photo_id":"1391963519","filename":"file5"},{"photo_id":"1391963445","filename":"file2"},{"photo_id":"1391963480","filename":"file4"},{"photo_id":"1391963444","filename":"file1"},{"photo_id":"1391963442","filename":"file0"},{"photo_id":"1391963446","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963442":["hashtag1","hashtag2"]},{"1391963445":["hashtag1","hashtag2"]},{"1391963480":["hashtag1","hashtag2"]},{"1391963444":["hashtag1","hashtag2"]},{"1391963519":["hashtag1","hashtag2"]},{"1391963446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963442, 1391963445, 1391963480, 1391963444, 1391963519, 1391963446)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.08154654502869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:04:02.898858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/42/image_30102025_13_42_49_2609.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_52_2830.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_55_3598.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_58_2733.jpg', '/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_07_2802.jpg', '/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_13_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_49_2609.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_52_2830.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_55_3598.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_58_2733.jpg
/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_07_2802.jpg
/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_13_2833.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.729189395904541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:04:22.670813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/42/image_30102025_13_42_49_2609.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_52_2830.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_55_3598.jpg', '/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_58_2733.jpg', '/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_07_2802.jpg', '/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_13_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_49_2609.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_52_2830.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_55_3598.jpg
/home/pi/Desktop/images/30102025/13/42/image_30102025_13_42_58_2733.jpg
/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_07_2802.jpg
/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_13_2833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963787","1391963790","1391963789","1391963783","1391963791","1391963785"],"photo_ids_order":["1391963783","1391963785","1391963787","1391963789","1391963790","1391963791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8cd50c333a13711766e87ad86d8be47a.jpg","text":"TemporaryFile(/tmp/multipartBody1645619303607687464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128324990,"filename":"image_30102025_13_42_55_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/3/448695b18eb54f3273526598b34afd9f.jpg","text":"TemporaryFile(/tmp/multipartBody1433392200113103667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128324990,"filename":"image_30102025_13_43_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/3/d6341118d6640d3c7de93f527b3db3e6.jpg","text":"TemporaryFile(/tmp/multipartBody5915980175109123641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128324990,"filename":"image_30102025_13_42_58_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/3/5f8fedf4f257a8951e5feb8fc52fe3f4.jpg","text":"TemporaryFile(/tmp/multipartBody541467694409699640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128324990,"filename":"image_30102025_13_42_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/3/c68c688753dc2d11d3e69cd90a37f1f5.jpg","text":"TemporaryFile(/tmp/multipartBody1955964981708713671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128324990,"filename":"image_30102025_13_43_13_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fbec4e3d621bbcc574c650d249734917.jpg","text":"TemporaryFile(/tmp/multipartBody2433453651259176776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128324990,"filename":"image_30102025_13_42_52_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963787","file1":"1391963785","file0":"1391963783","file4":"1391963790","file5":"1391963791","file3":"1391963789"},"map_files_photo_id_array":[{"photo_id":"1391963791","filename":"file5"},{"photo_id":"1391963787","filename":"file2"},{"photo_id":"1391963790","filename":"file4"},{"photo_id":"1391963785","filename":"file1"},{"photo_id":"1391963783","filename":"file0"},{"photo_id":"1391963789","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963787":["hashtag1","hashtag2"]},{"1391963790":["hashtag1","hashtag2"]},{"1391963789":["hashtag1","hashtag2"]},{"1391963783":["hashtag1","hashtag2"]},{"1391963791":["hashtag1","hashtag2"]},{"1391963785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963787, 1391963790, 1391963789, 1391963783, 1391963791, 1391963785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81623721122742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:05:02.495364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/43/image_30102025_13_43_16_3767.jpg', '/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_19_2765.jpg', '/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_25_2857.jpg', '/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_31_2663.jpg', '/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_40_2760.jpg', '/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_49_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/13/43/image_30102025_13_43_16_3767.jpg
/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_19_2765.jpg
/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_25_2857.jpg
/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_31_2663.jpg
/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_40_2760.jpg
/home/pi/Desktop/images/30102025/13/43/image_30102025_13_43_49_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963798","1391963792","1391963804","1391963794","1391963807","1391963801"],"photo_ids_order":["1391963792","1391963794","1391963798","1391963801","1391963804","1391963807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/975480ab921d4b0a8c8de470cfe367a9.jpg","text":"TemporaryFile(/tmp/multipartBody309795247415165383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128364280,"filename":"image_30102025_13_43_25_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/3/cb945bc9224557817ef937c8e957d957.jpg","text":"TemporaryFile(/tmp/multipartBody3490835077382802936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128364280,"filename":"image_30102025_13_43_16_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/3/660b1cabc91631d1daf09dcc92a4b790.jpg","text":"TemporaryFile(/tmp/multipartBody5249897464600438794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128364280,"filename":"image_30102025_13_43_40_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/3/f50fc86658022998af1a639c39580c39.jpg","text":"TemporaryFile(/tmp/multipartBody6385529516221158933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128364280,"filename":"image_30102025_13_43_19_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b23ffb70a0d251857f1d8d383079c51b.jpg","text":"TemporaryFile(/tmp/multipartBody8164725368588296506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128364280,"filename":"image_30102025_13_43_49_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/3/b29a2f7dee7d81b8c7d8e77a37778344.jpg","text":"TemporaryFile(/tmp/multipartBody8039533631781302277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128364280,"filename":"image_30102025_13_43_31_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963798","file1":"1391963794","file0":"1391963792","file4":"1391963804","file5":"1391963807","file3":"1391963801"},"map_files_photo_id_array":[{"photo_id":"1391963807","filename":"file5"},{"photo_id":"1391963798","filename":"file2"},{"photo_id":"1391963804","filename":"file4"},{"photo_id":"1391963794","filename":"file1"},{"photo_id":"1391963792","filename":"file0"},{"photo_id":"1391963801","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963798":["hashtag1","hashtag2"]},{"1391963792":["hashtag1","hashtag2"]},{"1391963804":["hashtag1","hashtag2"]},{"1391963794":["hashtag1","hashtag2"]},{"1391963807":["hashtag1","hashtag2"]},{"1391963801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963798, 1391963792, 1391963804, 1391963794, 1391963807, 1391963801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8392596244812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:05:41.952721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_39_2598.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_42_2806.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_48_2589.jpg', '/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_55_3667.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_04_3727.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_06_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_39_2598.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_42_2806.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_48_2589.jpg
/home/pi/Desktop/images/31102025/00/12/image_31102025_00_12_55_3667.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_04_3727.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_06_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963818","1391963812","1391963817","1391963810","1391963815","1391963809"],"photo_ids_order":["1391963809","1391963810","1391963812","1391963815","1391963817","1391963818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7cb0df465a62b864de9f9a0c3f96fce7.jpg","text":"TemporaryFile(/tmp/multipartBody3021628470567569139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128403078,"filename":"image_31102025_00_13_06_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/3/72c874ec39d3f51db4166c3763b34d4f.jpg","text":"TemporaryFile(/tmp/multipartBody4519442504554099864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128403078,"filename":"image_31102025_00_12_48_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/3/5ca2c36079b653bd0a1610ab199d78ee.jpg","text":"TemporaryFile(/tmp/multipartBody2160300224151170779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128403078,"filename":"image_31102025_00_13_04_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/3/764ba3a23cfd534e371452f11acadd8b.jpg","text":"TemporaryFile(/tmp/multipartBody2780034074109695000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128403078,"filename":"image_31102025_00_12_42_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/3/b02b5ea481e9aa48022b04ac6068e09a.jpg","text":"TemporaryFile(/tmp/multipartBody3999335387334991236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128403078,"filename":"image_31102025_00_12_55_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/3/497422cfd2d666179f582bddb5d319e9.jpg","text":"TemporaryFile(/tmp/multipartBody6650822492354594581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128403078,"filename":"image_31102025_00_12_39_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963812","file1":"1391963810","file0":"1391963809","file4":"1391963817","file5":"1391963818","file3":"1391963815"},"map_files_photo_id_array":[{"photo_id":"1391963818","filename":"file5"},{"photo_id":"1391963812","filename":"file2"},{"photo_id":"1391963817","filename":"file4"},{"photo_id":"1391963810","filename":"file1"},{"photo_id":"1391963809","filename":"file0"},{"photo_id":"1391963815","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391963818":["hashtag1","hashtag2"]},{"1391963812":["hashtag1","hashtag2"]},{"1391963817":["hashtag1","hashtag2"]},{"1391963810":["hashtag1","hashtag2"]},{"1391963815":["hashtag1","hashtag2"]},{"1391963809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391963818, 1391963812, 1391963817, 1391963810, 1391963815, 1391963809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.025612354278564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:06:22.091103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/43/image_30102025_13_43_52_2780.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_04_2908.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_06_2530.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_10_3698.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_13_2680.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_16_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/13/43/image_30102025_13_43_52_2780.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_04_2908.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_06_2530.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_10_3698.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_13_2680.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_16_2668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.709280490875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:06:42.129182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_09_2792.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_15_3567.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_25_3798.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_33_2734.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_36_3677.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_39_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_09_2792.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_15_3567.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_25_3798.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_33_2734.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_36_3677.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_39_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963838","1391963840","1391963834","1391963843","1391963833","1391963836"],"photo_ids_order":["1391963833","1391963834","1391963836","1391963838","1391963840","1391963843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/96e72e36868e9b49eefa06917ea0652c.jpg","text":"TemporaryFile(/tmp/multipartBody1851979814745257496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128463279,"filename":"image_31102025_00_13_33_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/3/c6352cb96f709eb6188c8ee1868f2039.jpg","text":"TemporaryFile(/tmp/multipartBody8852697619814779887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128463279,"filename":"image_31102025_00_13_36_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/3/654c405292c304384aa51a6ddf1ca6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7161873709906630395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128463279,"filename":"image_31102025_00_13_15_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/3/b4af124b270d7364ef2d314e77a198da.jpg","text":"TemporaryFile(/tmp/multipartBody1176533947214365207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128463279,"filename":"image_31102025_00_13_39_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/3/cdc6787d1aa473b71a85065e77a1bc4a.jpg","text":"TemporaryFile(/tmp/multipartBody3907455121020258657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128463279,"filename":"image_31102025_00_13_09_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/461bf60073839e6d414e7e8057b203b0.jpg","text":"TemporaryFile(/tmp/multipartBody4469109253941775613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128463279,"filename":"image_31102025_00_13_25_3798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963836","file1":"1391963834","file0":"1391963833","file4":"1391963840","file5":"1391963843","file3":"1391963838"},"map_files_photo_id_array":[{"photo_id":"1391963843","filename":"file5"},{"photo_id":"1391963836","filename":"file2"},{"photo_id":"1391963840","filename":"file4"},{"photo_id":"1391963834","filename":"file1"},{"photo_id":"1391963833","filename":"file0"},{"photo_id":"1391963838","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391963838":["hashtag1","hashtag2"]},{"1391963840":["hashtag1","hashtag2"]},{"1391963834":["hashtag1","hashtag2"]},{"1391963843":["hashtag1","hashtag2"]},{"1391963833":["hashtag1","hashtag2"]},{"1391963836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391963838, 1391963840, 1391963834, 1391963843, 1391963833, 1391963836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10955452919006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:07:22.271263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/43/image_30102025_13_43_52_2780.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_04_2908.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_06_2530.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_10_3698.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_13_2680.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_16_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/13/43/image_30102025_13_43_52_2780.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_04_2908.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_06_2530.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_10_3698.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_13_2680.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_16_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963850","1391963852","1391963846","1391963851","1391963845","1391963848"],"photo_ids_order":["1391963845","1391963846","1391963848","1391963850","1391963851","1391963852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a82bce535155d8de67c65a058b05bd88.jpg","text":"TemporaryFile(/tmp/multipartBody5472075521508666779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128504554,"filename":"image_30102025_13_44_10_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/3/0ea0457d0f58dc87ede997e5d2a125e8.jpg","text":"TemporaryFile(/tmp/multipartBody4248787959020198546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128504554,"filename":"image_30102025_13_44_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/3/d6218b1d09f175dd55423d4ea26a68b8.jpg","text":"TemporaryFile(/tmp/multipartBody8892097290826346794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128504554,"filename":"image_30102025_13_44_04_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/3/9e416356b10e88107ac7b387f0c90eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3954070240808964776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128504554,"filename":"image_30102025_13_44_13_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/3/98cf65e4a3aec3cdbdad3f526310e1aa.jpg","text":"TemporaryFile(/tmp/multipartBody8222746653792905643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128504554,"filename":"image_30102025_13_43_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/3/bbccfa2a926f8456e017f0a095cbac32.jpg","text":"TemporaryFile(/tmp/multipartBody756186972096170938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128504554,"filename":"image_30102025_13_44_06_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963848","file1":"1391963846","file0":"1391963845","file4":"1391963851","file5":"1391963852","file3":"1391963850"},"map_files_photo_id_array":[{"photo_id":"1391963852","filename":"file5"},{"photo_id":"1391963848","filename":"file2"},{"photo_id":"1391963851","filename":"file4"},{"photo_id":"1391963846","filename":"file1"},{"photo_id":"1391963845","filename":"file0"},{"photo_id":"1391963850","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963850":["hashtag1","hashtag2"]},{"1391963852":["hashtag1","hashtag2"]},{"1391963846":["hashtag1","hashtag2"]},{"1391963851":["hashtag1","hashtag2"]},{"1391963845":["hashtag1","hashtag2"]},{"1391963848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963850, 1391963852, 1391963846, 1391963851, 1391963845, 1391963848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46960997581482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:08:03.186065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/44/image_30102025_13_44_25_3724.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_31_2848.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_34_3597.jpg', '/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_37_2722.jpg', '/home/pi/Desktop/images/30102025/13/45/image_30102025_13_45_04_2957.jpg', '/home/pi/Desktop/images/30102025/13/45/image_30102025_13_45_28_2806.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/44/image_30102025_13_44_25_3724.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_31_2848.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_34_3597.jpg
/home/pi/Desktop/images/30102025/13/44/image_30102025_13_44_37_2722.jpg
/home/pi/Desktop/images/30102025/13/45/image_30102025_13_45_04_2957.jpg
/home/pi/Desktop/images/30102025/13/45/image_30102025_13_45_28_2806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963865","1391963859","1391963861","1391963855","1391963857","1391963869"],"photo_ids_order":["1391963855","1391963857","1391963859","1391963861","1391963865","1391963869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1d1c4eb57fcf64090c5fe456d987c18.jpg","text":"TemporaryFile(/tmp/multipartBody4723093486152545915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128544998,"filename":"image_30102025_13_45_04_2957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7552c97a33f3005d253b683382dff5bf.jpg","text":"TemporaryFile(/tmp/multipartBody6023740717815346772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128544998,"filename":"image_30102025_13_44_34_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/3/d4aacbf7ead2f21a2155d6c9d58b4455.jpg","text":"TemporaryFile(/tmp/multipartBody3978871301264398778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128544998,"filename":"image_30102025_13_44_37_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/3/ce3c8296b810b651ccd74c517fd294e9.jpg","text":"TemporaryFile(/tmp/multipartBody7366677888626374134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128544998,"filename":"image_30102025_13_44_25_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/3/357c209abef023e29664f08bc0edf85b.jpg","text":"TemporaryFile(/tmp/multipartBody2421608847543593167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128544998,"filename":"image_30102025_13_44_31_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/3/c8533a7cb99c12f2327de90501cf4fa2.jpg","text":"TemporaryFile(/tmp/multipartBody2416738707814541697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128544998,"filename":"image_30102025_13_45_28_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963859","file1":"1391963857","file0":"1391963855","file4":"1391963865","file5":"1391963869","file3":"1391963861"},"map_files_photo_id_array":[{"photo_id":"1391963869","filename":"file5"},{"photo_id":"1391963859","filename":"file2"},{"photo_id":"1391963865","filename":"file4"},{"photo_id":"1391963857","filename":"file1"},{"photo_id":"1391963855","filename":"file0"},{"photo_id":"1391963861","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963865":["hashtag1","hashtag2"]},{"1391963859":["hashtag1","hashtag2"]},{"1391963861":["hashtag1","hashtag2"]},{"1391963855":["hashtag1","hashtag2"]},{"1391963857":["hashtag1","hashtag2"]},{"1391963869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963865, 1391963859, 1391963861, 1391963855, 1391963857, 1391963869)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.260215759277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:09:03.038414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/47/image_30102025_13_47_09_2856.jpg', '/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_16_2868.jpg', '/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_18_2564.jpg', '/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_25_3584.jpg', '/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_27_2628.jpg', '/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_34_3685.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/47/image_30102025_13_47_09_2856.jpg
/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_16_2868.jpg
/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_18_2564.jpg
/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_25_3584.jpg
/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_27_2628.jpg
/home/pi/Desktop/images/30102025/13/47/image_30102025_13_47_34_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963880","1391963885","1391963879","1391963882","1391963876","1391963884"],"photo_ids_order":["1391963876","1391963879","1391963880","1391963882","1391963884","1391963885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a41ca6b209648d2cebfaf613ae181b6.jpg","text":"TemporaryFile(/tmp/multipartBody8395978591049279037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128604897,"filename":"image_30102025_13_47_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/3/3f7f25135dd1c063e4d5a72b81ada616.jpg","text":"TemporaryFile(/tmp/multipartBody6304968635783963242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128604897,"filename":"image_30102025_13_47_34_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/3/704e3faf223fc00efd4257c8a839139f.jpg","text":"TemporaryFile(/tmp/multipartBody2673720588254215632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128604897,"filename":"image_30102025_13_47_16_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/3/c09f9690834d16f81449cea4592a732a.jpg","text":"TemporaryFile(/tmp/multipartBody2305350686723736977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128604897,"filename":"image_30102025_13_47_25_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/3/d8c3764d5eec667e536379df91846bd9.jpg","text":"TemporaryFile(/tmp/multipartBody1447355290075831249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128604897,"filename":"image_30102025_13_47_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/3/4ea43d2c0165ab5ad13f488acfe9671d.jpg","text":"TemporaryFile(/tmp/multipartBody2579411528940963510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128604897,"filename":"image_30102025_13_47_27_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963880","file1":"1391963879","file0":"1391963876","file4":"1391963884","file5":"1391963885","file3":"1391963882"},"map_files_photo_id_array":[{"photo_id":"1391963885","filename":"file5"},{"photo_id":"1391963880","filename":"file2"},{"photo_id":"1391963884","filename":"file4"},{"photo_id":"1391963879","filename":"file1"},{"photo_id":"1391963876","filename":"file0"},{"photo_id":"1391963882","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963880":["hashtag1","hashtag2"]},{"1391963885":["hashtag1","hashtag2"]},{"1391963879":["hashtag1","hashtag2"]},{"1391963882":["hashtag1","hashtag2"]},{"1391963876":["hashtag1","hashtag2"]},{"1391963884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963880, 1391963885, 1391963879, 1391963882, 1391963876, 1391963884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26850461959839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:10:02.656438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/47/image_30102025_13_47_48_2617.jpg', '/home/pi/Desktop/images/30102025/13/48/image_30102025_13_48_06_2578.jpg', '/home/pi/Desktop/images/30102025/13/48/image_30102025_13_48_16_2808.jpg', '/home/pi/Desktop/images/30102025/13/49/image_30102025_13_49_22_2665.jpg', '/home/pi/Desktop/images/30102025/13/49/image_30102025_13_49_24_2692.jpg', '/home/pi/Desktop/images/30102025/13/50/image_30102025_13_50_04_3684.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/47/image_30102025_13_47_48_2617.jpg
/home/pi/Desktop/images/30102025/13/48/image_30102025_13_48_06_2578.jpg
/home/pi/Desktop/images/30102025/13/48/image_30102025_13_48_16_2808.jpg
/home/pi/Desktop/images/30102025/13/49/image_30102025_13_49_22_2665.jpg
/home/pi/Desktop/images/30102025/13/49/image_30102025_13_49_24_2692.jpg
/home/pi/Desktop/images/30102025/13/50/image_30102025_13_50_04_3684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963902","1391963898","1391963904","1391963907","1391963894","1391963906"],"photo_ids_order":["1391963894","1391963898","1391963902","1391963904","1391963906","1391963907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/88c9bc1e7f199e1b08a49f49dcd47930.jpg","text":"TemporaryFile(/tmp/multipartBody1695997121379748499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128664474,"filename":"image_30102025_13_48_16_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/3/350c5689a18e11ad3929aa2a918c34fb.jpg","text":"TemporaryFile(/tmp/multipartBody8113368693034371889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128664474,"filename":"image_30102025_13_48_06_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/3/591bdcc6d013d658e82db08cfc8bbc88.jpg","text":"TemporaryFile(/tmp/multipartBody2020244189925114780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128664474,"filename":"image_30102025_13_49_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/3/299c22fdcf68d02ab27e15fb5949e989.jpg","text":"TemporaryFile(/tmp/multipartBody4661508672354980243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128664474,"filename":"image_30102025_13_50_04_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/3/4714da3f1fb15d2523eecccfa7f65da0.jpg","text":"TemporaryFile(/tmp/multipartBody7935151062078139653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128664474,"filename":"image_30102025_13_47_48_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/3/9218e6dc67c19cb7f066ccf9d10c55a3.jpg","text":"TemporaryFile(/tmp/multipartBody5992635208370422462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128664474,"filename":"image_30102025_13_49_24_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963902","file1":"1391963898","file0":"1391963894","file4":"1391963906","file5":"1391963907","file3":"1391963904"},"map_files_photo_id_array":[{"photo_id":"1391963907","filename":"file5"},{"photo_id":"1391963902","filename":"file2"},{"photo_id":"1391963906","filename":"file4"},{"photo_id":"1391963898","filename":"file1"},{"photo_id":"1391963894","filename":"file0"},{"photo_id":"1391963904","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963902":["hashtag1","hashtag2"]},{"1391963898":["hashtag1","hashtag2"]},{"1391963904":["hashtag1","hashtag2"]},{"1391963907":["hashtag1","hashtag2"]},{"1391963894":["hashtag1","hashtag2"]},{"1391963906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963902, 1391963898, 1391963904, 1391963907, 1391963894, 1391963906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83320188522339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:10:42.334466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_46_3648.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_48_2763.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_51_2721.jpg', '/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_55_3531.jpg', '/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_04_3733.jpg', '/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_06_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_46_3648.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_48_2763.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_51_2721.jpg
/home/pi/Desktop/images/31102025/00/13/image_31102025_00_13_55_3531.jpg
/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_04_3733.jpg
/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_06_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963910","1391963913","1391963916","1391963912","1391963911","1391963914"],"photo_ids_order":["1391963910","1391963911","1391963912","1391963913","1391963914","1391963916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a354f36de4c1dfbcdfc150847adf45d2.jpg","text":"TemporaryFile(/tmp/multipartBody4733644612690097924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128703525,"filename":"image_31102025_00_13_46_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/3/7d792aacccbc60e7f22952d708e9648e.jpg","text":"TemporaryFile(/tmp/multipartBody3763921279793070836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128703525,"filename":"image_31102025_00_13_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/3/6c8cf05d5aa3c08b8ba58555d4c2a749.jpg","text":"TemporaryFile(/tmp/multipartBody3368101778495823955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128703525,"filename":"image_31102025_00_14_06_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/3/8b0d2fec948a4e18d928df009997d13b.jpg","text":"TemporaryFile(/tmp/multipartBody6513339194562582005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128703525,"filename":"image_31102025_00_13_51_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/3/e7693c3082ce6b53facf1ad747a08442.jpg","text":"TemporaryFile(/tmp/multipartBody2480987852233455073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128703525,"filename":"image_31102025_00_13_48_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/3/510088d1f19fb0ec8f2ff1c277966cb6.jpg","text":"TemporaryFile(/tmp/multipartBody1984010190190062624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128703525,"filename":"image_31102025_00_14_04_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963912","file1":"1391963911","file0":"1391963910","file4":"1391963914","file5":"1391963916","file3":"1391963913"},"map_files_photo_id_array":[{"photo_id":"1391963916","filename":"file5"},{"photo_id":"1391963912","filename":"file2"},{"photo_id":"1391963914","filename":"file4"},{"photo_id":"1391963911","filename":"file1"},{"photo_id":"1391963910","filename":"file0"},{"photo_id":"1391963913","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391963910":["hashtag1","hashtag2"]},{"1391963913":["hashtag1","hashtag2"]},{"1391963916":["hashtag1","hashtag2"]},{"1391963912":["hashtag1","hashtag2"]},{"1391963911":["hashtag1","hashtag2"]},{"1391963914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391963910, 1391963913, 1391963916, 1391963912, 1391963911, 1391963914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16228747367859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:11:22.452804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/50/image_30102025_13_50_13_3657.jpg', '/home/pi/Desktop/images/30102025/13/50/image_30102025_13_50_18_2667.jpg', '/home/pi/Desktop/images/30102025/13/50/image_30102025_13_50_39_2673.jpg', '/home/pi/Desktop/images/30102025/13/51/image_30102025_13_51_03_2611.jpg', '/home/pi/Desktop/images/30102025/13/51/image_30102025_13_51_10_3734.jpg', '/home/pi/Desktop/images/30102025/13/51/image_30102025_13_51_33_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/13/50/image_30102025_13_50_13_3657.jpg
/home/pi/Desktop/images/30102025/13/50/image_30102025_13_50_18_2667.jpg
/home/pi/Desktop/images/30102025/13/50/image_30102025_13_50_39_2673.jpg
/home/pi/Desktop/images/30102025/13/51/image_30102025_13_51_03_2611.jpg
/home/pi/Desktop/images/30102025/13/51/image_30102025_13_51_10_3734.jpg
/home/pi/Desktop/images/30102025/13/51/image_30102025_13_51_33_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963923","1391963925","1391963928","1391963927","1391963924","1391963926"],"photo_ids_order":["1391963923","1391963924","1391963925","1391963926","1391963927","1391963928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f75e4a7b0f27ae8908a4d32efb45d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8413035073508381748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128744867,"filename":"image_30102025_13_50_13_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/3/8f23ceccdb0f7d0db7546c6bba171d04.jpg","text":"TemporaryFile(/tmp/multipartBody1042392121450813135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128744867,"filename":"image_30102025_13_50_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/3/dfb4b1e38c1137558d42b35c6a7589e9.jpg","text":"TemporaryFile(/tmp/multipartBody6708648618806464573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128744867,"filename":"image_30102025_13_51_33_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/3/5ed0f21f99066db005234c883c61ad26.jpg","text":"TemporaryFile(/tmp/multipartBody5381307308453912296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128744867,"filename":"image_30102025_13_51_10_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/3/1fb5064188ac02e431d1c1240a89b669.jpg","text":"TemporaryFile(/tmp/multipartBody3584876021046807855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128744867,"filename":"image_30102025_13_50_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/3/dd68a7a569b6a92b0da7cd0965fa1c31.jpg","text":"TemporaryFile(/tmp/multipartBody911140544047206175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128744867,"filename":"image_30102025_13_51_03_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963925","file1":"1391963924","file0":"1391963923","file4":"1391963927","file5":"1391963928","file3":"1391963926"},"map_files_photo_id_array":[{"photo_id":"1391963928","filename":"file5"},{"photo_id":"1391963925","filename":"file2"},{"photo_id":"1391963927","filename":"file4"},{"photo_id":"1391963924","filename":"file1"},{"photo_id":"1391963923","filename":"file0"},{"photo_id":"1391963926","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963923":["hashtag1","hashtag2"]},{"1391963925":["hashtag1","hashtag2"]},{"1391963928":["hashtag1","hashtag2"]},{"1391963927":["hashtag1","hashtag2"]},{"1391963924":["hashtag1","hashtag2"]},{"1391963926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963923, 1391963925, 1391963928, 1391963927, 1391963924, 1391963926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.950698375701904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:12:03.254954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/51/image_30102025_13_51_36_2615.jpg', '/home/pi/Desktop/images/30102025/13/51/image_30102025_13_51_45_2567.jpg', '/home/pi/Desktop/images/30102025/13/51/image_30102025_13_52_01_3691.jpg', '/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_15_2740.jpg', '/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_18_2582.jpg', '/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_27_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/13/51/image_30102025_13_51_36_2615.jpg
/home/pi/Desktop/images/30102025/13/51/image_30102025_13_51_45_2567.jpg
/home/pi/Desktop/images/30102025/13/51/image_30102025_13_52_01_3691.jpg
/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_15_2740.jpg
/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_18_2582.jpg
/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_27_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963940","1391963946","1391963945","1391963942","1391963936","1391963944"],"photo_ids_order":["1391963936","1391963940","1391963942","1391963944","1391963945","1391963946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/633f133d2428c92182642400af07f307.jpg","text":"TemporaryFile(/tmp/multipartBody3429834584743651720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128785096,"filename":"image_30102025_13_51_45_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/3/e9ece759261452f88476100e29fb87ce.jpg","text":"TemporaryFile(/tmp/multipartBody6294477281564596893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128785096,"filename":"image_30102025_13_52_27_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/3/53246a83ec3d04471244c60b3b4d85e9.jpg","text":"TemporaryFile(/tmp/multipartBody5285162348318530834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128785096,"filename":"image_30102025_13_52_18_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/3/750e0b2ba1fd9af63bb6e629a0c45921.jpg","text":"TemporaryFile(/tmp/multipartBody5718834460351719260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128785096,"filename":"image_30102025_13_52_01_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/3/1e1bf1cfeec84a8dcc5f0b43fb3c2c30.jpg","text":"TemporaryFile(/tmp/multipartBody5251724792780503814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128785096,"filename":"image_30102025_13_51_36_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7621b51aac5ff31e2c88907c0a472242.jpg","text":"TemporaryFile(/tmp/multipartBody6443343774071132076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128785096,"filename":"image_30102025_13_52_15_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963942","file1":"1391963940","file0":"1391963936","file4":"1391963945","file5":"1391963946","file3":"1391963944"},"map_files_photo_id_array":[{"photo_id":"1391963946","filename":"file5"},{"photo_id":"1391963942","filename":"file2"},{"photo_id":"1391963945","filename":"file4"},{"photo_id":"1391963940","filename":"file1"},{"photo_id":"1391963936","filename":"file0"},{"photo_id":"1391963944","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963940":["hashtag1","hashtag2"]},{"1391963946":["hashtag1","hashtag2"]},{"1391963945":["hashtag1","hashtag2"]},{"1391963942":["hashtag1","hashtag2"]},{"1391963936":["hashtag1","hashtag2"]},{"1391963944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963940, 1391963946, 1391963945, 1391963942, 1391963936, 1391963944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77515745162964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:12:42.755330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_09_2714.jpg', '/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_15_3706.jpg', '/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_27_2798.jpg', '/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_30_2733.jpg', '/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_39_2572.jpg', '/home/pi/Desktop/images/31102025/00/14/image_31102025_00_15_00_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_09_2714.jpg
/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_15_3706.jpg
/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_27_2798.jpg
/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_30_2733.jpg
/home/pi/Desktop/images/31102025/00/14/image_31102025_00_14_39_2572.jpg
/home/pi/Desktop/images/31102025/00/14/image_31102025_00_15_00_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963955","1391963952","1391963951","1391963948","1391963950","1391963953"],"photo_ids_order":["1391963948","1391963950","1391963951","1391963952","1391963953","1391963955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/844b094cf66549db8e762c0ce380ab54.jpg","text":"TemporaryFile(/tmp/multipartBody6844012572167957572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128823876,"filename":"image_31102025_00_15_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/3/d64964abc41eb15d922af68ff8dece2d.jpg","text":"TemporaryFile(/tmp/multipartBody7508408208861352399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128823876,"filename":"image_31102025_00_14_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/3/e8906f501461eb641776d8194075cc78.jpg","text":"TemporaryFile(/tmp/multipartBody7996434086285919149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128823876,"filename":"image_31102025_00_14_27_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/3/41e704b40489366f8074cf270a9b80ca.jpg","text":"TemporaryFile(/tmp/multipartBody4842427657252108242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128823876,"filename":"image_31102025_00_14_09_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/3/5c0e2f86095e697ecbd3a736c6db817b.jpg","text":"TemporaryFile(/tmp/multipartBody7057335488827201865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128823876,"filename":"image_31102025_00_14_15_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/3/e2f4549b9c0f190cd3808d30a64a6a75.jpg","text":"TemporaryFile(/tmp/multipartBody8721256736814966445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128823876,"filename":"image_31102025_00_14_39_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963951","file1":"1391963950","file0":"1391963948","file4":"1391963953","file5":"1391963955","file3":"1391963952"},"map_files_photo_id_array":[{"photo_id":"1391963955","filename":"file5"},{"photo_id":"1391963951","filename":"file2"},{"photo_id":"1391963953","filename":"file4"},{"photo_id":"1391963950","filename":"file1"},{"photo_id":"1391963948","filename":"file0"},{"photo_id":"1391963952","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391963955":["hashtag1","hashtag2"]},{"1391963952":["hashtag1","hashtag2"]},{"1391963951":["hashtag1","hashtag2"]},{"1391963948":["hashtag1","hashtag2"]},{"1391963950":["hashtag1","hashtag2"]},{"1391963953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391963955, 1391963952, 1391963951, 1391963948, 1391963950, 1391963953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13031506538391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:13:21.884566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/52/image_30102025_13_52_30_3655.jpg', '/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_36_2714.jpg', '/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_42_2625.jpg', '/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_48_2817.jpg', '/home/pi/Desktop/images/30102025/13/52/image_30102025_13_53_00_3678.jpg', '/home/pi/Desktop/images/30102025/13/53/image_30102025_13_53_54_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/13/52/image_30102025_13_52_30_3655.jpg
/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_36_2714.jpg
/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_42_2625.jpg
/home/pi/Desktop/images/30102025/13/52/image_30102025_13_52_48_2817.jpg
/home/pi/Desktop/images/30102025/13/52/image_30102025_13_53_00_3678.jpg
/home/pi/Desktop/images/30102025/13/53/image_30102025_13_53_54_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963961","1391963964","1391963963","1391963966","1391963965","1391963968"],"photo_ids_order":["1391963961","1391963963","1391963964","1391963965","1391963966","1391963968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93331655c0a0f9fd2ea43d8615cf4d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6641365180673231975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128864278,"filename":"image_30102025_13_52_30_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/3/069321e1274b15f0bafb73f35b246490.jpg","text":"TemporaryFile(/tmp/multipartBody4820012925590475303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128864278,"filename":"image_30102025_13_52_42_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c818e0f4e2e31db073aa2cfcdcf49e72.jpg","text":"TemporaryFile(/tmp/multipartBody5063796661254165978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128864278,"filename":"image_30102025_13_52_36_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/3/2ae74e9d0800ad52e018e7ea2a12687d.jpg","text":"TemporaryFile(/tmp/multipartBody2273915305352047090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128864278,"filename":"image_30102025_13_53_00_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/3/7f97d65c53aee27f329733d26d2846a3.jpg","text":"TemporaryFile(/tmp/multipartBody2758066921458585515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128864278,"filename":"image_30102025_13_52_48_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/3/f121d269e4eecd1c05a0c76549f7dda8.jpg","text":"TemporaryFile(/tmp/multipartBody497605752352343165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128864278,"filename":"image_30102025_13_53_54_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963964","file1":"1391963963","file0":"1391963961","file4":"1391963966","file5":"1391963968","file3":"1391963965"},"map_files_photo_id_array":[{"photo_id":"1391963968","filename":"file5"},{"photo_id":"1391963964","filename":"file2"},{"photo_id":"1391963966","filename":"file4"},{"photo_id":"1391963963","filename":"file1"},{"photo_id":"1391963961","filename":"file0"},{"photo_id":"1391963965","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963961":["hashtag1","hashtag2"]},{"1391963964":["hashtag1","hashtag2"]},{"1391963963":["hashtag1","hashtag2"]},{"1391963966":["hashtag1","hashtag2"]},{"1391963965":["hashtag1","hashtag2"]},{"1391963968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963961, 1391963964, 1391963963, 1391963966, 1391963965, 1391963968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59332513809204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:14:02.721262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/53/image_30102025_13_53_57_3552.jpg', '/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_03_2683.jpg', '/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_06_3558.jpg', '/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_18_2595.jpg', '/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_24_2695.jpg', '/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_27_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/13/53/image_30102025_13_53_57_3552.jpg
/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_03_2683.jpg
/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_06_3558.jpg
/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_18_2595.jpg
/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_24_2695.jpg
/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_27_2528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963979","1391963981","1391963980","1391963974","1391963983","1391963977"],"photo_ids_order":["1391963974","1391963977","1391963979","1391963980","1391963981","1391963983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a9c5f6658dfed7601a460b6a13c05457.jpg","text":"TemporaryFile(/tmp/multipartBody4576785383932445146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128904594,"filename":"image_30102025_13_54_06_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/3/b9bc000d13d65013855546545ab1a00f.jpg","text":"TemporaryFile(/tmp/multipartBody2374186359080691864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128904594,"filename":"image_30102025_13_54_24_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/3/06fe8f46856967af6310a4c928077db0.jpg","text":"TemporaryFile(/tmp/multipartBody235364710782033924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128904594,"filename":"image_30102025_13_54_18_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/87e5b61cf16db6b8312100d866fb8151.jpg","text":"TemporaryFile(/tmp/multipartBody2555917644660466348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128904594,"filename":"image_30102025_13_53_57_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/3/c5e8d5d26c4a20ba5204cf80103cd9eb.jpg","text":"TemporaryFile(/tmp/multipartBody7805342423896047369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128904594,"filename":"image_30102025_13_54_27_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/3/6ea4274735c597ebb285d8ad34b376e6.jpg","text":"TemporaryFile(/tmp/multipartBody6639539687116441099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128904594,"filename":"image_30102025_13_54_03_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963979","file1":"1391963977","file0":"1391963974","file4":"1391963981","file5":"1391963983","file3":"1391963980"},"map_files_photo_id_array":[{"photo_id":"1391963983","filename":"file5"},{"photo_id":"1391963979","filename":"file2"},{"photo_id":"1391963981","filename":"file4"},{"photo_id":"1391963977","filename":"file1"},{"photo_id":"1391963974","filename":"file0"},{"photo_id":"1391963980","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391963979":["hashtag1","hashtag2"]},{"1391963981":["hashtag1","hashtag2"]},{"1391963980":["hashtag1","hashtag2"]},{"1391963974":["hashtag1","hashtag2"]},{"1391963983":["hashtag1","hashtag2"]},{"1391963977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391963979, 1391963981, 1391963980, 1391963974, 1391963983, 1391963977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33351016044617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:14:42.097066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_09_2778.jpg', '/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_12_3694.jpg', '/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_18_2680.jpg', '/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_21_3670.jpg', '/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_27_2807.jpg', '/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_33_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_09_2778.jpg
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_12_3694.jpg
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_18_2680.jpg
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_21_3670.jpg
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_27_2807.jpg
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_33_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391963991","1391963997","1391964000","1391963999","1391963993","1391963995"],"photo_ids_order":["1391963991","1391963993","1391963995","1391963997","1391963999","1391964000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/353737941b2d89232ebf166ea310dd1f.jpg","text":"TemporaryFile(/tmp/multipartBody4528545810871367250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128943221,"filename":"image_31102025_00_15_09_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/3/eba7cc4cc3bec3c79ea73589d2e614bc.jpg","text":"TemporaryFile(/tmp/multipartBody5158609491923606369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128943221,"filename":"image_31102025_00_15_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/3/13aa0ad8c62bb38f4dc28306e416bfa3.jpg","text":"TemporaryFile(/tmp/multipartBody7156470387565732512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128943221,"filename":"image_31102025_00_15_33_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f335e11d6754a840e51c3fa30deb4399.jpg","text":"TemporaryFile(/tmp/multipartBody7482744848062903997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128943221,"filename":"image_31102025_00_15_27_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/3/c79de4fc5ca2bed6fa6f64ff9545b3c5.jpg","text":"TemporaryFile(/tmp/multipartBody6749701464394794472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128943221,"filename":"image_31102025_00_15_12_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/3/b687bf35b06f80aeccbc75293a38e5e8.jpg","text":"TemporaryFile(/tmp/multipartBody7712850802193261929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128943221,"filename":"image_31102025_00_15_18_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391963995","file1":"1391963993","file0":"1391963991","file4":"1391963999","file5":"1391964000","file3":"1391963997"},"map_files_photo_id_array":[{"photo_id":"1391964000","filename":"file5"},{"photo_id":"1391963995","filename":"file2"},{"photo_id":"1391963999","filename":"file4"},{"photo_id":"1391963993","filename":"file1"},{"photo_id":"1391963991","filename":"file0"},{"photo_id":"1391963997","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391963991":["hashtag1","hashtag2"]},{"1391963997":["hashtag1","hashtag2"]},{"1391964000":["hashtag1","hashtag2"]},{"1391963999":["hashtag1","hashtag2"]},{"1391963993":["hashtag1","hashtag2"]},{"1391963995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391963991, 1391963997, 1391964000, 1391963999, 1391963993, 1391963995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81783103942871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:15:22.222575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/54/image_30102025_13_54_36_2803.jpg', '/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_39_2678.jpg', '/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_42_3636.jpg', '/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_48_2793.jpg', '/home/pi/Desktop/images/30102025/13/55/image_30102025_13_55_02_2570.jpg', '/home/pi/Desktop/images/30102025/13/55/image_30102025_13_55_15_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/13/54/image_30102025_13_54_36_2803.jpg
/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_39_2678.jpg
/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_42_3636.jpg
/home/pi/Desktop/images/30102025/13/54/image_30102025_13_54_48_2793.jpg
/home/pi/Desktop/images/30102025/13/55/image_30102025_13_55_02_2570.jpg
/home/pi/Desktop/images/30102025/13/55/image_30102025_13_55_15_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964009","1391964014","1391964011","1391964008","1391964007","1391964016"],"photo_ids_order":["1391964007","1391964008","1391964009","1391964011","1391964014","1391964016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26f871a9d6ccfa45562e1c91890d611e.jpg","text":"TemporaryFile(/tmp/multipartBody2818191595548680145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128984659,"filename":"image_30102025_13_54_42_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/3/f53a319d0a8bb12cc6486e7260daefd7.jpg","text":"TemporaryFile(/tmp/multipartBody8353303675220822548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128984659,"filename":"image_30102025_13_55_02_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/3/8201ac60173486f347a8c024b9636c66.jpg","text":"TemporaryFile(/tmp/multipartBody3037566731906644343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128984659,"filename":"image_30102025_13_54_48_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/11e60e72120f4d7a3bea5bcc1d3a2454.jpg","text":"TemporaryFile(/tmp/multipartBody107263605271180744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128984659,"filename":"image_30102025_13_54_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/3/e4fe8ad54ee4fa1cd31b4649d05eb259.jpg","text":"TemporaryFile(/tmp/multipartBody2370325849567272208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128984659,"filename":"image_30102025_13_54_36_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/3/8548453b652b9a1fc104d8661222809e.jpg","text":"TemporaryFile(/tmp/multipartBody5641615017899062390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762128984659,"filename":"image_30102025_13_55_15_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964009","file1":"1391964008","file0":"1391964007","file4":"1391964014","file5":"1391964016","file3":"1391964011"},"map_files_photo_id_array":[{"photo_id":"1391964016","filename":"file5"},{"photo_id":"1391964009","filename":"file2"},{"photo_id":"1391964014","filename":"file4"},{"photo_id":"1391964008","filename":"file1"},{"photo_id":"1391964007","filename":"file0"},{"photo_id":"1391964011","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964009":["hashtag1","hashtag2"]},{"1391964014":["hashtag1","hashtag2"]},{"1391964011":["hashtag1","hashtag2"]},{"1391964008":["hashtag1","hashtag2"]},{"1391964007":["hashtag1","hashtag2"]},{"1391964016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964009, 1391964014, 1391964011, 1391964008, 1391964007, 1391964016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01054763793945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:16:02.941194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/55/image_30102025_13_55_38_2746.jpg', '/home/pi/Desktop/images/30102025/13/55/image_30102025_13_55_56_2590.jpg', '/home/pi/Desktop/images/30102025/13/56/image_30102025_13_56_03_2628.jpg', '/home/pi/Desktop/images/30102025/13/56/image_30102025_13_56_08_2762.jpg', '/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_02_2590.jpg', '/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_05_2915.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/55/image_30102025_13_55_38_2746.jpg
/home/pi/Desktop/images/30102025/13/55/image_30102025_13_55_56_2590.jpg
/home/pi/Desktop/images/30102025/13/56/image_30102025_13_56_03_2628.jpg
/home/pi/Desktop/images/30102025/13/56/image_30102025_13_56_08_2762.jpg
/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_02_2590.jpg
/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_05_2915.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.738119125366211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:16:22.363745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/55/image_30102025_13_55_38_2746.jpg', '/home/pi/Desktop/images/30102025/13/55/image_30102025_13_55_56_2590.jpg', '/home/pi/Desktop/images/30102025/13/56/image_30102025_13_56_03_2628.jpg', '/home/pi/Desktop/images/30102025/13/56/image_30102025_13_56_08_2762.jpg', '/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_02_2590.jpg', '/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_05_2915.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/55/image_30102025_13_55_38_2746.jpg
/home/pi/Desktop/images/30102025/13/55/image_30102025_13_55_56_2590.jpg
/home/pi/Desktop/images/30102025/13/56/image_30102025_13_56_03_2628.jpg
/home/pi/Desktop/images/30102025/13/56/image_30102025_13_56_08_2762.jpg
/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_02_2590.jpg
/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_05_2915.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964039","1391964033","1391964032","1391964041","1391964035","1391964037"],"photo_ids_order":["1391964032","1391964033","1391964035","1391964037","1391964039","1391964041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1028a3868820208743e62b19fff36b7.jpg","text":"TemporaryFile(/tmp/multipartBody913043118919800483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129044393,"filename":"image_30102025_13_57_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/3/77cd5ab578fff737f976925a1b9d2325.jpg","text":"TemporaryFile(/tmp/multipartBody6358130549519858571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129044393,"filename":"image_30102025_13_55_56_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/3/196c55197fc85c30bebc8581fd9baaa2.jpg","text":"TemporaryFile(/tmp/multipartBody5119597489490206500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129044393,"filename":"image_30102025_13_55_38_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/3/865483c38cd95e0b533e10acf8ac4883.jpg","text":"TemporaryFile(/tmp/multipartBody2660595388920600657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129044393,"filename":"image_30102025_13_57_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/3/bd3bf86f6f259d153cb624f3189b0201.jpg","text":"TemporaryFile(/tmp/multipartBody3475145852193759917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129044393,"filename":"image_30102025_13_56_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/3/2ec32ef915283a54485b3ac96fef01cf.jpg","text":"TemporaryFile(/tmp/multipartBody6759302024030677597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129044393,"filename":"image_30102025_13_56_08_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964035","file1":"1391964033","file0":"1391964032","file4":"1391964039","file5":"1391964041","file3":"1391964037"},"map_files_photo_id_array":[{"photo_id":"1391964041","filename":"file5"},{"photo_id":"1391964035","filename":"file2"},{"photo_id":"1391964039","filename":"file4"},{"photo_id":"1391964033","filename":"file1"},{"photo_id":"1391964032","filename":"file0"},{"photo_id":"1391964037","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964039":["hashtag1","hashtag2"]},{"1391964033":["hashtag1","hashtag2"]},{"1391964032":["hashtag1","hashtag2"]},{"1391964041":["hashtag1","hashtag2"]},{"1391964035":["hashtag1","hashtag2"]},{"1391964037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964039, 1391964033, 1391964032, 1391964041, 1391964035, 1391964037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71255683898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:17:03.295738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/57/image_30102025_13_57_44_2762.jpg', '/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_53_2662.jpg', '/home/pi/Desktop/images/30102025/13/58/image_30102025_13_58_03_2701.jpg', '/home/pi/Desktop/images/30102025/13/58/image_30102025_13_58_18_3762.jpg', '/home/pi/Desktop/images/30102025/13/58/image_30102025_13_58_44_2612.jpg', '/home/pi/Desktop/images/30102025/13/58/image_30102025_13_58_54_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/13/57/image_30102025_13_57_44_2762.jpg
/home/pi/Desktop/images/30102025/13/57/image_30102025_13_57_53_2662.jpg
/home/pi/Desktop/images/30102025/13/58/image_30102025_13_58_03_2701.jpg
/home/pi/Desktop/images/30102025/13/58/image_30102025_13_58_18_3762.jpg
/home/pi/Desktop/images/30102025/13/58/image_30102025_13_58_44_2612.jpg
/home/pi/Desktop/images/30102025/13/58/image_30102025_13_58_54_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964054","1391964051","1391964053","1391964056","1391964052","1391964049"],"photo_ids_order":["1391964049","1391964051","1391964052","1391964053","1391964054","1391964056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0428f5f28a5e0c488e48cc71f80d28ad.jpg","text":"TemporaryFile(/tmp/multipartBody8462659243321923391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129085182,"filename":"image_30102025_13_58_44_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7694d180819c97dd23d2b565f7000f08.jpg","text":"TemporaryFile(/tmp/multipartBody5364825571249732123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129085182,"filename":"image_30102025_13_57_53_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/3/2c2c6aa547731799a0d3d22d4f0f2dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4926516142432210295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129085182,"filename":"image_30102025_13_58_18_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/3/ba2052c19fc227dbb3bedddb15f2b30a.jpg","text":"TemporaryFile(/tmp/multipartBody7318755660008903327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129085182,"filename":"image_30102025_13_58_54_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/3/3d6b1f7be58ab0d0a7eca6cf6a791622.jpg","text":"TemporaryFile(/tmp/multipartBody1472177993362213680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129085182,"filename":"image_30102025_13_58_03_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/3/c195eadbcc053cee54b3cfb2d911e346.jpg","text":"TemporaryFile(/tmp/multipartBody3830833378927166218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129085182,"filename":"image_30102025_13_57_44_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964052","file1":"1391964051","file0":"1391964049","file4":"1391964054","file5":"1391964056","file3":"1391964053"},"map_files_photo_id_array":[{"photo_id":"1391964056","filename":"file5"},{"photo_id":"1391964052","filename":"file2"},{"photo_id":"1391964054","filename":"file4"},{"photo_id":"1391964051","filename":"file1"},{"photo_id":"1391964049","filename":"file0"},{"photo_id":"1391964053","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964054":["hashtag1","hashtag2"]},{"1391964051":["hashtag1","hashtag2"]},{"1391964053":["hashtag1","hashtag2"]},{"1391964056":["hashtag1","hashtag2"]},{"1391964052":["hashtag1","hashtag2"]},{"1391964049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964054, 1391964051, 1391964053, 1391964056, 1391964052, 1391964049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35939407348633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:17:42.558333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_39_2723.jpg', '/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_42_3535.jpg', '/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_45_2772.jpg', '/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_51_2870.jpg', '/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_54_2840.jpg', '/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_03_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_39_2723.jpg
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_42_3535.jpg
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_45_2772.jpg
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_51_2870.jpg
/home/pi/Desktop/images/31102025/00/15/image_31102025_00_15_54_2840.jpg
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_03_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964069","1391964071","1391964062","1391964064","1391964067","1391964066"],"photo_ids_order":["1391964062","1391964064","1391964066","1391964067","1391964069","1391964071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/afe792e7410014f9a4bab77506e7bebd.jpg","text":"TemporaryFile(/tmp/multipartBody8985029819716778148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129123673,"filename":"image_31102025_00_15_54_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/3/5d2d0bdeb036f8bdb4f8199cf92d44de.jpg","text":"TemporaryFile(/tmp/multipartBody3596715882224637516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129123673,"filename":"image_31102025_00_16_03_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/3/2f7a8835e409043fcb9d9df98d102df0.jpg","text":"TemporaryFile(/tmp/multipartBody917687975995224887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129123673,"filename":"image_31102025_00_15_39_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36ee6ef3632174bda3263f4d5864022f.jpg","text":"TemporaryFile(/tmp/multipartBody6733249754882155021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129123673,"filename":"image_31102025_00_15_42_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/3/557828cbad3e19dce8d6f7363c4fbef0.jpg","text":"TemporaryFile(/tmp/multipartBody3516457391485921780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129123673,"filename":"image_31102025_00_15_51_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/3/5a32f03b71f09512553b8f7fc85cb12c.jpg","text":"TemporaryFile(/tmp/multipartBody8321574553515498240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129123673,"filename":"image_31102025_00_15_45_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964066","file1":"1391964064","file0":"1391964062","file4":"1391964069","file5":"1391964071","file3":"1391964067"},"map_files_photo_id_array":[{"photo_id":"1391964071","filename":"file5"},{"photo_id":"1391964066","filename":"file2"},{"photo_id":"1391964069","filename":"file4"},{"photo_id":"1391964064","filename":"file1"},{"photo_id":"1391964062","filename":"file0"},{"photo_id":"1391964067","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964069":["hashtag1","hashtag2"]},{"1391964071":["hashtag1","hashtag2"]},{"1391964062":["hashtag1","hashtag2"]},{"1391964064":["hashtag1","hashtag2"]},{"1391964067":["hashtag1","hashtag2"]},{"1391964066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964069, 1391964071, 1391964062, 1391964064, 1391964067, 1391964066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.687883377075195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:18:22.696382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/59/image_30102025_13_59_15_2605.jpg', '/home/pi/Desktop/images/30102025/14/00/image_30102025_14_00_32_2564.jpg', '/home/pi/Desktop/images/30102025/14/00/image_30102025_14_00_53_3096.jpg', '/home/pi/Desktop/images/30102025/14/00/image_30102025_14_00_54_1875.jpg', '/home/pi/Desktop/images/30102025/14/00/image_30102025_14_00_59_1617.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_02_1593.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/59/image_30102025_13_59_15_2605.jpg
/home/pi/Desktop/images/30102025/14/00/image_30102025_14_00_32_2564.jpg
/home/pi/Desktop/images/30102025/14/00/image_30102025_14_00_53_3096.jpg
/home/pi/Desktop/images/30102025/14/00/image_30102025_14_00_54_1875.jpg
/home/pi/Desktop/images/30102025/14/00/image_30102025_14_00_59_1617.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_02_1593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964081","1391964078","1391964083","1391964080","1391964082","1391964079"],"photo_ids_order":["1391964078","1391964079","1391964080","1391964081","1391964082","1391964083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6e139a3b86b1de778fc7a9d289593664.jpg","text":"TemporaryFile(/tmp/multipartBody6016771948728457217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129165082,"filename":"image_30102025_14_00_54_1875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/420f1f285d570877a9e04b69dd647660.jpg","text":"TemporaryFile(/tmp/multipartBody5637311292158080730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129165082,"filename":"image_30102025_13_59_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/3/3967a7f5d04826bfb263f94cfa2e3ce4.jpg","text":"TemporaryFile(/tmp/multipartBody4124482175134378963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129165082,"filename":"image_30102025_14_01_02_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/3/01b312e21d613e50ed8b1c371b4a6ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2499013958011035863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129165082,"filename":"image_30102025_14_00_53_3096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7b41382d5f03e330aa76f7d590fdbbb0.jpg","text":"TemporaryFile(/tmp/multipartBody3414763023250750118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129165082,"filename":"image_30102025_14_00_59_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/3/a3cf8eb41ea1458ce97c4c09db6a4b85.jpg","text":"TemporaryFile(/tmp/multipartBody6358774607864931701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129165082,"filename":"image_30102025_14_00_32_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964080","file1":"1391964079","file0":"1391964078","file4":"1391964082","file5":"1391964083","file3":"1391964081"},"map_files_photo_id_array":[{"photo_id":"1391964083","filename":"file5"},{"photo_id":"1391964080","filename":"file2"},{"photo_id":"1391964082","filename":"file4"},{"photo_id":"1391964079","filename":"file1"},{"photo_id":"1391964078","filename":"file0"},{"photo_id":"1391964081","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964081":["hashtag1","hashtag2"]},{"1391964078":["hashtag1","hashtag2"]},{"1391964083":["hashtag1","hashtag2"]},{"1391964080":["hashtag1","hashtag2"]},{"1391964082":["hashtag1","hashtag2"]},{"1391964079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964081, 1391964078, 1391964083, 1391964080, 1391964082, 1391964079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.523699045181274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:19:02.710070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_04_1777.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_11_2835.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_14_2657.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_17_2689.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_20_3624.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_23_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/14/01/image_30102025_14_01_04_1777.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_11_2835.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_14_2657.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_17_2689.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_20_3624.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_23_2885.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964096","1391964095","1391964089","1391964091","1391964094","1391964093"],"photo_ids_order":["1391964089","1391964091","1391964093","1391964094","1391964095","1391964096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe5e211342c23ed5322cde63f2936550.jpg","text":"TemporaryFile(/tmp/multipartBody6793971788660204235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129204783,"filename":"image_30102025_14_01_23_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/3/01e36f64d5af9ef96f39c2253baace7e.jpg","text":"TemporaryFile(/tmp/multipartBody7676263863686566391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129204783,"filename":"image_30102025_14_01_20_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/3/b1f32486d8d5d7d2403a54844f99b38e.jpg","text":"TemporaryFile(/tmp/multipartBody3141891400157994089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129204783,"filename":"image_30102025_14_01_04_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d7147dd8712e3679236c94f059164853.jpg","text":"TemporaryFile(/tmp/multipartBody5683186083651047314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129204783,"filename":"image_30102025_14_01_11_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/3/5a143cba34561cd2fb556a0450709905.jpg","text":"TemporaryFile(/tmp/multipartBody7968480271375367849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129204783,"filename":"image_30102025_14_01_17_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/3/9f7c9cef452653bda53d07f2d8ae0faf.jpg","text":"TemporaryFile(/tmp/multipartBody1084189734175225302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129204783,"filename":"image_30102025_14_01_14_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964093","file1":"1391964091","file0":"1391964089","file4":"1391964095","file5":"1391964096","file3":"1391964094"},"map_files_photo_id_array":[{"photo_id":"1391964096","filename":"file5"},{"photo_id":"1391964093","filename":"file2"},{"photo_id":"1391964095","filename":"file4"},{"photo_id":"1391964091","filename":"file1"},{"photo_id":"1391964089","filename":"file0"},{"photo_id":"1391964094","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964096":["hashtag1","hashtag2"]},{"1391964095":["hashtag1","hashtag2"]},{"1391964089":["hashtag1","hashtag2"]},{"1391964091":["hashtag1","hashtag2"]},{"1391964094":["hashtag1","hashtag2"]},{"1391964093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964096, 1391964095, 1391964089, 1391964091, 1391964094, 1391964093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34886145591736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:19:41.901891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_09_2715.jpg', '/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_12_3826.jpg', '/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_15_2775.jpg', '/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_24_2680.jpg', '/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_27_2857.jpg', '/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_30_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_09_2715.jpg
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_12_3826.jpg
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_15_2775.jpg
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_24_2680.jpg
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_27_2857.jpg
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_30_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964111","1391964113","1391964106","1391964109","1391964100","1391964103"],"photo_ids_order":["1391964100","1391964103","1391964106","1391964109","1391964111","1391964113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d06ba076a5f95d0c4b30ffb3c8d7020d.jpg","text":"TemporaryFile(/tmp/multipartBody7326842933525332228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129243025,"filename":"image_31102025_00_16_27_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/3/ec1f2594af273a98ba649da282644601.jpg","text":"TemporaryFile(/tmp/multipartBody378280353325092422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129243025,"filename":"image_31102025_00_16_30_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/3/f6cd92437d074e5f8e9f99ad3f7dad63.jpg","text":"TemporaryFile(/tmp/multipartBody7857250839208460363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129243025,"filename":"image_31102025_00_16_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/3/8dc86c7256c36d597299e8815d7b528f.jpg","text":"TemporaryFile(/tmp/multipartBody5679109781014447923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129243025,"filename":"image_31102025_00_16_24_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/3/e44116212b2a282a0dacdf7ac76c66dc.jpg","text":"TemporaryFile(/tmp/multipartBody1673209632845389144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129243025,"filename":"image_31102025_00_16_09_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/3/1d329328a9bccb148fb20da0541581c7.jpg","text":"TemporaryFile(/tmp/multipartBody7226331608588027969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129243025,"filename":"image_31102025_00_16_12_3826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964106","file1":"1391964103","file0":"1391964100","file4":"1391964111","file5":"1391964113","file3":"1391964109"},"map_files_photo_id_array":[{"photo_id":"1391964113","filename":"file5"},{"photo_id":"1391964106","filename":"file2"},{"photo_id":"1391964111","filename":"file4"},{"photo_id":"1391964103","filename":"file1"},{"photo_id":"1391964100","filename":"file0"},{"photo_id":"1391964109","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964111":["hashtag1","hashtag2"]},{"1391964113":["hashtag1","hashtag2"]},{"1391964106":["hashtag1","hashtag2"]},{"1391964109":["hashtag1","hashtag2"]},{"1391964100":["hashtag1","hashtag2"]},{"1391964103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964111, 1391964113, 1391964106, 1391964109, 1391964100, 1391964103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96065640449524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:20:21.983498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_26_2587.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_29_3589.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_32_2591.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_35_2724.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_38_3647.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_41_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/14/01/image_30102025_14_01_26_2587.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_29_3589.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_32_2591.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_35_2724.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_38_3647.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_41_2697.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.32027530670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:20:42.012054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_44_2690.jpg', '/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_48_3695.jpg', '/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_51_2703.jpg', '/home/pi/Desktop/images/31102025/00/16/image_31102025_00_17_00_2693.jpg', '/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_03_2679.jpg', '/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_09_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_44_2690.jpg
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_48_3695.jpg
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_16_51_2703.jpg
/home/pi/Desktop/images/31102025/00/16/image_31102025_00_17_00_2693.jpg
/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_03_2679.jpg
/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_09_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964135","1391964129","1391964138","1391964131","1391964136","1391964133"],"photo_ids_order":["1391964129","1391964131","1391964133","1391964135","1391964136","1391964138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b7f6f14199b2d8a8aa2364f2f6c17fa7.jpg","text":"TemporaryFile(/tmp/multipartBody5255193541040418165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129303132,"filename":"image_31102025_00_17_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/3/9c29d1a93b8065f6a1a6e0ec6d1fe633.jpg","text":"TemporaryFile(/tmp/multipartBody4874557678200359474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129303132,"filename":"image_31102025_00_16_44_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/3/2dd7fcebb6abeb3e4a00a1a2d4a63013.jpg","text":"TemporaryFile(/tmp/multipartBody5922766151187844969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129303132,"filename":"image_31102025_00_17_09_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d646f57ee9c9efe24ff154035108609.jpg","text":"TemporaryFile(/tmp/multipartBody8950349007751050584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129303132,"filename":"image_31102025_00_16_48_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/3/9ddd295de4ec8ed3a574aeb58a4f7409.jpg","text":"TemporaryFile(/tmp/multipartBody2311055959992335395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129303132,"filename":"image_31102025_00_17_03_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/3/afbddb399714039206e33ca395dc04c2.jpg","text":"TemporaryFile(/tmp/multipartBody4937227671102093956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129303132,"filename":"image_31102025_00_16_51_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964133","file1":"1391964131","file0":"1391964129","file4":"1391964136","file5":"1391964138","file3":"1391964135"},"map_files_photo_id_array":[{"photo_id":"1391964138","filename":"file5"},{"photo_id":"1391964133","filename":"file2"},{"photo_id":"1391964136","filename":"file4"},{"photo_id":"1391964131","filename":"file1"},{"photo_id":"1391964129","filename":"file0"},{"photo_id":"1391964135","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964135":["hashtag1","hashtag2"]},{"1391964129":["hashtag1","hashtag2"]},{"1391964138":["hashtag1","hashtag2"]},{"1391964131":["hashtag1","hashtag2"]},{"1391964136":["hashtag1","hashtag2"]},{"1391964133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964135, 1391964129, 1391964138, 1391964131, 1391964136, 1391964133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84003448486328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:21:22.100927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_26_2587.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_29_3589.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_32_2591.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_35_2724.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_38_3647.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_41_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/14/01/image_30102025_14_01_26_2587.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_29_3589.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_32_2591.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_35_2724.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_38_3647.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_41_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964147","1391964144","1391964146","1391964149","1391964145","1391964148"],"photo_ids_order":["1391964144","1391964145","1391964146","1391964147","1391964148","1391964149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cd4d49a6c83e2ba966c8a24f64f0ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6172459176251110581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129344356,"filename":"image_30102025_14_01_35_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/58be075f6007e9fc7f13a537daf4610c.jpg","text":"TemporaryFile(/tmp/multipartBody7725385467023352358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129344356,"filename":"image_30102025_14_01_26_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/3/7e633b463077fbfa7c891a2e8ffc0dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7816528856386628559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129344356,"filename":"image_30102025_14_01_32_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/3/c210413855caf70c8afdd8227e4f3701.jpg","text":"TemporaryFile(/tmp/multipartBody5731550687516660006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129344356,"filename":"image_30102025_14_01_41_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/42739c5881c0ce96dd7a4c876c7e4ca0.jpg","text":"TemporaryFile(/tmp/multipartBody380087788582449157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129344356,"filename":"image_30102025_14_01_29_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/3/ff3a8ce36ddecde82f5731a4a6d9487b.jpg","text":"TemporaryFile(/tmp/multipartBody3257064562926676533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129344356,"filename":"image_30102025_14_01_38_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964146","file1":"1391964145","file0":"1391964144","file4":"1391964148","file5":"1391964149","file3":"1391964147"},"map_files_photo_id_array":[{"photo_id":"1391964149","filename":"file5"},{"photo_id":"1391964146","filename":"file2"},{"photo_id":"1391964148","filename":"file4"},{"photo_id":"1391964145","filename":"file1"},{"photo_id":"1391964144","filename":"file0"},{"photo_id":"1391964147","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964147":["hashtag1","hashtag2"]},{"1391964144":["hashtag1","hashtag2"]},{"1391964146":["hashtag1","hashtag2"]},{"1391964149":["hashtag1","hashtag2"]},{"1391964145":["hashtag1","hashtag2"]},{"1391964148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964147, 1391964144, 1391964146, 1391964149, 1391964145, 1391964148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93704700469971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:22:02.792584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 01:22:22.276636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_44_2617.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_47_3713.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_50_2735.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_53_3212.jpg', '/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_56_2685.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_02_6345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_44_2617.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_47_3713.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_50_2735.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_53_3212.jpg
/home/pi/Desktop/images/30102025/14/01/image_30102025_14_01_56_2685.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_02_6345.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964162","1391964161","1391964160","1391964163","1391964157","1391964159"],"photo_ids_order":["1391964157","1391964159","1391964160","1391964161","1391964162","1391964163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/99c8d84b71e2689bfe63ed8bb35028b1.jpg","text":"TemporaryFile(/tmp/multipartBody1168156189613439446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129404741,"filename":"image_30102025_14_01_56_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a3f6b2e14eb12a1b9d8f5c9e15d9b168.jpg","text":"TemporaryFile(/tmp/multipartBody4143903663786036368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129404741,"filename":"image_30102025_14_01_53_3212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/efecdf30acdfdb2a3b83a72aee29b486.jpg","text":"TemporaryFile(/tmp/multipartBody6540803696286626861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129404741,"filename":"image_30102025_14_01_50_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/3/65ebebdc47b758e5c878bdc089f6837b.jpg","text":"TemporaryFile(/tmp/multipartBody3357615199301538879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129404741,"filename":"image_30102025_14_02_02_6345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b549e4c251864d1e47db95d56f957c4.jpg","text":"TemporaryFile(/tmp/multipartBody3194216914177242527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129404741,"filename":"image_30102025_14_01_44_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5de8e5e45cbbbe9659a7b6af16e4d523.jpg","text":"TemporaryFile(/tmp/multipartBody3600997816969583346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129404741,"filename":"image_30102025_14_01_47_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964160","file1":"1391964159","file0":"1391964157","file4":"1391964162","file5":"1391964163","file3":"1391964161"},"map_files_photo_id_array":[{"photo_id":"1391964163","filename":"file5"},{"photo_id":"1391964160","filename":"file2"},{"photo_id":"1391964162","filename":"file4"},{"photo_id":"1391964159","filename":"file1"},{"photo_id":"1391964157","filename":"file0"},{"photo_id":"1391964161","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964162":["hashtag1","hashtag2"]},{"1391964161":["hashtag1","hashtag2"]},{"1391964160":["hashtag1","hashtag2"]},{"1391964163":["hashtag1","hashtag2"]},{"1391964157":["hashtag1","hashtag2"]},{"1391964159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964162, 1391964161, 1391964160, 1391964163, 1391964157, 1391964159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17263174057007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:23:03.171267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_04_1557.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_08_2716.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_11_2722.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_13_2640.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_17_3707.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_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/14/02/image_30102025_14_02_04_1557.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_08_2716.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_11_2722.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_13_2640.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_17_3707.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_20_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964168","1391964179","1391964173","1391964172","1391964175","1391964177"],"photo_ids_order":["1391964168","1391964172","1391964173","1391964175","1391964177","1391964179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/608f2849d08542d505468083dc6c4b49.jpg","text":"TemporaryFile(/tmp/multipartBody170500308544338015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129445362,"filename":"image_30102025_14_02_04_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/3/794e84f41c7e4991173f47e20d2f19e4.jpg","text":"TemporaryFile(/tmp/multipartBody4491749622718248447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129445362,"filename":"image_30102025_14_02_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/3/87527f6902447b33d744f92567cc17ae.jpg","text":"TemporaryFile(/tmp/multipartBody6022941767278120130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129445362,"filename":"image_30102025_14_02_11_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40015b28879b422c9465ebfcbc9c6554.jpg","text":"TemporaryFile(/tmp/multipartBody6604429702870214037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129445362,"filename":"image_30102025_14_02_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/3/9f35fe028350e286505d5dbfbab91324.jpg","text":"TemporaryFile(/tmp/multipartBody3835805444614036140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129445362,"filename":"image_30102025_14_02_13_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/3/eb4b5bb247741b0397bef72583e28399.jpg","text":"TemporaryFile(/tmp/multipartBody243908696923210814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129445362,"filename":"image_30102025_14_02_17_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964173","file1":"1391964172","file0":"1391964168","file4":"1391964177","file5":"1391964179","file3":"1391964175"},"map_files_photo_id_array":[{"photo_id":"1391964179","filename":"file5"},{"photo_id":"1391964173","filename":"file2"},{"photo_id":"1391964177","filename":"file4"},{"photo_id":"1391964172","filename":"file1"},{"photo_id":"1391964168","filename":"file0"},{"photo_id":"1391964175","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964168":["hashtag1","hashtag2"]},{"1391964179":["hashtag1","hashtag2"]},{"1391964173":["hashtag1","hashtag2"]},{"1391964172":["hashtag1","hashtag2"]},{"1391964175":["hashtag1","hashtag2"]},{"1391964177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964168, 1391964179, 1391964173, 1391964172, 1391964175, 1391964177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.608012199401855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:23:42.456108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_12_2760.jpg', '/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_15_2809.jpg', '/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_24_2704.jpg', '/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_30_3626.jpg', '/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_35_2762.jpg', '/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_45_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_12_2760.jpg
/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_15_2809.jpg
/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_24_2704.jpg
/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_30_3626.jpg
/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_35_2762.jpg
/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_45_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964194","1391964188","1391964197","1391964191","1391964193","1391964195"],"photo_ids_order":["1391964188","1391964191","1391964193","1391964194","1391964195","1391964197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/52687d830acb24af593b93d87c8d63b2.jpg","text":"TemporaryFile(/tmp/multipartBody4712080630762833861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129483618,"filename":"image_31102025_00_17_30_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/60749f05b2ebbcd2355b5a7576eb1537.jpg","text":"TemporaryFile(/tmp/multipartBody6919333624159732929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129483618,"filename":"image_31102025_00_17_12_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/3/f85b9d3ed8952037d3511987e85c57b3.jpg","text":"TemporaryFile(/tmp/multipartBody6975867686624256734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129483618,"filename":"image_31102025_00_17_45_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/3/02d8bfbbebf08b09b86168b8f82bc2ba.jpg","text":"TemporaryFile(/tmp/multipartBody3099862238070997864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129483618,"filename":"image_31102025_00_17_15_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/3/6d3f411cee071f212f9174b9e654a330.jpg","text":"TemporaryFile(/tmp/multipartBody6956759036049487406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129483618,"filename":"image_31102025_00_17_24_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/3/819d53030fce850f0f79105948b89e87.jpg","text":"TemporaryFile(/tmp/multipartBody8652161073592202548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129483618,"filename":"image_31102025_00_17_35_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964193","file1":"1391964191","file0":"1391964188","file4":"1391964195","file5":"1391964197","file3":"1391964194"},"map_files_photo_id_array":[{"photo_id":"1391964197","filename":"file5"},{"photo_id":"1391964193","filename":"file2"},{"photo_id":"1391964195","filename":"file4"},{"photo_id":"1391964191","filename":"file1"},{"photo_id":"1391964188","filename":"file0"},{"photo_id":"1391964194","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964194":["hashtag1","hashtag2"]},{"1391964188":["hashtag1","hashtag2"]},{"1391964197":["hashtag1","hashtag2"]},{"1391964191":["hashtag1","hashtag2"]},{"1391964193":["hashtag1","hashtag2"]},{"1391964195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964194, 1391964188, 1391964197, 1391964191, 1391964193, 1391964195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67069959640503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:24:22.650460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_32_2768.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_35_3611.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_41_2785.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_43_2789.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_47_3686.jpg', '/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_50_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_32_2768.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_35_3611.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_41_2785.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_43_2789.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_47_3686.jpg
/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_50_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964204","1391964207","1391964206","1391964203","1391964205","1391964208"],"photo_ids_order":["1391964203","1391964204","1391964205","1391964206","1391964207","1391964208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01110e0a27d0464dfc4476f36c55a327.jpg","text":"TemporaryFile(/tmp/multipartBody8581659764791740949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129525080,"filename":"image_30102025_14_02_35_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/3/6f711765347dc1f214ca6d5f45cca6d7.jpg","text":"TemporaryFile(/tmp/multipartBody5448962245537828631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129525080,"filename":"image_30102025_14_02_47_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6dffbb915b688fd8432c0978d88adaf7.jpg","text":"TemporaryFile(/tmp/multipartBody3522445832171599894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129525080,"filename":"image_30102025_14_02_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/3/67ca646894c4ddf471d82b5b92e28357.jpg","text":"TemporaryFile(/tmp/multipartBody5384655190541146576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129525080,"filename":"image_30102025_14_02_32_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6971a79af5857c4ee930b43127e723b9.jpg","text":"TemporaryFile(/tmp/multipartBody4707561356755145045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129525080,"filename":"image_30102025_14_02_41_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/3/6eaa4f8d4f56db69b421c2fa1a1f47ce.jpg","text":"TemporaryFile(/tmp/multipartBody6706345753214268811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129525080,"filename":"image_30102025_14_02_50_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964205","file1":"1391964204","file0":"1391964203","file4":"1391964207","file5":"1391964208","file3":"1391964206"},"map_files_photo_id_array":[{"photo_id":"1391964208","filename":"file5"},{"photo_id":"1391964205","filename":"file2"},{"photo_id":"1391964207","filename":"file4"},{"photo_id":"1391964204","filename":"file1"},{"photo_id":"1391964203","filename":"file0"},{"photo_id":"1391964206","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964204":["hashtag1","hashtag2"]},{"1391964207":["hashtag1","hashtag2"]},{"1391964206":["hashtag1","hashtag2"]},{"1391964203":["hashtag1","hashtag2"]},{"1391964205":["hashtag1","hashtag2"]},{"1391964208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964204, 1391964207, 1391964206, 1391964203, 1391964205, 1391964208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12411022186279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:25:05.074738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/02/image_30102025_14_02_56_3865.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_04_2774.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_11_2676.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_14_3637.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_17_2631.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_20_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/14/02/image_30102025_14_02_56_3865.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_04_2774.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_11_2676.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_14_3637.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_17_2631.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_20_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964225","1391964213","1391964215","1391964223","1391964217","1391964220"],"photo_ids_order":["1391964213","1391964215","1391964217","1391964220","1391964223","1391964225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d5be96e79165742f6aeaf062ba7fa537.jpg","text":"TemporaryFile(/tmp/multipartBody3885632366333388378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129566986,"filename":"image_30102025_14_03_20_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/3/62f589938de406936a80ceec618093b6.jpg","text":"TemporaryFile(/tmp/multipartBody7743872733823892295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129566986,"filename":"image_30102025_14_02_56_3865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3fab44454c6b1d38f9bf9997f1cec426.jpg","text":"TemporaryFile(/tmp/multipartBody7228528471604957981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129566986,"filename":"image_30102025_14_03_04_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/42947a4db04916ccec185aaa50a2641b.jpg","text":"TemporaryFile(/tmp/multipartBody7871013492201366964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129566986,"filename":"image_30102025_14_03_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/3/455a80453363bb4fb1d891674e487fc1.jpg","text":"TemporaryFile(/tmp/multipartBody388354425227850767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129566986,"filename":"image_30102025_14_03_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/3/4d782a42bc9fa4f5902ca0212094cdd8.jpg","text":"TemporaryFile(/tmp/multipartBody8863840032236639960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129566986,"filename":"image_30102025_14_03_14_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964217","file1":"1391964215","file0":"1391964213","file4":"1391964223","file5":"1391964225","file3":"1391964220"},"map_files_photo_id_array":[{"photo_id":"1391964225","filename":"file5"},{"photo_id":"1391964217","filename":"file2"},{"photo_id":"1391964223","filename":"file4"},{"photo_id":"1391964215","filename":"file1"},{"photo_id":"1391964213","filename":"file0"},{"photo_id":"1391964220","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964225":["hashtag1","hashtag2"]},{"1391964213":["hashtag1","hashtag2"]},{"1391964215":["hashtag1","hashtag2"]},{"1391964223":["hashtag1","hashtag2"]},{"1391964217":["hashtag1","hashtag2"]},{"1391964220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964225, 1391964213, 1391964215, 1391964223, 1391964217, 1391964220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41939449310303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:25:44.414926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_48_3648.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_03_2801.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_09_3610.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_12_2699.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_18_3727.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_21_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/17/image_31102025_00_17_48_3648.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_03_2801.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_09_3610.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_12_2699.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_18_3727.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_21_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964234","1391964239","1391964230","1391964236","1391964232","1391964229"],"photo_ids_order":["1391964229","1391964230","1391964232","1391964234","1391964236","1391964239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/72da892716c5f8415c0a35f4f1cf46b7.jpg","text":"TemporaryFile(/tmp/multipartBody9186119758021097210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129605528,"filename":"image_31102025_00_18_12_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6dd71ab8e85c09dd9a4641592d386daf.jpg","text":"TemporaryFile(/tmp/multipartBody534890644963433797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129605528,"filename":"image_31102025_00_18_21_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f69d6755d83a3248daa9da2ed687c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7610497880496467453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129605528,"filename":"image_31102025_00_18_03_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/3/384d0055039583c3c692bd81af62efd5.jpg","text":"TemporaryFile(/tmp/multipartBody7380626542841603009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129605528,"filename":"image_31102025_00_18_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/3/0c81ee447db0d39c4c044e77d870616e.jpg","text":"TemporaryFile(/tmp/multipartBody5291410097921176640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129605528,"filename":"image_31102025_00_18_09_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/3/1686457de6ed2cc15c9b765ede780e2b.jpg","text":"TemporaryFile(/tmp/multipartBody7423338291902252796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129605528,"filename":"image_31102025_00_17_48_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964232","file1":"1391964230","file0":"1391964229","file4":"1391964236","file5":"1391964239","file3":"1391964234"},"map_files_photo_id_array":[{"photo_id":"1391964239","filename":"file5"},{"photo_id":"1391964232","filename":"file2"},{"photo_id":"1391964236","filename":"file4"},{"photo_id":"1391964230","filename":"file1"},{"photo_id":"1391964229","filename":"file0"},{"photo_id":"1391964234","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964234":["hashtag1","hashtag2"]},{"1391964239":["hashtag1","hashtag2"]},{"1391964230":["hashtag1","hashtag2"]},{"1391964236":["hashtag1","hashtag2"]},{"1391964232":["hashtag1","hashtag2"]},{"1391964229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964234, 1391964239, 1391964230, 1391964236, 1391964232, 1391964229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63120627403259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:26:22.541339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_22_2643.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_26_3523.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_32_3662.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_37_2571.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_41_3618.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_44_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/14/03/image_30102025_14_03_22_2643.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_26_3523.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_32_3662.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_37_2571.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_41_3618.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_44_2723.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3222885131835938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:26:42.584310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_24_2619.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_27_2980.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_30_3603.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_33_2634.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_48_3696.jpg', '/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_54_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_24_2619.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_27_2980.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_30_3603.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_33_2634.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_48_3696.jpg
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_54_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964252","1391964255","1391964257","1391964254","1391964256","1391964259"],"photo_ids_order":["1391964252","1391964254","1391964255","1391964256","1391964257","1391964259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3b10d4dbdd8003a48c194b30ce4d973.jpg","text":"TemporaryFile(/tmp/multipartBody6128860381908182072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129665189,"filename":"image_31102025_00_18_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/3/9fa78316c1c10d28d843ef564f0e630b.jpg","text":"TemporaryFile(/tmp/multipartBody5504886006480549444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129665189,"filename":"image_31102025_00_18_30_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/3/08742283cf77f62e5d96e697833e265e.jpg","text":"TemporaryFile(/tmp/multipartBody8140997849874587041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129665189,"filename":"image_31102025_00_18_48_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/3/14f63276adace0de5dbedf81c8527146.jpg","text":"TemporaryFile(/tmp/multipartBody8794122310030417215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129665189,"filename":"image_31102025_00_18_27_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/3/0e893fd28a25174ca36b0fba7e2867fe.jpg","text":"TemporaryFile(/tmp/multipartBody9067099812558058442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129665189,"filename":"image_31102025_00_18_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/3/4df248f5e0a4571001d602e32b3701e8.jpg","text":"TemporaryFile(/tmp/multipartBody8312654119079557867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129665189,"filename":"image_31102025_00_18_54_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964255","file1":"1391964254","file0":"1391964252","file4":"1391964257","file5":"1391964259","file3":"1391964256"},"map_files_photo_id_array":[{"photo_id":"1391964259","filename":"file5"},{"photo_id":"1391964255","filename":"file2"},{"photo_id":"1391964257","filename":"file4"},{"photo_id":"1391964254","filename":"file1"},{"photo_id":"1391964252","filename":"file0"},{"photo_id":"1391964256","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964252":["hashtag1","hashtag2"]},{"1391964255":["hashtag1","hashtag2"]},{"1391964257":["hashtag1","hashtag2"]},{"1391964254":["hashtag1","hashtag2"]},{"1391964256":["hashtag1","hashtag2"]},{"1391964259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964252, 1391964255, 1391964257, 1391964254, 1391964256, 1391964259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.445170164108276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:27:22.874806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_22_2643.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_26_3523.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_32_3662.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_37_2571.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_41_3618.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_44_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/14/03/image_30102025_14_03_22_2643.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_26_3523.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_32_3662.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_37_2571.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_41_3618.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_44_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964272","1391964274","1391964268","1391964265","1391964276","1391964270"],"photo_ids_order":["1391964265","1391964268","1391964270","1391964272","1391964274","1391964276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae865b425c412aae65cb8913cf365b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7636328882279488693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129705130,"filename":"image_30102025_14_03_37_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/3/5925633a749d5af3cbfab32669f7c888.jpg","text":"TemporaryFile(/tmp/multipartBody7661239730868502816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129705130,"filename":"image_30102025_14_03_41_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/3/dc5c2be8c7c563a86cbc8794bd1a12c1.jpg","text":"TemporaryFile(/tmp/multipartBody5806602276474770605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129705130,"filename":"image_30102025_14_03_26_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/3/13e44fae027f144cd00f06ed4b5fb65f.jpg","text":"TemporaryFile(/tmp/multipartBody5786593539868987705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129705130,"filename":"image_30102025_14_03_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/3/ede227893af9609da75ad91031936ec3.jpg","text":"TemporaryFile(/tmp/multipartBody1958252029647709217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129705130,"filename":"image_30102025_14_03_44_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d75eb47a114013085557296e3f2cf26.jpg","text":"TemporaryFile(/tmp/multipartBody3904504744727935671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129705130,"filename":"image_30102025_14_03_32_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964270","file1":"1391964268","file0":"1391964265","file4":"1391964274","file5":"1391964276","file3":"1391964272"},"map_files_photo_id_array":[{"photo_id":"1391964276","filename":"file5"},{"photo_id":"1391964270","filename":"file2"},{"photo_id":"1391964274","filename":"file4"},{"photo_id":"1391964268","filename":"file1"},{"photo_id":"1391964265","filename":"file0"},{"photo_id":"1391964272","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964272":["hashtag1","hashtag2"]},{"1391964274":["hashtag1","hashtag2"]},{"1391964268":["hashtag1","hashtag2"]},{"1391964265":["hashtag1","hashtag2"]},{"1391964276":["hashtag1","hashtag2"]},{"1391964270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964272, 1391964274, 1391964268, 1391964265, 1391964276, 1391964270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93410015106201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:28:02.636032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_46_2744.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_50_3760.jpg', '/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_56_2727.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_02_2672.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_04_2683.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_17_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/14/03/image_30102025_14_03_46_2744.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_50_3760.jpg
/home/pi/Desktop/images/30102025/14/03/image_30102025_14_03_56_2727.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_02_2672.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_04_2683.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_17_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964281","1391964278","1391964280","1391964283","1391964285","1391964279"],"photo_ids_order":["1391964278","1391964279","1391964280","1391964281","1391964283","1391964285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/629da29a719b0c7f1cdb83f2780d8a86.jpg","text":"TemporaryFile(/tmp/multipartBody2533974184107896564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129744471,"filename":"image_30102025_14_04_02_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f578d503e572b1c279882c75371818fe.jpg","text":"TemporaryFile(/tmp/multipartBody1191287798387959831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129744471,"filename":"image_30102025_14_03_46_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/3/995c57adf1cf5af1a876468248d7e30a.jpg","text":"TemporaryFile(/tmp/multipartBody857774333596503934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129744471,"filename":"image_30102025_14_03_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/3/15e98e57b42f18f6ee58188a07cdc55b.jpg","text":"TemporaryFile(/tmp/multipartBody8074898479958218306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129744471,"filename":"image_30102025_14_04_04_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/3/0e5c3acba92c701d5737a159a656b73f.jpg","text":"TemporaryFile(/tmp/multipartBody4499775223416913745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129744471,"filename":"image_30102025_14_04_17_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/3/951a510baf3cb8c6da5088efdff59e9c.jpg","text":"TemporaryFile(/tmp/multipartBody8208613783855820507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129744471,"filename":"image_30102025_14_03_50_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964280","file1":"1391964279","file0":"1391964278","file4":"1391964283","file5":"1391964285","file3":"1391964281"},"map_files_photo_id_array":[{"photo_id":"1391964285","filename":"file5"},{"photo_id":"1391964280","filename":"file2"},{"photo_id":"1391964283","filename":"file4"},{"photo_id":"1391964279","filename":"file1"},{"photo_id":"1391964278","filename":"file0"},{"photo_id":"1391964281","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964281":["hashtag1","hashtag2"]},{"1391964278":["hashtag1","hashtag2"]},{"1391964280":["hashtag1","hashtag2"]},{"1391964283":["hashtag1","hashtag2"]},{"1391964285":["hashtag1","hashtag2"]},{"1391964279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964281, 1391964278, 1391964280, 1391964283, 1391964285, 1391964279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18848776817322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:28:42.105608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_57_2572.jpg', '/home/pi/Desktop/images/31102025/00/19/image_31102025_00_19_36_2745.jpg', '/home/pi/Desktop/images/31102025/00/19/image_31102025_00_19_39_2699.jpg', '/home/pi/Desktop/images/31102025/00/19/image_31102025_00_19_41_2611.jpg', '/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_12_2704.jpg', '/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_14_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/18/image_31102025_00_18_57_2572.jpg
/home/pi/Desktop/images/31102025/00/19/image_31102025_00_19_36_2745.jpg
/home/pi/Desktop/images/31102025/00/19/image_31102025_00_19_39_2699.jpg
/home/pi/Desktop/images/31102025/00/19/image_31102025_00_19_41_2611.jpg
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_12_2704.jpg
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_14_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964288","1391964287","1391964296","1391964290","1391964292","1391964294"],"photo_ids_order":["1391964287","1391964288","1391964290","1391964292","1391964294","1391964296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/67c5c0b4f219c286433bc49c81f4d5a6.jpg","text":"TemporaryFile(/tmp/multipartBody4442905354152606920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129783222,"filename":"image_31102025_00_19_36_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/3/9a4f4150985ab9392f89150572a07e36.jpg","text":"TemporaryFile(/tmp/multipartBody8578301915537706328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129783222,"filename":"image_31102025_00_18_57_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/3/1edfd5ef6b383c396156a2158c49653a.jpg","text":"TemporaryFile(/tmp/multipartBody249235512310660525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129783222,"filename":"image_31102025_00_20_14_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/3/5bdb2374e23919c8caf3b9e1cfd0d042.jpg","text":"TemporaryFile(/tmp/multipartBody1868134721279418918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129783222,"filename":"image_31102025_00_19_39_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2fba7d49304bfa40cd97d7a656ed5ee9.jpg","text":"TemporaryFile(/tmp/multipartBody4942606585822592164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129783222,"filename":"image_31102025_00_19_41_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/3/5bece2487d5eed48a9d5b3a7ed2896d6.jpg","text":"TemporaryFile(/tmp/multipartBody3282750287941202348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129783222,"filename":"image_31102025_00_20_12_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964290","file1":"1391964288","file0":"1391964287","file4":"1391964294","file5":"1391964296","file3":"1391964292"},"map_files_photo_id_array":[{"photo_id":"1391964296","filename":"file5"},{"photo_id":"1391964290","filename":"file2"},{"photo_id":"1391964294","filename":"file4"},{"photo_id":"1391964288","filename":"file1"},{"photo_id":"1391964287","filename":"file0"},{"photo_id":"1391964292","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964288":["hashtag1","hashtag2"]},{"1391964287":["hashtag1","hashtag2"]},{"1391964296":["hashtag1","hashtag2"]},{"1391964290":["hashtag1","hashtag2"]},{"1391964292":["hashtag1","hashtag2"]},{"1391964294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964288, 1391964287, 1391964296, 1391964290, 1391964292, 1391964294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07263398170471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:29:22.362337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_20_2676.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_23_2826.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_25_2784.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_29_3646.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_37_2689.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_41_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_20_2676.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_23_2826.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_25_2784.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_29_3646.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_37_2689.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_41_3728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964309","1391964303","1391964311","1391964305","1391964307","1391964301"],"photo_ids_order":["1391964301","1391964303","1391964305","1391964307","1391964309","1391964311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cda4ed2a76b3308ea35db86dbc1206b1.jpg","text":"TemporaryFile(/tmp/multipartBody119122127374120712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129824757,"filename":"image_30102025_14_04_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/3/43909b57c94b3e1fe9499a2284396e19.jpg","text":"TemporaryFile(/tmp/multipartBody1349104311400031549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129824757,"filename":"image_30102025_14_04_23_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/3/fbf9a60d4d1d482e5365b96b13afe924.jpg","text":"TemporaryFile(/tmp/multipartBody7657166378171523057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129824757,"filename":"image_30102025_14_04_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/3/240af1cf08e9e260ac8904394b2b82b0.jpg","text":"TemporaryFile(/tmp/multipartBody2022555347264285350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129824757,"filename":"image_30102025_14_04_25_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/3/6d107b1898f33ccaeb95f27b8d08aad4.jpg","text":"TemporaryFile(/tmp/multipartBody1213150292591113298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129824757,"filename":"image_30102025_14_04_29_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/3/5dfa913e06f284ecb2ee5982e6dd7265.jpg","text":"TemporaryFile(/tmp/multipartBody2163625322740394497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129824757,"filename":"image_30102025_14_04_20_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964305","file1":"1391964303","file0":"1391964301","file4":"1391964309","file5":"1391964311","file3":"1391964307"},"map_files_photo_id_array":[{"photo_id":"1391964311","filename":"file5"},{"photo_id":"1391964305","filename":"file2"},{"photo_id":"1391964309","filename":"file4"},{"photo_id":"1391964303","filename":"file1"},{"photo_id":"1391964301","filename":"file0"},{"photo_id":"1391964307","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964309":["hashtag1","hashtag2"]},{"1391964303":["hashtag1","hashtag2"]},{"1391964311":["hashtag1","hashtag2"]},{"1391964305":["hashtag1","hashtag2"]},{"1391964307":["hashtag1","hashtag2"]},{"1391964301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964309, 1391964303, 1391964311, 1391964305, 1391964307, 1391964301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88790035247803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:30:03.089334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_46_2699.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_50_3754.jpg', '/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_59_2633.jpg', '/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_11_3776.jpg', '/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_14_2605.jpg', '/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_16_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/14/04/image_30102025_14_04_46_2699.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_50_3754.jpg
/home/pi/Desktop/images/30102025/14/04/image_30102025_14_04_59_2633.jpg
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_11_3776.jpg
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_14_2605.jpg
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_16_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964321","1391964324","1391964323","1391964326","1391964325","1391964319"],"photo_ids_order":["1391964319","1391964321","1391964323","1391964324","1391964325","1391964326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fc99e30d9f47ab4043a6d92d1863e53e.jpg","text":"TemporaryFile(/tmp/multipartBody967956922105938370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129866542,"filename":"image_30102025_14_04_50_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/3/907d8d980a2341ca4535e71da6cdb82f.jpg","text":"TemporaryFile(/tmp/multipartBody4570248715907674697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129866542,"filename":"image_30102025_14_05_11_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/3/7f438d5ef70a89d8bdcdbe73ac43a4c7.jpg","text":"TemporaryFile(/tmp/multipartBody7102538614965612245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129866542,"filename":"image_30102025_14_04_59_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/3/f023ac308da9b289cb6cd30090172c28.jpg","text":"TemporaryFile(/tmp/multipartBody2188353375707659150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129866542,"filename":"image_30102025_14_05_16_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/3/a3336190abbadd9175b2ce27e69274ad.jpg","text":"TemporaryFile(/tmp/multipartBody6359697225743296889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129866542,"filename":"image_30102025_14_05_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/3/656a01032b6385bc88e81785ecdcfac6.jpg","text":"TemporaryFile(/tmp/multipartBody1865650044474280140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129866542,"filename":"image_30102025_14_04_46_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964323","file1":"1391964321","file0":"1391964319","file4":"1391964325","file5":"1391964326","file3":"1391964324"},"map_files_photo_id_array":[{"photo_id":"1391964326","filename":"file5"},{"photo_id":"1391964323","filename":"file2"},{"photo_id":"1391964325","filename":"file4"},{"photo_id":"1391964321","filename":"file1"},{"photo_id":"1391964319","filename":"file0"},{"photo_id":"1391964324","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964321":["hashtag1","hashtag2"]},{"1391964324":["hashtag1","hashtag2"]},{"1391964323":["hashtag1","hashtag2"]},{"1391964326":["hashtag1","hashtag2"]},{"1391964325":["hashtag1","hashtag2"]},{"1391964319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964321, 1391964324, 1391964323, 1391964326, 1391964325, 1391964319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52445101737976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:30:42.602493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_18_3731.jpg', '/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_21_2558.jpg', '/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_23_2735.jpg', '/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_33_2671.jpg', '/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_35_2665.jpg', '/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_38_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_18_3731.jpg
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_21_2558.jpg
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_23_2735.jpg
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_33_2671.jpg
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_35_2665.jpg
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_38_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964330","1391964333","1391964336","1391964332","1391964334","1391964331"],"photo_ids_order":["1391964330","1391964331","1391964332","1391964333","1391964334","1391964336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c20db887dad9cc4f929d8077243ddd18.jpg","text":"TemporaryFile(/tmp/multipartBody3315356420206773025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129904310,"filename":"image_31102025_00_20_18_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/3/041e812f500f75ea0a77bb829f88b21c.jpg","text":"TemporaryFile(/tmp/multipartBody9115773247213668052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129904310,"filename":"image_31102025_00_20_33_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/3/cdae433ba06dbb56364b04157915aff5.jpg","text":"TemporaryFile(/tmp/multipartBody2764185661648691964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129904310,"filename":"image_31102025_00_20_38_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/3/3b5049fab41422d6b45a0fa09b9a8cde.jpg","text":"TemporaryFile(/tmp/multipartBody3035417901965588993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129904310,"filename":"image_31102025_00_20_23_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b9119bb29ca7d2e88aadd63f222e858a.jpg","text":"TemporaryFile(/tmp/multipartBody7998837571788653892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129904310,"filename":"image_31102025_00_20_35_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/3/6d17de9cfa15e762754ca22ce886a5db.jpg","text":"TemporaryFile(/tmp/multipartBody8600329102447136113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129904310,"filename":"image_31102025_00_20_21_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964332","file1":"1391964331","file0":"1391964330","file4":"1391964334","file5":"1391964336","file3":"1391964333"},"map_files_photo_id_array":[{"photo_id":"1391964336","filename":"file5"},{"photo_id":"1391964332","filename":"file2"},{"photo_id":"1391964334","filename":"file4"},{"photo_id":"1391964331","filename":"file1"},{"photo_id":"1391964330","filename":"file0"},{"photo_id":"1391964333","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964330":["hashtag1","hashtag2"]},{"1391964333":["hashtag1","hashtag2"]},{"1391964336":["hashtag1","hashtag2"]},{"1391964332":["hashtag1","hashtag2"]},{"1391964334":["hashtag1","hashtag2"]},{"1391964331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964330, 1391964333, 1391964336, 1391964332, 1391964334, 1391964331)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.34679365158081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:31:42.409538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_47_2656.jpg', '/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_51_3771.jpg', '/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_57_3327.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_08_2782.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_12_3768.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_14_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_47_2656.jpg
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_51_3771.jpg
/home/pi/Desktop/images/31102025/00/20/image_31102025_00_20_57_3327.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_08_2782.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_12_3768.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_14_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964342","1391964350","1391964344","1391964347","1391964352","1391964349"],"photo_ids_order":["1391964342","1391964344","1391964347","1391964349","1391964350","1391964352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe4221100f2d3503aa3d1cbbdd5e343f.jpg","text":"TemporaryFile(/tmp/multipartBody7522035153507989371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129963547,"filename":"image_31102025_00_20_47_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5ac00cf40d5b8d9fdd9cc9e1c637bca3.jpg","text":"TemporaryFile(/tmp/multipartBody2992246639906672575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129963547,"filename":"image_31102025_00_21_12_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/3/a04a962b101b944fb19752acc15f00f4.jpg","text":"TemporaryFile(/tmp/multipartBody4678995629985449838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129963547,"filename":"image_31102025_00_20_51_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/3/7ee59b1edfd31d4e758507c3dcf960eb.jpg","text":"TemporaryFile(/tmp/multipartBody9180979711474539982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129963547,"filename":"image_31102025_00_20_57_3327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e048b33f77c3108118a4f470ca0d99a.jpg","text":"TemporaryFile(/tmp/multipartBody567496158597586645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129963547,"filename":"image_31102025_00_21_14_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/3/d9e1655d36ec804c5527b07a2477fc74.jpg","text":"TemporaryFile(/tmp/multipartBody1890020429388064347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762129963547,"filename":"image_31102025_00_21_08_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964347","file1":"1391964344","file0":"1391964342","file4":"1391964350","file5":"1391964352","file3":"1391964349"},"map_files_photo_id_array":[{"photo_id":"1391964352","filename":"file5"},{"photo_id":"1391964347","filename":"file2"},{"photo_id":"1391964350","filename":"file4"},{"photo_id":"1391964344","filename":"file1"},{"photo_id":"1391964342","filename":"file0"},{"photo_id":"1391964349","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964342":["hashtag1","hashtag2"]},{"1391964350":["hashtag1","hashtag2"]},{"1391964344":["hashtag1","hashtag2"]},{"1391964347":["hashtag1","hashtag2"]},{"1391964352":["hashtag1","hashtag2"]},{"1391964349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964342, 1391964350, 1391964344, 1391964347, 1391964352, 1391964349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24024438858032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:32:22.546832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_20_3688.jpg', '/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_41_2682.jpg', '/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_44_2797.jpg', '/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_46_2656.jpg', '/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_50_3691.jpg', '/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_53_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_20_3688.jpg
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_41_2682.jpg
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_44_2797.jpg
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_46_2656.jpg
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_50_3691.jpg
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_53_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964368","1391964362","1391964356","1391964371","1391964365","1391964359"],"photo_ids_order":["1391964356","1391964359","1391964362","1391964365","1391964368","1391964371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7312b1edcc98962c6956574747fd8880.jpg","text":"TemporaryFile(/tmp/multipartBody4092418649600411314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130004939,"filename":"image_30102025_14_05_50_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d9cccd90204a23f343cdd9c3bca70afc.jpg","text":"TemporaryFile(/tmp/multipartBody5427248087742346647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130004939,"filename":"image_30102025_14_05_44_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/3/513068046bef853ecd2e641bbef6cad2.jpg","text":"TemporaryFile(/tmp/multipartBody4550208021247127683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130004939,"filename":"image_30102025_14_05_20_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/3/2c75ae1dba48f432a93e357c12bdd556.jpg","text":"TemporaryFile(/tmp/multipartBody1832527441144251032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130004939,"filename":"image_30102025_14_05_53_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/3/c382a4683dadcb45a00f02c9d0a818e1.jpg","text":"TemporaryFile(/tmp/multipartBody1856128873475218121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130004939,"filename":"image_30102025_14_05_46_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/3/ec727cad63070ba9932532ecf0d0f26e.jpg","text":"TemporaryFile(/tmp/multipartBody9220708529514678137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130004939,"filename":"image_30102025_14_05_41_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964362","file1":"1391964359","file0":"1391964356","file4":"1391964368","file5":"1391964371","file3":"1391964365"},"map_files_photo_id_array":[{"photo_id":"1391964371","filename":"file5"},{"photo_id":"1391964362","filename":"file2"},{"photo_id":"1391964368","filename":"file4"},{"photo_id":"1391964359","filename":"file1"},{"photo_id":"1391964356","filename":"file0"},{"photo_id":"1391964365","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964368":["hashtag1","hashtag2"]},{"1391964362":["hashtag1","hashtag2"]},{"1391964356":["hashtag1","hashtag2"]},{"1391964371":["hashtag1","hashtag2"]},{"1391964365":["hashtag1","hashtag2"]},{"1391964359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964368, 1391964362, 1391964356, 1391964371, 1391964365, 1391964359)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.90670657157898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:33:24.901891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_55_2604.jpg', '/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_59_3634.jpg', '/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_04_2724.jpg', '/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_07_2753.jpg', '/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_10_2887.jpg', '/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_37_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/14/05/image_30102025_14_05_55_2604.jpg
/home/pi/Desktop/images/30102025/14/05/image_30102025_14_05_59_3634.jpg
/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_04_2724.jpg
/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_07_2753.jpg
/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_10_2887.jpg
/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_37_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964387","1391964386","1391964389","1391964391","1391964393","1391964390"],"photo_ids_order":["1391964386","1391964387","1391964389","1391964390","1391964391","1391964393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8ec688cdf0d5f381e0494431769bb12e.jpg","text":"TemporaryFile(/tmp/multipartBody8168102295192696735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130067126,"filename":"image_30102025_14_05_59_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/3/83d5c218795acdca74f1e7e4f883933c.jpg","text":"TemporaryFile(/tmp/multipartBody5858655568241102093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130067126,"filename":"image_30102025_14_05_55_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/3/7001129c937439ad8f084065686ace1f.jpg","text":"TemporaryFile(/tmp/multipartBody7979047112254378920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130067126,"filename":"image_30102025_14_06_04_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/3/3657eaa69def4f7d9679ea971d7dd4af.jpg","text":"TemporaryFile(/tmp/multipartBody4304059680645359451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130067126,"filename":"image_30102025_14_06_10_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/3/a646c2d2ee831b23beb0c3561e6777df.jpg","text":"TemporaryFile(/tmp/multipartBody2658752622996998151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130067126,"filename":"image_30102025_14_06_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/3/7fb75bd853fd4355ec53293d1772ca31.jpg","text":"TemporaryFile(/tmp/multipartBody5720641481564907631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130067126,"filename":"image_30102025_14_06_07_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964389","file1":"1391964387","file0":"1391964386","file4":"1391964391","file5":"1391964393","file3":"1391964390"},"map_files_photo_id_array":[{"photo_id":"1391964393","filename":"file5"},{"photo_id":"1391964389","filename":"file2"},{"photo_id":"1391964391","filename":"file4"},{"photo_id":"1391964387","filename":"file1"},{"photo_id":"1391964386","filename":"file0"},{"photo_id":"1391964390","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964387":["hashtag1","hashtag2"]},{"1391964386":["hashtag1","hashtag2"]},{"1391964389":["hashtag1","hashtag2"]},{"1391964391":["hashtag1","hashtag2"]},{"1391964393":["hashtag1","hashtag2"]},{"1391964390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964387, 1391964386, 1391964389, 1391964391, 1391964393, 1391964390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.551090478897095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:34:02.714060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_41_3701.jpg', '/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_43_2613.jpg', '/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_50_2843.jpg', '/home/pi/Desktop/images/30102025/14/07/image_30102025_14_07_52_2642.jpg', '/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_07_2666.jpg', '/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_10_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/14/06/image_30102025_14_06_41_3701.jpg
/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_43_2613.jpg
/home/pi/Desktop/images/30102025/14/06/image_30102025_14_06_50_2843.jpg
/home/pi/Desktop/images/30102025/14/07/image_30102025_14_07_52_2642.jpg
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_07_2666.jpg
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_10_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964395","1391964398","1391964397","1391964401","1391964403","1391964396"],"photo_ids_order":["1391964395","1391964396","1391964397","1391964398","1391964401","1391964403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f050c87112c7eb37ca081b976ad35ff.jpg","text":"TemporaryFile(/tmp/multipartBody5214981866825963359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130104670,"filename":"image_30102025_14_06_41_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/3/d7a9722335a3e320a207a91a3ff399bd.jpg","text":"TemporaryFile(/tmp/multipartBody4699990580933302615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130104670,"filename":"image_30102025_14_07_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/3/06965751dfc076126f4bb97c0a81c20d.jpg","text":"TemporaryFile(/tmp/multipartBody6974834276941109489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130104670,"filename":"image_30102025_14_06_50_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/3/3ec3aaddb2bb4e91ec4bdc16b060081e.jpg","text":"TemporaryFile(/tmp/multipartBody3087892073008690883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130104670,"filename":"image_30102025_14_08_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/3/769b259bd4dc44a6108052bd999e6054.jpg","text":"TemporaryFile(/tmp/multipartBody1055135608565120832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130104670,"filename":"image_30102025_14_08_10_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/3/26e986593a3a5ad5242e45d6c4cb8a03.jpg","text":"TemporaryFile(/tmp/multipartBody6836076884862301528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130104670,"filename":"image_30102025_14_06_43_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964397","file1":"1391964396","file0":"1391964395","file4":"1391964401","file5":"1391964403","file3":"1391964398"},"map_files_photo_id_array":[{"photo_id":"1391964403","filename":"file5"},{"photo_id":"1391964397","filename":"file2"},{"photo_id":"1391964401","filename":"file4"},{"photo_id":"1391964396","filename":"file1"},{"photo_id":"1391964395","filename":"file0"},{"photo_id":"1391964398","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964395":["hashtag1","hashtag2"]},{"1391964398":["hashtag1","hashtag2"]},{"1391964397":["hashtag1","hashtag2"]},{"1391964401":["hashtag1","hashtag2"]},{"1391964403":["hashtag1","hashtag2"]},{"1391964396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964395, 1391964398, 1391964397, 1391964401, 1391964403, 1391964396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6632924079895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:34:42.093757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_21_3895.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_24_2884.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_26_2651.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_33_3600.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_35_2553.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_41_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_21_3895.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_24_2884.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_26_2651.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_33_3600.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_35_2553.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_41_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964411","1391964414","1391964405","1391964404","1391964407","1391964409"],"photo_ids_order":["1391964404","1391964405","1391964407","1391964409","1391964411","1391964414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8e30f11f311bda572193c7b0195b4317.jpg","text":"TemporaryFile(/tmp/multipartBody4980033986808545715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130143217,"filename":"image_31102025_00_21_35_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/3/4ae205aed435ea34dea37e678a2ff41b.jpg","text":"TemporaryFile(/tmp/multipartBody2496407665883624423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130143217,"filename":"image_31102025_00_21_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/3/a65149ab02949d0f70d98a139ecd820b.jpg","text":"TemporaryFile(/tmp/multipartBody5706967971215519144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130143217,"filename":"image_31102025_00_21_24_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/3/07904ef47f799d1ff87d32ac4d95007b.jpg","text":"TemporaryFile(/tmp/multipartBody3489380353284948837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130143217,"filename":"image_31102025_00_21_21_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/3/2072c64c2a237a25e44a038f4da2f081.jpg","text":"TemporaryFile(/tmp/multipartBody5407257249494054336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130143217,"filename":"image_31102025_00_21_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/3/a43817fd98bf69f7d0c18379bb772a5a.jpg","text":"TemporaryFile(/tmp/multipartBody3809245933437318966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130143217,"filename":"image_31102025_00_21_33_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964407","file1":"1391964405","file0":"1391964404","file4":"1391964411","file5":"1391964414","file3":"1391964409"},"map_files_photo_id_array":[{"photo_id":"1391964414","filename":"file5"},{"photo_id":"1391964407","filename":"file2"},{"photo_id":"1391964411","filename":"file4"},{"photo_id":"1391964405","filename":"file1"},{"photo_id":"1391964404","filename":"file0"},{"photo_id":"1391964409","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964411":["hashtag1","hashtag2"]},{"1391964414":["hashtag1","hashtag2"]},{"1391964405":["hashtag1","hashtag2"]},{"1391964404":["hashtag1","hashtag2"]},{"1391964407":["hashtag1","hashtag2"]},{"1391964409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964411, 1391964414, 1391964405, 1391964404, 1391964407, 1391964409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35550570487976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:35:22.328559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_16_2672.jpg', '/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_22_2824.jpg', '/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_32_3721.jpg', '/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_37_2823.jpg', '/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_41_3710.jpg', '/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_43_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/14/08/image_30102025_14_08_16_2672.jpg
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_22_2824.jpg
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_32_3721.jpg
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_37_2823.jpg
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_41_3710.jpg
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_43_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964432","1391964429","1391964431","1391964427","1391964430","1391964424"],"photo_ids_order":["1391964424","1391964427","1391964429","1391964430","1391964431","1391964432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/78d2050a44e368e232c73688c5e16770.jpg","text":"TemporaryFile(/tmp/multipartBody5924301785264572878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130184732,"filename":"image_30102025_14_08_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/3/27cbdcb100da1d52ae652f3e2134e41f.jpg","text":"TemporaryFile(/tmp/multipartBody6525769895396533131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130184732,"filename":"image_30102025_14_08_32_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/3/7341b6fb860952848c1954493041eed4.jpg","text":"TemporaryFile(/tmp/multipartBody1447697064846617315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130184732,"filename":"image_30102025_14_08_41_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/3/56946e7ecaca700038de10ac0cef98fb.jpg","text":"TemporaryFile(/tmp/multipartBody8718307755338777254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130184732,"filename":"image_30102025_14_08_22_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/3/1461709613a2f12504f5ad25e612e107.jpg","text":"TemporaryFile(/tmp/multipartBody2946867875599233464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130184732,"filename":"image_30102025_14_08_37_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/3/d9d89ed216ef532d9ab3d7768997d818.jpg","text":"TemporaryFile(/tmp/multipartBody2268199834964770105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130184732,"filename":"image_30102025_14_08_16_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964429","file1":"1391964427","file0":"1391964424","file4":"1391964431","file5":"1391964432","file3":"1391964430"},"map_files_photo_id_array":[{"photo_id":"1391964432","filename":"file5"},{"photo_id":"1391964429","filename":"file2"},{"photo_id":"1391964431","filename":"file4"},{"photo_id":"1391964427","filename":"file1"},{"photo_id":"1391964424","filename":"file0"},{"photo_id":"1391964430","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964432":["hashtag1","hashtag2"]},{"1391964429":["hashtag1","hashtag2"]},{"1391964431":["hashtag1","hashtag2"]},{"1391964427":["hashtag1","hashtag2"]},{"1391964430":["hashtag1","hashtag2"]},{"1391964424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964432, 1391964429, 1391964431, 1391964427, 1391964430, 1391964424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91372203826904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:36:03.016232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_50_3743.jpg', '/home/pi/Desktop/images/30102025/14/08/image_30102025_14_09_01_3633.jpg', '/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_04_2590.jpg', '/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_10_2681.jpg', '/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_43_2717.jpg', '/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_55_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_50_3743.jpg
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_09_01_3633.jpg
/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_04_2590.jpg
/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_10_2681.jpg
/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_43_2717.jpg
/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_55_3709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7369842529296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:36:22.468849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_50_3743.jpg', '/home/pi/Desktop/images/30102025/14/08/image_30102025_14_09_01_3633.jpg', '/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_04_2590.jpg', '/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_10_2681.jpg', '/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_43_2717.jpg', '/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_55_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_08_50_3743.jpg
/home/pi/Desktop/images/30102025/14/08/image_30102025_14_09_01_3633.jpg
/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_04_2590.jpg
/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_10_2681.jpg
/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_43_2717.jpg
/home/pi/Desktop/images/30102025/14/09/image_30102025_14_09_55_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964444","1391964443","1391964446","1391964451","1391964448","1391964442"],"photo_ids_order":["1391964442","1391964443","1391964444","1391964446","1391964448","1391964451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d76c0a1fd52c9fed140fafe5e0dc0064.jpg","text":"TemporaryFile(/tmp/multipartBody6979155796120688102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130244616,"filename":"image_30102025_14_09_04_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/89d9d083b02f5fd9609270d4a27d51ca.jpg","text":"TemporaryFile(/tmp/multipartBody6464189982639443186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130244616,"filename":"image_30102025_14_09_01_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/3/4df65f7fd40e430986792eb86292710e.jpg","text":"TemporaryFile(/tmp/multipartBody9018889728544389335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130244616,"filename":"image_30102025_14_09_10_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b936c9f7a7e72eabb6d9925ac2cbc6e7.jpg","text":"TemporaryFile(/tmp/multipartBody8365269592088357454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130244616,"filename":"image_30102025_14_09_55_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/3/9ab1fdd0298599e8ebea840a1c895e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1679230001103504858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130244616,"filename":"image_30102025_14_09_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/3/f0cd0cc8d6511c8c0360862123255160.jpg","text":"TemporaryFile(/tmp/multipartBody593192340792022729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130244616,"filename":"image_30102025_14_08_50_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964444","file1":"1391964443","file0":"1391964442","file4":"1391964448","file5":"1391964451","file3":"1391964446"},"map_files_photo_id_array":[{"photo_id":"1391964451","filename":"file5"},{"photo_id":"1391964444","filename":"file2"},{"photo_id":"1391964448","filename":"file4"},{"photo_id":"1391964443","filename":"file1"},{"photo_id":"1391964442","filename":"file0"},{"photo_id":"1391964446","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964444":["hashtag1","hashtag2"]},{"1391964443":["hashtag1","hashtag2"]},{"1391964446":["hashtag1","hashtag2"]},{"1391964451":["hashtag1","hashtag2"]},{"1391964448":["hashtag1","hashtag2"]},{"1391964442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964444, 1391964443, 1391964446, 1391964451, 1391964448, 1391964442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.299206018447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:37:03.285419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_01_2659.jpg', '/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_37_3673.jpg', '/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_40_2743.jpg', '/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_43_2554.jpg', '/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_46_3649.jpg', '/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_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/14/10/image_30102025_14_10_01_2659.jpg
/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_37_3673.jpg
/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_40_2743.jpg
/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_43_2554.jpg
/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_46_3649.jpg
/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_52_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964459","1391964467","1391964461","1391964463","1391964466","1391964460"],"photo_ids_order":["1391964459","1391964460","1391964461","1391964463","1391964466","1391964467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/af2ffab859b373b74401640b2b57f2bb.jpg","text":"TemporaryFile(/tmp/multipartBody7545304138044231996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130285232,"filename":"image_30102025_14_10_01_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/3/2f83eaef8a4a47bc279794f51a26a177.jpg","text":"TemporaryFile(/tmp/multipartBody6216410899659192706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130285232,"filename":"image_30102025_14_10_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/3/191c1e03a5325f5e4059bee4522c299f.jpg","text":"TemporaryFile(/tmp/multipartBody1520216851111342410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130285232,"filename":"image_30102025_14_10_40_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/3/df4d60c51f032d79aeb43b2db6141e59.jpg","text":"TemporaryFile(/tmp/multipartBody794660848527249702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130285232,"filename":"image_30102025_14_10_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/3/1f7dc221e4b51219adca8a007d10854e.jpg","text":"TemporaryFile(/tmp/multipartBody8153101126548965482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130285232,"filename":"image_30102025_14_10_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/3/68b71bec7c299207dbd40da028340781.jpg","text":"TemporaryFile(/tmp/multipartBody5648560083675604340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130285232,"filename":"image_30102025_14_10_37_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964461","file1":"1391964460","file0":"1391964459","file4":"1391964466","file5":"1391964467","file3":"1391964463"},"map_files_photo_id_array":[{"photo_id":"1391964467","filename":"file5"},{"photo_id":"1391964461","filename":"file2"},{"photo_id":"1391964466","filename":"file4"},{"photo_id":"1391964460","filename":"file1"},{"photo_id":"1391964459","filename":"file0"},{"photo_id":"1391964463","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964459":["hashtag1","hashtag2"]},{"1391964467":["hashtag1","hashtag2"]},{"1391964461":["hashtag1","hashtag2"]},{"1391964463":["hashtag1","hashtag2"]},{"1391964466":["hashtag1","hashtag2"]},{"1391964460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964459, 1391964467, 1391964461, 1391964463, 1391964466, 1391964460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.974446535110474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:37:42.794848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_45_3561.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_47_2659.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_57_3668.jpg', '/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_59_2767.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_02_2897.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_09_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_45_3561.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_47_2659.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_57_3668.jpg
/home/pi/Desktop/images/31102025/00/21/image_31102025_00_21_59_2767.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_02_2897.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_09_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964471","1391964473","1391964476","1391964479","1391964481","1391964483"],"photo_ids_order":["1391964471","1391964473","1391964476","1391964479","1391964481","1391964483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9a281a5e66eb01778b8689b3b392df11.jpg","text":"TemporaryFile(/tmp/multipartBody5238963670171552576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130323954,"filename":"image_31102025_00_21_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/3/8528a518ce3c12575e346fe25a95d6b6.jpg","text":"TemporaryFile(/tmp/multipartBody4573515235738091226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130323954,"filename":"image_31102025_00_21_47_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/3/91d67c2a19273c6e042fcaf15cf39bf3.jpg","text":"TemporaryFile(/tmp/multipartBody3643269682742329443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130323954,"filename":"image_31102025_00_21_57_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/3/f003b2a27058a6e8fb0786b45a703560.jpg","text":"TemporaryFile(/tmp/multipartBody1302009271460157237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130323954,"filename":"image_31102025_00_21_59_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/3/bafc351fbd5ca953dffc81e19e72f4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6594372636732269854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130323954,"filename":"image_31102025_00_22_02_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/3/87d98720655840c0604a6a214a62990f.jpg","text":"TemporaryFile(/tmp/multipartBody4167481014264828130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130323954,"filename":"image_31102025_00_22_09_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964476","file1":"1391964473","file0":"1391964471","file4":"1391964481","file5":"1391964483","file3":"1391964479"},"map_files_photo_id_array":[{"photo_id":"1391964483","filename":"file5"},{"photo_id":"1391964476","filename":"file2"},{"photo_id":"1391964481","filename":"file4"},{"photo_id":"1391964473","filename":"file1"},{"photo_id":"1391964471","filename":"file0"},{"photo_id":"1391964479","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964471":["hashtag1","hashtag2"]},{"1391964473":["hashtag1","hashtag2"]},{"1391964476":["hashtag1","hashtag2"]},{"1391964479":["hashtag1","hashtag2"]},{"1391964481":["hashtag1","hashtag2"]},{"1391964483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964471, 1391964473, 1391964476, 1391964479, 1391964481, 1391964483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.618682861328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:38:21.952500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/10/image_30102025_14_10_58_2532.jpg', '/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_01_2744.jpg', '/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_10_2631.jpg', '/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_13_3675.jpg', '/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_31_3691.jpg', '/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_34_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/14/10/image_30102025_14_10_58_2532.jpg
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_01_2744.jpg
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_10_2631.jpg
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_13_3675.jpg
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_31_3691.jpg
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_34_2914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964486","1391964491","1391964493","1391964487","1391964495","1391964489"],"photo_ids_order":["1391964486","1391964487","1391964489","1391964491","1391964493","1391964495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/24f234eee1ebfeb65fc0cb3c57f4841d.jpg","text":"TemporaryFile(/tmp/multipartBody545619522717253758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130364335,"filename":"image_30102025_14_10_58_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/3/d938997880841a6a07ba3f0e86fc2b31.jpg","text":"TemporaryFile(/tmp/multipartBody2523599597655298972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130364335,"filename":"image_30102025_14_11_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/3/1ea0c244833939ad22fb262c70e0b346.jpg","text":"TemporaryFile(/tmp/multipartBody3581725711743052155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130364335,"filename":"image_30102025_14_11_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/3/999ba191d208c2e5fe7256e69a9a18ab.jpg","text":"TemporaryFile(/tmp/multipartBody3201262520813023862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130364335,"filename":"image_30102025_14_11_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/3/1c021915f19c9e14b525a3a238f58004.jpg","text":"TemporaryFile(/tmp/multipartBody8844793843866852848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130364335,"filename":"image_30102025_14_11_34_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/3/4ae9d922edc0d792c854e1cfb89fcd5d.jpg","text":"TemporaryFile(/tmp/multipartBody5352058239678826439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130364335,"filename":"image_30102025_14_11_10_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964489","file1":"1391964487","file0":"1391964486","file4":"1391964493","file5":"1391964495","file3":"1391964491"},"map_files_photo_id_array":[{"photo_id":"1391964495","filename":"file5"},{"photo_id":"1391964489","filename":"file2"},{"photo_id":"1391964493","filename":"file4"},{"photo_id":"1391964487","filename":"file1"},{"photo_id":"1391964486","filename":"file0"},{"photo_id":"1391964491","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964486":["hashtag1","hashtag2"]},{"1391964491":["hashtag1","hashtag2"]},{"1391964493":["hashtag1","hashtag2"]},{"1391964487":["hashtag1","hashtag2"]},{"1391964495":["hashtag1","hashtag2"]},{"1391964489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964486, 1391964491, 1391964493, 1391964487, 1391964495, 1391964489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18206262588501 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-03 01:39:22.723054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_40_3622.jpg', '/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_46_2597.jpg', '/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_49_3689.jpg', '/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_52_2806.jpg', '/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_55_2596.jpg', '/home/pi/Desktop/images/30102025/14/12/image_30102025_14_12_01_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_40_3622.jpg
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_46_2597.jpg
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_49_3689.jpg
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_52_2806.jpg
/home/pi/Desktop/images/30102025/14/11/image_30102025_14_11_55_2596.jpg
/home/pi/Desktop/images/30102025/14/12/image_30102025_14_12_01_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964513","1391964501","1391964506","1391964509","1391964499","1391964511"],"photo_ids_order":["1391964499","1391964501","1391964506","1391964509","1391964511","1391964513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9ef61f12553f55196d0b1d59d3c4973c.jpg","text":"TemporaryFile(/tmp/multipartBody4780127278491812789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130425117,"filename":"image_30102025_14_12_01_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/3/97d1d2203995097ece0687574fb56abb.jpg","text":"TemporaryFile(/tmp/multipartBody4463704309392827313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130425117,"filename":"image_30102025_14_11_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/3/56b511092556a1fadfbfc7b168cd664d.jpg","text":"TemporaryFile(/tmp/multipartBody7464636857689393105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130425117,"filename":"image_30102025_14_11_49_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/3/09bbc175e6430604dfeb9b51c1c3d512.jpg","text":"TemporaryFile(/tmp/multipartBody6102751078224442177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130425117,"filename":"image_30102025_14_11_52_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/3/f98c7401595706f07d0be41393d6a6b6.jpg","text":"TemporaryFile(/tmp/multipartBody953562990428235971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130425117,"filename":"image_30102025_14_11_40_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/3/3556b7c218f5d6123bf643b5020b103d.jpg","text":"TemporaryFile(/tmp/multipartBody794092303076197114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130425117,"filename":"image_30102025_14_11_55_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964506","file1":"1391964501","file0":"1391964499","file4":"1391964511","file5":"1391964513","file3":"1391964509"},"map_files_photo_id_array":[{"photo_id":"1391964513","filename":"file5"},{"photo_id":"1391964506","filename":"file2"},{"photo_id":"1391964511","filename":"file4"},{"photo_id":"1391964501","filename":"file1"},{"photo_id":"1391964499","filename":"file0"},{"photo_id":"1391964509","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964513":["hashtag1","hashtag2"]},{"1391964501":["hashtag1","hashtag2"]},{"1391964506":["hashtag1","hashtag2"]},{"1391964509":["hashtag1","hashtag2"]},{"1391964499":["hashtag1","hashtag2"]},{"1391964511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964513, 1391964501, 1391964506, 1391964509, 1391964499, 1391964511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.319615602493286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:40:22.022950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/12/image_30102025_14_12_04_2738.jpg', '/home/pi/Desktop/images/30102025/14/12/image_30102025_14_12_07_3557.jpg', '/home/pi/Desktop/images/30102025/14/12/image_30102025_14_12_13_2700.jpg', '/home/pi/Desktop/images/30102025/14/12/image_30102025_14_12_49_3756.jpg', '/home/pi/Desktop/images/30102025/14/13/image_30102025_14_13_13_3698.jpg', '/home/pi/Desktop/images/30102025/14/13/image_30102025_14_13_22_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/14/12/image_30102025_14_12_04_2738.jpg
/home/pi/Desktop/images/30102025/14/12/image_30102025_14_12_07_3557.jpg
/home/pi/Desktop/images/30102025/14/12/image_30102025_14_12_13_2700.jpg
/home/pi/Desktop/images/30102025/14/12/image_30102025_14_12_49_3756.jpg
/home/pi/Desktop/images/30102025/14/13/image_30102025_14_13_13_3698.jpg
/home/pi/Desktop/images/30102025/14/13/image_30102025_14_13_22_3596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964531","1391964525","1391964521","1391964527","1391964529","1391964523"],"photo_ids_order":["1391964521","1391964523","1391964525","1391964527","1391964529","1391964531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b8bafaad415d982218ad84e75badea41.jpg","text":"TemporaryFile(/tmp/multipartBody3512351655495576057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130484428,"filename":"image_30102025_14_13_22_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/3/c5176b4d90bae89d5deeb66ace0247c8.jpg","text":"TemporaryFile(/tmp/multipartBody2214318875306915469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130484428,"filename":"image_30102025_14_12_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/3/31b6b53f2303e94783c85087729024d8.jpg","text":"TemporaryFile(/tmp/multipartBody8445011760645425193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130484428,"filename":"image_30102025_14_12_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/3/d190971c318a31111ffa3a1728fb5a86.jpg","text":"TemporaryFile(/tmp/multipartBody869745737758116657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130484428,"filename":"image_30102025_14_12_49_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/3/a5c71a829ae281ff2c7dbd88203146e7.jpg","text":"TemporaryFile(/tmp/multipartBody304372163655359455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130484428,"filename":"image_30102025_14_13_13_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/3/f91efbef974bfcbc619dae77c4654436.jpg","text":"TemporaryFile(/tmp/multipartBody5198428903331329594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130484428,"filename":"image_30102025_14_12_07_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964525","file1":"1391964523","file0":"1391964521","file4":"1391964529","file5":"1391964531","file3":"1391964527"},"map_files_photo_id_array":[{"photo_id":"1391964531","filename":"file5"},{"photo_id":"1391964525","filename":"file2"},{"photo_id":"1391964529","filename":"file4"},{"photo_id":"1391964523","filename":"file1"},{"photo_id":"1391964521","filename":"file0"},{"photo_id":"1391964527","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964531":["hashtag1","hashtag2"]},{"1391964525":["hashtag1","hashtag2"]},{"1391964521":["hashtag1","hashtag2"]},{"1391964527":["hashtag1","hashtag2"]},{"1391964529":["hashtag1","hashtag2"]},{"1391964523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964531, 1391964525, 1391964521, 1391964527, 1391964529, 1391964523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20406246185303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:41:02.860123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/13/image_30102025_14_13_58_2765.jpg', '/home/pi/Desktop/images/30102025/14/13/image_30102025_14_14_00_2726.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_04_3725.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_07_2686.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_09_2732.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_12_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/14/13/image_30102025_14_13_58_2765.jpg
/home/pi/Desktop/images/30102025/14/13/image_30102025_14_14_00_2726.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_04_3725.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_07_2686.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_09_2732.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_12_2855.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964537","1391964546","1391964540","1391964536","1391964544","1391964538"],"photo_ids_order":["1391964536","1391964537","1391964538","1391964540","1391964544","1391964546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b37a3548032d9784f95f208efc729390.jpg","text":"TemporaryFile(/tmp/multipartBody8183370213540626736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130524737,"filename":"image_30102025_14_14_00_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/3/206650ec4d42c8a968681a343a3da5b1.jpg","text":"TemporaryFile(/tmp/multipartBody4478936856171058610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130524737,"filename":"image_30102025_14_14_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/3/11164fd862e482d44748ecda84f6f31b.jpg","text":"TemporaryFile(/tmp/multipartBody3655477214878227028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130524737,"filename":"image_30102025_14_14_07_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0f67c98fae8a1ff009835c6d4b5cc266.jpg","text":"TemporaryFile(/tmp/multipartBody2713673312140450032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130524737,"filename":"image_30102025_14_13_58_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/3/5380e275addff42a4f72ee783d7b323e.jpg","text":"TemporaryFile(/tmp/multipartBody5697798599545556510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130524737,"filename":"image_30102025_14_14_09_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/3/d6e4f856a1b3b2e0dddcd27b779c2f46.jpg","text":"TemporaryFile(/tmp/multipartBody5887354586565130357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130524737,"filename":"image_30102025_14_14_04_3725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964538","file1":"1391964537","file0":"1391964536","file4":"1391964544","file5":"1391964546","file3":"1391964540"},"map_files_photo_id_array":[{"photo_id":"1391964546","filename":"file5"},{"photo_id":"1391964538","filename":"file2"},{"photo_id":"1391964544","filename":"file4"},{"photo_id":"1391964537","filename":"file1"},{"photo_id":"1391964536","filename":"file0"},{"photo_id":"1391964540","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964537":["hashtag1","hashtag2"]},{"1391964546":["hashtag1","hashtag2"]},{"1391964540":["hashtag1","hashtag2"]},{"1391964536":["hashtag1","hashtag2"]},{"1391964544":["hashtag1","hashtag2"]},{"1391964538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964537, 1391964546, 1391964540, 1391964536, 1391964544, 1391964538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68312406539917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:41:42.206575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_21_2846.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_24_3284.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_27_2850.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_29_2589.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_32_2788.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_36_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_21_2846.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_24_3284.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_27_2850.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_29_2589.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_32_2788.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_36_3627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964557","1391964551","1391964559","1391964550","1391964553","1391964555"],"photo_ids_order":["1391964550","1391964551","1391964553","1391964555","1391964557","1391964559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7db9bf21f363a70f915ed9477cb2cfe0.jpg","text":"TemporaryFile(/tmp/multipartBody2030380744143597955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130563323,"filename":"image_31102025_00_22_32_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/3/bc197f4cb83d401e80820069d96e9f86.jpg","text":"TemporaryFile(/tmp/multipartBody1916330109752549308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130563323,"filename":"image_31102025_00_22_24_3284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e85e3084b6653aec20f32af0bc31485f.jpg","text":"TemporaryFile(/tmp/multipartBody9040847474732739301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130563323,"filename":"image_31102025_00_22_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/3/67c6f79760b38a5723ea8e4572aeac55.jpg","text":"TemporaryFile(/tmp/multipartBody6191737153743495819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130563323,"filename":"image_31102025_00_22_21_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/3/474cd8c880e70fb3838167530d073e16.jpg","text":"TemporaryFile(/tmp/multipartBody2134945579456183856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130563323,"filename":"image_31102025_00_22_27_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/3/9276b9344174a05c19a7dbd03812df8c.jpg","text":"TemporaryFile(/tmp/multipartBody9157736377680485706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130563323,"filename":"image_31102025_00_22_29_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964553","file1":"1391964551","file0":"1391964550","file4":"1391964557","file5":"1391964559","file3":"1391964555"},"map_files_photo_id_array":[{"photo_id":"1391964559","filename":"file5"},{"photo_id":"1391964553","filename":"file2"},{"photo_id":"1391964557","filename":"file4"},{"photo_id":"1391964551","filename":"file1"},{"photo_id":"1391964550","filename":"file0"},{"photo_id":"1391964555","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964557":["hashtag1","hashtag2"]},{"1391964551":["hashtag1","hashtag2"]},{"1391964559":["hashtag1","hashtag2"]},{"1391964550":["hashtag1","hashtag2"]},{"1391964553":["hashtag1","hashtag2"]},{"1391964555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964557, 1391964551, 1391964559, 1391964550, 1391964553, 1391964555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.725630044937134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:42:22.452681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_16_3669.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_19_2766.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_21_2613.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_25_3751.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_28_2695.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_31_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/14/14/image_30102025_14_14_16_3669.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_19_2766.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_21_2613.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_25_3751.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_28_2695.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_31_2813.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964564","1391964567","1391964566","1391964563","1391964562","1391964568"],"photo_ids_order":["1391964562","1391964563","1391964564","1391964566","1391964567","1391964568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/96fb1f028eec3a8a42ba4c0dedead9ab.jpg","text":"TemporaryFile(/tmp/multipartBody7187256448059623961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130604855,"filename":"image_30102025_14_14_21_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/3/7311d389c143cbecce7bdd5e36a64746.jpg","text":"TemporaryFile(/tmp/multipartBody3387356934602561096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130604855,"filename":"image_30102025_14_14_28_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/932cfe0a90d0a1340cb4db78fa822346.jpg","text":"TemporaryFile(/tmp/multipartBody3891331045385785278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130604855,"filename":"image_30102025_14_14_25_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/3/b9771706fd37a4d84fb13b146a9297b4.jpg","text":"TemporaryFile(/tmp/multipartBody7336026385701430146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130604855,"filename":"image_30102025_14_14_19_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/3/fa43852e4cfca0162b8dc2850dd39b27.jpg","text":"TemporaryFile(/tmp/multipartBody604115493643449875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130604855,"filename":"image_30102025_14_14_16_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/3/4763ffc25158c150e288a8446977305b.jpg","text":"TemporaryFile(/tmp/multipartBody154962586459094367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130604855,"filename":"image_30102025_14_14_31_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964564","file1":"1391964563","file0":"1391964562","file4":"1391964567","file5":"1391964568","file3":"1391964566"},"map_files_photo_id_array":[{"photo_id":"1391964568","filename":"file5"},{"photo_id":"1391964564","filename":"file2"},{"photo_id":"1391964567","filename":"file4"},{"photo_id":"1391964563","filename":"file1"},{"photo_id":"1391964562","filename":"file0"},{"photo_id":"1391964566","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964564":["hashtag1","hashtag2"]},{"1391964567":["hashtag1","hashtag2"]},{"1391964566":["hashtag1","hashtag2"]},{"1391964563":["hashtag1","hashtag2"]},{"1391964562":["hashtag1","hashtag2"]},{"1391964568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964564, 1391964567, 1391964566, 1391964563, 1391964562, 1391964568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.155527114868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:43:03.202552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_43_3628.jpg', '/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_59_1689.jpg', '/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_07_3745.jpg', '/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_13_2810.jpg', '/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_16_3556.jpg', '/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_21_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/14/14/image_30102025_14_14_43_3628.jpg
/home/pi/Desktop/images/30102025/14/14/image_30102025_14_14_59_1689.jpg
/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_07_3745.jpg
/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_13_2810.jpg
/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_16_3556.jpg
/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_21_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":["1391964579","1391964572","1391964575","1391964577","1391964571","1391964573"],"photo_ids_order":["1391964571","1391964572","1391964573","1391964575","1391964577","1391964579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a0666c4739bbbb8c9fcb768fa1d44924.jpg","text":"TemporaryFile(/tmp/multipartBody6410287324976177126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130646052,"filename":"image_30102025_14_15_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/3/bd400cbb39b368fbf23a682133c4003b.jpg","text":"TemporaryFile(/tmp/multipartBody2178964844337665281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130646052,"filename":"image_30102025_14_14_59_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/3/874787d1936a7000c4f40d72c87c6d41.jpg","text":"TemporaryFile(/tmp/multipartBody4406259011686671714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130646052,"filename":"image_30102025_14_15_13_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/3/1c5c3b1d023aa486869a6695e88cc579.jpg","text":"TemporaryFile(/tmp/multipartBody4452406065210383806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130646052,"filename":"image_30102025_14_15_16_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/3/468e8a6f1fffb329e232cd2425150004.jpg","text":"TemporaryFile(/tmp/multipartBody8965029716049240233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130646052,"filename":"image_30102025_14_14_43_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/3/3a1e5ac615728ba786e9b493c5a0a5d5.jpg","text":"TemporaryFile(/tmp/multipartBody6972323886940587996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130646052,"filename":"image_30102025_14_15_07_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964573","file1":"1391964572","file0":"1391964571","file4":"1391964577","file5":"1391964579","file3":"1391964575"},"map_files_photo_id_array":[{"photo_id":"1391964579","filename":"file5"},{"photo_id":"1391964573","filename":"file2"},{"photo_id":"1391964577","filename":"file4"},{"photo_id":"1391964572","filename":"file1"},{"photo_id":"1391964571","filename":"file0"},{"photo_id":"1391964575","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964579":["hashtag1","hashtag2"]},{"1391964572":["hashtag1","hashtag2"]},{"1391964575":["hashtag1","hashtag2"]},{"1391964577":["hashtag1","hashtag2"]},{"1391964571":["hashtag1","hashtag2"]},{"1391964573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964579, 1391964572, 1391964575, 1391964577, 1391964571, 1391964573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01743149757385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:44:03.423133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_33_2819.jpg', '/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_40_2598.jpg', '/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_54_2745.jpg', '/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_58_3639.jpg', '/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_01_2697.jpg', '/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_07_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/14/15/image_30102025_14_15_33_2819.jpg
/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_40_2598.jpg
/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_54_2745.jpg
/home/pi/Desktop/images/30102025/14/15/image_30102025_14_15_58_3639.jpg
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_01_2697.jpg
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_07_3706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964590","1391964593","1391964595","1391964589","1391964588","1391964597"],"photo_ids_order":["1391964588","1391964589","1391964590","1391964593","1391964595","1391964597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7a38d0c7935cb3e55d180d5e1bcddbb7.jpg","text":"TemporaryFile(/tmp/multipartBody2062780334605566811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130705313,"filename":"image_30102025_14_15_54_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/3/5ff93dc6dbbee8a6393b3ab91e4caf0a.jpg","text":"TemporaryFile(/tmp/multipartBody5887362027747881729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130705313,"filename":"image_30102025_14_15_58_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/3/1b18eef2c3d9f7ec7ebb7339c8bae7aa.jpg","text":"TemporaryFile(/tmp/multipartBody949374403652939996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130705313,"filename":"image_30102025_14_16_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/3/68504a77b4abbd2e3da49d1e91578309.jpg","text":"TemporaryFile(/tmp/multipartBody5589874455244936422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130705313,"filename":"image_30102025_14_15_40_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/3/ce7f37307cd69346a5f79d4d4a7c309e.jpg","text":"TemporaryFile(/tmp/multipartBody2512068533496226831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130705313,"filename":"image_30102025_14_15_33_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/3/c910b0f06618b7b158769fa87d50ddfa.jpg","text":"TemporaryFile(/tmp/multipartBody6304065973454727760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130705313,"filename":"image_30102025_14_16_07_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964590","file1":"1391964589","file0":"1391964588","file4":"1391964595","file5":"1391964597","file3":"1391964593"},"map_files_photo_id_array":[{"photo_id":"1391964597","filename":"file5"},{"photo_id":"1391964590","filename":"file2"},{"photo_id":"1391964595","filename":"file4"},{"photo_id":"1391964589","filename":"file1"},{"photo_id":"1391964588","filename":"file0"},{"photo_id":"1391964593","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964590":["hashtag1","hashtag2"]},{"1391964593":["hashtag1","hashtag2"]},{"1391964595":["hashtag1","hashtag2"]},{"1391964589":["hashtag1","hashtag2"]},{"1391964588":["hashtag1","hashtag2"]},{"1391964597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964590, 1391964593, 1391964595, 1391964589, 1391964588, 1391964597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31782126426697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:44:42.740394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_38_2775.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_41_2718.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_44_2846.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_48_3562.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_53_2883.jpg', '/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_56_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_38_2775.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_41_2718.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_44_2846.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_48_3562.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_53_2883.jpg
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_56_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964606","1391964602","1391964611","1391964608","1391964601","1391964604"],"photo_ids_order":["1391964601","1391964602","1391964604","1391964606","1391964608","1391964611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/953748918abb4462615ae6fea5abf6a4.jpg","text":"TemporaryFile(/tmp/multipartBody1818767998279782119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130743856,"filename":"image_31102025_00_22_48_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/3/1635016aa111969b4489bee5ef26d27e.jpg","text":"TemporaryFile(/tmp/multipartBody654779579682727666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130743856,"filename":"image_31102025_00_22_41_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/13fe7f1c44a8b468dc4a742e6e1f02ce.jpg","text":"TemporaryFile(/tmp/multipartBody4112791151129142267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130743856,"filename":"image_31102025_00_22_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/3/b76c201e2e6ae9629ad74f1dd620567e.jpg","text":"TemporaryFile(/tmp/multipartBody3450797033095724940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130743856,"filename":"image_31102025_00_22_53_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d99a562e059732589dae61d31909ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2202681399643772341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130743856,"filename":"image_31102025_00_22_38_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/3/e83a5fba6f3ab22c46311b776bcc5512.jpg","text":"TemporaryFile(/tmp/multipartBody6248193069107979387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130743856,"filename":"image_31102025_00_22_44_2846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964604","file1":"1391964602","file0":"1391964601","file4":"1391964608","file5":"1391964611","file3":"1391964606"},"map_files_photo_id_array":[{"photo_id":"1391964611","filename":"file5"},{"photo_id":"1391964604","filename":"file2"},{"photo_id":"1391964608","filename":"file4"},{"photo_id":"1391964602","filename":"file1"},{"photo_id":"1391964601","filename":"file0"},{"photo_id":"1391964606","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964606":["hashtag1","hashtag2"]},{"1391964602":["hashtag1","hashtag2"]},{"1391964611":["hashtag1","hashtag2"]},{"1391964608":["hashtag1","hashtag2"]},{"1391964601":["hashtag1","hashtag2"]},{"1391964604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964606, 1391964602, 1391964611, 1391964608, 1391964601, 1391964604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27231001853943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:45:22.003804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_16_3586.jpg', '/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_30_2608.jpg', '/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_42_2599.jpg', '/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_45_2729.jpg', '/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_48_2879.jpg', '/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_52_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/14/16/image_30102025_14_16_16_3586.jpg
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_30_2608.jpg
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_42_2599.jpg
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_45_2729.jpg
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_48_2879.jpg
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_52_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964624","1391964618","1391964620","1391964626","1391964628","1391964616"],"photo_ids_order":["1391964616","1391964618","1391964620","1391964624","1391964626","1391964628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33a044caeadab10659ca9010c0faa080.jpg","text":"TemporaryFile(/tmp/multipartBody2566197748699400066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130784410,"filename":"image_30102025_14_16_45_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40c49ccb016c9e12ca0a9b071bc5e869.jpg","text":"TemporaryFile(/tmp/multipartBody3311425400961338466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130784410,"filename":"image_30102025_14_16_30_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/3/52393d518918a9abab81ff4a967948b3.jpg","text":"TemporaryFile(/tmp/multipartBody2064319887289529358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130784410,"filename":"image_30102025_14_16_42_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef925feb0c2f615a2fce2d6547cdc803.jpg","text":"TemporaryFile(/tmp/multipartBody3557188275926009844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130784410,"filename":"image_30102025_14_16_48_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/3/2329f2fe8cb52d390918a8065ea3a18f.jpg","text":"TemporaryFile(/tmp/multipartBody647332517516024673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130784410,"filename":"image_30102025_14_16_52_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/3/62c418804fc5d6ff3a6bdd214feae31c.jpg","text":"TemporaryFile(/tmp/multipartBody7964062017177313246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130784410,"filename":"image_30102025_14_16_16_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964620","file1":"1391964618","file0":"1391964616","file4":"1391964626","file5":"1391964628","file3":"1391964624"},"map_files_photo_id_array":[{"photo_id":"1391964628","filename":"file5"},{"photo_id":"1391964620","filename":"file2"},{"photo_id":"1391964626","filename":"file4"},{"photo_id":"1391964618","filename":"file1"},{"photo_id":"1391964616","filename":"file0"},{"photo_id":"1391964624","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964624":["hashtag1","hashtag2"]},{"1391964618":["hashtag1","hashtag2"]},{"1391964620":["hashtag1","hashtag2"]},{"1391964626":["hashtag1","hashtag2"]},{"1391964628":["hashtag1","hashtag2"]},{"1391964616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964624, 1391964618, 1391964620, 1391964626, 1391964628, 1391964616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45834565162659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:46:02.560090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_54_2654.jpg', '/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_57_2711.jpg', '/home/pi/Desktop/images/30102025/14/16/image_30102025_14_17_01_3807.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_04_2736.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_06_2634.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_13_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_54_2654.jpg
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_16_57_2711.jpg
/home/pi/Desktop/images/30102025/14/16/image_30102025_14_17_01_3807.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_04_2736.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_06_2634.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_13_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964636","1391964629","1391964638","1391964632","1391964640","1391964634"],"photo_ids_order":["1391964629","1391964632","1391964634","1391964636","1391964638","1391964640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/253c8463114cd6a5a65f4bd6bc475410.jpg","text":"TemporaryFile(/tmp/multipartBody1006200631389473344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130824378,"filename":"image_30102025_14_17_04_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e92588bb7afc316ec826f3a358bfa050.jpg","text":"TemporaryFile(/tmp/multipartBody3564574215546037598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130824378,"filename":"image_30102025_14_16_54_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/3/97fbd032cc94fe943c909d4ea6c8f30a.jpg","text":"TemporaryFile(/tmp/multipartBody1692746631514539893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130824378,"filename":"image_30102025_14_17_06_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/3/ffbef9672ef2428d2c0b95c7d3b29c9b.jpg","text":"TemporaryFile(/tmp/multipartBody7624473666413194321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130824378,"filename":"image_30102025_14_16_57_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2db338b276689e43c07a12ea2e074d27.jpg","text":"TemporaryFile(/tmp/multipartBody1876415193438456894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130824378,"filename":"image_30102025_14_17_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/3/dcc7616192e42bb40fe7041e98d3f711.jpg","text":"TemporaryFile(/tmp/multipartBody5038375638515770010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130824378,"filename":"image_30102025_14_17_01_3807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964634","file1":"1391964632","file0":"1391964629","file4":"1391964638","file5":"1391964640","file3":"1391964636"},"map_files_photo_id_array":[{"photo_id":"1391964640","filename":"file5"},{"photo_id":"1391964634","filename":"file2"},{"photo_id":"1391964638","filename":"file4"},{"photo_id":"1391964632","filename":"file1"},{"photo_id":"1391964629","filename":"file0"},{"photo_id":"1391964636","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964636":["hashtag1","hashtag2"]},{"1391964629":["hashtag1","hashtag2"]},{"1391964638":["hashtag1","hashtag2"]},{"1391964632":["hashtag1","hashtag2"]},{"1391964640":["hashtag1","hashtag2"]},{"1391964634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964636, 1391964629, 1391964638, 1391964632, 1391964640, 1391964634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33485293388367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:46:42.041110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_59_3100.jpg', '/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_20_2671.jpg', '/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_23_2798.jpg', '/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_27_3780.jpg', '/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_35_2791.jpg', '/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_41_2920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/22/image_31102025_00_22_59_3100.jpg
/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_20_2671.jpg
/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_23_2798.jpg
/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_27_3780.jpg
/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_35_2791.jpg
/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_41_2920.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964642","1391964648","1391964641","1391964650","1391964644","1391964646"],"photo_ids_order":["1391964641","1391964642","1391964644","1391964646","1391964648","1391964650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/537613f9fab32fb116718d6010b55879.jpg","text":"TemporaryFile(/tmp/multipartBody6559504741107506792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130863166,"filename":"image_31102025_00_23_20_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/3/cb36e622cf33ea6392fcbb6e82481e21.jpg","text":"TemporaryFile(/tmp/multipartBody3423900002522476393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130863166,"filename":"image_31102025_00_23_35_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dbaa2cc1f7c9ff9d1104c5d036a43e02.jpg","text":"TemporaryFile(/tmp/multipartBody4311045060319995724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130863166,"filename":"image_31102025_00_22_59_3100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b758963cf7ae2b694f281b22919949e9.jpg","text":"TemporaryFile(/tmp/multipartBody4991943217993634392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130863166,"filename":"image_31102025_00_23_41_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/3/94c97c44e4d8f5f8a0f898375a144d14.jpg","text":"TemporaryFile(/tmp/multipartBody3963818738792311971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130863166,"filename":"image_31102025_00_23_23_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/3/d91ed6aaf31731f010608da2b3ea716a.jpg","text":"TemporaryFile(/tmp/multipartBody5462853423055517779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130863166,"filename":"image_31102025_00_23_27_3780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964644","file1":"1391964642","file0":"1391964641","file4":"1391964648","file5":"1391964650","file3":"1391964646"},"map_files_photo_id_array":[{"photo_id":"1391964650","filename":"file5"},{"photo_id":"1391964644","filename":"file2"},{"photo_id":"1391964648","filename":"file4"},{"photo_id":"1391964642","filename":"file1"},{"photo_id":"1391964641","filename":"file0"},{"photo_id":"1391964646","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964642":["hashtag1","hashtag2"]},{"1391964648":["hashtag1","hashtag2"]},{"1391964641":["hashtag1","hashtag2"]},{"1391964650":["hashtag1","hashtag2"]},{"1391964644":["hashtag1","hashtag2"]},{"1391964646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964642, 1391964648, 1391964641, 1391964650, 1391964644, 1391964646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53052353858948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:47:22.221884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_15_2801.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_18_2721.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_24_2669.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_27_2580.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_31_3664.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_33_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_15_2801.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_18_2721.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_24_2669.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_27_2580.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_31_3664.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_33_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964663","1391964659","1391964653","1391964661","1391964658","1391964655"],"photo_ids_order":["1391964653","1391964655","1391964658","1391964659","1391964661","1391964663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dd3ebb6083342dd4faf604be503f8682.jpg","text":"TemporaryFile(/tmp/multipartBody6670447775993618977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130904637,"filename":"image_30102025_14_17_33_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d18d4c4a01d02ae61229148c6da776e0.jpg","text":"TemporaryFile(/tmp/multipartBody2079847697983492690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130904637,"filename":"image_30102025_14_17_27_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/3/752b460b078cd96bf8dcd18d1d747260.jpg","text":"TemporaryFile(/tmp/multipartBody4448405107684756860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130904637,"filename":"image_30102025_14_17_15_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/3/4a9501e469ba20fe60f0856020fb1d24.jpg","text":"TemporaryFile(/tmp/multipartBody2123685093896493174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130904637,"filename":"image_30102025_14_17_31_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/22fad787fa6b67e5b6061850b85da3e7.jpg","text":"TemporaryFile(/tmp/multipartBody6391684644342122430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130904637,"filename":"image_30102025_14_17_24_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/3/aa9cd6005d21d8537e5fda8764e82b73.jpg","text":"TemporaryFile(/tmp/multipartBody2057632821648478790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130904637,"filename":"image_30102025_14_17_18_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964658","file1":"1391964655","file0":"1391964653","file4":"1391964661","file5":"1391964663","file3":"1391964659"},"map_files_photo_id_array":[{"photo_id":"1391964663","filename":"file5"},{"photo_id":"1391964658","filename":"file2"},{"photo_id":"1391964661","filename":"file4"},{"photo_id":"1391964655","filename":"file1"},{"photo_id":"1391964653","filename":"file0"},{"photo_id":"1391964659","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964663":["hashtag1","hashtag2"]},{"1391964659":["hashtag1","hashtag2"]},{"1391964653":["hashtag1","hashtag2"]},{"1391964661":["hashtag1","hashtag2"]},{"1391964658":["hashtag1","hashtag2"]},{"1391964655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964663, 1391964659, 1391964653, 1391964661, 1391964658, 1391964655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.131640911102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:48:02.852628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_37_3553.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_40_2669.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_42_2817.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_48_2904.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_52_3678.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_54_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/14/17/image_30102025_14_17_37_3553.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_40_2669.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_42_2817.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_48_2904.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_52_3678.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_54_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964677","1391964680","1391964674","1391964670","1391964673","1391964672"],"photo_ids_order":["1391964670","1391964672","1391964673","1391964674","1391964677","1391964680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8fd155dd5c8d9ec63438c01585d68e10.jpg","text":"TemporaryFile(/tmp/multipartBody2100085259261618261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130944691,"filename":"image_30102025_14_17_52_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/3/7092d057113199288c7243c3857833b9.jpg","text":"TemporaryFile(/tmp/multipartBody8696810258465549545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130944691,"filename":"image_30102025_14_17_54_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/3/8bc83f24b32d8b592a182bdfa3ae9461.jpg","text":"TemporaryFile(/tmp/multipartBody3002566633738175840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130944691,"filename":"image_30102025_14_17_48_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/3/a713d0f986434ff2d3f8aa5544f81a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2723530577577731058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130944691,"filename":"image_30102025_14_17_37_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/3/1961d9f79d8097af557f8f535cebe8db.jpg","text":"TemporaryFile(/tmp/multipartBody8151996893625219184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130944691,"filename":"image_30102025_14_17_42_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/3/111e9c0950829c4c4b8c71e2d6fc6e45.jpg","text":"TemporaryFile(/tmp/multipartBody8033101453114559477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130944691,"filename":"image_30102025_14_17_40_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964673","file1":"1391964672","file0":"1391964670","file4":"1391964677","file5":"1391964680","file3":"1391964674"},"map_files_photo_id_array":[{"photo_id":"1391964680","filename":"file5"},{"photo_id":"1391964673","filename":"file2"},{"photo_id":"1391964677","filename":"file4"},{"photo_id":"1391964672","filename":"file1"},{"photo_id":"1391964670","filename":"file0"},{"photo_id":"1391964674","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964677":["hashtag1","hashtag2"]},{"1391964680":["hashtag1","hashtag2"]},{"1391964674":["hashtag1","hashtag2"]},{"1391964670":["hashtag1","hashtag2"]},{"1391964673":["hashtag1","hashtag2"]},{"1391964672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964677, 1391964680, 1391964674, 1391964670, 1391964673, 1391964672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.643049240112305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:48:42.408176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_44_2769.jpg', '/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_47_2556.jpg', '/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_53_2722.jpg', '/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_59_3581.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_02_2870.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_05_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_44_2769.jpg
/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_47_2556.jpg
/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_53_2722.jpg
/home/pi/Desktop/images/31102025/00/23/image_31102025_00_23_59_3581.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_02_2870.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_05_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964695","1391964697","1391964691","1391964699","1391964693","1391964687"],"photo_ids_order":["1391964687","1391964691","1391964693","1391964695","1391964697","1391964699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/308e199b747220013017542c94ced300.jpg","text":"TemporaryFile(/tmp/multipartBody5942931040940410494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130983573,"filename":"image_31102025_00_23_59_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/3/c353397970a001f46266e9900764d108.jpg","text":"TemporaryFile(/tmp/multipartBody1884912641148440107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130983573,"filename":"image_31102025_00_24_02_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/3/d96b10814fd91ab973c4255395380b14.jpg","text":"TemporaryFile(/tmp/multipartBody5704944747884280355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130983573,"filename":"image_31102025_00_23_47_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/3/ab4699066f328db8a22772f40027d503.jpg","text":"TemporaryFile(/tmp/multipartBody4812496662904741811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130983573,"filename":"image_31102025_00_24_05_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/3/0073a7ba9c0f3a1bcbc1b73f060acb4c.jpg","text":"TemporaryFile(/tmp/multipartBody5097137872310848767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130983573,"filename":"image_31102025_00_23_53_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/3/b242367751d437cebe3e699ad0ff3f25.jpg","text":"TemporaryFile(/tmp/multipartBody5625458314848687748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762130983573,"filename":"image_31102025_00_23_44_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964693","file1":"1391964691","file0":"1391964687","file4":"1391964697","file5":"1391964699","file3":"1391964695"},"map_files_photo_id_array":[{"photo_id":"1391964699","filename":"file5"},{"photo_id":"1391964693","filename":"file2"},{"photo_id":"1391964697","filename":"file4"},{"photo_id":"1391964691","filename":"file1"},{"photo_id":"1391964687","filename":"file0"},{"photo_id":"1391964695","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964695":["hashtag1","hashtag2"]},{"1391964697":["hashtag1","hashtag2"]},{"1391964691":["hashtag1","hashtag2"]},{"1391964699":["hashtag1","hashtag2"]},{"1391964693":["hashtag1","hashtag2"]},{"1391964687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964695, 1391964697, 1391964691, 1391964699, 1391964693, 1391964687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.538092374801636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:49:22.612992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/17/image_30102025_14_17_57_2619.jpg', '/home/pi/Desktop/images/30102025/14/17/image_30102025_14_18_01_3748.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_09_2762.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_15_2923.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_18_2669.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_21_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/14/17/image_30102025_14_17_57_2619.jpg
/home/pi/Desktop/images/30102025/14/17/image_30102025_14_18_01_3748.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_09_2762.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_15_2923.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_18_2669.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_21_2842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964714","1391964702","1391964704","1391964707","1391964712","1391964709"],"photo_ids_order":["1391964702","1391964704","1391964707","1391964709","1391964712","1391964714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a7e138d201b1760e14a7dbc33b468b0.jpg","text":"TemporaryFile(/tmp/multipartBody3186347585928024444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131025028,"filename":"image_30102025_14_18_21_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/3/c80280cfd0339bae2fb56fd709e1a139.jpg","text":"TemporaryFile(/tmp/multipartBody4857552623712826326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131025028,"filename":"image_30102025_14_17_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/3/45ba39cf649558088d02f0425fead8b3.jpg","text":"TemporaryFile(/tmp/multipartBody683562814726006073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131025028,"filename":"image_30102025_14_18_01_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/3/475c1daca3c66d247536b8145fe28840.jpg","text":"TemporaryFile(/tmp/multipartBody8999913864889713237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131025028,"filename":"image_30102025_14_18_09_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/3/9bc990235d35ab20027f7f520cdd90c5.jpg","text":"TemporaryFile(/tmp/multipartBody3001818721414267142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131025028,"filename":"image_30102025_14_18_18_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3c63fdcab801b3fd0870b45b7c0bc438.jpg","text":"TemporaryFile(/tmp/multipartBody3508410384018339404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131025028,"filename":"image_30102025_14_18_15_2923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964707","file1":"1391964704","file0":"1391964702","file4":"1391964712","file5":"1391964714","file3":"1391964709"},"map_files_photo_id_array":[{"photo_id":"1391964714","filename":"file5"},{"photo_id":"1391964707","filename":"file2"},{"photo_id":"1391964712","filename":"file4"},{"photo_id":"1391964704","filename":"file1"},{"photo_id":"1391964702","filename":"file0"},{"photo_id":"1391964709","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964714":["hashtag1","hashtag2"]},{"1391964702":["hashtag1","hashtag2"]},{"1391964704":["hashtag1","hashtag2"]},{"1391964707":["hashtag1","hashtag2"]},{"1391964712":["hashtag1","hashtag2"]},{"1391964709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964714, 1391964702, 1391964704, 1391964707, 1391964712, 1391964709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63954162597656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:50:03.166366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_27_2759.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_33_2733.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_37_3666.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_39_2804.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_42_2696.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_45_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/14/18/image_30102025_14_18_27_2759.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_33_2733.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_37_3666.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_39_2804.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_42_2696.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_45_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964723","1391964717","1391964726","1391964719","1391964727","1391964721"],"photo_ids_order":["1391964717","1391964719","1391964721","1391964723","1391964726","1391964727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef3509fe3e1c6f9b396f3e96fcf8b449.jpg","text":"TemporaryFile(/tmp/multipartBody6711715287357451533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131065007,"filename":"image_30102025_14_18_39_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/3/b3524c61e0846d3b993432dc6accdc19.jpg","text":"TemporaryFile(/tmp/multipartBody7556254480238335270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131065007,"filename":"image_30102025_14_18_27_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/3/633b5b3ca2e3ba2dff0194bc39dc8f42.jpg","text":"TemporaryFile(/tmp/multipartBody5637059324051821003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131065007,"filename":"image_30102025_14_18_42_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33aab6d3ef9e6fbee3056772eab73541.jpg","text":"TemporaryFile(/tmp/multipartBody7852989764010642657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131065007,"filename":"image_30102025_14_18_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/3/ab43737d087bdb06a7859843db5732d3.jpg","text":"TemporaryFile(/tmp/multipartBody7894048149189515556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131065007,"filename":"image_30102025_14_18_45_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/3/b340bd26e6b43166c25c0e9496964085.jpg","text":"TemporaryFile(/tmp/multipartBody4428221279163872315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131065007,"filename":"image_30102025_14_18_37_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964721","file1":"1391964719","file0":"1391964717","file4":"1391964726","file5":"1391964727","file3":"1391964723"},"map_files_photo_id_array":[{"photo_id":"1391964727","filename":"file5"},{"photo_id":"1391964721","filename":"file2"},{"photo_id":"1391964726","filename":"file4"},{"photo_id":"1391964719","filename":"file1"},{"photo_id":"1391964717","filename":"file0"},{"photo_id":"1391964723","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964723":["hashtag1","hashtag2"]},{"1391964717":["hashtag1","hashtag2"]},{"1391964726":["hashtag1","hashtag2"]},{"1391964719":["hashtag1","hashtag2"]},{"1391964727":["hashtag1","hashtag2"]},{"1391964721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964723, 1391964717, 1391964726, 1391964719, 1391964727, 1391964721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.751264333724976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:50:42.739177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_09_3712.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_11_2725.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_14_2745.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_17_2618.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_20_3699.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_23_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_09_3712.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_11_2725.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_14_2745.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_17_2618.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_20_3699.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_23_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964729","1391964746","1391964731","1391964737","1391964742","1391964733"],"photo_ids_order":["1391964729","1391964731","1391964733","1391964737","1391964742","1391964746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/25e64d44e08ada3789bf4be8509c2c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4148010312821670726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131103855,"filename":"image_31102025_00_24_09_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/3/b56828e9cb80385f39a39ddbc6d985a0.jpg","text":"TemporaryFile(/tmp/multipartBody8458759708297762807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131103855,"filename":"image_31102025_00_24_23_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/3/45b9c74ac5317137d5a43b1d8bb2f745.jpg","text":"TemporaryFile(/tmp/multipartBody4411826837628434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131103855,"filename":"image_31102025_00_24_11_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/3/e353bbd82ecf0f0c2d9220d9da40cad6.jpg","text":"TemporaryFile(/tmp/multipartBody6415215554071655934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131103855,"filename":"image_31102025_00_24_17_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/3/38e6481ba357e14a8d0f76366e52f8d3.jpg","text":"TemporaryFile(/tmp/multipartBody1201969405427888066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131103855,"filename":"image_31102025_00_24_20_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/3/d85ccba5a9b4c9e6df4a5df8186b87d5.jpg","text":"TemporaryFile(/tmp/multipartBody3875396653844902267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131103855,"filename":"image_31102025_00_24_14_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964733","file1":"1391964731","file0":"1391964729","file4":"1391964742","file5":"1391964746","file3":"1391964737"},"map_files_photo_id_array":[{"photo_id":"1391964746","filename":"file5"},{"photo_id":"1391964733","filename":"file2"},{"photo_id":"1391964742","filename":"file4"},{"photo_id":"1391964731","filename":"file1"},{"photo_id":"1391964729","filename":"file0"},{"photo_id":"1391964737","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964729":["hashtag1","hashtag2"]},{"1391964746":["hashtag1","hashtag2"]},{"1391964731":["hashtag1","hashtag2"]},{"1391964737":["hashtag1","hashtag2"]},{"1391964742":["hashtag1","hashtag2"]},{"1391964733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964729, 1391964746, 1391964731, 1391964737, 1391964742, 1391964733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94074273109436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:51:21.965723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_49_3938.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_51_2664.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_54_2613.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_58_3605.jpg', '/home/pi/Desktop/images/30102025/14/18/image_30102025_14_19_00_2617.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_03_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/14/18/image_30102025_14_18_49_3938.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_51_2664.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_54_2613.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_18_58_3605.jpg
/home/pi/Desktop/images/30102025/14/18/image_30102025_14_19_00_2617.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_03_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964777","1391964770","1391964775","1391964769","1391964772","1391964774"],"photo_ids_order":["1391964769","1391964770","1391964772","1391964774","1391964775","1391964777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/936fdd383f6f9427cd9f76d05a652821.jpg","text":"TemporaryFile(/tmp/multipartBody5405348447169676805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131144390,"filename":"image_30102025_14_19_03_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/3/e89352a9ee69085045e41e5428ea53e6.jpg","text":"TemporaryFile(/tmp/multipartBody2555840272779007119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131144390,"filename":"image_30102025_14_18_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/3/ba2e29e087391e0432360b749319a95e.jpg","text":"TemporaryFile(/tmp/multipartBody4275347458251088434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131144390,"filename":"image_30102025_14_19_00_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/3/fdee54bc33477afa71e030020c8498d1.jpg","text":"TemporaryFile(/tmp/multipartBody5340695471773103969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131144390,"filename":"image_30102025_14_18_49_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/3/f15bce1cb497d516ff70760c319453fd.jpg","text":"TemporaryFile(/tmp/multipartBody8250815471748313318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131144390,"filename":"image_30102025_14_18_54_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/3/2adbd5344244709fb719c2155e0a06c4.jpg","text":"TemporaryFile(/tmp/multipartBody892048151955561570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131144390,"filename":"image_30102025_14_18_58_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964772","file1":"1391964770","file0":"1391964769","file4":"1391964775","file5":"1391964777","file3":"1391964774"},"map_files_photo_id_array":[{"photo_id":"1391964777","filename":"file5"},{"photo_id":"1391964772","filename":"file2"},{"photo_id":"1391964775","filename":"file4"},{"photo_id":"1391964770","filename":"file1"},{"photo_id":"1391964769","filename":"file0"},{"photo_id":"1391964774","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964777":["hashtag1","hashtag2"]},{"1391964770":["hashtag1","hashtag2"]},{"1391964775":["hashtag1","hashtag2"]},{"1391964769":["hashtag1","hashtag2"]},{"1391964772":["hashtag1","hashtag2"]},{"1391964774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964777, 1391964770, 1391964775, 1391964769, 1391964772, 1391964774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19028878211975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:52:02.545853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_06_2793.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_10_3913.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_13_2762.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_15_2560.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_18_2772.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_21_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/14/19/image_30102025_14_19_06_2793.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_10_3913.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_13_2762.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_15_2560.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_18_2772.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_21_3558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964782","1391964785","1391964787","1391964792","1391964789","1391964780"],"photo_ids_order":["1391964780","1391964782","1391964785","1391964787","1391964789","1391964792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e09304c425e7e8117cdaa6153f2d4657.jpg","text":"TemporaryFile(/tmp/multipartBody5040822889370032603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131184408,"filename":"image_30102025_14_19_10_3913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/76a435aaf0fe772e0d323ac84060ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody1373189551272608820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131184408,"filename":"image_30102025_14_19_13_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/3/100d6533bcf39a3020cbcab805cfebaa.jpg","text":"TemporaryFile(/tmp/multipartBody7495615660962737231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131184408,"filename":"image_30102025_14_19_15_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/3/86edd2f2f8a411bba287a9a0991de582.jpg","text":"TemporaryFile(/tmp/multipartBody988864227844107462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131184408,"filename":"image_30102025_14_19_21_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/3/a04e17d3c14461017c1e1befb96ae9d7.jpg","text":"TemporaryFile(/tmp/multipartBody4359819533225038406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131184408,"filename":"image_30102025_14_19_18_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/3/63d4fcccd9ccdfd371f449809e0a4009.jpg","text":"TemporaryFile(/tmp/multipartBody2139221747439092864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131184408,"filename":"image_30102025_14_19_06_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964785","file1":"1391964782","file0":"1391964780","file4":"1391964789","file5":"1391964792","file3":"1391964787"},"map_files_photo_id_array":[{"photo_id":"1391964792","filename":"file5"},{"photo_id":"1391964785","filename":"file2"},{"photo_id":"1391964789","filename":"file4"},{"photo_id":"1391964782","filename":"file1"},{"photo_id":"1391964780","filename":"file0"},{"photo_id":"1391964787","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964782":["hashtag1","hashtag2"]},{"1391964785":["hashtag1","hashtag2"]},{"1391964787":["hashtag1","hashtag2"]},{"1391964792":["hashtag1","hashtag2"]},{"1391964789":["hashtag1","hashtag2"]},{"1391964780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964782, 1391964785, 1391964787, 1391964792, 1391964789, 1391964780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.547905683517456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:52:42.270726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_26_2587.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_29_3655.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_41_2567.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_44_2738.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_50_3716.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_53_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_26_2587.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_29_3655.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_41_2567.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_44_2738.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_50_3716.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_53_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964804","1391964800","1391964806","1391964808","1391964798","1391964802"],"photo_ids_order":["1391964798","1391964800","1391964802","1391964804","1391964806","1391964808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ccca72582e53a08388d40e1dfe62ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7132360192315842728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131223395,"filename":"image_31102025_00_24_44_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/3/441b73a35127029e9b37597077bf2355.jpg","text":"TemporaryFile(/tmp/multipartBody111902033389435283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131223395,"filename":"image_31102025_00_24_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/3/b131ba054342243bc4ab45a748f7d70f.jpg","text":"TemporaryFile(/tmp/multipartBody3904606957527349679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131223395,"filename":"image_31102025_00_24_50_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/3/a2e6a531e7db39fd25bdce2eeeb3be07.jpg","text":"TemporaryFile(/tmp/multipartBody5597011810186332604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131223395,"filename":"image_31102025_00_24_53_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/3/61a19a3f5c901dabea152615bce57466.jpg","text":"TemporaryFile(/tmp/multipartBody6733390644671115761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131223395,"filename":"image_31102025_00_24_26_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/3/70b21309e79573f9c57a60b598f7f1d9.jpg","text":"TemporaryFile(/tmp/multipartBody1963956047055004498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131223395,"filename":"image_31102025_00_24_41_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964802","file1":"1391964800","file0":"1391964798","file4":"1391964806","file5":"1391964808","file3":"1391964804"},"map_files_photo_id_array":[{"photo_id":"1391964808","filename":"file5"},{"photo_id":"1391964802","filename":"file2"},{"photo_id":"1391964806","filename":"file4"},{"photo_id":"1391964800","filename":"file1"},{"photo_id":"1391964798","filename":"file0"},{"photo_id":"1391964804","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964804":["hashtag1","hashtag2"]},{"1391964800":["hashtag1","hashtag2"]},{"1391964806":["hashtag1","hashtag2"]},{"1391964808":["hashtag1","hashtag2"]},{"1391964798":["hashtag1","hashtag2"]},{"1391964802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964804, 1391964800, 1391964806, 1391964808, 1391964798, 1391964802)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.76412916183472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:53:42.476622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_56_2676.jpg', '/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_59_3667.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_05_2586.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_08_3088.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_15_3774.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_17_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_56_2676.jpg
/home/pi/Desktop/images/31102025/00/24/image_31102025_00_24_59_3667.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_05_2586.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_08_3088.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_15_3774.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_17_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964828","1391964822","1391964816","1391964824","1391964818","1391964826"],"photo_ids_order":["1391964816","1391964818","1391964822","1391964824","1391964826","1391964828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eca1139897113c5a4d875a74873851a1.jpg","text":"TemporaryFile(/tmp/multipartBody7899850643201782886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131283554,"filename":"image_31102025_00_25_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/3/943cea167402b1fd2b935939c0f771bf.jpg","text":"TemporaryFile(/tmp/multipartBody6470438651827395309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131283554,"filename":"image_31102025_00_25_05_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/3/fbe40e00b3c592ac766d063ed4b0b372.jpg","text":"TemporaryFile(/tmp/multipartBody1602003359340905404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131283554,"filename":"image_31102025_00_24_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/3/57293d0c096e8ff54c8f11675e15bb6a.jpg","text":"TemporaryFile(/tmp/multipartBody2889813491845655559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131283554,"filename":"image_31102025_00_25_08_3088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c7d354796619c5637b18ba0305834af6.jpg","text":"TemporaryFile(/tmp/multipartBody6280171641406442951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131283554,"filename":"image_31102025_00_24_59_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/3/0703db7fe66c718cf6ea5e4d13d7ff13.jpg","text":"TemporaryFile(/tmp/multipartBody5646257045072701600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131283554,"filename":"image_31102025_00_25_15_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964822","file1":"1391964818","file0":"1391964816","file4":"1391964826","file5":"1391964828","file3":"1391964824"},"map_files_photo_id_array":[{"photo_id":"1391964828","filename":"file5"},{"photo_id":"1391964822","filename":"file2"},{"photo_id":"1391964826","filename":"file4"},{"photo_id":"1391964818","filename":"file1"},{"photo_id":"1391964816","filename":"file0"},{"photo_id":"1391964824","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964828":["hashtag1","hashtag2"]},{"1391964822":["hashtag1","hashtag2"]},{"1391964816":["hashtag1","hashtag2"]},{"1391964824":["hashtag1","hashtag2"]},{"1391964818":["hashtag1","hashtag2"]},{"1391964826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964828, 1391964822, 1391964816, 1391964824, 1391964818, 1391964826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30560374259949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:54:22.664595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_24_2864.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_27_2777.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_30_2848.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_34_3801.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_36_2573.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_39_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/14/19/image_30102025_14_19_24_2864.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_27_2777.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_30_2848.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_34_3801.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_36_2573.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_39_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964834","1391964837","1391964831","1391964833","1391964836","1391964835"],"photo_ids_order":["1391964831","1391964833","1391964834","1391964835","1391964836","1391964837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e05ffcfa7aae6d558496cfcb519e05b9.jpg","text":"TemporaryFile(/tmp/multipartBody3482086877045239381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131325081,"filename":"image_30102025_14_19_30_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/3/00aa30c227752f96add2534eae51306e.jpg","text":"TemporaryFile(/tmp/multipartBody2678432272969388293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131325081,"filename":"image_30102025_14_19_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/3/03987c7201dbbc156ce1d2bcda4ecfaa.jpg","text":"TemporaryFile(/tmp/multipartBody3449888896315253136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131325081,"filename":"image_30102025_14_19_24_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/3/87738cf0027530c50d2e209a4f939393.jpg","text":"TemporaryFile(/tmp/multipartBody3437214402157594845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131325081,"filename":"image_30102025_14_19_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/3/60e7b4b0b513b2f87a67360fab5b1253.jpg","text":"TemporaryFile(/tmp/multipartBody74404447946522689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131325081,"filename":"image_30102025_14_19_36_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/3/3fb90ce406a8e774691e64faefaa9f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1138702512960850438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131325081,"filename":"image_30102025_14_19_34_3801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964834","file1":"1391964833","file0":"1391964831","file4":"1391964836","file5":"1391964837","file3":"1391964835"},"map_files_photo_id_array":[{"photo_id":"1391964837","filename":"file5"},{"photo_id":"1391964834","filename":"file2"},{"photo_id":"1391964836","filename":"file4"},{"photo_id":"1391964833","filename":"file1"},{"photo_id":"1391964831","filename":"file0"},{"photo_id":"1391964835","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964834":["hashtag1","hashtag2"]},{"1391964837":["hashtag1","hashtag2"]},{"1391964831":["hashtag1","hashtag2"]},{"1391964833":["hashtag1","hashtag2"]},{"1391964836":["hashtag1","hashtag2"]},{"1391964835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964834, 1391964837, 1391964831, 1391964833, 1391964836, 1391964835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03935718536377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:55:02.819824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_43_3668.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_45_2778.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_48_2711.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_51_2747.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_55_3776.jpg', '/home/pi/Desktop/images/30102025/14/19/image_30102025_14_20_00_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/14/19/image_30102025_14_19_43_3668.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_45_2778.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_48_2711.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_51_2747.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_19_55_3776.jpg
/home/pi/Desktop/images/30102025/14/19/image_30102025_14_20_00_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964843","1391964845","1391964848","1391964850","1391964852","1391964846"],"photo_ids_order":["1391964843","1391964845","1391964846","1391964848","1391964850","1391964852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2acdf7bf355c0f214919d6bf717a6cd7.jpg","text":"TemporaryFile(/tmp/multipartBody4670702351914682348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131365128,"filename":"image_30102025_14_19_43_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/3/4f7053aff9574863abb1d30379870fc7.jpg","text":"TemporaryFile(/tmp/multipartBody794777755605334090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131365128,"filename":"image_30102025_14_19_45_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/3/4d73c84fdfa32dbd6f1ddd3f5b4dad8b.jpg","text":"TemporaryFile(/tmp/multipartBody2354134398697629621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131365128,"filename":"image_30102025_14_19_51_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/3/0412fefbce54ca7c40c935e1e3788e14.jpg","text":"TemporaryFile(/tmp/multipartBody6791032600260332493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131365128,"filename":"image_30102025_14_19_55_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/3/a3ae5e3849410e2653e39b65130a7558.jpg","text":"TemporaryFile(/tmp/multipartBody6581684355435530234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131365128,"filename":"image_30102025_14_20_00_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/3/9efd84c128ffe8a32ecf2abf285fd686.jpg","text":"TemporaryFile(/tmp/multipartBody6856707006678714112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131365128,"filename":"image_30102025_14_19_48_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964846","file1":"1391964845","file0":"1391964843","file4":"1391964850","file5":"1391964852","file3":"1391964848"},"map_files_photo_id_array":[{"photo_id":"1391964852","filename":"file5"},{"photo_id":"1391964846","filename":"file2"},{"photo_id":"1391964850","filename":"file4"},{"photo_id":"1391964845","filename":"file1"},{"photo_id":"1391964843","filename":"file0"},{"photo_id":"1391964848","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964843":["hashtag1","hashtag2"]},{"1391964845":["hashtag1","hashtag2"]},{"1391964848":["hashtag1","hashtag2"]},{"1391964850":["hashtag1","hashtag2"]},{"1391964852":["hashtag1","hashtag2"]},{"1391964846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964843, 1391964845, 1391964848, 1391964850, 1391964852, 1391964846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.359768867492676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:55:42.237223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_20_2557.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_29_2875.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_32_3655.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_35_2708.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_38_2696.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_41_2993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_20_2557.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_29_2875.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_32_3655.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_35_2708.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_38_2696.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_41_2993.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964861","1391964858","1391964860","1391964862","1391964859","1391964864"],"photo_ids_order":["1391964858","1391964859","1391964860","1391964861","1391964862","1391964864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f46e49912a761b8f610f756cc001fa17.jpg","text":"TemporaryFile(/tmp/multipartBody851880606983452831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131403350,"filename":"image_31102025_00_25_35_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/3/4203af14925a1dcc6be49d874b32a3de.jpg","text":"TemporaryFile(/tmp/multipartBody8170030345133527120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131403350,"filename":"image_31102025_00_25_20_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/3/c4327f3700d2521df8cce90b15b852f4.jpg","text":"TemporaryFile(/tmp/multipartBody4213018320324783916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131403350,"filename":"image_31102025_00_25_32_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/3/a8665a0eee72cf6bb4c4df7d1f0ac46d.jpg","text":"TemporaryFile(/tmp/multipartBody3708636928523568322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131403350,"filename":"image_31102025_00_25_38_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/3/cb303140774ce8d9932011e9d75dde48.jpg","text":"TemporaryFile(/tmp/multipartBody5684978801361615280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131403350,"filename":"image_31102025_00_25_29_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/3/7baf014979ffd64073d885d635a798d4.jpg","text":"TemporaryFile(/tmp/multipartBody1710154523876292388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131403350,"filename":"image_31102025_00_25_41_2993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964860","file1":"1391964859","file0":"1391964858","file4":"1391964862","file5":"1391964864","file3":"1391964861"},"map_files_photo_id_array":[{"photo_id":"1391964864","filename":"file5"},{"photo_id":"1391964860","filename":"file2"},{"photo_id":"1391964862","filename":"file4"},{"photo_id":"1391964859","filename":"file1"},{"photo_id":"1391964858","filename":"file0"},{"photo_id":"1391964861","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964861":["hashtag1","hashtag2"]},{"1391964858":["hashtag1","hashtag2"]},{"1391964860":["hashtag1","hashtag2"]},{"1391964862":["hashtag1","hashtag2"]},{"1391964859":["hashtag1","hashtag2"]},{"1391964864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964861, 1391964858, 1391964860, 1391964862, 1391964859, 1391964864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12921643257141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 01:56:22.437329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_03_2655.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_07_3708.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_09_2730.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_12_2554.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_15_2815.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_18_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/14/20/image_30102025_14_20_03_2655.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_07_3708.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_09_2730.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_12_2554.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_15_2815.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_18_3533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964881","1391964875","1391964880","1391964877","1391964882","1391964879"],"photo_ids_order":["1391964875","1391964877","1391964879","1391964880","1391964881","1391964882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d16d16c28c4e0f52cd8c13b444cb07ef.jpg","text":"TemporaryFile(/tmp/multipartBody8190229019318966005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131444848,"filename":"image_30102025_14_20_15_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/3/b4d27f2cce50d5d8e7f5f321e97b8d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1181704191063942431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131444848,"filename":"image_30102025_14_20_03_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/3/4ac02a2b237f35aa66b9b89371a7026d.jpg","text":"TemporaryFile(/tmp/multipartBody1662571014132450612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131444848,"filename":"image_30102025_14_20_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/3/09940b1ad8195fa310f423391453cd59.jpg","text":"TemporaryFile(/tmp/multipartBody2336472242673734882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131444848,"filename":"image_30102025_14_20_07_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/3/2aaf7988ddb061ce90ce99b9e228fcf6.jpg","text":"TemporaryFile(/tmp/multipartBody7022570987808128522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131444848,"filename":"image_30102025_14_20_18_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/3/1d26790c9e3fcd87df40e905ae24634e.jpg","text":"TemporaryFile(/tmp/multipartBody2780767547645877059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131444848,"filename":"image_30102025_14_20_09_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964879","file1":"1391964877","file0":"1391964875","file4":"1391964881","file5":"1391964882","file3":"1391964880"},"map_files_photo_id_array":[{"photo_id":"1391964882","filename":"file5"},{"photo_id":"1391964879","filename":"file2"},{"photo_id":"1391964881","filename":"file4"},{"photo_id":"1391964877","filename":"file1"},{"photo_id":"1391964875","filename":"file0"},{"photo_id":"1391964880","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964881":["hashtag1","hashtag2"]},{"1391964875":["hashtag1","hashtag2"]},{"1391964880":["hashtag1","hashtag2"]},{"1391964877":["hashtag1","hashtag2"]},{"1391964882":["hashtag1","hashtag2"]},{"1391964879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964881, 1391964875, 1391964880, 1391964877, 1391964882, 1391964879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3591992855072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:57:03.131204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_21_2853.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_27_2823.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_30_3680.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_36_2778.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_39_2640.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_45_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/14/20/image_30102025_14_20_21_2853.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_27_2823.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_30_3680.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_36_2778.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_39_2640.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_45_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964890","1391964887","1391964889","1391964891","1391964885","1391964888"],"photo_ids_order":["1391964885","1391964887","1391964888","1391964889","1391964890","1391964891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2bf4994e2c7ba3c5def7e71b6f4267d.jpg","text":"TemporaryFile(/tmp/multipartBody5629750039541097757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131485079,"filename":"image_30102025_14_20_39_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1f45552a616949d4efec9b4fd6aca676.jpg","text":"TemporaryFile(/tmp/multipartBody4268263843327774714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131485079,"filename":"image_30102025_14_20_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/3/da142acfbb397d7ed2c84f7e02dc1169.jpg","text":"TemporaryFile(/tmp/multipartBody948697294529055316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131485079,"filename":"image_30102025_14_20_36_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/3/20199777925cab81a876710a5165829b.jpg","text":"TemporaryFile(/tmp/multipartBody1010748199851812636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131485079,"filename":"image_30102025_14_20_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/3/7970c01f2c99edb0caab16c757081433.jpg","text":"TemporaryFile(/tmp/multipartBody1850421276490667930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131485079,"filename":"image_30102025_14_20_21_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/3/cbbebd8517c2c3ac8fc4dc59e4082b35.jpg","text":"TemporaryFile(/tmp/multipartBody19822167067925396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131485079,"filename":"image_30102025_14_20_30_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964888","file1":"1391964887","file0":"1391964885","file4":"1391964890","file5":"1391964891","file3":"1391964889"},"map_files_photo_id_array":[{"photo_id":"1391964891","filename":"file5"},{"photo_id":"1391964888","filename":"file2"},{"photo_id":"1391964890","filename":"file4"},{"photo_id":"1391964887","filename":"file1"},{"photo_id":"1391964885","filename":"file0"},{"photo_id":"1391964889","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391964890":["hashtag1","hashtag2"]},{"1391964887":["hashtag1","hashtag2"]},{"1391964889":["hashtag1","hashtag2"]},{"1391964891":["hashtag1","hashtag2"]},{"1391964885":["hashtag1","hashtag2"]},{"1391964888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391964890, 1391964887, 1391964889, 1391964891, 1391964885, 1391964888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.668444871902466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 01:57:42.549469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_44_2778.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_47_3579.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_53_2732.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_56_3787.jpg', '/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_59_2661.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_02_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_44_2778.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_47_3579.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_53_2732.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_56_3787.jpg
/home/pi/Desktop/images/31102025/00/25/image_31102025_00_25_59_2661.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_02_2720.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391964903","1391964906","1391964908","1391964898","1391964905","1391964910"],"photo_ids_order":["1391964898","1391964903","1391964905","1391964906","1391964908","1391964910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2e969a972bd1e65349e8d936952bd211.jpg","text":"TemporaryFile(/tmp/multipartBody1491109980913723145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131523665,"filename":"image_31102025_00_25_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/3/2d7ad567a964dd44a1c53d863ddebdee.jpg","text":"TemporaryFile(/tmp/multipartBody7904247970203566847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131523665,"filename":"image_31102025_00_25_56_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/3/97d1a17e2dd0321330031849ffcf3e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2917111210599253147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131523665,"filename":"image_31102025_00_25_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/3/03c5c461379c13c19bba232a9d31da2b.jpg","text":"TemporaryFile(/tmp/multipartBody6092594386819959514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131523665,"filename":"image_31102025_00_25_44_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2f2b398058d858aa12f7b953b559642.jpg","text":"TemporaryFile(/tmp/multipartBody8089725532628414694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131523665,"filename":"image_31102025_00_25_53_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4631cbc77e11f3df70970d5d7c057ee4.jpg","text":"TemporaryFile(/tmp/multipartBody1360265485030930749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131523665,"filename":"image_31102025_00_26_02_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391964905","file1":"1391964903","file0":"1391964898","file4":"1391964908","file5":"1391964910","file3":"1391964906"},"map_files_photo_id_array":[{"photo_id":"1391964910","filename":"file5"},{"photo_id":"1391964905","filename":"file2"},{"photo_id":"1391964908","filename":"file4"},{"photo_id":"1391964903","filename":"file1"},{"photo_id":"1391964898","filename":"file0"},{"photo_id":"1391964906","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391964903":["hashtag1","hashtag2"]},{"1391964906":["hashtag1","hashtag2"]},{"1391964908":["hashtag1","hashtag2"]},{"1391964898":["hashtag1","hashtag2"]},{"1391964905":["hashtag1","hashtag2"]},{"1391964910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391964903, 1391964906, 1391964908, 1391964898, 1391964905, 1391964910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3328902721405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 01:59:02.794115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_51_3561.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_58_3540.jpg', '/home/pi/Desktop/images/30102025/14/20/image_30102025_14_21_00_2683.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_06_2686.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_09_3815.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_12_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/14/20/image_30102025_14_20_51_3561.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_20_58_3540.jpg
/home/pi/Desktop/images/30102025/14/20/image_30102025_14_21_00_2683.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_06_2686.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_09_3815.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_12_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":["1391965370","1391965289","1391965400","1391965252","1391965333","1391965176"],"photo_ids_order":["1391965176","1391965252","1391965289","1391965333","1391965370","1391965400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5d5d0efa83e0a69c1869c48eece1a021.jpg","text":"TemporaryFile(/tmp/multipartBody8956350437232354008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131604943,"filename":"image_30102025_14_21_09_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/3/aa185979ed2eacadffe5363c967223fb.jpg","text":"TemporaryFile(/tmp/multipartBody8400686361803354472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131604943,"filename":"image_30102025_14_21_00_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/3/570fbd6d76736fa4a972c43334f7ccb4.jpg","text":"TemporaryFile(/tmp/multipartBody623138172844804251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131604943,"filename":"image_30102025_14_21_12_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/3/9373b7ae60ca7ea0f57d040340abb7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1651563676965486064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131604943,"filename":"image_30102025_14_20_58_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/3/df4172c7eccbdc67b5f7c5b264adb92d.jpg","text":"TemporaryFile(/tmp/multipartBody7615509500051496844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131604943,"filename":"image_30102025_14_21_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/3/008bb97c6d41f847d7300649156afa5b.jpg","text":"TemporaryFile(/tmp/multipartBody4976557386635699392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131604943,"filename":"image_30102025_14_20_51_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391965289","file1":"1391965252","file0":"1391965176","file4":"1391965370","file5":"1391965400","file3":"1391965333"},"map_files_photo_id_array":[{"photo_id":"1391965400","filename":"file5"},{"photo_id":"1391965289","filename":"file2"},{"photo_id":"1391965370","filename":"file4"},{"photo_id":"1391965252","filename":"file1"},{"photo_id":"1391965176","filename":"file0"},{"photo_id":"1391965333","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391965370":["hashtag1","hashtag2"]},{"1391965289":["hashtag1","hashtag2"]},{"1391965400":["hashtag1","hashtag2"]},{"1391965252":["hashtag1","hashtag2"]},{"1391965333":["hashtag1","hashtag2"]},{"1391965176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391965370, 1391965289, 1391965400, 1391965252, 1391965333, 1391965176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44700527191162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:00:05.862356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 02:00:28.210236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_15_2700.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_18_2847.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_21_3650.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_27_2572.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_30_3731.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_36_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/14/21/image_30102025_14_21_15_2700.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_18_2847.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_21_3650.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_27_2572.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_30_3731.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_36_2572.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.430821418762207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:00:45.512210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_05_3663.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_08_2915.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_14_3077.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_17_2717.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_20_2567.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_22_2862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_05_3663.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_08_2915.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_14_3077.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_17_2717.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_20_2567.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_22_2862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391965889","1391965981","1391965928","1391965986","1391965983","1391965965"],"photo_ids_order":["1391965889","1391965928","1391965965","1391965981","1391965983","1391965986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/831fee7a7b4ffeeb9bff24f209e86c4b.jpg","text":"TemporaryFile(/tmp/multipartBody5367020355886814694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131706584,"filename":"image_31102025_00_26_05_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/3/0a050805a6c93b461475cad10a53a468.jpg","text":"TemporaryFile(/tmp/multipartBody5808389875667675744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131706584,"filename":"image_31102025_00_26_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/3/32293bf74db3d91f0612b6cf1b303f53.jpg","text":"TemporaryFile(/tmp/multipartBody6527942059959022933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131706584,"filename":"image_31102025_00_26_08_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/3/d11acd736df54aa66f6799b612ac142d.jpg","text":"TemporaryFile(/tmp/multipartBody5467794356161492015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131706584,"filename":"image_31102025_00_26_22_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/3/2db98815cd6f30e4ec01c883ee13a01b.jpg","text":"TemporaryFile(/tmp/multipartBody3971321642919786158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131706584,"filename":"image_31102025_00_26_20_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/3/e081419eea3f42996e61a89678bee8ed.jpg","text":"TemporaryFile(/tmp/multipartBody2675833066488763444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131706584,"filename":"image_31102025_00_26_14_3077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391965965","file1":"1391965928","file0":"1391965889","file4":"1391965983","file5":"1391965986","file3":"1391965981"},"map_files_photo_id_array":[{"photo_id":"1391965986","filename":"file5"},{"photo_id":"1391965965","filename":"file2"},{"photo_id":"1391965983","filename":"file4"},{"photo_id":"1391965928","filename":"file1"},{"photo_id":"1391965889","filename":"file0"},{"photo_id":"1391965981","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391965889":["hashtag1","hashtag2"]},{"1391965981":["hashtag1","hashtag2"]},{"1391965928":["hashtag1","hashtag2"]},{"1391965986":["hashtag1","hashtag2"]},{"1391965983":["hashtag1","hashtag2"]},{"1391965965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391965889, 1391965981, 1391965928, 1391965986, 1391965983, 1391965965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68894934654236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:01:22.847644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_15_2700.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_18_2847.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_21_3650.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_27_2572.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_30_3731.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_36_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/14/21/image_30102025_14_21_15_2700.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_18_2847.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_21_3650.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_27_2572.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_30_3731.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_36_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391965988","1391966089","1391966006","1391965990","1391965987","1391966163"],"photo_ids_order":["1391965987","1391965988","1391965990","1391966006","1391966089","1391966163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3a03c145399d2a9f07d988459b119f94.jpg","text":"TemporaryFile(/tmp/multipartBody2613074770090988060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131745117,"filename":"image_30102025_14_21_18_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/3/b4fc9620fc118ff6d47278ce57586f51.jpg","text":"TemporaryFile(/tmp/multipartBody452369131986418770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131745117,"filename":"image_30102025_14_21_30_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/3/8a2d41b040506c4f26013a15978c10a1.jpg","text":"TemporaryFile(/tmp/multipartBody4393054532935789544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131745117,"filename":"image_30102025_14_21_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/3/402ba1b4f650fc44be24274e037b0880.jpg","text":"TemporaryFile(/tmp/multipartBody1909004295985432128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131745117,"filename":"image_30102025_14_21_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/3/c06c38a5b0edd10c32c23a7063853341.jpg","text":"TemporaryFile(/tmp/multipartBody5897791892340222117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131745117,"filename":"image_30102025_14_21_15_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/3/798db4b1193b3976fd3097dcb3f8bd0a.jpg","text":"TemporaryFile(/tmp/multipartBody8387961000228445583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131745117,"filename":"image_30102025_14_21_36_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391965990","file1":"1391965988","file0":"1391965987","file4":"1391966089","file5":"1391966163","file3":"1391966006"},"map_files_photo_id_array":[{"photo_id":"1391966163","filename":"file5"},{"photo_id":"1391965990","filename":"file2"},{"photo_id":"1391966089","filename":"file4"},{"photo_id":"1391965988","filename":"file1"},{"photo_id":"1391965987","filename":"file0"},{"photo_id":"1391966006","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391965988":["hashtag1","hashtag2"]},{"1391966089":["hashtag1","hashtag2"]},{"1391966006":["hashtag1","hashtag2"]},{"1391965990":["hashtag1","hashtag2"]},{"1391965987":["hashtag1","hashtag2"]},{"1391966163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391965988, 1391966089, 1391966006, 1391965990, 1391965987, 1391966163)","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: 71.16309928894043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:02:42.060993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_31_2758.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_35_3778.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_38_2752.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_40_2457.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_44_3939.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_50_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_31_2758.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_35_3778.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_38_2752.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_40_2457.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_44_3939.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_50_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391966552","1391966554","1391966548","1391966557","1391966550","1391966555"],"photo_ids_order":["1391966548","1391966550","1391966552","1391966554","1391966555","1391966557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cefaed8a87abb302304a81cebebb1dea.jpg","text":"TemporaryFile(/tmp/multipartBody5464005504232451858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131823130,"filename":"image_31102025_00_26_38_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/3/779aa92a300291eb971bca0d0fbd2a1d.jpg","text":"TemporaryFile(/tmp/multipartBody6415710631757852988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131823130,"filename":"image_31102025_00_26_40_2457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8f6ebcae989ae0737bf9eda21e7d730d.jpg","text":"TemporaryFile(/tmp/multipartBody3349443769373832654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131823130,"filename":"image_31102025_00_26_31_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/04fe33abd7de07a0b0f7ce04dc592582.jpg","text":"TemporaryFile(/tmp/multipartBody7659405922435630102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131823130,"filename":"image_31102025_00_26_50_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/3/d3fd48e17638ea50e0571513be378ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7346589525774212456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131823130,"filename":"image_31102025_00_26_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/3/4f93718413e65bde7862a0cc29e913ab.jpg","text":"TemporaryFile(/tmp/multipartBody540968023699049260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131823130,"filename":"image_31102025_00_26_44_3939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391966552","file1":"1391966550","file0":"1391966548","file4":"1391966555","file5":"1391966557","file3":"1391966554"},"map_files_photo_id_array":[{"photo_id":"1391966557","filename":"file5"},{"photo_id":"1391966552","filename":"file2"},{"photo_id":"1391966555","filename":"file4"},{"photo_id":"1391966550","filename":"file1"},{"photo_id":"1391966548","filename":"file0"},{"photo_id":"1391966554","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391966552":["hashtag1","hashtag2"]},{"1391966554":["hashtag1","hashtag2"]},{"1391966548":["hashtag1","hashtag2"]},{"1391966557":["hashtag1","hashtag2"]},{"1391966550":["hashtag1","hashtag2"]},{"1391966555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391966552, 1391966554, 1391966548, 1391966557, 1391966550, 1391966555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88505148887634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:03:22.390834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_39_3722.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_48_3628.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_51_2801.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_54_2634.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_57_3722.jpg', '/home/pi/Desktop/images/30102025/14/21/image_30102025_14_22_00_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/14/21/image_30102025_14_21_39_3722.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_48_3628.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_51_2801.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_54_2634.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_21_57_3722.jpg
/home/pi/Desktop/images/30102025/14/21/image_30102025_14_22_00_2735.jpg
 val : 1 : upload photos 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":["1391967181","1391967144","1391967071","1391967032","1391967107","1391966993"],"photo_ids_order":["1391966993","1391967032","1391967071","1391967107","1391967144","1391967181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1d6937a7adf42b34de3eac5c522cbdac.jpg","text":"TemporaryFile(/tmp/multipartBody7441780416609463268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131943956,"filename":"image_30102025_14_22_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/3/3acfcf229c6b21e8e8e961f20e8f1175.jpg","text":"TemporaryFile(/tmp/multipartBody7386622872758871161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131943956,"filename":"image_30102025_14_21_57_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/53e9f99b987a8199ccdfbc9ce58b4945.jpg","text":"TemporaryFile(/tmp/multipartBody2283702010041958840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131943956,"filename":"image_30102025_14_21_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/3/6f977285465603345a808a3c80ceac3c.jpg","text":"TemporaryFile(/tmp/multipartBody2198922645710864159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131943956,"filename":"image_30102025_14_21_48_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/3/2e8d56cdf6f618290252cd61298a4053.jpg","text":"TemporaryFile(/tmp/multipartBody7194413755590806470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131943956,"filename":"image_30102025_14_21_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/3/9e930372ea63565ef069576a72664b7a.jpg","text":"TemporaryFile(/tmp/multipartBody2991260946704277461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131943956,"filename":"image_30102025_14_21_39_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391967071","file1":"1391967032","file0":"1391966993","file4":"1391967144","file5":"1391967181","file3":"1391967107"},"map_files_photo_id_array":[{"photo_id":"1391967181","filename":"file5"},{"photo_id":"1391967071","filename":"file2"},{"photo_id":"1391967144","filename":"file4"},{"photo_id":"1391967032","filename":"file1"},{"photo_id":"1391966993","filename":"file0"},{"photo_id":"1391967107","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391967181":["hashtag1","hashtag2"]},{"1391967144":["hashtag1","hashtag2"]},{"1391967071":["hashtag1","hashtag2"]},{"1391967032":["hashtag1","hashtag2"]},{"1391967107":["hashtag1","hashtag2"]},{"1391966993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391967181, 1391967144, 1391967071, 1391967032, 1391967107, 1391966993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 115.57644605636597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:05:22.128452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_06_3623.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_09_2773.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_18_3683.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_30_3675.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_33_2615.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_35_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/14/22/image_30102025_14_22_06_3623.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_09_2773.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_18_3683.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_30_3675.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_33_2615.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_35_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391967421","1391967387","1391967495","1391967459","1391967534","1391967350"],"photo_ids_order":["1391967350","1391967387","1391967421","1391967459","1391967495","1391967534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/abde8bd7201c13a801485b5a22c94746.jpg","text":"TemporaryFile(/tmp/multipartBody7741284628380133633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131984624,"filename":"image_30102025_14_22_18_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/3/6ab98e9774a36d46d8f92393055d749c.jpg","text":"TemporaryFile(/tmp/multipartBody4564874870931577857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131984624,"filename":"image_30102025_14_22_09_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/3/8d13efd31273dd1696b7257a74cd67d4.jpg","text":"TemporaryFile(/tmp/multipartBody9192286019470070531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131984624,"filename":"image_30102025_14_22_33_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f6e2ec96c6548f54a9f8481bc4da6fbe.jpg","text":"TemporaryFile(/tmp/multipartBody5738518899989178093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131984624,"filename":"image_30102025_14_22_30_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/3/318f86d18bf871bd0ca5329cb7c7bd15.jpg","text":"TemporaryFile(/tmp/multipartBody2858270778526182772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131984624,"filename":"image_30102025_14_22_35_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/3/4811eedb1484a46d1cbe3b2d51f89b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6844758226974366873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762131984624,"filename":"image_30102025_14_22_06_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391967421","file1":"1391967387","file0":"1391967350","file4":"1391967495","file5":"1391967534","file3":"1391967459"},"map_files_photo_id_array":[{"photo_id":"1391967534","filename":"file5"},{"photo_id":"1391967421","filename":"file2"},{"photo_id":"1391967495","filename":"file4"},{"photo_id":"1391967387","filename":"file1"},{"photo_id":"1391967350","filename":"file0"},{"photo_id":"1391967459","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391967421":["hashtag1","hashtag2"]},{"1391967387":["hashtag1","hashtag2"]},{"1391967495":["hashtag1","hashtag2"]},{"1391967459":["hashtag1","hashtag2"]},{"1391967534":["hashtag1","hashtag2"]},{"1391967350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391967421, 1391967387, 1391967495, 1391967459, 1391967534, 1391967350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81028771400452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:06:02.752287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_39_3631.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_42_2652.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_48_3703.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_51_2877.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_54_2743.jpg', '/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_57_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_39_3631.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_42_2652.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_48_3703.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_51_2877.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_54_2743.jpg
/home/pi/Desktop/images/30102025/14/22/image_30102025_14_22_57_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391967778","1391967766","1391967780","1391967689","1391967776","1391967728"],"photo_ids_order":["1391967689","1391967728","1391967766","1391967776","1391967778","1391967780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1004862c8a27edb720298bb9ac5cece9.jpg","text":"TemporaryFile(/tmp/multipartBody8216963773938846896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132024564,"filename":"image_30102025_14_22_54_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/3/1258fe5f740ae5bb7dbac31283b7945d.jpg","text":"TemporaryFile(/tmp/multipartBody7997963699410624006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132024564,"filename":"image_30102025_14_22_48_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/3/4d16ab171527821207fbfe6ae7e40d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5523747514302469156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132024564,"filename":"image_30102025_14_22_57_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/3/b7c0492ab3263e9ce73793255b9c6ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3416843538241798090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132024564,"filename":"image_30102025_14_22_39_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/3/2cfaa384efac14fdbc09f73abc413da6.jpg","text":"TemporaryFile(/tmp/multipartBody1240775127165251844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132024564,"filename":"image_30102025_14_22_51_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/3/8a5ea00aa07c34e2032b53e5ccb07a63.jpg","text":"TemporaryFile(/tmp/multipartBody6687828810032345967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132024564,"filename":"image_30102025_14_22_42_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391967766","file1":"1391967728","file0":"1391967689","file4":"1391967778","file5":"1391967780","file3":"1391967776"},"map_files_photo_id_array":[{"photo_id":"1391967780","filename":"file5"},{"photo_id":"1391967766","filename":"file2"},{"photo_id":"1391967778","filename":"file4"},{"photo_id":"1391967728","filename":"file1"},{"photo_id":"1391967689","filename":"file0"},{"photo_id":"1391967776","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391967778":["hashtag1","hashtag2"]},{"1391967766":["hashtag1","hashtag2"]},{"1391967780":["hashtag1","hashtag2"]},{"1391967689":["hashtag1","hashtag2"]},{"1391967776":["hashtag1","hashtag2"]},{"1391967728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391967778, 1391967766, 1391967780, 1391967689, 1391967776, 1391967728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28709292411804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:06:42.333337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_52_2658.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_56_3747.jpg', '/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_59_2604.jpg', '/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_02_2791.jpg', '/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_08_2699.jpg', '/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_13_2930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_52_2658.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_56_3747.jpg
/home/pi/Desktop/images/31102025/00/26/image_31102025_00_26_59_2604.jpg
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_02_2791.jpg
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_08_2699.jpg
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_13_2930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391967787","1391967784","1391967786","1391967789","1391967788","1391967785"],"photo_ids_order":["1391967784","1391967785","1391967786","1391967787","1391967788","1391967789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8e90a408002050b1c613c99ed68280d0.jpg","text":"TemporaryFile(/tmp/multipartBody7996550896000069379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132063471,"filename":"image_31102025_00_27_02_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/3/842e7be9ec46467e8e745d4a68b01aa2.jpg","text":"TemporaryFile(/tmp/multipartBody3086389428011892608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132063471,"filename":"image_31102025_00_26_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/3/e07af5ec3c32818d58bfab0003505816.jpg","text":"TemporaryFile(/tmp/multipartBody1928365025593926754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132063471,"filename":"image_31102025_00_26_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/3/b971496997e606933c2efdff70691319.jpg","text":"TemporaryFile(/tmp/multipartBody4847066604883239501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132063471,"filename":"image_31102025_00_27_13_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/3/853c55d5129323eda0ddc9cd6c095c1f.jpg","text":"TemporaryFile(/tmp/multipartBody3254753970790830441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132063471,"filename":"image_31102025_00_27_08_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/10bfcaa9c880037125ffba6d5c7ffc6f.jpg","text":"TemporaryFile(/tmp/multipartBody2432248744713709846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132063471,"filename":"image_31102025_00_26_56_3747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391967786","file1":"1391967785","file0":"1391967784","file4":"1391967788","file5":"1391967789","file3":"1391967787"},"map_files_photo_id_array":[{"photo_id":"1391967789","filename":"file5"},{"photo_id":"1391967786","filename":"file2"},{"photo_id":"1391967788","filename":"file4"},{"photo_id":"1391967785","filename":"file1"},{"photo_id":"1391967784","filename":"file0"},{"photo_id":"1391967787","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391967787":["hashtag1","hashtag2"]},{"1391967784":["hashtag1","hashtag2"]},{"1391967786":["hashtag1","hashtag2"]},{"1391967789":["hashtag1","hashtag2"]},{"1391967788":["hashtag1","hashtag2"]},{"1391967785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391967787, 1391967784, 1391967786, 1391967789, 1391967788, 1391967785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61091065406799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:07:22.477339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_18_2991.jpg', '/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_21_3645.jpg', '/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_24_2779.jpg', '/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_27_2587.jpg', '/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_30_2892.jpg', '/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_33_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/14/23/image_30102025_14_23_18_2991.jpg
/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_21_3645.jpg
/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_24_2779.jpg
/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_27_2587.jpg
/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_30_2892.jpg
/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_33_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391967796","1391967798","1391967801","1391967797","1391967800","1391967799"],"photo_ids_order":["1391967796","1391967797","1391967798","1391967799","1391967800","1391967801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/537e5e2eb815c269d7ea0b5578c25c49.jpg","text":"TemporaryFile(/tmp/multipartBody5473147150346263460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132105805,"filename":"image_30102025_14_23_18_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/3/eea75b0423f8c63d03245aa0f84da682.jpg","text":"TemporaryFile(/tmp/multipartBody7803378831311700539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132105805,"filename":"image_30102025_14_23_24_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/3/d3b0378915ed1b74b8686c8fb6d7c544.jpg","text":"TemporaryFile(/tmp/multipartBody8745309305038585275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132105805,"filename":"image_30102025_14_23_33_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/3/600d0dbc9947945b8795a30a669a5e6e.jpg","text":"TemporaryFile(/tmp/multipartBody3943096454679391083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132105805,"filename":"image_30102025_14_23_21_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/3/8d84342f2ac64ef94d0927c581b37281.jpg","text":"TemporaryFile(/tmp/multipartBody6125849281698461282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132105805,"filename":"image_30102025_14_23_30_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/3/73bb48c3cb20e8265abddf734cccd056.jpg","text":"TemporaryFile(/tmp/multipartBody7543740594246566451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132105805,"filename":"image_30102025_14_23_27_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391967798","file1":"1391967797","file0":"1391967796","file4":"1391967800","file5":"1391967801","file3":"1391967799"},"map_files_photo_id_array":[{"photo_id":"1391967801","filename":"file5"},{"photo_id":"1391967798","filename":"file2"},{"photo_id":"1391967800","filename":"file4"},{"photo_id":"1391967797","filename":"file1"},{"photo_id":"1391967796","filename":"file0"},{"photo_id":"1391967799","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391967796":["hashtag1","hashtag2"]},{"1391967798":["hashtag1","hashtag2"]},{"1391967801":["hashtag1","hashtag2"]},{"1391967797":["hashtag1","hashtag2"]},{"1391967800":["hashtag1","hashtag2"]},{"1391967799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391967796, 1391967798, 1391967801, 1391967797, 1391967800, 1391967799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07205152511597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:08:03.211342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_36_2685.jpg', '/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_38_2564.jpg', '/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_57_2848.jpg', '/home/pi/Desktop/images/30102025/14/23/image_30102025_14_24_00_2880.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_03_2902.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_06_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_36_2685.jpg
/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_38_2564.jpg
/home/pi/Desktop/images/30102025/14/23/image_30102025_14_23_57_2848.jpg
/home/pi/Desktop/images/30102025/14/23/image_30102025_14_24_00_2880.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_03_2902.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_06_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391967850","1391967925","1391968032","1391967888","1391967962","1391967997"],"photo_ids_order":["1391967850","1391967888","1391967925","1391967962","1391967997","1391968032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e861c526172ca1065f73933723d63647.jpg","text":"TemporaryFile(/tmp/multipartBody2624227798249614586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132145034,"filename":"image_30102025_14_23_36_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/3/9cc2b917f731e80ce009badfee534e68.jpg","text":"TemporaryFile(/tmp/multipartBody7907963242679410553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132145034,"filename":"image_30102025_14_23_57_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/3/dd0f4d541f282abf7fc5b7ff68592a26.jpg","text":"TemporaryFile(/tmp/multipartBody6170805334566419957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132145034,"filename":"image_30102025_14_24_06_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/3/207b8ce8d4f598ab5dc28fde4181e37f.jpg","text":"TemporaryFile(/tmp/multipartBody395419918668631496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132145034,"filename":"image_30102025_14_23_38_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/3/e0c3ade8c7c010f18db458fcc61d446b.jpg","text":"TemporaryFile(/tmp/multipartBody3862660737640655954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132145034,"filename":"image_30102025_14_24_00_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/3/cfa1ce60730d2b6fe61ba93964c08a29.jpg","text":"TemporaryFile(/tmp/multipartBody8577179060851244655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132145034,"filename":"image_30102025_14_24_03_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391967925","file1":"1391967888","file0":"1391967850","file4":"1391967997","file5":"1391968032","file3":"1391967962"},"map_files_photo_id_array":[{"photo_id":"1391968032","filename":"file5"},{"photo_id":"1391967925","filename":"file2"},{"photo_id":"1391967997","filename":"file4"},{"photo_id":"1391967888","filename":"file1"},{"photo_id":"1391967850","filename":"file0"},{"photo_id":"1391967962","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391967850":["hashtag1","hashtag2"]},{"1391967925":["hashtag1","hashtag2"]},{"1391968032":["hashtag1","hashtag2"]},{"1391967888":["hashtag1","hashtag2"]},{"1391967962":["hashtag1","hashtag2"]},{"1391967997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391967850, 1391967925, 1391968032, 1391967888, 1391967962, 1391967997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.211567401885986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:08:42.670533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_20_2637.jpg', '/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_23_2886.jpg', '/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_26_2833.jpg', '/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_32_3569.jpg', '/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_37_2625.jpg', '/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_41_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_20_2637.jpg
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_23_2886.jpg
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_26_2833.jpg
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_32_3569.jpg
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_37_2625.jpg
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_41_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968315","1391968293","1391968185","1391968259","1391968223","1391968325"],"photo_ids_order":["1391968185","1391968223","1391968259","1391968293","1391968315","1391968325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/65807e7ab58f9440eea6a4bd6c3258be.jpg","text":"TemporaryFile(/tmp/multipartBody3858578983026259625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132183882,"filename":"image_31102025_00_27_37_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/3/f17e2426cbc5e6cab9802e8cab34846a.jpg","text":"TemporaryFile(/tmp/multipartBody2345007679222472753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132183882,"filename":"image_31102025_00_27_32_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/3/ba8547512333564e8d2a0773794469a5.jpg","text":"TemporaryFile(/tmp/multipartBody5108569092372909974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132183882,"filename":"image_31102025_00_27_20_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/24037675d0d42b1a686392cd5bc944df.jpg","text":"TemporaryFile(/tmp/multipartBody1507151481544498722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132183882,"filename":"image_31102025_00_27_26_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/3/5ec587f0e47b5822861844617c47d5a8.jpg","text":"TemporaryFile(/tmp/multipartBody7283127518665469532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132183882,"filename":"image_31102025_00_27_23_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/3/44ef061123d9551b85b948e2ba04a804.jpg","text":"TemporaryFile(/tmp/multipartBody4415966355724901106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132183882,"filename":"image_31102025_00_27_41_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968259","file1":"1391968223","file0":"1391968185","file4":"1391968315","file5":"1391968325","file3":"1391968293"},"map_files_photo_id_array":[{"photo_id":"1391968325","filename":"file5"},{"photo_id":"1391968259","filename":"file2"},{"photo_id":"1391968315","filename":"file4"},{"photo_id":"1391968223","filename":"file1"},{"photo_id":"1391968185","filename":"file0"},{"photo_id":"1391968293","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968315":["hashtag1","hashtag2"]},{"1391968293":["hashtag1","hashtag2"]},{"1391968185":["hashtag1","hashtag2"]},{"1391968259":["hashtag1","hashtag2"]},{"1391968223":["hashtag1","hashtag2"]},{"1391968325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968315, 1391968293, 1391968185, 1391968259, 1391968223, 1391968325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35158371925354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:09:21.833549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_09_2704.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_12_2722.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_15_3541.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_18_2577.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_20_2584.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_24_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_09_2704.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_12_2722.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_15_3541.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_18_2577.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_20_2584.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_24_3642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968464","1391968407","1391968457","1391968379","1391968381","1391968441"],"photo_ids_order":["1391968379","1391968381","1391968407","1391968441","1391968457","1391968464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/91d1f3948e8f89d274821dda8411d897.jpg","text":"TemporaryFile(/tmp/multipartBody4051491228013594688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132224359,"filename":"image_30102025_14_24_24_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/3/f637fa0f598dc5fa1fffd59f33308e37.jpg","text":"TemporaryFile(/tmp/multipartBody971033347024440808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132224359,"filename":"image_30102025_14_24_15_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/3/b699a01174fdb9e5c1c9e1da733bbb44.jpg","text":"TemporaryFile(/tmp/multipartBody3692129080554243069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132224359,"filename":"image_30102025_14_24_20_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee04678d51a1629e8b0d443757e80949.jpg","text":"TemporaryFile(/tmp/multipartBody8808009383000173662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132224359,"filename":"image_30102025_14_24_09_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/3/2a35de426a4bb01384f9af1b794e7515.jpg","text":"TemporaryFile(/tmp/multipartBody3614408843474986964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132224359,"filename":"image_30102025_14_24_12_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/3/9d3b7ca8e16e965ed533c52cdbaf9d19.jpg","text":"TemporaryFile(/tmp/multipartBody5825845621950327538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132224359,"filename":"image_30102025_14_24_18_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968407","file1":"1391968381","file0":"1391968379","file4":"1391968457","file5":"1391968464","file3":"1391968441"},"map_files_photo_id_array":[{"photo_id":"1391968464","filename":"file5"},{"photo_id":"1391968407","filename":"file2"},{"photo_id":"1391968457","filename":"file4"},{"photo_id":"1391968381","filename":"file1"},{"photo_id":"1391968379","filename":"file0"},{"photo_id":"1391968441","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968464":["hashtag1","hashtag2"]},{"1391968407":["hashtag1","hashtag2"]},{"1391968457":["hashtag1","hashtag2"]},{"1391968379":["hashtag1","hashtag2"]},{"1391968381":["hashtag1","hashtag2"]},{"1391968441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968464, 1391968407, 1391968457, 1391968379, 1391968381, 1391968441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13467001914978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:10:02.473566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_30_2802.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_32_2899.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_36_3700.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_39_2590.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_41_2629.jpg', '/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_53_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_30_2802.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_32_2899.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_36_3700.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_39_2590.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_41_2629.jpg
/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_53_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968479","1391968470","1391968473","1391968482","1391968476","1391968477"],"photo_ids_order":["1391968470","1391968473","1391968476","1391968477","1391968479","1391968482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/86f1b958079a0ece5f921069f8d55f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6749611828262149661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132264298,"filename":"image_30102025_14_24_41_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/3/237e152174d459ac53ad161634832424.jpg","text":"TemporaryFile(/tmp/multipartBody8495887977264121007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132264298,"filename":"image_30102025_14_24_30_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/3/65798d0b35dffefb7d7171527f603a18.jpg","text":"TemporaryFile(/tmp/multipartBody1544975386224417195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132264298,"filename":"image_30102025_14_24_32_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/3/11f8bf7c21a86bc6313c9f7277d84ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6125406189248322738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132264298,"filename":"image_30102025_14_24_53_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/3/cb69e9b999ed58094df35afda0d10aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2448792936598190597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132264298,"filename":"image_30102025_14_24_36_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/3/006cae2532319ca8937f38ad24ad9958.jpg","text":"TemporaryFile(/tmp/multipartBody5687413967555283358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132264298,"filename":"image_30102025_14_24_39_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968476","file1":"1391968473","file0":"1391968470","file4":"1391968479","file5":"1391968482","file3":"1391968477"},"map_files_photo_id_array":[{"photo_id":"1391968482","filename":"file5"},{"photo_id":"1391968476","filename":"file2"},{"photo_id":"1391968479","filename":"file4"},{"photo_id":"1391968473","filename":"file1"},{"photo_id":"1391968470","filename":"file0"},{"photo_id":"1391968477","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968479":["hashtag1","hashtag2"]},{"1391968470":["hashtag1","hashtag2"]},{"1391968473":["hashtag1","hashtag2"]},{"1391968482":["hashtag1","hashtag2"]},{"1391968476":["hashtag1","hashtag2"]},{"1391968477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968479, 1391968470, 1391968473, 1391968482, 1391968476, 1391968477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25898218154907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:10:41.968716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_43_2545.jpg', '/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_52_2576.jpg', '/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_08_3975.jpg', '/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_23_2610.jpg', '/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_44_2773.jpg', '/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_50_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_43_2545.jpg
/home/pi/Desktop/images/31102025/00/27/image_31102025_00_27_52_2576.jpg
/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_08_3975.jpg
/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_23_2610.jpg
/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_44_2773.jpg
/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_50_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968488","1391968490","1391968484","1391968492","1391968486","1391968483"],"photo_ids_order":["1391968483","1391968484","1391968486","1391968488","1391968490","1391968492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f7d46268ed10935b17147caa15baeaf1.jpg","text":"TemporaryFile(/tmp/multipartBody2358017277114617501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132303107,"filename":"image_31102025_00_28_23_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/3/8fa367f5f355376e2979e100e0ed9aa8.jpg","text":"TemporaryFile(/tmp/multipartBody5422068608770048545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132303107,"filename":"image_31102025_00_28_44_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/3/68afbd3961dbffd2df4621a226857fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3327064422067090137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132303107,"filename":"image_31102025_00_27_52_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/3/ec6bf4fee413e0e0aa9ae0e310676e6d.jpg","text":"TemporaryFile(/tmp/multipartBody78133340830203386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132303107,"filename":"image_31102025_00_28_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/3/1b27e43fa80a3af3e20489c17489bb6a.jpg","text":"TemporaryFile(/tmp/multipartBody5768819936627155600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132303107,"filename":"image_31102025_00_28_08_3975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0cce6d3c5bcf5cd49f62d54d372de52c.jpg","text":"TemporaryFile(/tmp/multipartBody8725692429825939059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132303107,"filename":"image_31102025_00_27_43_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968486","file1":"1391968484","file0":"1391968483","file4":"1391968490","file5":"1391968492","file3":"1391968488"},"map_files_photo_id_array":[{"photo_id":"1391968492","filename":"file5"},{"photo_id":"1391968486","filename":"file2"},{"photo_id":"1391968490","filename":"file4"},{"photo_id":"1391968484","filename":"file1"},{"photo_id":"1391968483","filename":"file0"},{"photo_id":"1391968488","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968488":["hashtag1","hashtag2"]},{"1391968490":["hashtag1","hashtag2"]},{"1391968484":["hashtag1","hashtag2"]},{"1391968492":["hashtag1","hashtag2"]},{"1391968486":["hashtag1","hashtag2"]},{"1391968483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968488, 1391968490, 1391968484, 1391968492, 1391968486, 1391968483)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.71570301055908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:11:42.224023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_53_2757.jpg', '/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_05_2639.jpg', '/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_11_3662.jpg', '/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_17_2621.jpg', '/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_34_2676.jpg', '/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_41_3801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/28/image_31102025_00_28_53_2757.jpg
/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_05_2639.jpg
/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_11_3662.jpg
/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_17_2621.jpg
/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_34_2676.jpg
/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_41_3801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968504","1391968501","1391968500","1391968499","1391968502","1391968498"],"photo_ids_order":["1391968498","1391968499","1391968500","1391968501","1391968502","1391968504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf471795be98fdc6dbcbeae32390b514.jpg","text":"TemporaryFile(/tmp/multipartBody8688388608745574269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132363356,"filename":"image_31102025_00_29_41_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/3/7fa3e0ce03edfce48da17be48dcfbd20.jpg","text":"TemporaryFile(/tmp/multipartBody8782523797953928389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132363356,"filename":"image_31102025_00_29_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/3/8feb28d3d6c133c3b6481c248d092c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7604352599484834917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132363356,"filename":"image_31102025_00_29_11_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/3/5813ce5b7dbc9de11fe55b627608be77.jpg","text":"TemporaryFile(/tmp/multipartBody7622753193339592996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132363356,"filename":"image_31102025_00_29_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/3/6e3bad28ba628221d2c0b2b1a824f51f.jpg","text":"TemporaryFile(/tmp/multipartBody6384997507292356046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132363356,"filename":"image_31102025_00_29_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/3/9a665a98ce26c135138392385630429d.jpg","text":"TemporaryFile(/tmp/multipartBody1491107164524690657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132363356,"filename":"image_31102025_00_28_53_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968500","file1":"1391968499","file0":"1391968498","file4":"1391968502","file5":"1391968504","file3":"1391968501"},"map_files_photo_id_array":[{"photo_id":"1391968504","filename":"file5"},{"photo_id":"1391968500","filename":"file2"},{"photo_id":"1391968502","filename":"file4"},{"photo_id":"1391968499","filename":"file1"},{"photo_id":"1391968498","filename":"file0"},{"photo_id":"1391968501","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968504":["hashtag1","hashtag2"]},{"1391968501":["hashtag1","hashtag2"]},{"1391968500":["hashtag1","hashtag2"]},{"1391968499":["hashtag1","hashtag2"]},{"1391968502":["hashtag1","hashtag2"]},{"1391968498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968504, 1391968501, 1391968500, 1391968499, 1391968502, 1391968498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74676847457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:12:22.409564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/24/image_30102025_14_24_59_2671.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_06_2566.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_15_6724.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_17_1717.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_23_4181.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_27_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/14/24/image_30102025_14_24_59_2671.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_06_2566.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_15_6724.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_17_1717.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_23_4181.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_27_2788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968510","1391968513","1391968515","1391968512","1391968517","1391968511"],"photo_ids_order":["1391968510","1391968511","1391968512","1391968513","1391968515","1391968517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5e68de642964246c9ceca5a986008187.jpg","text":"TemporaryFile(/tmp/multipartBody7454694657827554810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132410689,"filename":"image_30102025_14_24_59_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be76fd08a9aba2441486379cd9c6cc6f.jpg","text":"TemporaryFile(/tmp/multipartBody3188503000020429174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132410689,"filename":"image_30102025_14_25_17_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/3/4312efa800823d47567be694c91defb7.jpg","text":"TemporaryFile(/tmp/multipartBody7380759730441632259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132410689,"filename":"image_30102025_14_25_23_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/3/1540bd62a0b6e86c4639f0cd187d409f.jpg","text":"TemporaryFile(/tmp/multipartBody1929217326418096647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132410689,"filename":"image_30102025_14_25_15_6724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/00d76117df31b2de3f56f46d3447a13a.jpg","text":"TemporaryFile(/tmp/multipartBody2937331830404164133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132410689,"filename":"image_30102025_14_25_27_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/3/04c1f839e84afb9e93cc39cf91edb046.jpg","text":"TemporaryFile(/tmp/multipartBody2102020713587330589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132410689,"filename":"image_30102025_14_25_06_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968512","file1":"1391968511","file0":"1391968510","file4":"1391968515","file5":"1391968517","file3":"1391968513"},"map_files_photo_id_array":[{"photo_id":"1391968517","filename":"file5"},{"photo_id":"1391968512","filename":"file2"},{"photo_id":"1391968515","filename":"file4"},{"photo_id":"1391968511","filename":"file1"},{"photo_id":"1391968510","filename":"file0"},{"photo_id":"1391968513","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968510":["hashtag1","hashtag2"]},{"1391968513":["hashtag1","hashtag2"]},{"1391968515":["hashtag1","hashtag2"]},{"1391968512":["hashtag1","hashtag2"]},{"1391968517":["hashtag1","hashtag2"]},{"1391968511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968510, 1391968513, 1391968515, 1391968512, 1391968517, 1391968511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.816011905670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:13:22.534930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_30_2829.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_33_2817.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_39_3715.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_42_2745.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_47_2711.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_57_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/14/25/image_30102025_14_25_30_2829.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_33_2817.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_39_3715.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_42_2745.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_47_2711.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_57_2764.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3165018558502197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:13:42.613312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_53_3748.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_05_2804.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_19_2765.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_26_3678.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_29_2676.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_31_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/29/image_31102025_00_29_53_3748.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_05_2804.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_19_2765.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_26_3678.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_29_2676.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_31_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968543","1391968537","1391968539","1391968544","1391968541","1391968535"],"photo_ids_order":["1391968535","1391968537","1391968539","1391968541","1391968543","1391968544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b95e9e1d3b4fc6d0cbbb4a5a0a11493f.jpg","text":"TemporaryFile(/tmp/multipartBody6891210950171554815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132497244,"filename":"image_31102025_00_30_29_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/3/4098189e87622f8e289bf942ad24cfc6.jpg","text":"TemporaryFile(/tmp/multipartBody5731241133623944802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132497244,"filename":"image_31102025_00_30_05_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/3/ea400991da441c0fe1c23aaa676be7ae.jpg","text":"TemporaryFile(/tmp/multipartBody9009127085948282839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132497244,"filename":"image_31102025_00_30_19_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/069021d51ae628458980803e1fd72cd1.jpg","text":"TemporaryFile(/tmp/multipartBody4609557905112305755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132497244,"filename":"image_31102025_00_30_31_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/3/eee74d2b49d5c270a97c1d0815f9d12c.jpg","text":"TemporaryFile(/tmp/multipartBody3129182919163836066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132497244,"filename":"image_31102025_00_30_26_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/3/4a2c2cf235d920e9010289682b0fa1f3.jpg","text":"TemporaryFile(/tmp/multipartBody1615531825257903395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132497244,"filename":"image_31102025_00_29_53_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968539","file1":"1391968537","file0":"1391968535","file4":"1391968543","file5":"1391968544","file3":"1391968541"},"map_files_photo_id_array":[{"photo_id":"1391968544","filename":"file5"},{"photo_id":"1391968539","filename":"file2"},{"photo_id":"1391968543","filename":"file4"},{"photo_id":"1391968537","filename":"file1"},{"photo_id":"1391968535","filename":"file0"},{"photo_id":"1391968541","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968543":["hashtag1","hashtag2"]},{"1391968537":["hashtag1","hashtag2"]},{"1391968539":["hashtag1","hashtag2"]},{"1391968544":["hashtag1","hashtag2"]},{"1391968541":["hashtag1","hashtag2"]},{"1391968535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968543, 1391968537, 1391968539, 1391968544, 1391968541, 1391968535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.965067625045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:14:41.885796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_40_5087.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_42_1626.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_46_2724.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_55_2779.jpg', '/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_02_3579.jpg', '/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_31_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_40_5087.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_42_1626.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_46_2724.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_55_2779.jpg
/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_02_3579.jpg
/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_31_2711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.266902685165405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:15:02.828455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_30_2829.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_33_2817.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_39_3715.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_42_2745.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_47_2711.jpg', '/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_57_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/14/25/image_30102025_14_25_30_2829.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_33_2817.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_39_3715.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_42_2745.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_47_2711.jpg
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_57_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968560","1391968563","1391968557","1391968565","1391968550","1391968553"],"photo_ids_order":["1391968550","1391968553","1391968557","1391968560","1391968563","1391968565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/180b0a33865d1cf2d82ad9dda02f87e3.jpg","text":"TemporaryFile(/tmp/multipartBody7997296470679703650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132564594,"filename":"image_30102025_14_25_42_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/3/4b24c08a6cf52d2e7c575843df067661.jpg","text":"TemporaryFile(/tmp/multipartBody890613086629091155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132564594,"filename":"image_30102025_14_25_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/3/59c645c52248c6701a38027adf9b2102.jpg","text":"TemporaryFile(/tmp/multipartBody8121735581944500856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132564594,"filename":"image_30102025_14_25_39_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/3/ce84eb0e79a7fb302265a52a6a1af775.jpg","text":"TemporaryFile(/tmp/multipartBody3038337936240906227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132564594,"filename":"image_30102025_14_25_57_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9c176a89b67e3a0815cbaf29a5f1eb79.jpg","text":"TemporaryFile(/tmp/multipartBody3037735671050474167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132564594,"filename":"image_30102025_14_25_30_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/3/370236d71f7bfbd459e55b20da079c23.jpg","text":"TemporaryFile(/tmp/multipartBody7023359782113637346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132564594,"filename":"image_30102025_14_25_33_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968557","file1":"1391968553","file0":"1391968550","file4":"1391968563","file5":"1391968565","file3":"1391968560"},"map_files_photo_id_array":[{"photo_id":"1391968565","filename":"file5"},{"photo_id":"1391968557","filename":"file2"},{"photo_id":"1391968563","filename":"file4"},{"photo_id":"1391968553","filename":"file1"},{"photo_id":"1391968550","filename":"file0"},{"photo_id":"1391968560","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968560":["hashtag1","hashtag2"]},{"1391968563":["hashtag1","hashtag2"]},{"1391968557":["hashtag1","hashtag2"]},{"1391968565":["hashtag1","hashtag2"]},{"1391968550":["hashtag1","hashtag2"]},{"1391968553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968560, 1391968563, 1391968557, 1391968565, 1391968550, 1391968553)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.816293239593506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:16:02.787905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_59_2666.jpg', '/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_03_3564.jpg', '/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_18_2736.jpg', '/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_20_2805.jpg', '/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_23_2705.jpg', '/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_27_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/25/image_30102025_14_25_59_2666.jpg
/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_03_3564.jpg
/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_18_2736.jpg
/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_20_2805.jpg
/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_23_2705.jpg
/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_27_3655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968579","1391968584","1391968575","1391968580","1391968577","1391968582"],"photo_ids_order":["1391968575","1391968577","1391968579","1391968580","1391968582","1391968584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8c6bd5923414664f4780c4f3588cb56e.jpg","text":"TemporaryFile(/tmp/multipartBody4071904713231115598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132624607,"filename":"image_30102025_14_26_18_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/3/bb80e4e80eb787d3b9e21dee3c16d74c.jpg","text":"TemporaryFile(/tmp/multipartBody2231892767547802621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132624607,"filename":"image_30102025_14_26_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/3/db1cec24b443c26a9d83328205dc4459.jpg","text":"TemporaryFile(/tmp/multipartBody6445444192714414339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132624607,"filename":"image_30102025_14_25_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/3/40eff9404d1a335074ebcc9ab8b09592.jpg","text":"TemporaryFile(/tmp/multipartBody3221413112923151458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132624607,"filename":"image_30102025_14_26_20_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/3/7dde4111e84b4f6625206a967279b503.jpg","text":"TemporaryFile(/tmp/multipartBody637728635533812589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132624607,"filename":"image_30102025_14_26_03_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/de5bbaae7ef8af11780c4eae924f11f2.jpg","text":"TemporaryFile(/tmp/multipartBody338295693938547965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132624607,"filename":"image_30102025_14_26_23_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968579","file1":"1391968577","file0":"1391968575","file4":"1391968582","file5":"1391968584","file3":"1391968580"},"map_files_photo_id_array":[{"photo_id":"1391968584","filename":"file5"},{"photo_id":"1391968579","filename":"file2"},{"photo_id":"1391968582","filename":"file4"},{"photo_id":"1391968577","filename":"file1"},{"photo_id":"1391968575","filename":"file0"},{"photo_id":"1391968580","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968579":["hashtag1","hashtag2"]},{"1391968584":["hashtag1","hashtag2"]},{"1391968575":["hashtag1","hashtag2"]},{"1391968580":["hashtag1","hashtag2"]},{"1391968577":["hashtag1","hashtag2"]},{"1391968582":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968579, 1391968584, 1391968575, 1391968580, 1391968577, 1391968582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4698805809021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:16:42.330057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_40_5087.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_42_1626.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_46_2724.jpg', '/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_55_2779.jpg', '/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_02_3579.jpg', '/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_31_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_40_5087.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_42_1626.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_46_2724.jpg
/home/pi/Desktop/images/31102025/00/30/image_31102025_00_30_55_2779.jpg
/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_02_3579.jpg
/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_31_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968599","1391968602","1391968592","1391968604","1391968594","1391968597"],"photo_ids_order":["1391968592","1391968594","1391968597","1391968599","1391968602","1391968604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d74048d03a02e41403445e1eb2906d76.jpg","text":"TemporaryFile(/tmp/multipartBody2227837083597146362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132663348,"filename":"image_31102025_00_30_55_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/3/c8a09732dba097397d5de67782358e98.jpg","text":"TemporaryFile(/tmp/multipartBody7797717310814932730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132663348,"filename":"image_31102025_00_31_02_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/3/75800e486d7143d6654347c54121b03d.jpg","text":"TemporaryFile(/tmp/multipartBody27218259072534285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132663348,"filename":"image_31102025_00_30_40_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/3/c55211a1577983c0b433c42c10751c3a.jpg","text":"TemporaryFile(/tmp/multipartBody2922198158903421154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132663348,"filename":"image_31102025_00_31_31_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/3/cb992a0068fce76e2eed203b86b33ba2.jpg","text":"TemporaryFile(/tmp/multipartBody1551706507668745834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132663348,"filename":"image_31102025_00_30_42_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/3/aac58af1fcaf982455a2ce1830322ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1157620804578392903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132663348,"filename":"image_31102025_00_30_46_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968597","file1":"1391968594","file0":"1391968592","file4":"1391968602","file5":"1391968604","file3":"1391968599"},"map_files_photo_id_array":[{"photo_id":"1391968604","filename":"file5"},{"photo_id":"1391968597","filename":"file2"},{"photo_id":"1391968602","filename":"file4"},{"photo_id":"1391968594","filename":"file1"},{"photo_id":"1391968592","filename":"file0"},{"photo_id":"1391968599","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968599":["hashtag1","hashtag2"]},{"1391968602":["hashtag1","hashtag2"]},{"1391968592":["hashtag1","hashtag2"]},{"1391968604":["hashtag1","hashtag2"]},{"1391968594":["hashtag1","hashtag2"]},{"1391968597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968599, 1391968602, 1391968592, 1391968604, 1391968594, 1391968597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75575876235962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:17:22.597571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_39_3815.jpg', '/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_44_2800.jpg', '/home/pi/Desktop/images/30102025/14/26/image_30102025_14_27_00_2714.jpg', '/home/pi/Desktop/images/30102025/14/27/image_30102025_14_27_05_2739.jpg', '/home/pi/Desktop/images/30102025/14/27/image_30102025_14_27_12_3621.jpg', '/home/pi/Desktop/images/30102025/14/27/image_30102025_14_27_14_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/14/26/image_30102025_14_26_39_3815.jpg
/home/pi/Desktop/images/30102025/14/26/image_30102025_14_26_44_2800.jpg
/home/pi/Desktop/images/30102025/14/26/image_30102025_14_27_00_2714.jpg
/home/pi/Desktop/images/30102025/14/27/image_30102025_14_27_05_2739.jpg
/home/pi/Desktop/images/30102025/14/27/image_30102025_14_27_12_3621.jpg
/home/pi/Desktop/images/30102025/14/27/image_30102025_14_27_14_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968615","1391968608","1391968617","1391968611","1391968613","1391968616"],"photo_ids_order":["1391968608","1391968611","1391968613","1391968615","1391968616","1391968617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36cba27373fc122e0b78ba9c42e03fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8439006297192732830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132713339,"filename":"image_30102025_14_27_05_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/3/1a1c3308ea3a9d8983f397563875e3db.jpg","text":"TemporaryFile(/tmp/multipartBody649721128262173102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132713339,"filename":"image_30102025_14_26_39_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/3/b1bebb0d484a0b4de0d888ca500ab23d.jpg","text":"TemporaryFile(/tmp/multipartBody317024559263274700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132713339,"filename":"image_30102025_14_27_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/3/c7f109a3aa1c434b3e35d5426464775f.jpg","text":"TemporaryFile(/tmp/multipartBody1345369126043405285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132713339,"filename":"image_30102025_14_26_44_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/3/460893e09a93631b79b2ffab7a4f6649.jpg","text":"TemporaryFile(/tmp/multipartBody6613256978852286542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132713339,"filename":"image_30102025_14_27_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/3/8c236b6e2be932cf5b48d4f27c784e8c.jpg","text":"TemporaryFile(/tmp/multipartBody4834087186687710277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132713339,"filename":"image_30102025_14_27_12_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968613","file1":"1391968611","file0":"1391968608","file4":"1391968616","file5":"1391968617","file3":"1391968615"},"map_files_photo_id_array":[{"photo_id":"1391968617","filename":"file5"},{"photo_id":"1391968613","filename":"file2"},{"photo_id":"1391968616","filename":"file4"},{"photo_id":"1391968611","filename":"file1"},{"photo_id":"1391968608","filename":"file0"},{"photo_id":"1391968615","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968615":["hashtag1","hashtag2"]},{"1391968608":["hashtag1","hashtag2"]},{"1391968617":["hashtag1","hashtag2"]},{"1391968611":["hashtag1","hashtag2"]},{"1391968613":["hashtag1","hashtag2"]},{"1391968616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968615, 1391968608, 1391968617, 1391968611, 1391968613, 1391968616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.278035402297974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:18:22.740725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/27/image_30102025_14_27_51_3662.jpg', '/home/pi/Desktop/images/30102025/14/27/image_30102025_14_27_53_2646.jpg', '/home/pi/Desktop/images/30102025/14/27/image_30102025_14_28_00_3861.jpg', '/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_05_2652.jpg', '/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_08_2802.jpg', '/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_26_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/14/27/image_30102025_14_27_51_3662.jpg
/home/pi/Desktop/images/30102025/14/27/image_30102025_14_27_53_2646.jpg
/home/pi/Desktop/images/30102025/14/27/image_30102025_14_28_00_3861.jpg
/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_05_2652.jpg
/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_08_2802.jpg
/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_26_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968639","1391968633","1391968635","1391968638","1391968637","1391968640"],"photo_ids_order":["1391968633","1391968635","1391968637","1391968638","1391968639","1391968640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a4d68d065ea0c251be068e98e7de95d1.jpg","text":"TemporaryFile(/tmp/multipartBody2247527148645479169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132765159,"filename":"image_30102025_14_28_08_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/3/0a7ae177b8be68b0c6612796f25cd162.jpg","text":"TemporaryFile(/tmp/multipartBody9129792648927578277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132765159,"filename":"image_30102025_14_27_51_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/3/fba7876c63ed5ba689ae5a94d8c5dda9.jpg","text":"TemporaryFile(/tmp/multipartBody3359154334830812805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132765159,"filename":"image_30102025_14_27_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/3/9b24015e7975bc72f4ba981368e4f852.jpg","text":"TemporaryFile(/tmp/multipartBody477505368218757559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132765159,"filename":"image_30102025_14_28_05_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/05ca7f5c8e35f2f07d00c12486b11e04.jpg","text":"TemporaryFile(/tmp/multipartBody924062429271081794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132765159,"filename":"image_30102025_14_28_00_3861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bebef5597d2890a66a3f29188a9dc675.jpg","text":"TemporaryFile(/tmp/multipartBody4043108358219898013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132765159,"filename":"image_30102025_14_28_26_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968637","file1":"1391968635","file0":"1391968633","file4":"1391968639","file5":"1391968640","file3":"1391968638"},"map_files_photo_id_array":[{"photo_id":"1391968640","filename":"file5"},{"photo_id":"1391968637","filename":"file2"},{"photo_id":"1391968639","filename":"file4"},{"photo_id":"1391968635","filename":"file1"},{"photo_id":"1391968633","filename":"file0"},{"photo_id":"1391968638","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968639":["hashtag1","hashtag2"]},{"1391968633":["hashtag1","hashtag2"]},{"1391968635":["hashtag1","hashtag2"]},{"1391968638":["hashtag1","hashtag2"]},{"1391968637":["hashtag1","hashtag2"]},{"1391968640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968639, 1391968633, 1391968635, 1391968638, 1391968637, 1391968640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.157877922058105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:19:03.362044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_35_2677.jpg', '/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_39_3663.jpg', '/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_44_2745.jpg', '/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_47_2671.jpg', '/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_53_2544.jpg', '/home/pi/Desktop/images/30102025/14/28/image_30102025_14_29_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/14/28/image_30102025_14_28_35_2677.jpg
/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_39_3663.jpg
/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_44_2745.jpg
/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_47_2671.jpg
/home/pi/Desktop/images/30102025/14/28/image_30102025_14_28_53_2544.jpg
/home/pi/Desktop/images/30102025/14/28/image_30102025_14_29_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":["1391968651","1391968650","1391968653","1391968647","1391968652","1391968646"],"photo_ids_order":["1391968646","1391968647","1391968650","1391968651","1391968652","1391968653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a7cbaba1414e0a5ac9cba7773b84dad8.jpg","text":"TemporaryFile(/tmp/multipartBody3469428973712348876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132808140,"filename":"image_30102025_14_28_47_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a8c2e22d7ab464988fcf2f576100b778.jpg","text":"TemporaryFile(/tmp/multipartBody7222311129874127083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132808140,"filename":"image_30102025_14_28_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/3/be2c64a51694e8643ec0eaf1175696cf.jpg","text":"TemporaryFile(/tmp/multipartBody1729665346522744918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132808140,"filename":"image_30102025_14_29_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/3/072b25689eb3308c11169049618ac53d.jpg","text":"TemporaryFile(/tmp/multipartBody4805027625697661412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132808140,"filename":"image_30102025_14_28_39_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/3/d6b9bcb8f32d64d479ec819cf8f1d129.jpg","text":"TemporaryFile(/tmp/multipartBody7046722392996446942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132808140,"filename":"image_30102025_14_28_53_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/3/a8dcf51003655a9648d4d79889b2ba58.jpg","text":"TemporaryFile(/tmp/multipartBody1459813927570684481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132808140,"filename":"image_30102025_14_28_35_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968650","file1":"1391968647","file0":"1391968646","file4":"1391968652","file5":"1391968653","file3":"1391968651"},"map_files_photo_id_array":[{"photo_id":"1391968653","filename":"file5"},{"photo_id":"1391968650","filename":"file2"},{"photo_id":"1391968652","filename":"file4"},{"photo_id":"1391968647","filename":"file1"},{"photo_id":"1391968646","filename":"file0"},{"photo_id":"1391968651","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968651":["hashtag1","hashtag2"]},{"1391968650":["hashtag1","hashtag2"]},{"1391968653":["hashtag1","hashtag2"]},{"1391968647":["hashtag1","hashtag2"]},{"1391968652":["hashtag1","hashtag2"]},{"1391968646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968651, 1391968650, 1391968653, 1391968647, 1391968652, 1391968646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46167731285095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:20:02.988137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_09_3764.jpg', '/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_11_2740.jpg', '/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_17_2678.jpg', '/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_20_3597.jpg', '/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_27_3643.jpg', '/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_29_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/14/29/image_30102025_14_29_09_3764.jpg
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_11_2740.jpg
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_17_2678.jpg
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_20_3597.jpg
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_27_3643.jpg
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_29_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968663","1391968657","1391968670","1391968666","1391968669","1391968660"],"photo_ids_order":["1391968657","1391968660","1391968663","1391968666","1391968669","1391968670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bd7e701faa59fd597d72e8de9de9d985.jpg","text":"TemporaryFile(/tmp/multipartBody5225320008707939009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132864815,"filename":"image_30102025_14_29_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/3/4463ae42e83fcb5ba2138c6de8fc20d3.jpg","text":"TemporaryFile(/tmp/multipartBody5080555756356218838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132864815,"filename":"image_30102025_14_29_09_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/3/4f549f5371680c37b0b1b253a1ba046d.jpg","text":"TemporaryFile(/tmp/multipartBody3507014177917006640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132864815,"filename":"image_30102025_14_29_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/3/c32b22748b151bad0024e0f7f50dc40f.jpg","text":"TemporaryFile(/tmp/multipartBody4444445242882478036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132864815,"filename":"image_30102025_14_29_20_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ed667675c58b1939bb2863625dfb40fa.jpg","text":"TemporaryFile(/tmp/multipartBody4555419266562235040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132864815,"filename":"image_30102025_14_29_27_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/3/8175f821a72557043d00459b9d806376.jpg","text":"TemporaryFile(/tmp/multipartBody861028748835267630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132864815,"filename":"image_30102025_14_29_11_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968663","file1":"1391968660","file0":"1391968657","file4":"1391968669","file5":"1391968670","file3":"1391968666"},"map_files_photo_id_array":[{"photo_id":"1391968670","filename":"file5"},{"photo_id":"1391968663","filename":"file2"},{"photo_id":"1391968669","filename":"file4"},{"photo_id":"1391968660","filename":"file1"},{"photo_id":"1391968657","filename":"file0"},{"photo_id":"1391968666","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968663":["hashtag1","hashtag2"]},{"1391968657":["hashtag1","hashtag2"]},{"1391968670":["hashtag1","hashtag2"]},{"1391968666":["hashtag1","hashtag2"]},{"1391968669":["hashtag1","hashtag2"]},{"1391968660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968663, 1391968657, 1391968670, 1391968666, 1391968669, 1391968660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49118638038635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:20:42.626498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_44_3675.jpg', '/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_50_3127.jpg', '/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_23_3787.jpg', '/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_25_2774.jpg', '/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_28_2716.jpg', '/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_37_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_44_3675.jpg
/home/pi/Desktop/images/31102025/00/31/image_31102025_00_31_50_3127.jpg
/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_23_3787.jpg
/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_25_2774.jpg
/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_28_2716.jpg
/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_37_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968674","1391968682","1391968676","1391968679","1391968684","1391968687"],"photo_ids_order":["1391968674","1391968676","1391968679","1391968682","1391968684","1391968687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/51a6af52da20d362e9454ecd8ba0d5a6.jpg","text":"TemporaryFile(/tmp/multipartBody4328008790572548967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132903741,"filename":"image_31102025_00_31_44_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/3/3d54066680177014ca2818faef9c1d76.jpg","text":"TemporaryFile(/tmp/multipartBody5838655901217910769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132903741,"filename":"image_31102025_00_32_25_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/3/f56c6ba0977c07d029ef71b6793ac497.jpg","text":"TemporaryFile(/tmp/multipartBody9068679867239262967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132903741,"filename":"image_31102025_00_31_50_3127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aa35e9d4d6a7cf46d3fe817bcb861653.jpg","text":"TemporaryFile(/tmp/multipartBody3736634067536555024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132903741,"filename":"image_31102025_00_32_23_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/3/a8cbc35a1941161fcac6a210e82a1401.jpg","text":"TemporaryFile(/tmp/multipartBody5465472660913889146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132903741,"filename":"image_31102025_00_32_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/3/8627b9ba8151463edc8ce97e58bcf4c6.jpg","text":"TemporaryFile(/tmp/multipartBody334412320882126344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132903741,"filename":"image_31102025_00_32_37_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968679","file1":"1391968676","file0":"1391968674","file4":"1391968684","file5":"1391968687","file3":"1391968682"},"map_files_photo_id_array":[{"photo_id":"1391968687","filename":"file5"},{"photo_id":"1391968679","filename":"file2"},{"photo_id":"1391968684","filename":"file4"},{"photo_id":"1391968676","filename":"file1"},{"photo_id":"1391968674","filename":"file0"},{"photo_id":"1391968682","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968674":["hashtag1","hashtag2"]},{"1391968682":["hashtag1","hashtag2"]},{"1391968676":["hashtag1","hashtag2"]},{"1391968679":["hashtag1","hashtag2"]},{"1391968684":["hashtag1","hashtag2"]},{"1391968687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968674, 1391968682, 1391968676, 1391968679, 1391968684, 1391968687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18970537185669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:21:22.782454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_35_2781.jpg', '/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_39_3838.jpg', '/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_42_2935.jpg', '/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_44_2587.jpg', '/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_59_2762.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_08_3013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_35_2781.jpg
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_39_3838.jpg
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_42_2935.jpg
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_44_2587.jpg
/home/pi/Desktop/images/30102025/14/29/image_30102025_14_29_59_2762.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_08_3013.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968695","1391968691","1391968697","1391968699","1391968690","1391968693"],"photo_ids_order":["1391968690","1391968691","1391968693","1391968695","1391968697","1391968699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1a0d2b03c35bbb981945f708e7a6302.jpg","text":"TemporaryFile(/tmp/multipartBody6289558832944239233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132945197,"filename":"image_30102025_14_29_44_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/3/bcf7dddd42479e8620dffeb94659c26d.jpg","text":"TemporaryFile(/tmp/multipartBody2599844817645833698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132945197,"filename":"image_30102025_14_29_39_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/3/15a6e34e5eef7caba19994b26687a77f.jpg","text":"TemporaryFile(/tmp/multipartBody46751741455550934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132945197,"filename":"image_30102025_14_29_59_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/3/73078c6b323b723423acfa7f586d4156.jpg","text":"TemporaryFile(/tmp/multipartBody2828436487830489107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132945197,"filename":"image_30102025_14_30_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/3/38b7440ed60ad1bb44ed01e963add951.jpg","text":"TemporaryFile(/tmp/multipartBody1675778181668378747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132945197,"filename":"image_30102025_14_29_35_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/3/784cfbe8c53a5724ac305d3e7e4428e0.jpg","text":"TemporaryFile(/tmp/multipartBody5875773461679950817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132945197,"filename":"image_30102025_14_29_42_2935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968693","file1":"1391968691","file0":"1391968690","file4":"1391968697","file5":"1391968699","file3":"1391968695"},"map_files_photo_id_array":[{"photo_id":"1391968699","filename":"file5"},{"photo_id":"1391968693","filename":"file2"},{"photo_id":"1391968697","filename":"file4"},{"photo_id":"1391968691","filename":"file1"},{"photo_id":"1391968690","filename":"file0"},{"photo_id":"1391968695","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968695":["hashtag1","hashtag2"]},{"1391968691":["hashtag1","hashtag2"]},{"1391968697":["hashtag1","hashtag2"]},{"1391968699":["hashtag1","hashtag2"]},{"1391968690":["hashtag1","hashtag2"]},{"1391968693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968695, 1391968691, 1391968697, 1391968699, 1391968690, 1391968693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87835383415222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:22:02.459535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_14_2564.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_26_2571.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_35_2660.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_39_3669.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_41_2794.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_47_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/14/30/image_30102025_14_30_14_2564.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_26_2571.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_35_2660.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_39_3669.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_41_2794.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_47_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968711","1391968705","1391968708","1391968713","1391968716","1391968718"],"photo_ids_order":["1391968705","1391968708","1391968711","1391968713","1391968716","1391968718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/82cb99083fb1c69864cc5ef0f2fbeb61.jpg","text":"TemporaryFile(/tmp/multipartBody3447035708380988063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132984354,"filename":"image_30102025_14_30_35_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/3/3ff3573d87314a996f312c84986dc06a.jpg","text":"TemporaryFile(/tmp/multipartBody6233823993254675940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132984354,"filename":"image_30102025_14_30_14_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/3/a01191b6e98373f6a18511e29c8efe1b.jpg","text":"TemporaryFile(/tmp/multipartBody1393783708390585429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132984354,"filename":"image_30102025_14_30_26_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/3/ecc355679d8d4843a6371ec97fed0012.jpg","text":"TemporaryFile(/tmp/multipartBody8834655508636583374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132984354,"filename":"image_30102025_14_30_39_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/3/d8d8173c20444a3e39d32b7c4db6b458.jpg","text":"TemporaryFile(/tmp/multipartBody5386857502550161825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132984354,"filename":"image_30102025_14_30_41_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/3/a2461f3c8c9d4d23afd8fe51431d4e69.jpg","text":"TemporaryFile(/tmp/multipartBody5332097893695346020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762132984354,"filename":"image_30102025_14_30_47_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968711","file1":"1391968708","file0":"1391968705","file4":"1391968716","file5":"1391968718","file3":"1391968713"},"map_files_photo_id_array":[{"photo_id":"1391968718","filename":"file5"},{"photo_id":"1391968711","filename":"file2"},{"photo_id":"1391968716","filename":"file4"},{"photo_id":"1391968708","filename":"file1"},{"photo_id":"1391968705","filename":"file0"},{"photo_id":"1391968713","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968711":["hashtag1","hashtag2"]},{"1391968705":["hashtag1","hashtag2"]},{"1391968708":["hashtag1","hashtag2"]},{"1391968713":["hashtag1","hashtag2"]},{"1391968716":["hashtag1","hashtag2"]},{"1391968718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968711, 1391968705, 1391968708, 1391968713, 1391968716, 1391968718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58629369735718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:22:42.045185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_58_2647.jpg', '/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_01_2959.jpg', '/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_10_2628.jpg', '/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_19_1772.jpg', '/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_22_2710.jpg', '/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_28_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/32/image_31102025_00_32_58_2647.jpg
/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_01_2959.jpg
/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_10_2628.jpg
/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_19_1772.jpg
/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_22_2710.jpg
/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_28_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968732","1391968734","1391968728","1391968737","1391968730","1391968724"],"photo_ids_order":["1391968724","1391968728","1391968730","1391968732","1391968734","1391968737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40f8f66e92b109854a4fd66baf2da85c.jpg","text":"TemporaryFile(/tmp/multipartBody8626592115732957027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133023895,"filename":"image_31102025_00_33_19_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bac7252c4c46a3e97438b43494b962d6.jpg","text":"TemporaryFile(/tmp/multipartBody8738802736582089648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133023895,"filename":"image_31102025_00_33_22_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/3/eb51b4450449b757ddfa7507c9478a53.jpg","text":"TemporaryFile(/tmp/multipartBody3535897229837099037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133023895,"filename":"image_31102025_00_33_01_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/3/8f4aa88a6d1773a21d99b48763bdfcf6.jpg","text":"TemporaryFile(/tmp/multipartBody5239372243372838486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133023895,"filename":"image_31102025_00_33_28_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/3/c89741de493550123901863240062524.jpg","text":"TemporaryFile(/tmp/multipartBody5561024726429997037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133023895,"filename":"image_31102025_00_33_10_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/45c5d195e23d8f1d87720baf42c547c7.jpg","text":"TemporaryFile(/tmp/multipartBody570543914739720386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133023895,"filename":"image_31102025_00_32_58_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968730","file1":"1391968728","file0":"1391968724","file4":"1391968734","file5":"1391968737","file3":"1391968732"},"map_files_photo_id_array":[{"photo_id":"1391968737","filename":"file5"},{"photo_id":"1391968730","filename":"file2"},{"photo_id":"1391968734","filename":"file4"},{"photo_id":"1391968728","filename":"file1"},{"photo_id":"1391968724","filename":"file0"},{"photo_id":"1391968732","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968732":["hashtag1","hashtag2"]},{"1391968734":["hashtag1","hashtag2"]},{"1391968728":["hashtag1","hashtag2"]},{"1391968737":["hashtag1","hashtag2"]},{"1391968730":["hashtag1","hashtag2"]},{"1391968724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968732, 1391968734, 1391968728, 1391968737, 1391968730, 1391968724)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.87196230888367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:23:42.309178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_31_3706.jpg', '/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_40_2712.jpg', '/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_43_2879.jpg', '/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_49_2840.jpg', '/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_10_2645.jpg', '/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_16_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_31_3706.jpg
/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_40_2712.jpg
/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_43_2879.jpg
/home/pi/Desktop/images/31102025/00/33/image_31102025_00_33_49_2840.jpg
/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_10_2645.jpg
/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_16_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968744","1391968743","1391968746","1391968749","1391968748","1391968747"],"photo_ids_order":["1391968743","1391968744","1391968746","1391968747","1391968748","1391968749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d07d29cee7e4b71662a1ba8351074aac.jpg","text":"TemporaryFile(/tmp/multipartBody8191817226476213288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133083339,"filename":"image_31102025_00_33_40_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/3/76bcdbac6fe746498a5a5f091e35e879.jpg","text":"TemporaryFile(/tmp/multipartBody6608184836399585988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133083339,"filename":"image_31102025_00_33_31_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/3/543e368647b0287fe6aa000d34f8b64d.jpg","text":"TemporaryFile(/tmp/multipartBody4143953096479292841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133083339,"filename":"image_31102025_00_33_43_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/3/fd53eb6c2bbf5df468116899a068622a.jpg","text":"TemporaryFile(/tmp/multipartBody9122096664929078835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133083339,"filename":"image_31102025_00_34_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/3/8a9affef399dcd4615c0e17032117d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2390857608809957827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133083339,"filename":"image_31102025_00_34_10_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/3/19fc78abe5b9bc6650ee782a65ba907b.jpg","text":"TemporaryFile(/tmp/multipartBody8610072860106060842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133083339,"filename":"image_31102025_00_33_49_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968746","file1":"1391968744","file0":"1391968743","file4":"1391968748","file5":"1391968749","file3":"1391968747"},"map_files_photo_id_array":[{"photo_id":"1391968749","filename":"file5"},{"photo_id":"1391968746","filename":"file2"},{"photo_id":"1391968748","filename":"file4"},{"photo_id":"1391968744","filename":"file1"},{"photo_id":"1391968743","filename":"file0"},{"photo_id":"1391968747","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968744":["hashtag1","hashtag2"]},{"1391968743":["hashtag1","hashtag2"]},{"1391968746":["hashtag1","hashtag2"]},{"1391968749":["hashtag1","hashtag2"]},{"1391968748":["hashtag1","hashtag2"]},{"1391968747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968744, 1391968743, 1391968746, 1391968749, 1391968748, 1391968747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73106646537781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:24:22.494743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_53_2577.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_56_2681.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_59_3603.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_05_2749.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_08_3729.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_23_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/14/30/image_30102025_14_30_53_2577.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_56_2681.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_59_3603.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_05_2749.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_08_3729.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_23_2614.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.354753255844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:24:42.482208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_20_3879.jpg', '/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_34_2665.jpg', '/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_46_2742.jpg', '/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_01_2349.jpg', '/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_19_3662.jpg', '/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_40_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_20_3879.jpg
/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_34_2665.jpg
/home/pi/Desktop/images/31102025/00/34/image_31102025_00_34_46_2742.jpg
/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_01_2349.jpg
/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_19_3662.jpg
/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_40_3704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968773","1391968767","1391968775","1391968769","1391968766","1391968774"],"photo_ids_order":["1391968766","1391968767","1391968769","1391968773","1391968774","1391968775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc18d2b5e589b78ad5b22d3c269e2792.jpg","text":"TemporaryFile(/tmp/multipartBody1690408558986607852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133143558,"filename":"image_31102025_00_35_01_2349.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9d66f3cf5fd6d5d0a4a2741c79c57827.jpg","text":"TemporaryFile(/tmp/multipartBody3267571304188794958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133143558,"filename":"image_31102025_00_34_34_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/3/e54f1c7e33304799c3cb1c80ffdafd2b.jpg","text":"TemporaryFile(/tmp/multipartBody452997021242001804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133143558,"filename":"image_31102025_00_35_40_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bbefd471fd6194d8e76a0f7201e230e0.jpg","text":"TemporaryFile(/tmp/multipartBody4391672736749110143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133143558,"filename":"image_31102025_00_34_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/3/dad98380147752ab9ae13f9521f0fd1f.jpg","text":"TemporaryFile(/tmp/multipartBody153391501514212815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133143558,"filename":"image_31102025_00_34_20_3879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f7197e1b08623e5470f4714968ba6a49.jpg","text":"TemporaryFile(/tmp/multipartBody5599087366601628767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133143558,"filename":"image_31102025_00_35_19_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968769","file1":"1391968767","file0":"1391968766","file4":"1391968774","file5":"1391968775","file3":"1391968773"},"map_files_photo_id_array":[{"photo_id":"1391968775","filename":"file5"},{"photo_id":"1391968769","filename":"file2"},{"photo_id":"1391968774","filename":"file4"},{"photo_id":"1391968767","filename":"file1"},{"photo_id":"1391968766","filename":"file0"},{"photo_id":"1391968773","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968773":["hashtag1","hashtag2"]},{"1391968767":["hashtag1","hashtag2"]},{"1391968775":["hashtag1","hashtag2"]},{"1391968769":["hashtag1","hashtag2"]},{"1391968766":["hashtag1","hashtag2"]},{"1391968774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968773, 1391968767, 1391968775, 1391968769, 1391968766, 1391968774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14002060890198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:25:22.715763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_53_2577.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_56_2681.jpg', '/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_59_3603.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_05_2749.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_08_3729.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_23_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/14/30/image_30102025_14_30_53_2577.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_56_2681.jpg
/home/pi/Desktop/images/30102025/14/30/image_30102025_14_30_59_3603.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_05_2749.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_08_3729.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_23_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968782","1391968785","1391968784","1391968778","1391968786","1391968780"],"photo_ids_order":["1391968778","1391968780","1391968782","1391968784","1391968785","1391968786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/726162f6dddd279e1d07ec5625ef649d.jpg","text":"TemporaryFile(/tmp/multipartBody5893545635549619377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133185114,"filename":"image_30102025_14_30_59_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/3/d3ddd00c8e80c0e41014701a5ef482af.jpg","text":"TemporaryFile(/tmp/multipartBody1107767130029960596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133185114,"filename":"image_30102025_14_31_08_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/3/e2f4a2ebca3a695a3ba5ad24c1ad195c.jpg","text":"TemporaryFile(/tmp/multipartBody2771654642449748351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133185114,"filename":"image_30102025_14_31_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/3/d0158dad06aea58ed77ff8301284836d.jpg","text":"TemporaryFile(/tmp/multipartBody4993330248855661717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133185114,"filename":"image_30102025_14_30_53_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/3/08316d17ae415060cb45ec88b719b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody5919900920767262875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133185114,"filename":"image_30102025_14_31_23_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93986290a3a35e70faa9669e7586fddd.jpg","text":"TemporaryFile(/tmp/multipartBody3844501592121355686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133185114,"filename":"image_30102025_14_30_56_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968782","file1":"1391968780","file0":"1391968778","file4":"1391968785","file5":"1391968786","file3":"1391968784"},"map_files_photo_id_array":[{"photo_id":"1391968786","filename":"file5"},{"photo_id":"1391968782","filename":"file2"},{"photo_id":"1391968785","filename":"file4"},{"photo_id":"1391968780","filename":"file1"},{"photo_id":"1391968778","filename":"file0"},{"photo_id":"1391968784","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968782":["hashtag1","hashtag2"]},{"1391968785":["hashtag1","hashtag2"]},{"1391968784":["hashtag1","hashtag2"]},{"1391968778":["hashtag1","hashtag2"]},{"1391968786":["hashtag1","hashtag2"]},{"1391968780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968782, 1391968785, 1391968784, 1391968778, 1391968786, 1391968780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.679360151290894 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-03 02:26:21.905199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_26_3566.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_29_2678.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_35_2721.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_45_3512.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_47_2651.jpg', '/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_53_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/14/31/image_30102025_14_31_26_3566.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_29_2678.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_35_2721.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_45_3512.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_47_2651.jpg
/home/pi/Desktop/images/30102025/14/31/image_30102025_14_31_53_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968810","1391968804","1391968812","1391968806","1391968808","1391968802"],"photo_ids_order":["1391968802","1391968804","1391968806","1391968808","1391968810","1391968812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12bbbb77a826f924d61e86b3d26cc916.jpg","text":"TemporaryFile(/tmp/multipartBody967427510595916115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133257046,"filename":"image_30102025_14_31_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/3/6339efd4cd8333f15e9559b9afdc3843.jpg","text":"TemporaryFile(/tmp/multipartBody1814004444401040968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133257046,"filename":"image_30102025_14_31_29_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/3/4fb7e5ab4db7e72967d7faf1e8a975fc.jpg","text":"TemporaryFile(/tmp/multipartBody6801626680083001584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133257046,"filename":"image_30102025_14_31_53_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/3/f4712fb5b8678d4caa4079aa6b57f55c.jpg","text":"TemporaryFile(/tmp/multipartBody7649710133606169946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133257046,"filename":"image_30102025_14_31_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/3/13f430cc6855442955783bba739097a8.jpg","text":"TemporaryFile(/tmp/multipartBody1198402869058435134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133257046,"filename":"image_30102025_14_31_45_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b4f25836c1967955681b6a61837f6155.jpg","text":"TemporaryFile(/tmp/multipartBody7958542150390530209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133257046,"filename":"image_30102025_14_31_26_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968806","file1":"1391968804","file0":"1391968802","file4":"1391968810","file5":"1391968812","file3":"1391968808"},"map_files_photo_id_array":[{"photo_id":"1391968812","filename":"file5"},{"photo_id":"1391968806","filename":"file2"},{"photo_id":"1391968810","filename":"file4"},{"photo_id":"1391968804","filename":"file1"},{"photo_id":"1391968802","filename":"file0"},{"photo_id":"1391968808","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968810":["hashtag1","hashtag2"]},{"1391968804":["hashtag1","hashtag2"]},{"1391968812":["hashtag1","hashtag2"]},{"1391968806":["hashtag1","hashtag2"]},{"1391968808":["hashtag1","hashtag2"]},{"1391968802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968810, 1391968804, 1391968812, 1391968806, 1391968808, 1391968802)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 69.94394659996033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:27:42.114797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_43_2666.jpg', '/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_55_2627.jpg', '/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_04_2642.jpg', '/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_28_2820.jpg', '/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_34_3696.jpg', '/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_40_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_43_2666.jpg
/home/pi/Desktop/images/31102025/00/35/image_31102025_00_35_55_2627.jpg
/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_04_2642.jpg
/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_28_2820.jpg
/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_34_3696.jpg
/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_40_2817.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968834","1391968825","1391968824","1391968827","1391968832","1391968829"],"photo_ids_order":["1391968824","1391968825","1391968827","1391968829","1391968832","1391968834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c1ea20ef6e5ac839865efe7e71f0f299.jpg","text":"TemporaryFile(/tmp/multipartBody5435943679291067361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133323233,"filename":"image_31102025_00_36_40_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/3/488bc562f562f3c24961b80cb1659fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2134327598198008992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133323233,"filename":"image_31102025_00_35_55_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4411c274bd288ee80e431be98d4790a1.jpg","text":"TemporaryFile(/tmp/multipartBody2392018460864513887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133323233,"filename":"image_31102025_00_35_43_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/3/30df90b20613494fbcb96ef0746b1b4f.jpg","text":"TemporaryFile(/tmp/multipartBody226327003167720578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133323233,"filename":"image_31102025_00_36_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/3/adc53784cb96f6750e27e7f363010603.jpg","text":"TemporaryFile(/tmp/multipartBody1441668423225837348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133323233,"filename":"image_31102025_00_36_34_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/3/a3bf36a7c7fcdcf1f203087520846f72.jpg","text":"TemporaryFile(/tmp/multipartBody1491578680956689235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133323233,"filename":"image_31102025_00_36_28_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968827","file1":"1391968825","file0":"1391968824","file4":"1391968832","file5":"1391968834","file3":"1391968829"},"map_files_photo_id_array":[{"photo_id":"1391968834","filename":"file5"},{"photo_id":"1391968827","filename":"file2"},{"photo_id":"1391968832","filename":"file4"},{"photo_id":"1391968825","filename":"file1"},{"photo_id":"1391968824","filename":"file0"},{"photo_id":"1391968829","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968834":["hashtag1","hashtag2"]},{"1391968825":["hashtag1","hashtag2"]},{"1391968824":["hashtag1","hashtag2"]},{"1391968827":["hashtag1","hashtag2"]},{"1391968832":["hashtag1","hashtag2"]},{"1391968829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968834, 1391968825, 1391968824, 1391968827, 1391968832, 1391968829)","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 = 1391968827 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_04_2642.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.89177393913269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:28:42.213048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_49_2690.jpg', '/home/pi/Desktop/images/31102025/00/36/image_31102025_00_37_00_2877.jpg', '/home/pi/Desktop/images/31102025/00/37/image_31102025_00_37_10_2858.jpg', '/home/pi/Desktop/images/31102025/00/37/image_31102025_00_37_58_2662.jpg', '/home/pi/Desktop/images/31102025/00/38/image_31102025_00_38_07_2708.jpg', '/home/pi/Desktop/images/31102025/00/40/image_31102025_00_40_33_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/36/image_31102025_00_36_49_2690.jpg
/home/pi/Desktop/images/31102025/00/36/image_31102025_00_37_00_2877.jpg
/home/pi/Desktop/images/31102025/00/37/image_31102025_00_37_10_2858.jpg
/home/pi/Desktop/images/31102025/00/37/image_31102025_00_37_58_2662.jpg
/home/pi/Desktop/images/31102025/00/38/image_31102025_00_38_07_2708.jpg
/home/pi/Desktop/images/31102025/00/40/image_31102025_00_40_33_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968840","1391968842","1391968839","1391968841","1391968844","1391968838"],"photo_ids_order":["1391968838","1391968839","1391968840","1391968841","1391968842","1391968844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3875505d49eb494f0bd7cbff6fcfc546.jpg","text":"TemporaryFile(/tmp/multipartBody7790335969222390389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133383276,"filename":"image_31102025_00_37_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/3/2ddcfacf831c4fc15986fa007b036f70.jpg","text":"TemporaryFile(/tmp/multipartBody1916784916712836144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133383276,"filename":"image_31102025_00_38_07_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/3/3cd68b879608a66ab3642f414297d90b.jpg","text":"TemporaryFile(/tmp/multipartBody1720646601577287480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133383276,"filename":"image_31102025_00_37_00_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/3/5b7188c325bad97013fd7a4881f939f5.jpg","text":"TemporaryFile(/tmp/multipartBody4634418341857660779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133383276,"filename":"image_31102025_00_37_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/3/ba017c7f2e477b816caaf4ee869fefc7.jpg","text":"TemporaryFile(/tmp/multipartBody5470531299021482962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133383276,"filename":"image_31102025_00_40_33_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/3/b5a78cb44aab8888bd193fa22b489b27.jpg","text":"TemporaryFile(/tmp/multipartBody2982428953675122372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133383276,"filename":"image_31102025_00_36_49_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968840","file1":"1391968839","file0":"1391968838","file4":"1391968842","file5":"1391968844","file3":"1391968841"},"map_files_photo_id_array":[{"photo_id":"1391968844","filename":"file5"},{"photo_id":"1391968840","filename":"file2"},{"photo_id":"1391968842","filename":"file4"},{"photo_id":"1391968839","filename":"file1"},{"photo_id":"1391968838","filename":"file0"},{"photo_id":"1391968841","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968840":["hashtag1","hashtag2"]},{"1391968842":["hashtag1","hashtag2"]},{"1391968839":["hashtag1","hashtag2"]},{"1391968841":["hashtag1","hashtag2"]},{"1391968844":["hashtag1","hashtag2"]},{"1391968838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968840, 1391968842, 1391968839, 1391968841, 1391968844, 1391968838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.090673208236694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:29:22.396236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_02_2687.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_11_2643.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_17_3575.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_20_2728.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_23_2709.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_32_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/14/32/image_30102025_14_32_02_2687.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_11_2643.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_17_3575.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_20_2728.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_23_2709.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_32_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968855","1391968857","1391968851","1391968854","1391968853","1391968858"],"photo_ids_order":["1391968851","1391968853","1391968854","1391968855","1391968857","1391968858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e550f026390838bdbbaf66c3d0ea0448.jpg","text":"TemporaryFile(/tmp/multipartBody8274955276654196206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133424555,"filename":"image_30102025_14_32_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/3/e2459759edf92ae59fabcb4d3d28c926.jpg","text":"TemporaryFile(/tmp/multipartBody7936518223583775800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133424555,"filename":"image_30102025_14_32_23_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/3/f972622902d48761f71b2598ec147b89.jpg","text":"TemporaryFile(/tmp/multipartBody7409492752227034242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133424555,"filename":"image_30102025_14_32_02_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/3/c91dbca163b26165f0bc0602b25f3dbf.jpg","text":"TemporaryFile(/tmp/multipartBody5100093651167334534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133424555,"filename":"image_30102025_14_32_17_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/3/6af7f43495700cd22a0e764669c59658.jpg","text":"TemporaryFile(/tmp/multipartBody224089002382094788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133424555,"filename":"image_30102025_14_32_11_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0df60b10ecbb5f326660f35729967bd3.jpg","text":"TemporaryFile(/tmp/multipartBody7765319541454055328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133424555,"filename":"image_30102025_14_32_32_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968854","file1":"1391968853","file0":"1391968851","file4":"1391968857","file5":"1391968858","file3":"1391968855"},"map_files_photo_id_array":[{"photo_id":"1391968858","filename":"file5"},{"photo_id":"1391968854","filename":"file2"},{"photo_id":"1391968857","filename":"file4"},{"photo_id":"1391968853","filename":"file1"},{"photo_id":"1391968851","filename":"file0"},{"photo_id":"1391968855","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968855":["hashtag1","hashtag2"]},{"1391968857":["hashtag1","hashtag2"]},{"1391968851":["hashtag1","hashtag2"]},{"1391968854":["hashtag1","hashtag2"]},{"1391968853":["hashtag1","hashtag2"]},{"1391968858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968855, 1391968857, 1391968851, 1391968854, 1391968853, 1391968858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37958264350891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:30:03.159520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_35_3648.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_41_2625.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_44_3817.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_47_2585.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_53_3712.jpg', '/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_56_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/14/32/image_30102025_14_32_35_3648.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_41_2625.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_44_3817.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_47_2585.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_53_3712.jpg
/home/pi/Desktop/images/30102025/14/32/image_30102025_14_32_56_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968863","1391968862","1391968865","1391968870","1391968864","1391968867"],"photo_ids_order":["1391968862","1391968863","1391968864","1391968865","1391968867","1391968870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d813a4860dd58b1594b8623305a91af.jpg","text":"TemporaryFile(/tmp/multipartBody2451410301226622288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133464876,"filename":"image_30102025_14_32_41_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/531a50c5ff28cbbef2e4be826290a63e.jpg","text":"TemporaryFile(/tmp/multipartBody2788514997821831454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133464876,"filename":"image_30102025_14_32_35_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ea5a0e7ef5be39a92f53148ed683d650.jpg","text":"TemporaryFile(/tmp/multipartBody8809332404658504112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133464876,"filename":"image_30102025_14_32_47_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/3/b71c83edf8600f7da37d0fdde3a35679.jpg","text":"TemporaryFile(/tmp/multipartBody6333896052117691657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133464876,"filename":"image_30102025_14_32_56_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/3/9109b6a34f44ba97d1b71c7faa2ad526.jpg","text":"TemporaryFile(/tmp/multipartBody1138736817322576693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133464876,"filename":"image_30102025_14_32_44_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/52d2195ad9ba28bcc53e2e6066bb811d.jpg","text":"TemporaryFile(/tmp/multipartBody920791267598182537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133464876,"filename":"image_30102025_14_32_53_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968864","file1":"1391968863","file0":"1391968862","file4":"1391968867","file5":"1391968870","file3":"1391968865"},"map_files_photo_id_array":[{"photo_id":"1391968870","filename":"file5"},{"photo_id":"1391968864","filename":"file2"},{"photo_id":"1391968867","filename":"file4"},{"photo_id":"1391968863","filename":"file1"},{"photo_id":"1391968862","filename":"file0"},{"photo_id":"1391968865","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968863":["hashtag1","hashtag2"]},{"1391968862":["hashtag1","hashtag2"]},{"1391968865":["hashtag1","hashtag2"]},{"1391968870":["hashtag1","hashtag2"]},{"1391968864":["hashtag1","hashtag2"]},{"1391968867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968863, 1391968862, 1391968865, 1391968870, 1391968864, 1391968867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05333709716797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:30:42.613549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/40/image_31102025_00_40_46_3623.jpg', '/home/pi/Desktop/images/31102025/00/40/image_31102025_00_41_00_2530.jpg', '/home/pi/Desktop/images/31102025/00/41/image_31102025_00_41_04_3649.jpg', '/home/pi/Desktop/images/31102025/00/41/image_31102025_00_41_24_2626.jpg', '/home/pi/Desktop/images/31102025/00/41/image_31102025_00_41_33_2806.jpg', '/home/pi/Desktop/images/31102025/00/41/image_31102025_00_41_36_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/40/image_31102025_00_40_46_3623.jpg
/home/pi/Desktop/images/31102025/00/40/image_31102025_00_41_00_2530.jpg
/home/pi/Desktop/images/31102025/00/41/image_31102025_00_41_04_3649.jpg
/home/pi/Desktop/images/31102025/00/41/image_31102025_00_41_24_2626.jpg
/home/pi/Desktop/images/31102025/00/41/image_31102025_00_41_33_2806.jpg
/home/pi/Desktop/images/31102025/00/41/image_31102025_00_41_36_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968878","1391968874","1391968877","1391968882","1391968876","1391968879"],"photo_ids_order":["1391968874","1391968876","1391968877","1391968878","1391968879","1391968882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f5818beca62ea57ff372f3a9dfba0ecd.jpg","text":"TemporaryFile(/tmp/multipartBody1096546285973381074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133503753,"filename":"image_31102025_00_41_24_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/3/073523f58f081b18ff53a326e4ccb082.jpg","text":"TemporaryFile(/tmp/multipartBody2882167435168235069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133503753,"filename":"image_31102025_00_40_46_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/3/efaa26ba6383259e403fea593bec1f73.jpg","text":"TemporaryFile(/tmp/multipartBody2078345653155622704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133503753,"filename":"image_31102025_00_41_04_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/3/5f107b5f89b6fb65ff296147c6b164c6.jpg","text":"TemporaryFile(/tmp/multipartBody7661480355114180253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133503753,"filename":"image_31102025_00_41_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/3/c8a80bc35e5ed8986eebd86009a995b3.jpg","text":"TemporaryFile(/tmp/multipartBody5022959469019453716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133503753,"filename":"image_31102025_00_41_00_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/3/26685957e36225311d08fa412a7f1442.jpg","text":"TemporaryFile(/tmp/multipartBody5019878630424559195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133503753,"filename":"image_31102025_00_41_33_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968877","file1":"1391968876","file0":"1391968874","file4":"1391968879","file5":"1391968882","file3":"1391968878"},"map_files_photo_id_array":[{"photo_id":"1391968882","filename":"file5"},{"photo_id":"1391968877","filename":"file2"},{"photo_id":"1391968879","filename":"file4"},{"photo_id":"1391968876","filename":"file1"},{"photo_id":"1391968874","filename":"file0"},{"photo_id":"1391968878","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968878":["hashtag1","hashtag2"]},{"1391968874":["hashtag1","hashtag2"]},{"1391968877":["hashtag1","hashtag2"]},{"1391968882":["hashtag1","hashtag2"]},{"1391968876":["hashtag1","hashtag2"]},{"1391968879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968878, 1391968874, 1391968877, 1391968882, 1391968876, 1391968879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22840094566345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:31:22.823231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_02_3553.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_05_2688.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_08_2707.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_14_2800.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_17_2640.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_26_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/14/33/image_30102025_14_33_02_3553.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_05_2688.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_08_2707.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_14_2800.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_17_2640.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_26_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968893","1391968896","1391968899","1391968895","1391968894","1391968897"],"photo_ids_order":["1391968893","1391968894","1391968895","1391968896","1391968897","1391968899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/887993b54d2ad292da5199d70c7b9aae.jpg","text":"TemporaryFile(/tmp/multipartBody5705808298905624245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133549904,"filename":"image_30102025_14_33_02_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/3/57b2b747e2b4f3aafc66824a65169574.jpg","text":"TemporaryFile(/tmp/multipartBody699737615984955153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133549904,"filename":"image_30102025_14_33_14_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/3/2c51c1eb2a205ce6b38e78abf0faba8e.jpg","text":"TemporaryFile(/tmp/multipartBody252946736079952617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133549904,"filename":"image_30102025_14_33_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/3/3b27bce4d38156aea86c9d7d044486ce.jpg","text":"TemporaryFile(/tmp/multipartBody8638494941078947394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133549904,"filename":"image_30102025_14_33_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/3/e8a2a3c70ba601e01a5bce9cae5a1781.jpg","text":"TemporaryFile(/tmp/multipartBody6310308988203333366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133549904,"filename":"image_30102025_14_33_05_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/05407320ea507a07b787f53c60a6d5e7.jpg","text":"TemporaryFile(/tmp/multipartBody1017738196595398319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133549904,"filename":"image_30102025_14_33_17_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968895","file1":"1391968894","file0":"1391968893","file4":"1391968897","file5":"1391968899","file3":"1391968896"},"map_files_photo_id_array":[{"photo_id":"1391968899","filename":"file5"},{"photo_id":"1391968895","filename":"file2"},{"photo_id":"1391968897","filename":"file4"},{"photo_id":"1391968894","filename":"file1"},{"photo_id":"1391968893","filename":"file0"},{"photo_id":"1391968896","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968893":["hashtag1","hashtag2"]},{"1391968896":["hashtag1","hashtag2"]},{"1391968899":["hashtag1","hashtag2"]},{"1391968895":["hashtag1","hashtag2"]},{"1391968894":["hashtag1","hashtag2"]},{"1391968897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968893, 1391968896, 1391968899, 1391968895, 1391968894, 1391968897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.22746253013611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:32:21.889422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_32_3568.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_35_2733.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_37_2700.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_41_3869.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_47_2664.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_49_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/14/33/image_30102025_14_33_32_3568.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_35_2733.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_37_2700.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_41_3869.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_47_2664.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_49_2850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968918","1391968911","1391968920","1391968914","1391968916","1391968913"],"photo_ids_order":["1391968911","1391968913","1391968914","1391968916","1391968918","1391968920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/25c007e576028a6b40e5501de48893bd.jpg","text":"TemporaryFile(/tmp/multipartBody2591489829662751355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133604031,"filename":"image_30102025_14_33_47_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8022edbce24e92bcc7578ca07cc7fab9.jpg","text":"TemporaryFile(/tmp/multipartBody2777495125908910494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133604031,"filename":"image_30102025_14_33_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/3/6773162446fc7f1ee9563c325c99595b.jpg","text":"TemporaryFile(/tmp/multipartBody93699937851902695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133604031,"filename":"image_30102025_14_33_49_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/3/14fd3ee500403597b5a36e1a20f0eb6a.jpg","text":"TemporaryFile(/tmp/multipartBody7651836193071241731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133604031,"filename":"image_30102025_14_33_37_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/3/bfbfca890df3224c66f57b54afce2538.jpg","text":"TemporaryFile(/tmp/multipartBody5643315771720312850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133604031,"filename":"image_30102025_14_33_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/3/ef866c464aa704173377a61dc6efbd21.jpg","text":"TemporaryFile(/tmp/multipartBody7887760874024361407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133604031,"filename":"image_30102025_14_33_35_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968914","file1":"1391968913","file0":"1391968911","file4":"1391968918","file5":"1391968920","file3":"1391968916"},"map_files_photo_id_array":[{"photo_id":"1391968920","filename":"file5"},{"photo_id":"1391968914","filename":"file2"},{"photo_id":"1391968918","filename":"file4"},{"photo_id":"1391968913","filename":"file1"},{"photo_id":"1391968911","filename":"file0"},{"photo_id":"1391968916","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968918":["hashtag1","hashtag2"]},{"1391968911":["hashtag1","hashtag2"]},{"1391968920":["hashtag1","hashtag2"]},{"1391968914":["hashtag1","hashtag2"]},{"1391968916":["hashtag1","hashtag2"]},{"1391968913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968918, 1391968911, 1391968920, 1391968914, 1391968916, 1391968913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63682961463928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:33:02.815175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_53_3623.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_56_2660.jpg', '/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_59_2828.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_11_3657.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_14_2729.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_17_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/14/33/image_30102025_14_33_53_3623.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_56_2660.jpg
/home/pi/Desktop/images/30102025/14/33/image_30102025_14_33_59_2828.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_11_3657.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_14_2729.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_17_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968923","1391968934","1391968937","1391968925","1391968928","1391968930"],"photo_ids_order":["1391968923","1391968925","1391968928","1391968930","1391968934","1391968937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4dd3e9b8f50af44a20f7153d58217cea.jpg","text":"TemporaryFile(/tmp/multipartBody4152247638804753050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133644551,"filename":"image_30102025_14_33_53_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/3/65d54cf3868df30c4eab3d4cfac50d80.jpg","text":"TemporaryFile(/tmp/multipartBody8637613672135653454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133644551,"filename":"image_30102025_14_34_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/3/3ae110bfde333120e258dcca85f7e774.jpg","text":"TemporaryFile(/tmp/multipartBody1937623690131135691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133644551,"filename":"image_30102025_14_34_17_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f1e89cbef3046ac8a8ed9bf4fd89032.jpg","text":"TemporaryFile(/tmp/multipartBody7511304607790768639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133644551,"filename":"image_30102025_14_33_56_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/3/3c05fb073f869ca40f9b8b4d30bafc84.jpg","text":"TemporaryFile(/tmp/multipartBody8790227278463609375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133644551,"filename":"image_30102025_14_33_59_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/3/0034901e0ad43f7b0a16aec3ed894f89.jpg","text":"TemporaryFile(/tmp/multipartBody4869995374358829782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133644551,"filename":"image_30102025_14_34_11_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968928","file1":"1391968925","file0":"1391968923","file4":"1391968934","file5":"1391968937","file3":"1391968930"},"map_files_photo_id_array":[{"photo_id":"1391968937","filename":"file5"},{"photo_id":"1391968928","filename":"file2"},{"photo_id":"1391968934","filename":"file4"},{"photo_id":"1391968925","filename":"file1"},{"photo_id":"1391968923","filename":"file0"},{"photo_id":"1391968930","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968923":["hashtag1","hashtag2"]},{"1391968934":["hashtag1","hashtag2"]},{"1391968937":["hashtag1","hashtag2"]},{"1391968925":["hashtag1","hashtag2"]},{"1391968928":["hashtag1","hashtag2"]},{"1391968930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968923, 1391968934, 1391968937, 1391968925, 1391968928, 1391968930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54787468910217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:33:42.250381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_03_2647.jpg', '/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_12_2750.jpg', '/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_15_2627.jpg', '/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_21_2535.jpg', '/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_25_3704.jpg', '/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_34_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_03_2647.jpg
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_12_2750.jpg
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_15_2627.jpg
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_21_2535.jpg
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_25_3704.jpg
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_34_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968948","1391968942","1391968941","1391968944","1391968946","1391968951"],"photo_ids_order":["1391968941","1391968942","1391968944","1391968946","1391968948","1391968951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc712974c197ac9a1c0924f2997d9cbd.jpg","text":"TemporaryFile(/tmp/multipartBody932911143223943378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133683358,"filename":"image_31102025_00_42_25_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/3/71484d2b6695fcc14df098fd40f9473d.jpg","text":"TemporaryFile(/tmp/multipartBody6627437588554676375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133683358,"filename":"image_31102025_00_42_12_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/3/06fcebbbcc474d6a2b8e839563ab1f68.jpg","text":"TemporaryFile(/tmp/multipartBody4385748228155678457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133683358,"filename":"image_31102025_00_42_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/3/555410e184c09fe5b061ea40ca1853f0.jpg","text":"TemporaryFile(/tmp/multipartBody8238033088411376373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133683358,"filename":"image_31102025_00_42_15_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/3/4280b9b47b08b3f3d8d0c71732e61f1d.jpg","text":"TemporaryFile(/tmp/multipartBody241263402851807441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133683358,"filename":"image_31102025_00_42_21_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/3/0f41aba16a66c6d8d7149e041eecc30f.jpg","text":"TemporaryFile(/tmp/multipartBody3493829820054329931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133683358,"filename":"image_31102025_00_42_34_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968944","file1":"1391968942","file0":"1391968941","file4":"1391968948","file5":"1391968951","file3":"1391968946"},"map_files_photo_id_array":[{"photo_id":"1391968951","filename":"file5"},{"photo_id":"1391968944","filename":"file2"},{"photo_id":"1391968948","filename":"file4"},{"photo_id":"1391968942","filename":"file1"},{"photo_id":"1391968941","filename":"file0"},{"photo_id":"1391968946","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391968948":["hashtag1","hashtag2"]},{"1391968942":["hashtag1","hashtag2"]},{"1391968941":["hashtag1","hashtag2"]},{"1391968944":["hashtag1","hashtag2"]},{"1391968946":["hashtag1","hashtag2"]},{"1391968951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391968948, 1391968942, 1391968941, 1391968944, 1391968946, 1391968951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53901672363281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:34:22.431210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_19_2769.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_29_2782.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_32_3697.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_35_2664.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_38_2680.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_41_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/14/34/image_30102025_14_34_19_2769.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_29_2782.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_32_3697.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_35_2664.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_38_2680.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_41_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391968956","1391968965","1391968959","1391968961","1391968963","1391968957"],"photo_ids_order":["1391968956","1391968957","1391968959","1391968961","1391968963","1391968965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b95f766ecb2310751819b909644e4fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7379522022622273755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133725049,"filename":"image_30102025_14_34_19_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/3/667791d4331a720e74a731a6f785ce27.jpg","text":"TemporaryFile(/tmp/multipartBody5055331802020963420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133725049,"filename":"image_30102025_14_34_41_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2996a6d9f88d5d4bad4ffa084c9168e9.jpg","text":"TemporaryFile(/tmp/multipartBody485766495263356167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133725049,"filename":"image_30102025_14_34_32_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/3/7846b2140c6d29a79accb52d2ce1d240.jpg","text":"TemporaryFile(/tmp/multipartBody6657940256800739741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133725049,"filename":"image_30102025_14_34_35_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/3/aaaf6550911cf7887a283b7a196f6074.jpg","text":"TemporaryFile(/tmp/multipartBody933320150274231351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133725049,"filename":"image_30102025_14_34_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/3/b0281f7b85b5c0dc931c65e4b71e1aef.jpg","text":"TemporaryFile(/tmp/multipartBody2362528886389323779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133725049,"filename":"image_30102025_14_34_29_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968959","file1":"1391968957","file0":"1391968956","file4":"1391968963","file5":"1391968965","file3":"1391968961"},"map_files_photo_id_array":[{"photo_id":"1391968965","filename":"file5"},{"photo_id":"1391968959","filename":"file2"},{"photo_id":"1391968963","filename":"file4"},{"photo_id":"1391968957","filename":"file1"},{"photo_id":"1391968956","filename":"file0"},{"photo_id":"1391968961","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968956":["hashtag1","hashtag2"]},{"1391968965":["hashtag1","hashtag2"]},{"1391968959":["hashtag1","hashtag2"]},{"1391968961":["hashtag1","hashtag2"]},{"1391968963":["hashtag1","hashtag2"]},{"1391968957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968956, 1391968965, 1391968959, 1391968961, 1391968963, 1391968957)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.70887589454651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:35:26.940910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_44_2683.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_47_2749.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_49_2735.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_53_3669.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_56_2723.jpg', '/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_58_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/14/34/image_30102025_14_34_44_2683.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_47_2749.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_49_2735.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_53_3669.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_56_2723.jpg
/home/pi/Desktop/images/30102025/14/34/image_30102025_14_34_58_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":["1391968980","1391969025","1391968976","1391969065","1391968978","1391968987"],"photo_ids_order":["1391968976","1391968978","1391968980","1391968987","1391969025","1391969065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0f9d89f42f5d473509a3322653464e7b.jpg","text":"TemporaryFile(/tmp/multipartBody5442812682401758184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133789055,"filename":"image_30102025_14_34_49_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1010e0e91bc957a716d31347fc60f7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2109648721307358393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133789055,"filename":"image_30102025_14_34_56_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e2d87b6818be60b057766c5fb057de6.jpg","text":"TemporaryFile(/tmp/multipartBody3602295163825240204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133789055,"filename":"image_30102025_14_34_44_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/3/eaf25607e0fe1d7b589aba43062cf71a.jpg","text":"TemporaryFile(/tmp/multipartBody7272184000735065941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133789055,"filename":"image_30102025_14_34_58_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/3/02ad3ced41adf29bc86dd33a6160d788.jpg","text":"TemporaryFile(/tmp/multipartBody1660108877426267481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133789055,"filename":"image_30102025_14_34_47_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/3/029d2ac4c1eb5999bf6c093cb49366ed.jpg","text":"TemporaryFile(/tmp/multipartBody1385776093473433589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133789055,"filename":"image_30102025_14_34_53_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391968980","file1":"1391968978","file0":"1391968976","file4":"1391969025","file5":"1391969065","file3":"1391968987"},"map_files_photo_id_array":[{"photo_id":"1391969065","filename":"file5"},{"photo_id":"1391968980","filename":"file2"},{"photo_id":"1391969025","filename":"file4"},{"photo_id":"1391968978","filename":"file1"},{"photo_id":"1391968976","filename":"file0"},{"photo_id":"1391968987","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391968980":["hashtag1","hashtag2"]},{"1391969025":["hashtag1","hashtag2"]},{"1391968976":["hashtag1","hashtag2"]},{"1391969065":["hashtag1","hashtag2"]},{"1391968978":["hashtag1","hashtag2"]},{"1391968987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391968980, 1391969025, 1391968976, 1391969065, 1391968978, 1391968987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60980772972107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:36:22.144277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_02_3778.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_05_3014.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_08_2628.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_10_2574.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_17_2752.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_19_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/14/35/image_30102025_14_35_02_3778.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_05_3014.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_08_2628.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_10_2574.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_17_2752.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_19_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: 2.150686502456665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:36:42.203282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_39_2769.jpg', '/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_48_2813.jpg', '/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_52_3703.jpg', '/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_57_2705.jpg', '/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_03_3141.jpg', '/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_24_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_39_2769.jpg
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_48_2813.jpg
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_52_3703.jpg
/home/pi/Desktop/images/31102025/00/42/image_31102025_00_42_57_2705.jpg
/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_03_3141.jpg
/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_24_2842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391969719","1391969760","1391969679","1391969568","1391969640","1391969603"],"photo_ids_order":["1391969568","1391969603","1391969640","1391969679","1391969719","1391969760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7c3346033b3ae486078ef4d561be7adb.jpg","text":"TemporaryFile(/tmp/multipartBody6532293690422774717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133863383,"filename":"image_31102025_00_43_03_3141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/570faa8d409859ba261117ac7f98ddf4.jpg","text":"TemporaryFile(/tmp/multipartBody4068358923984592542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133863383,"filename":"image_31102025_00_43_24_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/3/a703fbaa0f5758216b2e53df0c16e728.jpg","text":"TemporaryFile(/tmp/multipartBody3282784437015115316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133863383,"filename":"image_31102025_00_42_57_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/3/fff0ea3ea3fa24914278f4e63bb77498.jpg","text":"TemporaryFile(/tmp/multipartBody5847322949673778504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133863383,"filename":"image_31102025_00_42_39_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/3/dc6fafb3fcf9b826f0a9ba09ac87b98e.jpg","text":"TemporaryFile(/tmp/multipartBody2530728052928366107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133863383,"filename":"image_31102025_00_42_52_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/3/6b750373ec0bd604b45139b100da2905.jpg","text":"TemporaryFile(/tmp/multipartBody593839556515751542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133863383,"filename":"image_31102025_00_42_48_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391969640","file1":"1391969603","file0":"1391969568","file4":"1391969719","file5":"1391969760","file3":"1391969679"},"map_files_photo_id_array":[{"photo_id":"1391969760","filename":"file5"},{"photo_id":"1391969640","filename":"file2"},{"photo_id":"1391969719","filename":"file4"},{"photo_id":"1391969603","filename":"file1"},{"photo_id":"1391969568","filename":"file0"},{"photo_id":"1391969679","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391969719":["hashtag1","hashtag2"]},{"1391969760":["hashtag1","hashtag2"]},{"1391969679":["hashtag1","hashtag2"]},{"1391969568":["hashtag1","hashtag2"]},{"1391969640":["hashtag1","hashtag2"]},{"1391969603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391969719, 1391969760, 1391969679, 1391969568, 1391969640, 1391969603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80824875831604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:37:22.433641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_02_3778.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_05_3014.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_08_2628.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_10_2574.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_17_2752.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_19_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/14/35/image_30102025_14_35_02_3778.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_05_3014.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_08_2628.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_10_2574.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_17_2752.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_19_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391970100","1391970016","1391970057","1391970143","1391969971","1391969929"],"photo_ids_order":["1391969929","1391969971","1391970016","1391970057","1391970100","1391970143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/726e9fa351b6ba56d52734319e51b116.jpg","text":"TemporaryFile(/tmp/multipartBody1899007361929820644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133904666,"filename":"image_30102025_14_35_17_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/3/c617201fccadfbb9e10318c1d9ef66bd.jpg","text":"TemporaryFile(/tmp/multipartBody5201969866462414063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133904666,"filename":"image_30102025_14_35_08_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/784c1703535ff17d98fdcaefd79e473e.jpg","text":"TemporaryFile(/tmp/multipartBody4874499959663802430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133904666,"filename":"image_30102025_14_35_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/3/b557d0a30aef53d1a1d0285b11172bca.jpg","text":"TemporaryFile(/tmp/multipartBody5822842903919784716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133904666,"filename":"image_30102025_14_35_19_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/3/f9c0a7e685312798c6a1297a128d1885.jpg","text":"TemporaryFile(/tmp/multipartBody4607672843679467603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133904666,"filename":"image_30102025_14_35_05_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/3/d68d503363299fc9aaa1f6c38c37ff8b.jpg","text":"TemporaryFile(/tmp/multipartBody9160807859367423144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133904666,"filename":"image_30102025_14_35_02_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391970016","file1":"1391969971","file0":"1391969929","file4":"1391970100","file5":"1391970143","file3":"1391970057"},"map_files_photo_id_array":[{"photo_id":"1391970143","filename":"file5"},{"photo_id":"1391970016","filename":"file2"},{"photo_id":"1391970100","filename":"file4"},{"photo_id":"1391969971","filename":"file1"},{"photo_id":"1391969929","filename":"file0"},{"photo_id":"1391970057","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391970100":["hashtag1","hashtag2"]},{"1391970016":["hashtag1","hashtag2"]},{"1391970057":["hashtag1","hashtag2"]},{"1391970143":["hashtag1","hashtag2"]},{"1391969971":["hashtag1","hashtag2"]},{"1391969929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391970100, 1391970016, 1391970057, 1391970143, 1391969971, 1391969929)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.963622093200684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:38:22.551281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_23_3635.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_26_2684.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_29_2748.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_38_2555.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_41_3585.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_44_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/14/35/image_30102025_14_35_23_3635.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_26_2684.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_29_2748.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_38_2555.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_41_3585.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_44_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391970285","1391970279","1391970281","1391970284","1391970283","1391970286"],"photo_ids_order":["1391970279","1391970281","1391970283","1391970284","1391970285","1391970286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8611e8fb7717081ff5dfbaed6e70a4db.jpg","text":"TemporaryFile(/tmp/multipartBody518281765831865885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133964667,"filename":"image_30102025_14_35_41_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/3/028117d3fbc2f2fe06feb0d3e93cb3a9.jpg","text":"TemporaryFile(/tmp/multipartBody5048292667123479004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133964667,"filename":"image_30102025_14_35_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/3/47c3173719bd15b159a205a5d29861f8.jpg","text":"TemporaryFile(/tmp/multipartBody6407932761356314160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133964667,"filename":"image_30102025_14_35_26_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26cec15c291b8d61d259f4669266a726.jpg","text":"TemporaryFile(/tmp/multipartBody500710224524835126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133964667,"filename":"image_30102025_14_35_38_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/3/bc444e756b54cda4976b1a61bdbf4f2d.jpg","text":"TemporaryFile(/tmp/multipartBody3849096547984552200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133964667,"filename":"image_30102025_14_35_29_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/3/a4383b9520a79798b3823a43b545ac85.jpg","text":"TemporaryFile(/tmp/multipartBody4493120740761983685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762133964667,"filename":"image_30102025_14_35_44_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391970283","file1":"1391970281","file0":"1391970279","file4":"1391970285","file5":"1391970286","file3":"1391970284"},"map_files_photo_id_array":[{"photo_id":"1391970286","filename":"file5"},{"photo_id":"1391970283","filename":"file2"},{"photo_id":"1391970285","filename":"file4"},{"photo_id":"1391970281","filename":"file1"},{"photo_id":"1391970279","filename":"file0"},{"photo_id":"1391970284","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391970285":["hashtag1","hashtag2"]},{"1391970279":["hashtag1","hashtag2"]},{"1391970281":["hashtag1","hashtag2"]},{"1391970284":["hashtag1","hashtag2"]},{"1391970283":["hashtag1","hashtag2"]},{"1391970286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391970285, 1391970279, 1391970281, 1391970284, 1391970283, 1391970286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28036952018738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:39:03.611135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_47_2696.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_49_2845.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_53_3570.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_56_2836.jpg', '/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_58_2678.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_05_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/14/35/image_30102025_14_35_47_2696.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_49_2845.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_53_3570.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_56_2836.jpg
/home/pi/Desktop/images/30102025/14/35/image_30102025_14_35_58_2678.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_05_2827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391970294","1391970300","1391970296","1391970298","1391970292","1391970295"],"photo_ids_order":["1391970292","1391970294","1391970295","1391970296","1391970298","1391970300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4b569c4fb523a9922e0d1bd36d233280.jpg","text":"TemporaryFile(/tmp/multipartBody3516166900183574501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134005678,"filename":"image_30102025_14_35_49_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/3/df1a0cd43a3348b46e5f00777dcf27c1.jpg","text":"TemporaryFile(/tmp/multipartBody8603823250939444521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134005678,"filename":"image_30102025_14_36_05_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/09a7b199c01622e6f4ff7cc71b33a340.jpg","text":"TemporaryFile(/tmp/multipartBody3381880195417450508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134005678,"filename":"image_30102025_14_35_56_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/3/071360741e6be36d52432ce86db239e9.jpg","text":"TemporaryFile(/tmp/multipartBody6505901229630612775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134005678,"filename":"image_30102025_14_35_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/3/3f40e77bdaecfaa7a85e22313d607f45.jpg","text":"TemporaryFile(/tmp/multipartBody4363384637697699598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134005678,"filename":"image_30102025_14_35_47_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/3/b93d55d0f4c487d68627892132f2e7fe.jpg","text":"TemporaryFile(/tmp/multipartBody5994465634662234467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134005678,"filename":"image_30102025_14_35_53_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391970295","file1":"1391970294","file0":"1391970292","file4":"1391970298","file5":"1391970300","file3":"1391970296"},"map_files_photo_id_array":[{"photo_id":"1391970300","filename":"file5"},{"photo_id":"1391970295","filename":"file2"},{"photo_id":"1391970298","filename":"file4"},{"photo_id":"1391970294","filename":"file1"},{"photo_id":"1391970292","filename":"file0"},{"photo_id":"1391970296","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391970294":["hashtag1","hashtag2"]},{"1391970300":["hashtag1","hashtag2"]},{"1391970296":["hashtag1","hashtag2"]},{"1391970298":["hashtag1","hashtag2"]},{"1391970292":["hashtag1","hashtag2"]},{"1391970295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391970294, 1391970300, 1391970296, 1391970298, 1391970292, 1391970295)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.50837326049805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:40:02.354305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_07_2676.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_10_2866.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_17_2652.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_19_2635.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_23_3651.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_26_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/14/36/image_30102025_14_36_07_2676.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_10_2866.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_17_2652.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_19_2635.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_23_3651.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_26_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391970541","1391970502","1391970389","1391970464","1391970350","1391970425"],"photo_ids_order":["1391970350","1391970389","1391970425","1391970464","1391970502","1391970541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93d377b95ad2218f3825c23381c421de.jpg","text":"TemporaryFile(/tmp/multipartBody6811378669201051382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134064200,"filename":"image_30102025_14_36_26_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/3/928a0e9bfc13d3e2126b45c565cd64b5.jpg","text":"TemporaryFile(/tmp/multipartBody2884180430011317672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134064200,"filename":"image_30102025_14_36_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/3/2251f577fe0457acd994066c20c782ae.jpg","text":"TemporaryFile(/tmp/multipartBody8526064256616675347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134064200,"filename":"image_30102025_14_36_10_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0fe3e0170f9f09e92b471b59bd7e3c9d.jpg","text":"TemporaryFile(/tmp/multipartBody5376216442134311901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134064200,"filename":"image_30102025_14_36_19_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9139b669a349e2eb65a93cbb4d363605.jpg","text":"TemporaryFile(/tmp/multipartBody4938207179810462707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134064200,"filename":"image_30102025_14_36_07_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/3/d855176e5df88c8bb9eb9866ae713dcd.jpg","text":"TemporaryFile(/tmp/multipartBody429111802951172949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134064200,"filename":"image_30102025_14_36_17_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391970425","file1":"1391970389","file0":"1391970350","file4":"1391970502","file5":"1391970541","file3":"1391970464"},"map_files_photo_id_array":[{"photo_id":"1391970541","filename":"file5"},{"photo_id":"1391970425","filename":"file2"},{"photo_id":"1391970502","filename":"file4"},{"photo_id":"1391970389","filename":"file1"},{"photo_id":"1391970350","filename":"file0"},{"photo_id":"1391970464","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391970541":["hashtag1","hashtag2"]},{"1391970502":["hashtag1","hashtag2"]},{"1391970389":["hashtag1","hashtag2"]},{"1391970464":["hashtag1","hashtag2"]},{"1391970350":["hashtag1","hashtag2"]},{"1391970425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391970541, 1391970502, 1391970389, 1391970464, 1391970350, 1391970425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.970622062683105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:40:41.901977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_27_2689.jpg', '/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_36_2971.jpg', '/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_46_1692.jpg', '/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_54_2774.jpg', '/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_24_3623.jpg', '/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_30_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_27_2689.jpg
/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_36_2971.jpg
/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_46_1692.jpg
/home/pi/Desktop/images/31102025/00/43/image_31102025_00_43_54_2774.jpg
/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_24_3623.jpg
/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_30_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391970875","1391970851","1391970761","1391970799","1391970722","1391970682"],"photo_ids_order":["1391970682","1391970722","1391970761","1391970799","1391970851","1391970875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf247c45ae76c1807b7ca393c9984359.jpg","text":"TemporaryFile(/tmp/multipartBody3770525473337549011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134103018,"filename":"image_31102025_00_44_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/3/1fbf1aae68ae67d55955ed6bfc218286.jpg","text":"TemporaryFile(/tmp/multipartBody2305784220309437954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134103018,"filename":"image_31102025_00_44_24_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/3/b12945317119689bed209f36fe404564.jpg","text":"TemporaryFile(/tmp/multipartBody7293983065901390679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134103018,"filename":"image_31102025_00_43_46_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/3/b220247de13ae74edeb59213a65e9af3.jpg","text":"TemporaryFile(/tmp/multipartBody8582135420530477561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134103018,"filename":"image_31102025_00_43_54_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/3/1aa70d0a84669c5f6bbaf3e7efff9cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6237116740225429523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134103018,"filename":"image_31102025_00_43_36_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/3/98e7b2b86da49505cdd896321529eaff.jpg","text":"TemporaryFile(/tmp/multipartBody8853854985299268681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134103018,"filename":"image_31102025_00_43_27_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391970761","file1":"1391970722","file0":"1391970682","file4":"1391970851","file5":"1391970875","file3":"1391970799"},"map_files_photo_id_array":[{"photo_id":"1391970875","filename":"file5"},{"photo_id":"1391970761","filename":"file2"},{"photo_id":"1391970851","filename":"file4"},{"photo_id":"1391970722","filename":"file1"},{"photo_id":"1391970682","filename":"file0"},{"photo_id":"1391970799","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391970875":["hashtag1","hashtag2"]},{"1391970851":["hashtag1","hashtag2"]},{"1391970761":["hashtag1","hashtag2"]},{"1391970799":["hashtag1","hashtag2"]},{"1391970722":["hashtag1","hashtag2"]},{"1391970682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391970875, 1391970851, 1391970761, 1391970799, 1391970722, 1391970682)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.292582750320435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:41:42.199354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_39_2574.jpg', '/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_42_3869.jpg', '/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_52_6995.jpg', '/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_55_3015.jpg', '/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_03_2641.jpg', '/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_12_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_39_2574.jpg
/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_42_3869.jpg
/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_52_6995.jpg
/home/pi/Desktop/images/31102025/00/44/image_31102025_00_44_55_3015.jpg
/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_03_2641.jpg
/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_12_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":["1391971014","1391971017","1391971019","1391971016","1391971015","1391971018"],"photo_ids_order":["1391971014","1391971015","1391971016","1391971017","1391971018","1391971019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97267e4a5daacefecb8a71897f35aab3.jpg","text":"TemporaryFile(/tmp/multipartBody2900693613716802240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134169061,"filename":"image_31102025_00_44_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/3/2e8ef056a3aeed1f7e0d987540894379.jpg","text":"TemporaryFile(/tmp/multipartBody4495595755710779829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134169061,"filename":"image_31102025_00_44_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/3/1b325fbf949be2c5bc01108797919eb3.jpg","text":"TemporaryFile(/tmp/multipartBody7782272849941358370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134169061,"filename":"image_31102025_00_45_12_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/3/0f2f9a0919b171d21b3e243779c7276b.jpg","text":"TemporaryFile(/tmp/multipartBody6270123062603167865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134169061,"filename":"image_31102025_00_44_52_6995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c2680f03441b7cbda6202fdf709cbf03.jpg","text":"TemporaryFile(/tmp/multipartBody7936099744518046734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134169061,"filename":"image_31102025_00_44_42_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/3/2bf02e72420621615c69127e77359eba.jpg","text":"TemporaryFile(/tmp/multipartBody5636100497328021689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134169061,"filename":"image_31102025_00_45_03_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971016","file1":"1391971015","file0":"1391971014","file4":"1391971018","file5":"1391971019","file3":"1391971017"},"map_files_photo_id_array":[{"photo_id":"1391971019","filename":"file5"},{"photo_id":"1391971016","filename":"file2"},{"photo_id":"1391971018","filename":"file4"},{"photo_id":"1391971015","filename":"file1"},{"photo_id":"1391971014","filename":"file0"},{"photo_id":"1391971017","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391971014":["hashtag1","hashtag2"]},{"1391971017":["hashtag1","hashtag2"]},{"1391971019":["hashtag1","hashtag2"]},{"1391971016":["hashtag1","hashtag2"]},{"1391971015":["hashtag1","hashtag2"]},{"1391971018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391971014, 1391971017, 1391971019, 1391971016, 1391971015, 1391971018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10071635246277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:42:41.924510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_15_2561.jpg', '/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_21_2680.jpg', '/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_27_3786.jpg', '/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_48_3417.jpg', '/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_51_2622.jpg', '/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_54_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_15_2561.jpg
/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_21_2680.jpg
/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_27_3786.jpg
/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_48_3417.jpg
/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_51_2622.jpg
/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_54_3633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971020","1391971023","1391971025","1391971022","1391971021","1391971024"],"photo_ids_order":["1391971020","1391971021","1391971022","1391971023","1391971024","1391971025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/16e831e1fdddc0f691078589a34f3bd0.jpg","text":"TemporaryFile(/tmp/multipartBody7304347396033056749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134237586,"filename":"image_31102025_00_45_15_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/3/b906b769805b5da9d4caf1b58161c049.jpg","text":"TemporaryFile(/tmp/multipartBody7565258611571478790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134237586,"filename":"image_31102025_00_45_48_3417.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3401276c991cef5121fc2748af24205.jpg","text":"TemporaryFile(/tmp/multipartBody533074975408072041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134237586,"filename":"image_31102025_00_45_54_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/3/97a442c410e06c0201de8b754d0d82c2.jpg","text":"TemporaryFile(/tmp/multipartBody2716457621260835694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134237586,"filename":"image_31102025_00_45_27_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/3/6e73a8e895390a69372804965c3a6350.jpg","text":"TemporaryFile(/tmp/multipartBody9109483477632913342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134237586,"filename":"image_31102025_00_45_21_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/3/011adc34e010464ce300b20717ebe8bd.jpg","text":"TemporaryFile(/tmp/multipartBody6134142560538734175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134237586,"filename":"image_31102025_00_45_51_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971022","file1":"1391971021","file0":"1391971020","file4":"1391971024","file5":"1391971025","file3":"1391971023"},"map_files_photo_id_array":[{"photo_id":"1391971025","filename":"file5"},{"photo_id":"1391971022","filename":"file2"},{"photo_id":"1391971024","filename":"file4"},{"photo_id":"1391971021","filename":"file1"},{"photo_id":"1391971020","filename":"file0"},{"photo_id":"1391971023","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391971020":["hashtag1","hashtag2"]},{"1391971023":["hashtag1","hashtag2"]},{"1391971025":["hashtag1","hashtag2"]},{"1391971022":["hashtag1","hashtag2"]},{"1391971021":["hashtag1","hashtag2"]},{"1391971024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391971020, 1391971023, 1391971025, 1391971022, 1391971021, 1391971024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.68848371505737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:43:49.308285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_57_2773.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_03_2643.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_06_3602.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_09_2668.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_18_2718.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_21_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/45/image_31102025_00_45_57_2773.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_03_2643.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_06_3602.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_09_2668.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_18_2718.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_21_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971027","1391971032","1391971031","1391971028","1391971033","1391971030"],"photo_ids_order":["1391971027","1391971028","1391971030","1391971031","1391971032","1391971033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7ad45692d35df78fb33b0fe0bba1ec49.jpg","text":"TemporaryFile(/tmp/multipartBody7006774259153358675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134321587,"filename":"image_31102025_00_45_57_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c5853079707962aeb77194e3f08e83dc.jpg","text":"TemporaryFile(/tmp/multipartBody3642454087934360138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134321587,"filename":"image_31102025_00_46_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/3/46630e21901c5467f9b6e8cee4a3a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody4777325944203284730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134321587,"filename":"image_31102025_00_46_09_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dbcd4319ccaa393f27f9bf613a55e569.jpg","text":"TemporaryFile(/tmp/multipartBody1945201239750432862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134321587,"filename":"image_31102025_00_46_03_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/3/e76f8a6996585578f6e4d10a913c1326.jpg","text":"TemporaryFile(/tmp/multipartBody4624092468562348540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134321587,"filename":"image_31102025_00_46_21_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/3/e40c9e996fe448a46f40137fecad9945.jpg","text":"TemporaryFile(/tmp/multipartBody8233970696883237907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134321587,"filename":"image_31102025_00_46_06_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971030","file1":"1391971028","file0":"1391971027","file4":"1391971032","file5":"1391971033","file3":"1391971031"},"map_files_photo_id_array":[{"photo_id":"1391971033","filename":"file5"},{"photo_id":"1391971030","filename":"file2"},{"photo_id":"1391971032","filename":"file4"},{"photo_id":"1391971028","filename":"file1"},{"photo_id":"1391971027","filename":"file0"},{"photo_id":"1391971031","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391971027":["hashtag1","hashtag2"]},{"1391971032":["hashtag1","hashtag2"]},{"1391971031":["hashtag1","hashtag2"]},{"1391971028":["hashtag1","hashtag2"]},{"1391971033":["hashtag1","hashtag2"]},{"1391971030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391971027, 1391971032, 1391971031, 1391971028, 1391971033, 1391971030)","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: 114.24255871772766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:45:55.498646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_24_3622.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_30_2556.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_33_3526.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_41_2030.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_45_3673.jpg', '/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_51_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_24_3622.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_30_2556.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_33_3526.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_41_2030.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_45_3673.jpg
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_51_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":["1391971047","1391971035","1391971034","1391971066","1391971036","1391971045"],"photo_ids_order":["1391971034","1391971035","1391971036","1391971045","1391971047","1391971066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/75d5a3a45119e91c8561a782bb579372.jpg","text":"TemporaryFile(/tmp/multipartBody6100542548224578419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134416652,"filename":"image_31102025_00_46_45_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/3/b2da573f227ecf8556303735f7771198.jpg","text":"TemporaryFile(/tmp/multipartBody5083997630426154449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134416652,"filename":"image_31102025_00_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/3/357fc3b53a4d65c5d1e998acfba0896f.jpg","text":"TemporaryFile(/tmp/multipartBody1341736958253116637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134416652,"filename":"image_31102025_00_46_24_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/3/a7fa55ddc0ad644cd2379dddd5bd0748.jpg","text":"TemporaryFile(/tmp/multipartBody4038062950150443108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134416652,"filename":"image_31102025_00_46_51_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/3/0ceb2d28ed6deaf30a86e483f3879155.jpg","text":"TemporaryFile(/tmp/multipartBody8649168861920397261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134416652,"filename":"image_31102025_00_46_33_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/3/0af8ca7867a9220892e61ec89655a766.jpg","text":"TemporaryFile(/tmp/multipartBody961990699878570096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134416652,"filename":"image_31102025_00_46_41_2030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971036","file1":"1391971035","file0":"1391971034","file4":"1391971047","file5":"1391971066","file3":"1391971045"},"map_files_photo_id_array":[{"photo_id":"1391971066","filename":"file5"},{"photo_id":"1391971036","filename":"file2"},{"photo_id":"1391971047","filename":"file4"},{"photo_id":"1391971035","filename":"file1"},{"photo_id":"1391971034","filename":"file0"},{"photo_id":"1391971045","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391971047":["hashtag1","hashtag2"]},{"1391971035":["hashtag1","hashtag2"]},{"1391971034":["hashtag1","hashtag2"]},{"1391971066":["hashtag1","hashtag2"]},{"1391971036":["hashtag1","hashtag2"]},{"1391971045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391971047, 1391971035, 1391971034, 1391971066, 1391971036, 1391971045)","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 = 1391971036 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_33_3526.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.89004945755005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:47:02.574558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_28_2629.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_37_2755.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_41_3848.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_44_2597.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_46_2612.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_50_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/14/36/image_30102025_14_36_28_2629.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_37_2755.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_41_3848.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_44_2597.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_46_2612.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_50_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971080","1391971083","1391971077","1391971082","1391971084","1391971078"],"photo_ids_order":["1391971077","1391971078","1391971080","1391971082","1391971083","1391971084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f3493f5bd421c6adc5306d02e59cec64.jpg","text":"TemporaryFile(/tmp/multipartBody4718043202160149828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134489873,"filename":"image_30102025_14_36_41_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/3/bb7b4882ba5e0901151e01b122f29b55.jpg","text":"TemporaryFile(/tmp/multipartBody1857636132559444375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134489873,"filename":"image_30102025_14_36_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/3/934d03158a0c6c7c5c569206b5452916.jpg","text":"TemporaryFile(/tmp/multipartBody1986960921568241328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134489873,"filename":"image_30102025_14_36_28_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/3/0932aff0537aa2f6ca9cc4752995be6a.jpg","text":"TemporaryFile(/tmp/multipartBody1318012284672484321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134489873,"filename":"image_30102025_14_36_44_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/3/0f783240d518cc5c2bf7a4feb855c5a2.jpg","text":"TemporaryFile(/tmp/multipartBody3553868928853662434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134489873,"filename":"image_30102025_14_36_50_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/3/db5a141e6a4c17b621b275d7d96b9822.jpg","text":"TemporaryFile(/tmp/multipartBody4565275408168634398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134489873,"filename":"image_30102025_14_36_37_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971080","file1":"1391971078","file0":"1391971077","file4":"1391971083","file5":"1391971084","file3":"1391971082"},"map_files_photo_id_array":[{"photo_id":"1391971084","filename":"file5"},{"photo_id":"1391971080","filename":"file2"},{"photo_id":"1391971083","filename":"file4"},{"photo_id":"1391971078","filename":"file1"},{"photo_id":"1391971077","filename":"file0"},{"photo_id":"1391971082","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391971080":["hashtag1","hashtag2"]},{"1391971083":["hashtag1","hashtag2"]},{"1391971077":["hashtag1","hashtag2"]},{"1391971082":["hashtag1","hashtag2"]},{"1391971084":["hashtag1","hashtag2"]},{"1391971078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391971080, 1391971083, 1391971077, 1391971082, 1391971084, 1391971078)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 65.7130982875824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:48:26.300880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 02:48:42.540991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_57_2676.jpg', '/home/pi/Desktop/images/31102025/00/47/image_31102025_00_47_09_2747.jpg', '/home/pi/Desktop/images/31102025/00/47/image_31102025_00_47_21_2838.jpg', '/home/pi/Desktop/images/31102025/00/47/image_31102025_00_47_59_2640.jpg', '/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_09_2707.jpg', '/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_17_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/46/image_31102025_00_46_57_2676.jpg
/home/pi/Desktop/images/31102025/00/47/image_31102025_00_47_09_2747.jpg
/home/pi/Desktop/images/31102025/00/47/image_31102025_00_47_21_2838.jpg
/home/pi/Desktop/images/31102025/00/47/image_31102025_00_47_59_2640.jpg
/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_09_2707.jpg
/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_17_2522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971089","1391971092","1391971091","1391971094","1391971090","1391971093"],"photo_ids_order":["1391971089","1391971090","1391971091","1391971092","1391971093","1391971094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/68af4c722e904b53025403fd13fa9823.jpg","text":"TemporaryFile(/tmp/multipartBody5143679006276908703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134583645,"filename":"image_31102025_00_46_57_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/3/2b71968fe51b5df16daac12173385a5c.jpg","text":"TemporaryFile(/tmp/multipartBody3385789602548066719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134583645,"filename":"image_31102025_00_47_59_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/3/3ad63e752d341c53844e979aacf3976f.jpg","text":"TemporaryFile(/tmp/multipartBody7437078262486428111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134583645,"filename":"image_31102025_00_47_21_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/3/59f611333afcad297a744b236e1e829c.jpg","text":"TemporaryFile(/tmp/multipartBody7752934598273914525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134583645,"filename":"image_31102025_00_48_17_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/3/5f0d26e67d49539ce78f5d030f40f3d1.jpg","text":"TemporaryFile(/tmp/multipartBody1912478708210275615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134583645,"filename":"image_31102025_00_47_09_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/3/56d3922b1d24f5a2fedd613af41f9fd2.jpg","text":"TemporaryFile(/tmp/multipartBody368289832957507118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134583645,"filename":"image_31102025_00_48_09_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971091","file1":"1391971090","file0":"1391971089","file4":"1391971093","file5":"1391971094","file3":"1391971092"},"map_files_photo_id_array":[{"photo_id":"1391971094","filename":"file5"},{"photo_id":"1391971091","filename":"file2"},{"photo_id":"1391971093","filename":"file4"},{"photo_id":"1391971090","filename":"file1"},{"photo_id":"1391971089","filename":"file0"},{"photo_id":"1391971092","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391971089":["hashtag1","hashtag2"]},{"1391971092":["hashtag1","hashtag2"]},{"1391971091":["hashtag1","hashtag2"]},{"1391971094":["hashtag1","hashtag2"]},{"1391971090":["hashtag1","hashtag2"]},{"1391971093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391971089, 1391971092, 1391971091, 1391971094, 1391971090, 1391971093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94791269302368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:49:22.659027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_52_2504.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_55_2716.jpg', '/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_59_3735.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_02_2760.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_04_2504.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_08_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/14/36/image_30102025_14_36_52_2504.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_55_2716.jpg
/home/pi/Desktop/images/30102025/14/36/image_30102025_14_36_59_3735.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_02_2760.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_04_2504.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_08_3804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971111","1391971107","1391971110","1391971104","1391971112","1391971109"],"photo_ids_order":["1391971104","1391971107","1391971109","1391971110","1391971111","1391971112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/554733d66bf6f3c60668ee04146cc7b8.jpg","text":"TemporaryFile(/tmp/multipartBody5692430720184829076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134632325,"filename":"image_30102025_14_37_04_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c6777da84316c7ef842453aa4ceb43c3.jpg","text":"TemporaryFile(/tmp/multipartBody6991477022184260303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134632325,"filename":"image_30102025_14_36_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/3/9bf815fe99d9ed1783bf5f285e903436.jpg","text":"TemporaryFile(/tmp/multipartBody8462546228582166250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134632325,"filename":"image_30102025_14_37_02_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c243ada562302e857b630a34983b837c.jpg","text":"TemporaryFile(/tmp/multipartBody1600970915273901381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134632325,"filename":"image_30102025_14_36_52_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe6b0499d0f377945a15f21277e168df.jpg","text":"TemporaryFile(/tmp/multipartBody8963503868590860823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134632325,"filename":"image_30102025_14_37_08_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/3/b10d5a5ac4b62b9a6a74273753797bb2.jpg","text":"TemporaryFile(/tmp/multipartBody9170467754242718376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134632325,"filename":"image_30102025_14_36_59_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971109","file1":"1391971107","file0":"1391971104","file4":"1391971111","file5":"1391971112","file3":"1391971110"},"map_files_photo_id_array":[{"photo_id":"1391971112","filename":"file5"},{"photo_id":"1391971109","filename":"file2"},{"photo_id":"1391971111","filename":"file4"},{"photo_id":"1391971107","filename":"file1"},{"photo_id":"1391971104","filename":"file0"},{"photo_id":"1391971110","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391971111":["hashtag1","hashtag2"]},{"1391971107":["hashtag1","hashtag2"]},{"1391971110":["hashtag1","hashtag2"]},{"1391971104":["hashtag1","hashtag2"]},{"1391971112":["hashtag1","hashtag2"]},{"1391971109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391971111, 1391971107, 1391971110, 1391971104, 1391971112, 1391971109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.49390459060669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:50:21.897603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_11_2726.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_13_2633.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_16_2981.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_23_2780.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_25_2614.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_28_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/14/37/image_30102025_14_37_11_2726.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_13_2633.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_16_2981.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_23_2780.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_25_2614.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_28_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971119","1391971122","1391971121","1391971118","1391971120","1391971117"],"photo_ids_order":["1391971117","1391971118","1391971119","1391971120","1391971121","1391971122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e10e02116a4f3a5740806f356853a114.jpg","text":"TemporaryFile(/tmp/multipartBody5392051264144769832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134715783,"filename":"image_30102025_14_37_16_2981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/476975d856caa88cc33f2bcf0e668f5a.jpg","text":"TemporaryFile(/tmp/multipartBody5066522884822360626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134715783,"filename":"image_30102025_14_37_28_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/3/30a145616486d081d8a81f77e9f6f511.jpg","text":"TemporaryFile(/tmp/multipartBody3384110497455957520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134715783,"filename":"image_30102025_14_37_25_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/39bb01607556fd2cf51f2a5339d62cb1.jpg","text":"TemporaryFile(/tmp/multipartBody9103512222446771112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134715783,"filename":"image_30102025_14_37_13_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/64f8340685c8bb256c1f3a08597713a5.jpg","text":"TemporaryFile(/tmp/multipartBody7007071083311504792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134715783,"filename":"image_30102025_14_37_23_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/3/3a865ec5399fc05f239b0abf33139588.jpg","text":"TemporaryFile(/tmp/multipartBody78968361491929058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134715783,"filename":"image_30102025_14_37_11_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971119","file1":"1391971118","file0":"1391971117","file4":"1391971121","file5":"1391971122","file3":"1391971120"},"map_files_photo_id_array":[{"photo_id":"1391971122","filename":"file5"},{"photo_id":"1391971119","filename":"file2"},{"photo_id":"1391971121","filename":"file4"},{"photo_id":"1391971118","filename":"file1"},{"photo_id":"1391971117","filename":"file0"},{"photo_id":"1391971120","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391971119":["hashtag1","hashtag2"]},{"1391971122":["hashtag1","hashtag2"]},{"1391971121":["hashtag1","hashtag2"]},{"1391971118":["hashtag1","hashtag2"]},{"1391971120":["hashtag1","hashtag2"]},{"1391971117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391971119, 1391971122, 1391971121, 1391971118, 1391971120, 1391971117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.11571645736694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:51:50.803896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_40_1711.jpg', '/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_44_2978.jpg', '/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_48_3616.jpg', '/home/pi/Desktop/images/31102025/00/48/image_31102025_00_49_00_2751.jpg', '/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_06_3559.jpg', '/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_09_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_40_1711.jpg
/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_44_2978.jpg
/home/pi/Desktop/images/31102025/00/48/image_31102025_00_48_48_3616.jpg
/home/pi/Desktop/images/31102025/00/48/image_31102025_00_49_00_2751.jpg
/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_06_3559.jpg
/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_09_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971126","1391971125","1391971128","1391971124","1391971127","1391971123"],"photo_ids_order":["1391971123","1391971124","1391971125","1391971126","1391971127","1391971128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3f6af2e80800c02e2aecce2c9b06a4c.jpg","text":"TemporaryFile(/tmp/multipartBody3022757800303522613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134807958,"filename":"image_31102025_00_49_00_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/3/82d7460418c1a2ef68f2b751743be987.jpg","text":"TemporaryFile(/tmp/multipartBody2895702733433119304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134807958,"filename":"image_31102025_00_48_48_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/3/33f9bf041d27eeae060bda44ad1f8d6d.jpg","text":"TemporaryFile(/tmp/multipartBody8288720875065130295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134807958,"filename":"image_31102025_00_49_09_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/3/afbe1319ccd152973f5ad482218890dd.jpg","text":"TemporaryFile(/tmp/multipartBody6713491983302970404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134807958,"filename":"image_31102025_00_48_44_2978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ddc33d147fe66a6c9241df88262fc1b6.jpg","text":"TemporaryFile(/tmp/multipartBody2308847677068151567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134807958,"filename":"image_31102025_00_49_06_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/3/9a375d088ad3823705c3e615530d626b.jpg","text":"TemporaryFile(/tmp/multipartBody7485239724961930972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134807958,"filename":"image_31102025_00_48_40_1711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971125","file1":"1391971124","file0":"1391971123","file4":"1391971127","file5":"1391971128","file3":"1391971126"},"map_files_photo_id_array":[{"photo_id":"1391971128","filename":"file5"},{"photo_id":"1391971125","filename":"file2"},{"photo_id":"1391971127","filename":"file4"},{"photo_id":"1391971124","filename":"file1"},{"photo_id":"1391971123","filename":"file0"},{"photo_id":"1391971126","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391971126":["hashtag1","hashtag2"]},{"1391971125":["hashtag1","hashtag2"]},{"1391971128":["hashtag1","hashtag2"]},{"1391971124":["hashtag1","hashtag2"]},{"1391971127":["hashtag1","hashtag2"]},{"1391971123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391971126, 1391971125, 1391971128, 1391971124, 1391971127, 1391971123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.24066066741943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:53:02.952674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_32_3618.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_34_2540.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_38_3660.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_41_2795.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_43_2664.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_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/14/37/image_30102025_14_37_32_3618.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_34_2540.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_38_3660.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_41_2795.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_43_2664.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_46_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971134","1391971136","1391971139","1391971130","1391971132","1391971138"],"photo_ids_order":["1391971130","1391971132","1391971134","1391971136","1391971138","1391971139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/53a3669a3b243ab1f17b4a0d1c98bd3b.jpg","text":"TemporaryFile(/tmp/multipartBody5582488680601008468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134844864,"filename":"image_30102025_14_37_38_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/3/1b39877f7db479a1aaa5fb32553eaa79.jpg","text":"TemporaryFile(/tmp/multipartBody7164424785927826113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134844864,"filename":"image_30102025_14_37_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/3/d9e93831bb96fe52106a182f24e8d1df.jpg","text":"TemporaryFile(/tmp/multipartBody8083427565413000533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134844864,"filename":"image_30102025_14_37_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/3/0b26dc4aaac11d71f2d5620cd44f3b09.jpg","text":"TemporaryFile(/tmp/multipartBody3224537020335587260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134844864,"filename":"image_30102025_14_37_32_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/3/bdc14e0a23f869d0f74cd9e618d3a8f4.jpg","text":"TemporaryFile(/tmp/multipartBody7124011968015892292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134844864,"filename":"image_30102025_14_37_34_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/3/1ba865ad1e8b30b2a88ce58474ff6e35.jpg","text":"TemporaryFile(/tmp/multipartBody8629830330442351696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134844864,"filename":"image_30102025_14_37_43_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971134","file1":"1391971132","file0":"1391971130","file4":"1391971138","file5":"1391971139","file3":"1391971136"},"map_files_photo_id_array":[{"photo_id":"1391971139","filename":"file5"},{"photo_id":"1391971134","filename":"file2"},{"photo_id":"1391971138","filename":"file4"},{"photo_id":"1391971132","filename":"file1"},{"photo_id":"1391971130","filename":"file0"},{"photo_id":"1391971136","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391971134":["hashtag1","hashtag2"]},{"1391971136":["hashtag1","hashtag2"]},{"1391971139":["hashtag1","hashtag2"]},{"1391971130":["hashtag1","hashtag2"]},{"1391971132":["hashtag1","hashtag2"]},{"1391971138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391971134, 1391971136, 1391971139, 1391971130, 1391971132, 1391971138)","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: 81.31736326217651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 02:54:42.302821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_12_2786.jpg', '/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_33_2617.jpg', '/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_56_2647.jpg', '/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_03_2701.jpg', '/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_05_2713.jpg', '/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_08_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_12_2786.jpg
/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_33_2617.jpg
/home/pi/Desktop/images/31102025/00/49/image_31102025_00_49_56_2647.jpg
/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_03_2701.jpg
/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_05_2713.jpg
/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_08_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971155","1391971152","1391971154","1391971151","1391971150","1391971153"],"photo_ids_order":["1391971150","1391971151","1391971152","1391971153","1391971154","1391971155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7dda9e75dc01cf170fc3f74d9e9ccfb9.jpg","text":"TemporaryFile(/tmp/multipartBody3117270024253167815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134949709,"filename":"image_31102025_00_50_08_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/3/380db2c1ea75cd015a830831f154eca4.jpg","text":"TemporaryFile(/tmp/multipartBody893081536767881391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134949709,"filename":"image_31102025_00_49_56_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/3/c33c4a8888378be38566da2e14c01361.jpg","text":"TemporaryFile(/tmp/multipartBody3477016422723335587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134949709,"filename":"image_31102025_00_50_05_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/3/bad5e64e312f1e3546f2367e77147132.jpg","text":"TemporaryFile(/tmp/multipartBody5996130286409312615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134949709,"filename":"image_31102025_00_49_33_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/3/663ed485c9f3890cc1022965aee89e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2956989099083071020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134949709,"filename":"image_31102025_00_49_12_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/3/ff7c305d9e0b3ab60d6e1ed9eb6588a2.jpg","text":"TemporaryFile(/tmp/multipartBody9100211177521066791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134949709,"filename":"image_31102025_00_50_03_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971152","file1":"1391971151","file0":"1391971150","file4":"1391971154","file5":"1391971155","file3":"1391971153"},"map_files_photo_id_array":[{"photo_id":"1391971155","filename":"file5"},{"photo_id":"1391971152","filename":"file2"},{"photo_id":"1391971154","filename":"file4"},{"photo_id":"1391971151","filename":"file1"},{"photo_id":"1391971150","filename":"file0"},{"photo_id":"1391971153","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391971155":["hashtag1","hashtag2"]},{"1391971152":["hashtag1","hashtag2"]},{"1391971154":["hashtag1","hashtag2"]},{"1391971151":["hashtag1","hashtag2"]},{"1391971150":["hashtag1","hashtag2"]},{"1391971153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391971155, 1391971152, 1391971154, 1391971151, 1391971150, 1391971153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.843865156173706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:55:28.814019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_50_3674.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_52_2754.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_55_2806.jpg', '/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_59_3689.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_02_2594.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_04_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_50_3674.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_52_2754.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_55_2806.jpg
/home/pi/Desktop/images/30102025/14/37/image_30102025_14_37_59_3689.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_02_2594.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_04_2815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971161","1391971158","1391971160","1391971157","1391971159","1391971162"],"photo_ids_order":["1391971157","1391971158","1391971159","1391971160","1391971161","1391971162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b8c5a21407069d3401446c5e9b22f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody5351216937034806586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134991303,"filename":"image_30102025_14_38_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/3/18e6850e02cd9edb2afb82aecdd6e365.jpg","text":"TemporaryFile(/tmp/multipartBody5293043764367856291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134991303,"filename":"image_30102025_14_37_52_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/3/6a96e86034358ac1ccbca0dae6110c1d.jpg","text":"TemporaryFile(/tmp/multipartBody2246128974396993991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134991303,"filename":"image_30102025_14_37_59_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/3/67145083d9f7466de07388b6d61fff55.jpg","text":"TemporaryFile(/tmp/multipartBody6056002145411676552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134991303,"filename":"image_30102025_14_37_50_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/3/f8afb0163c1565a88b28b981c04cd7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3875959536322455628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134991303,"filename":"image_30102025_14_37_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/3/09df108134ccd2b7333b973734acf273.jpg","text":"TemporaryFile(/tmp/multipartBody4816135050465893474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762134991303,"filename":"image_30102025_14_38_04_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971159","file1":"1391971158","file0":"1391971157","file4":"1391971161","file5":"1391971162","file3":"1391971160"},"map_files_photo_id_array":[{"photo_id":"1391971162","filename":"file5"},{"photo_id":"1391971159","filename":"file2"},{"photo_id":"1391971161","filename":"file4"},{"photo_id":"1391971158","filename":"file1"},{"photo_id":"1391971157","filename":"file0"},{"photo_id":"1391971160","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391971161":["hashtag1","hashtag2"]},{"1391971158":["hashtag1","hashtag2"]},{"1391971160":["hashtag1","hashtag2"]},{"1391971157":["hashtag1","hashtag2"]},{"1391971159":["hashtag1","hashtag2"]},{"1391971162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391971161, 1391971158, 1391971160, 1391971157, 1391971159, 1391971162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.155396938323975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 02:56:22.564830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_13_2563.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_16_2803.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_20_3600.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_22_2616.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_25_2599.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_29_3798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_13_2563.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_16_2803.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_20_3600.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_22_2616.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_25_2599.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_29_3798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971167","1391971166","1391971175","1391971171","1391971165","1391971168"],"photo_ids_order":["1391971165","1391971166","1391971167","1391971168","1391971171","1391971175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/82461dc8bd273e6bd103562508b08cc9.jpg","text":"TemporaryFile(/tmp/multipartBody5471459812490386775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135045141,"filename":"image_30102025_14_38_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/3/92b0d484e9a3df16a48532623d2a198b.jpg","text":"TemporaryFile(/tmp/multipartBody590376814541920404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135045141,"filename":"image_30102025_14_38_16_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/3/a9c20ff537819150e660d333b3d85ccd.jpg","text":"TemporaryFile(/tmp/multipartBody7032475808061514807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135045141,"filename":"image_30102025_14_38_29_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/3/be04f340250ac969e2fe82227fa627d2.jpg","text":"TemporaryFile(/tmp/multipartBody2555515386572389102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135045141,"filename":"image_30102025_14_38_25_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/3/ba354dbe0d85ddc978aeb63c1dd03293.jpg","text":"TemporaryFile(/tmp/multipartBody6652972217640276216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135045141,"filename":"image_30102025_14_38_13_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d1ad441f8e53c119bbc879b862bcb5a3.jpg","text":"TemporaryFile(/tmp/multipartBody5332327111497739413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135045141,"filename":"image_30102025_14_38_22_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971167","file1":"1391971166","file0":"1391971165","file4":"1391971171","file5":"1391971175","file3":"1391971168"},"map_files_photo_id_array":[{"photo_id":"1391971175","filename":"file5"},{"photo_id":"1391971167","filename":"file2"},{"photo_id":"1391971171","filename":"file4"},{"photo_id":"1391971166","filename":"file1"},{"photo_id":"1391971165","filename":"file0"},{"photo_id":"1391971168","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391971167":["hashtag1","hashtag2"]},{"1391971166":["hashtag1","hashtag2"]},{"1391971175":["hashtag1","hashtag2"]},{"1391971171":["hashtag1","hashtag2"]},{"1391971165":["hashtag1","hashtag2"]},{"1391971168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391971167, 1391971166, 1391971175, 1391971171, 1391971165, 1391971168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54256796836853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:57:03.053136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_34_2790.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_37_2646.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_41_3721.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_43_2670.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_46_2917.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_50_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/14/38/image_30102025_14_38_34_2790.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_37_2646.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_41_3721.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_43_2670.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_46_2917.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_50_3568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971176","1391971179","1391971181","1391971178","1391971183","1391971177"],"photo_ids_order":["1391971176","1391971177","1391971178","1391971179","1391971181","1391971183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/398be8e4fc3aaf4f14b850804241c750.jpg","text":"TemporaryFile(/tmp/multipartBody5907006151405216331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135087987,"filename":"image_30102025_14_38_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/3/dd9d3f6d3539c76945a98a4d6fbfda33.jpg","text":"TemporaryFile(/tmp/multipartBody652633820267051999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135087987,"filename":"image_30102025_14_38_43_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/3/54f92cadc0d55662ef0248c355acc058.jpg","text":"TemporaryFile(/tmp/multipartBody6130268420533019713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135087987,"filename":"image_30102025_14_38_46_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c7d0e05200b7c95d9cbad5e787c3b552.jpg","text":"TemporaryFile(/tmp/multipartBody7426119733540630020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135087987,"filename":"image_30102025_14_38_41_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/3/021f6beb82a8e0c8235ac02071808379.jpg","text":"TemporaryFile(/tmp/multipartBody7536278485529701540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135087987,"filename":"image_30102025_14_38_50_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/3/0bcc659142669d981180c6f9e0c4d22a.jpg","text":"TemporaryFile(/tmp/multipartBody6657242122291738508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135087987,"filename":"image_30102025_14_38_37_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971178","file1":"1391971177","file0":"1391971176","file4":"1391971181","file5":"1391971183","file3":"1391971179"},"map_files_photo_id_array":[{"photo_id":"1391971183","filename":"file5"},{"photo_id":"1391971178","filename":"file2"},{"photo_id":"1391971181","filename":"file4"},{"photo_id":"1391971177","filename":"file1"},{"photo_id":"1391971176","filename":"file0"},{"photo_id":"1391971179","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391971176":["hashtag1","hashtag2"]},{"1391971179":["hashtag1","hashtag2"]},{"1391971181":["hashtag1","hashtag2"]},{"1391971178":["hashtag1","hashtag2"]},{"1391971183":["hashtag1","hashtag2"]},{"1391971177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391971176, 1391971179, 1391971181, 1391971178, 1391971183, 1391971177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05833435058594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 02:59:03.668350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_55_2642.jpg', '/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_59_3713.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_02_2753.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_04_2626.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_07_2642.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_11_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_55_2642.jpg
/home/pi/Desktop/images/30102025/14/38/image_30102025_14_38_59_3713.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_02_2753.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_04_2626.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_07_2642.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_11_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971496","1391971487","1391971445","1391971399","1391971354","1391971534"],"photo_ids_order":["1391971354","1391971399","1391971445","1391971487","1391971496","1391971534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bfa90d7d848a234ca5718c9d99a17eff.jpg","text":"TemporaryFile(/tmp/multipartBody318046441392063283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135205572,"filename":"image_30102025_14_39_07_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f077fb2a7aee42fb4863ae4aa3177d4.jpg","text":"TemporaryFile(/tmp/multipartBody3012349659063121083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135205572,"filename":"image_30102025_14_39_04_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/28738d9d68851cb50509de27bb7012fd.jpg","text":"TemporaryFile(/tmp/multipartBody5852758938292605298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135205572,"filename":"image_30102025_14_39_02_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/3/1f24e23bed8731ee79ed55970299866f.jpg","text":"TemporaryFile(/tmp/multipartBody5623813353489433681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135205572,"filename":"image_30102025_14_38_59_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/3/b7bc121f93430f5894de9eb742e469ab.jpg","text":"TemporaryFile(/tmp/multipartBody7146803880781659401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135205572,"filename":"image_30102025_14_38_55_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/3/49a5adee9c8e94aa1d3c6251a942aa4a.jpg","text":"TemporaryFile(/tmp/multipartBody2739768433420495411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135205572,"filename":"image_30102025_14_39_11_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391971445","file1":"1391971399","file0":"1391971354","file4":"1391971496","file5":"1391971534","file3":"1391971487"},"map_files_photo_id_array":[{"photo_id":"1391971534","filename":"file5"},{"photo_id":"1391971445","filename":"file2"},{"photo_id":"1391971496","filename":"file4"},{"photo_id":"1391971399","filename":"file1"},{"photo_id":"1391971354","filename":"file0"},{"photo_id":"1391971487","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391971496":["hashtag1","hashtag2"]},{"1391971487":["hashtag1","hashtag2"]},{"1391971445":["hashtag1","hashtag2"]},{"1391971399":["hashtag1","hashtag2"]},{"1391971354":["hashtag1","hashtag2"]},{"1391971534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391971496, 1391971487, 1391971445, 1391971399, 1391971354, 1391971534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7557156085968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:00:02.274673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_13_2667.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_16_2718.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_20_3524.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_22_2684.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_26_3619.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_30_4458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_13_2667.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_16_2718.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_20_3524.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_22_2684.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_26_3619.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_30_4458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391971977","1391972237","1391972026","1391972149","1391972091","1391972193"],"photo_ids_order":["1391971977","1391972026","1391972091","1391972149","1391972193","1391972237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f4001bf10b14fcd1bfb52ff721f6f48d.jpg","text":"TemporaryFile(/tmp/multipartBody1082473536437093523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135264085,"filename":"image_30102025_14_39_13_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0bebd7b256e10a64399ad6e74390e3db.jpg","text":"TemporaryFile(/tmp/multipartBody4371325610531307182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135264085,"filename":"image_30102025_14_39_30_4458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/91761ea34bff359907a589e7cef64100.jpg","text":"TemporaryFile(/tmp/multipartBody8788388375938757172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135264085,"filename":"image_30102025_14_39_16_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/3/990973a3cf366b40e116d7130c3cd2a1.jpg","text":"TemporaryFile(/tmp/multipartBody104564335391504135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135264085,"filename":"image_30102025_14_39_22_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/3/75e1369c851576a7ba50a62fca0d9512.jpg","text":"TemporaryFile(/tmp/multipartBody8853867289185677760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135264085,"filename":"image_30102025_14_39_20_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/3/d49e00f07226bf3861f259711f0a1d7d.jpg","text":"TemporaryFile(/tmp/multipartBody6955849350427283317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135264085,"filename":"image_30102025_14_39_26_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391972091","file1":"1391972026","file0":"1391971977","file4":"1391972193","file5":"1391972237","file3":"1391972149"},"map_files_photo_id_array":[{"photo_id":"1391972237","filename":"file5"},{"photo_id":"1391972091","filename":"file2"},{"photo_id":"1391972193","filename":"file4"},{"photo_id":"1391972026","filename":"file1"},{"photo_id":"1391971977","filename":"file0"},{"photo_id":"1391972149","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391971977":["hashtag1","hashtag2"]},{"1391972237":["hashtag1","hashtag2"]},{"1391972026":["hashtag1","hashtag2"]},{"1391972149":["hashtag1","hashtag2"]},{"1391972091":["hashtag1","hashtag2"]},{"1391972193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391971977, 1391972237, 1391972026, 1391972149, 1391972091, 1391972193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85747814178467 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-03 03:01:02.753863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_32_1611.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_35_2680.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_37_2776.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_40_2608.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_44_3640.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_46_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/14/39/image_30102025_14_39_32_1611.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_35_2680.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_37_2776.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_40_2608.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_44_3640.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_46_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391972619","1391972700","1391972468","1391972412","1391972546","1391972746"],"photo_ids_order":["1391972412","1391972468","1391972546","1391972619","1391972700","1391972746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2920468853d03c293b7c4d4eba64c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1668050506347970496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135324678,"filename":"image_30102025_14_39_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/3/87de50996e52af638bc21e5e6e77d1b6.jpg","text":"TemporaryFile(/tmp/multipartBody6512435990510921568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135324678,"filename":"image_30102025_14_39_44_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2512677a5a88762699d3c0a66864b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2864385790772216252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135324678,"filename":"image_30102025_14_39_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/3/8068e91ee3b65f4b49b2398bbfff70ed.jpg","text":"TemporaryFile(/tmp/multipartBody2497108953926002751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135324678,"filename":"image_30102025_14_39_32_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/3/647a9a83cb679ca21e67e6fb236d19bd.jpg","text":"TemporaryFile(/tmp/multipartBody1164525092866971287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135324678,"filename":"image_30102025_14_39_37_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c14cc02afe550df87653c37f9b4a444e.jpg","text":"TemporaryFile(/tmp/multipartBody1452456529214736542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135324678,"filename":"image_30102025_14_39_46_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391972546","file1":"1391972468","file0":"1391972412","file4":"1391972700","file5":"1391972746","file3":"1391972619"},"map_files_photo_id_array":[{"photo_id":"1391972746","filename":"file5"},{"photo_id":"1391972546","filename":"file2"},{"photo_id":"1391972700","filename":"file4"},{"photo_id":"1391972468","filename":"file1"},{"photo_id":"1391972412","filename":"file0"},{"photo_id":"1391972619","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391972619":["hashtag1","hashtag2"]},{"1391972700":["hashtag1","hashtag2"]},{"1391972468":["hashtag1","hashtag2"]},{"1391972412":["hashtag1","hashtag2"]},{"1391972546":["hashtag1","hashtag2"]},{"1391972746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391972619, 1391972700, 1391972468, 1391972412, 1391972546, 1391972746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69800329208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:01:42.047566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_12_3806.jpg', '/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_23_2544.jpg', '/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_30_3665.jpg', '/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_48_3690.jpg', '/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_58_5810.jpg', '/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_03_1907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_12_3806.jpg
/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_23_2544.jpg
/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_30_3665.jpg
/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_48_3690.jpg
/home/pi/Desktop/images/31102025/00/50/image_31102025_00_50_58_5810.jpg
/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_03_1907.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391972931","1391973014","1391973094","1391973136","1391973052","1391972976"],"photo_ids_order":["1391972931","1391972976","1391973014","1391973052","1391973094","1391973136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c9e8a638a859ba1c0f59c08dd8c92d63.jpg","text":"TemporaryFile(/tmp/multipartBody9152726147197384947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135363182,"filename":"image_31102025_00_50_12_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/3/af2bdca47c19a4adcee8892eaf44e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody4109440267601431842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135363182,"filename":"image_31102025_00_50_30_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/3/24d2bb41b2a0647a07f0b5ec208dde96.jpg","text":"TemporaryFile(/tmp/multipartBody1334738943295777103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135363182,"filename":"image_31102025_00_50_58_5810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f3b5b79dd73d146ae6b1d65b0f262c99.jpg","text":"TemporaryFile(/tmp/multipartBody7387463870428925816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135363182,"filename":"image_31102025_00_51_03_1907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/307a624eddeb26e5033d42a87ae1282b.jpg","text":"TemporaryFile(/tmp/multipartBody4502505033136933313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135363182,"filename":"image_31102025_00_50_48_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/3/41176517eb65c8bf8f25cefd2ff10930.jpg","text":"TemporaryFile(/tmp/multipartBody493631670999639551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135363182,"filename":"image_31102025_00_50_23_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391973014","file1":"1391972976","file0":"1391972931","file4":"1391973094","file5":"1391973136","file3":"1391973052"},"map_files_photo_id_array":[{"photo_id":"1391973136","filename":"file5"},{"photo_id":"1391973014","filename":"file2"},{"photo_id":"1391973094","filename":"file4"},{"photo_id":"1391972976","filename":"file1"},{"photo_id":"1391972931","filename":"file0"},{"photo_id":"1391973052","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391972931":["hashtag1","hashtag2"]},{"1391973014":["hashtag1","hashtag2"]},{"1391973094":["hashtag1","hashtag2"]},{"1391973136":["hashtag1","hashtag2"]},{"1391973052":["hashtag1","hashtag2"]},{"1391972976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391972931, 1391973014, 1391973094, 1391973136, 1391973052, 1391972976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42153215408325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:02:22.178996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_51_4521.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_52_1594.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_55_2625.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_59_3695.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_01_2639.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_04_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/14/39/image_30102025_14_39_51_4521.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_52_1594.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_55_2625.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_59_3695.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_01_2639.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_04_2789.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.9864559173583984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:02:42.287102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_18_3647.jpg', '/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_35_2700.jpg', '/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_41_2823.jpg', '/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_44_2906.jpg', '/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_47_2816.jpg', '/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_51_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_18_3647.jpg
/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_35_2700.jpg
/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_41_2823.jpg
/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_44_2906.jpg
/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_47_2816.jpg
/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_51_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391973662","1391973584","1391973544","1391973466","1391973505","1391973621"],"photo_ids_order":["1391973466","1391973505","1391973544","1391973584","1391973621","1391973662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/43676982b9bd6b1a8eed99edc22d21f2.jpg","text":"TemporaryFile(/tmp/multipartBody7275289325126457817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135423404,"filename":"image_31102025_00_51_51_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/3/1effbc6f7a2ee7f909f6918e22d45c9d.jpg","text":"TemporaryFile(/tmp/multipartBody6255003704926209066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135423404,"filename":"image_31102025_00_51_44_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/3/8dfd9a08cddc5cb460176f29ddac52f1.jpg","text":"TemporaryFile(/tmp/multipartBody6678195704224254341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135423404,"filename":"image_31102025_00_51_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/3/b397c149577cb2194f461f2e2971faf7.jpg","text":"TemporaryFile(/tmp/multipartBody446197032410762140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135423404,"filename":"image_31102025_00_51_18_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/3/b8e94f92b022a3d3e1622fe7319828c1.jpg","text":"TemporaryFile(/tmp/multipartBody6535570982728253424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135423404,"filename":"image_31102025_00_51_35_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/3/0025f8e1ced42959e39e154fd947d352.jpg","text":"TemporaryFile(/tmp/multipartBody5468718035892144252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135423404,"filename":"image_31102025_00_51_47_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391973544","file1":"1391973505","file0":"1391973466","file4":"1391973621","file5":"1391973662","file3":"1391973584"},"map_files_photo_id_array":[{"photo_id":"1391973662","filename":"file5"},{"photo_id":"1391973544","filename":"file2"},{"photo_id":"1391973621","filename":"file4"},{"photo_id":"1391973505","filename":"file1"},{"photo_id":"1391973466","filename":"file0"},{"photo_id":"1391973584","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391973662":["hashtag1","hashtag2"]},{"1391973584":["hashtag1","hashtag2"]},{"1391973544":["hashtag1","hashtag2"]},{"1391973466":["hashtag1","hashtag2"]},{"1391973505":["hashtag1","hashtag2"]},{"1391973621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391973662, 1391973584, 1391973544, 1391973466, 1391973505, 1391973621)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.02221632003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:03:43.796775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_53_2783.jpg', '/home/pi/Desktop/images/31102025/00/52/image_31102025_00_52_05_2666.jpg', '/home/pi/Desktop/images/31102025/00/52/image_31102025_00_52_14_2517.jpg', '/home/pi/Desktop/images/31102025/00/52/image_31102025_00_52_26_3043.jpg', '/home/pi/Desktop/images/31102025/00/53/image_31102025_00_53_03_1740.jpg', '/home/pi/Desktop/images/31102025/00/53/image_31102025_00_53_05_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/51/image_31102025_00_51_53_2783.jpg
/home/pi/Desktop/images/31102025/00/52/image_31102025_00_52_05_2666.jpg
/home/pi/Desktop/images/31102025/00/52/image_31102025_00_52_14_2517.jpg
/home/pi/Desktop/images/31102025/00/52/image_31102025_00_52_26_3043.jpg
/home/pi/Desktop/images/31102025/00/53/image_31102025_00_53_03_1740.jpg
/home/pi/Desktop/images/31102025/00/53/image_31102025_00_53_05_1747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391974349","1391974372","1391974368","1391974269","1391974308","1391974370"],"photo_ids_order":["1391974269","1391974308","1391974349","1391974368","1391974370","1391974372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d21687c312225fe8067ff6f3d6e0991.jpg","text":"TemporaryFile(/tmp/multipartBody7277576578099398868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135506467,"filename":"image_31102025_00_52_14_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/3/439bd21b90db9cd2632c6c2afa239cc1.jpg","text":"TemporaryFile(/tmp/multipartBody112863494225329945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135506467,"filename":"image_31102025_00_53_05_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/3/51f74ce2953a4a2057021cbddf1d12aa.jpg","text":"TemporaryFile(/tmp/multipartBody7204170450136906070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135506467,"filename":"image_31102025_00_52_26_3043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2030399ead5c92c5c58f6362bd8de86e.jpg","text":"TemporaryFile(/tmp/multipartBody3847859175624197200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135506467,"filename":"image_31102025_00_51_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/3/edd7dead01261baef7f0ada7cc69b1d2.jpg","text":"TemporaryFile(/tmp/multipartBody4980504703081015312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135506467,"filename":"image_31102025_00_52_05_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/3/c0acb827a17540e90efc7e88f95e8814.jpg","text":"TemporaryFile(/tmp/multipartBody6473708386365951465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135506467,"filename":"image_31102025_00_53_03_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391974349","file1":"1391974308","file0":"1391974269","file4":"1391974370","file5":"1391974372","file3":"1391974368"},"map_files_photo_id_array":[{"photo_id":"1391974372","filename":"file5"},{"photo_id":"1391974349","filename":"file2"},{"photo_id":"1391974370","filename":"file4"},{"photo_id":"1391974308","filename":"file1"},{"photo_id":"1391974269","filename":"file0"},{"photo_id":"1391974368","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391974349":["hashtag1","hashtag2"]},{"1391974372":["hashtag1","hashtag2"]},{"1391974368":["hashtag1","hashtag2"]},{"1391974269":["hashtag1","hashtag2"]},{"1391974308":["hashtag1","hashtag2"]},{"1391974370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391974349, 1391974372, 1391974368, 1391974269, 1391974308, 1391974370)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.98123335838318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:05:03.625380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 03:05:22.310814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_51_4521.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_52_1594.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_55_2625.jpg', '/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_59_3695.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_01_2639.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_04_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/14/39/image_30102025_14_39_51_4521.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_52_1594.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_55_2625.jpg
/home/pi/Desktop/images/30102025/14/39/image_30102025_14_39_59_3695.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_01_2639.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_04_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391974876","1391974957","1391974918","1391974797","1391974839","1391975001"],"photo_ids_order":["1391974797","1391974839","1391974876","1391974918","1391974957","1391975001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/376a4226556e7d3233a40433fed1970f.jpg","text":"TemporaryFile(/tmp/multipartBody6116676463197409890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135584800,"filename":"image_30102025_14_39_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/3/2879594699069ad4904af74db31cf9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1137170169318659535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135584800,"filename":"image_30102025_14_40_01_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/3/4ab5938782ed16c6588782856e6949ae.jpg","text":"TemporaryFile(/tmp/multipartBody5722757329075216751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135584800,"filename":"image_30102025_14_39_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/3/d77e50cda186a16e1c2d27f0e583b64b.jpg","text":"TemporaryFile(/tmp/multipartBody3908251247581036200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135584800,"filename":"image_30102025_14_39_51_4521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/92d73223a177e2cb509d894e37c39c62.jpg","text":"TemporaryFile(/tmp/multipartBody4829464080555900667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135584800,"filename":"image_30102025_14_39_52_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/3/db0d86084f458fee38aeac8f2cdf2523.jpg","text":"TemporaryFile(/tmp/multipartBody8865610778901487788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135584800,"filename":"image_30102025_14_40_04_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391974876","file1":"1391974839","file0":"1391974797","file4":"1391974957","file5":"1391975001","file3":"1391974918"},"map_files_photo_id_array":[{"photo_id":"1391975001","filename":"file5"},{"photo_id":"1391974876","filename":"file2"},{"photo_id":"1391974957","filename":"file4"},{"photo_id":"1391974839","filename":"file1"},{"photo_id":"1391974797","filename":"file0"},{"photo_id":"1391974918","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391974876":["hashtag1","hashtag2"]},{"1391974957":["hashtag1","hashtag2"]},{"1391974918":["hashtag1","hashtag2"]},{"1391974797":["hashtag1","hashtag2"]},{"1391974839":["hashtag1","hashtag2"]},{"1391975001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391974876, 1391974957, 1391974918, 1391974797, 1391974839, 1391975001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68253135681152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:06:02.965969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_12_7303.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_13_1743.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_17_4173.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_23_5870.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_26_2925.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_28_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/14/40/image_30102025_14_40_12_7303.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_13_1743.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_17_4173.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_23_5870.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_26_2925.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_28_1739.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7473735809326172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:06:22.490279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_12_7303.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_13_1743.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_17_4173.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_23_5870.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_26_2925.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_28_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/14/40/image_30102025_14_40_12_7303.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_13_1743.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_17_4173.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_23_5870.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_26_2925.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_28_1739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391975188","1391975199","1391975203","1391975171","1391975207","1391975135"],"photo_ids_order":["1391975135","1391975171","1391975188","1391975199","1391975203","1391975207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b2192a3dee0b9d47d358c748a75efb36.jpg","text":"TemporaryFile(/tmp/multipartBody8196774449550588992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135644491,"filename":"image_30102025_14_40_17_4173.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/00c4f1e1179d25387978586eb79cb055.jpg","text":"TemporaryFile(/tmp/multipartBody2891427347449306150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135644491,"filename":"image_30102025_14_40_23_5870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5c6b06b280bd329535fd38274397b22f.jpg","text":"TemporaryFile(/tmp/multipartBody4283164237992964671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135644491,"filename":"image_30102025_14_40_26_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/3/ff346aa098d4f8e75790ba42d303f866.jpg","text":"TemporaryFile(/tmp/multipartBody6742598067254765627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135644491,"filename":"image_30102025_14_40_13_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/3/d1a70d3d9165afb50448e3a3f233d3bb.jpg","text":"TemporaryFile(/tmp/multipartBody3468309925925197273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135644491,"filename":"image_30102025_14_40_28_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/3/88df5ff63c0e0357a2c76ab74e9d434f.jpg","text":"TemporaryFile(/tmp/multipartBody2097324570717619483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135644491,"filename":"image_30102025_14_40_12_7303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391975188","file1":"1391975171","file0":"1391975135","file4":"1391975203","file5":"1391975207","file3":"1391975199"},"map_files_photo_id_array":[{"photo_id":"1391975207","filename":"file5"},{"photo_id":"1391975188","filename":"file2"},{"photo_id":"1391975203","filename":"file4"},{"photo_id":"1391975171","filename":"file1"},{"photo_id":"1391975135","filename":"file0"},{"photo_id":"1391975199","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391975188":["hashtag1","hashtag2"]},{"1391975199":["hashtag1","hashtag2"]},{"1391975203":["hashtag1","hashtag2"]},{"1391975171":["hashtag1","hashtag2"]},{"1391975207":["hashtag1","hashtag2"]},{"1391975135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391975188, 1391975199, 1391975203, 1391975171, 1391975207, 1391975135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82649517059326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:07:03.474956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_31_1541.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_33_1650.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_37_4230.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_38_1495.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_40_1794.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_46_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/14/40/image_30102025_14_40_31_1541.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_33_1650.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_37_4230.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_38_1495.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_40_1794.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_46_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391975275","1391975317","1391975215","1391975235","1391975214","1391975216"],"photo_ids_order":["1391975214","1391975215","1391975216","1391975235","1391975275","1391975317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f4a000e8acc6c829fa8ac7f1be85b757.jpg","text":"TemporaryFile(/tmp/multipartBody1251079584901595679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135685356,"filename":"image_30102025_14_40_40_1794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2a39f416e001daa2b27d31bd500b878.jpg","text":"TemporaryFile(/tmp/multipartBody8223409034128549978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135685356,"filename":"image_30102025_14_40_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/3/f4e2df57a10caa68c3563f6f062618f2.jpg","text":"TemporaryFile(/tmp/multipartBody464965204066776758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135685356,"filename":"image_30102025_14_40_33_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fd91e47d6f1a7db9a3ecbdb000795e59.jpg","text":"TemporaryFile(/tmp/multipartBody2700228149459459161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135685356,"filename":"image_30102025_14_40_38_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/3/dd029266456720a602a2aa7c7029efae.jpg","text":"TemporaryFile(/tmp/multipartBody710617944348873950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135685356,"filename":"image_30102025_14_40_31_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/3/be83f6d874eede8204d1f7fff83eab81.jpg","text":"TemporaryFile(/tmp/multipartBody7649789099879910589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135685356,"filename":"image_30102025_14_40_37_4230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391975216","file1":"1391975215","file0":"1391975214","file4":"1391975275","file5":"1391975317","file3":"1391975235"},"map_files_photo_id_array":[{"photo_id":"1391975317","filename":"file5"},{"photo_id":"1391975216","filename":"file2"},{"photo_id":"1391975275","filename":"file4"},{"photo_id":"1391975215","filename":"file1"},{"photo_id":"1391975214","filename":"file0"},{"photo_id":"1391975235","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391975275":["hashtag1","hashtag2"]},{"1391975317":["hashtag1","hashtag2"]},{"1391975215":["hashtag1","hashtag2"]},{"1391975235":["hashtag1","hashtag2"]},{"1391975214":["hashtag1","hashtag2"]},{"1391975216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391975275, 1391975317, 1391975215, 1391975235, 1391975214, 1391975216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21810460090637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:07:42.713741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/53/image_31102025_00_53_20_2628.jpg', '/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_35_2659.jpg', '/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_38_3633.jpg', '/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_44_2623.jpg', '/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_53_2719.jpg', '/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_56_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/53/image_31102025_00_53_20_2628.jpg
/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_35_2659.jpg
/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_38_3633.jpg
/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_44_2623.jpg
/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_53_2719.jpg
/home/pi/Desktop/images/31102025/00/55/image_31102025_00_55_56_3726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391975600","1391975445","1391975520","1391975483","1391975642","1391975558"],"photo_ids_order":["1391975445","1391975483","1391975520","1391975558","1391975600","1391975642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d942596a3448c44b2a8e0dde41773c24.jpg","text":"TemporaryFile(/tmp/multipartBody3416071084633437120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135723867,"filename":"image_31102025_00_55_53_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/3/53b5ec1f58f2b32c23de9f9ab7f8de6c.jpg","text":"TemporaryFile(/tmp/multipartBody5668747150114283693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135723867,"filename":"image_31102025_00_53_20_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/3/9639725303c0ba839e04388b3c59c396.jpg","text":"TemporaryFile(/tmp/multipartBody8917057840659533874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135723867,"filename":"image_31102025_00_55_38_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/3/4e32df77be00fcfe8ed48cff8dfc50be.jpg","text":"TemporaryFile(/tmp/multipartBody7985520995019666736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135723867,"filename":"image_31102025_00_55_35_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/3/ddb2af5cbdc469595bdce8d8344e59ad.jpg","text":"TemporaryFile(/tmp/multipartBody193927075357118703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135723867,"filename":"image_31102025_00_55_56_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/3/90fd323d7332152dc8eeafb97a561cd7.jpg","text":"TemporaryFile(/tmp/multipartBody650836267760425402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135723867,"filename":"image_31102025_00_55_44_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391975520","file1":"1391975483","file0":"1391975445","file4":"1391975600","file5":"1391975642","file3":"1391975558"},"map_files_photo_id_array":[{"photo_id":"1391975642","filename":"file5"},{"photo_id":"1391975520","filename":"file2"},{"photo_id":"1391975600","filename":"file4"},{"photo_id":"1391975483","filename":"file1"},{"photo_id":"1391975445","filename":"file0"},{"photo_id":"1391975558","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391975600":["hashtag1","hashtag2"]},{"1391975445":["hashtag1","hashtag2"]},{"1391975520":["hashtag1","hashtag2"]},{"1391975483":["hashtag1","hashtag2"]},{"1391975642":["hashtag1","hashtag2"]},{"1391975558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391975600, 1391975445, 1391975520, 1391975483, 1391975642, 1391975558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.815815687179565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:08:21.869386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_49_3690.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_55_2755.jpg', '/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_58_3550.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_01_2761.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_08_6870.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_11_2961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_49_3690.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_55_2755.jpg
/home/pi/Desktop/images/30102025/14/40/image_30102025_14_40_58_3550.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_01_2761.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_08_6870.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_11_2961.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391975878","1391975958","1391975838","1391975802","1391975999","1391975918"],"photo_ids_order":["1391975802","1391975838","1391975878","1391975918","1391975958","1391975999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2c77183ef2c07bc233bbf7a4c0b870c4.jpg","text":"TemporaryFile(/tmp/multipartBody779341430377260106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135764291,"filename":"image_30102025_14_40_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/3/f32caa612765185928a138cb3e230285.jpg","text":"TemporaryFile(/tmp/multipartBody1838920009175727143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135764291,"filename":"image_30102025_14_41_08_6870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/035de2cd7492b901c09b711781dcf04b.jpg","text":"TemporaryFile(/tmp/multipartBody5636273780450133957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135764291,"filename":"image_30102025_14_40_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/3/a818c584839ff0a663a6c647c34a0ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8136532259364651045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135764291,"filename":"image_30102025_14_40_49_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7bc9e42fb47ca5671ea90efabc0fed21.jpg","text":"TemporaryFile(/tmp/multipartBody5558351178640296486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135764291,"filename":"image_30102025_14_41_11_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/3/72c4b893d7b23aa6b30e80cb73358839.jpg","text":"TemporaryFile(/tmp/multipartBody5702532518758862996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135764291,"filename":"image_30102025_14_41_01_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391975878","file1":"1391975838","file0":"1391975802","file4":"1391975958","file5":"1391975999","file3":"1391975918"},"map_files_photo_id_array":[{"photo_id":"1391975999","filename":"file5"},{"photo_id":"1391975878","filename":"file2"},{"photo_id":"1391975958","filename":"file4"},{"photo_id":"1391975838","filename":"file1"},{"photo_id":"1391975802","filename":"file0"},{"photo_id":"1391975918","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391975878":["hashtag1","hashtag2"]},{"1391975958":["hashtag1","hashtag2"]},{"1391975838":["hashtag1","hashtag2"]},{"1391975802":["hashtag1","hashtag2"]},{"1391975999":["hashtag1","hashtag2"]},{"1391975918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391975878, 1391975958, 1391975838, 1391975802, 1391975999, 1391975918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.688432455062866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:09:02.873179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 03:09:34.338102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_13_1617.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_14_1856.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_16_1645.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_19_2699.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_23_4026.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_25_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/14/41/image_30102025_14_41_13_1617.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_14_1856.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_16_1645.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_19_2699.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_23_4026.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_25_2551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976448","1391976334","1391976421","1391976411","1391976445","1391976373"],"photo_ids_order":["1391976334","1391976373","1391976411","1391976421","1391976445","1391976448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/43bb25241bf2105396c7b85d4b6e9459.jpg","text":"TemporaryFile(/tmp/multipartBody2284500682258186187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135866951,"filename":"image_30102025_14_41_25_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/3/2472330cd89d3a4774367e7c3eaa6a54.jpg","text":"TemporaryFile(/tmp/multipartBody5433035605675497952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135866951,"filename":"image_30102025_14_41_13_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e86d063b04648399dd9b272e561b3b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8567971962040874006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135866951,"filename":"image_30102025_14_41_19_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/3/c06167ffd1070b12a30c8f9de18eae4d.jpg","text":"TemporaryFile(/tmp/multipartBody1551237083994927254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135866951,"filename":"image_30102025_14_41_16_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/3/c725370444471dac3f52d0a2ffbe4566.jpg","text":"TemporaryFile(/tmp/multipartBody1136578369433425601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135866951,"filename":"image_30102025_14_41_23_4026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd95514d9301192ec65cfd7c8ab495e6.jpg","text":"TemporaryFile(/tmp/multipartBody181721059583602732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762135866951,"filename":"image_30102025_14_41_14_1856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976411","file1":"1391976373","file0":"1391976334","file4":"1391976445","file5":"1391976448","file3":"1391976421"},"map_files_photo_id_array":[{"photo_id":"1391976448","filename":"file5"},{"photo_id":"1391976411","filename":"file2"},{"photo_id":"1391976445","filename":"file4"},{"photo_id":"1391976373","filename":"file1"},{"photo_id":"1391976334","filename":"file0"},{"photo_id":"1391976421","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976448":["hashtag1","hashtag2"]},{"1391976334":["hashtag1","hashtag2"]},{"1391976421":["hashtag1","hashtag2"]},{"1391976411":["hashtag1","hashtag2"]},{"1391976445":["hashtag1","hashtag2"]},{"1391976373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976448, 1391976334, 1391976421, 1391976411, 1391976445, 1391976373)","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: 116.1695077419281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:11:44.230682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 03:12:23.719165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_28_2588.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_32_3615.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_34_2554.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_37_2664.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_40_2878.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_43_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/14/41/image_30102025_14_41_28_2588.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_32_3615.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_34_2554.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_37_2664.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_40_2878.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_43_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976532","1391976526","1391976529","1391976525","1391976521","1391976523"],"photo_ids_order":["1391976521","1391976523","1391976525","1391976526","1391976529","1391976532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e0e72cfeaffdd7f5bb8133c187f40a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6917150332899932335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136007537,"filename":"image_30102025_14_41_43_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/3/33e60208b9d813dda6f00f2dce6e6f87.jpg","text":"TemporaryFile(/tmp/multipartBody2053788299702887204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136007537,"filename":"image_30102025_14_41_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/3/ef7c700ee03f194b15514da7f51083a6.jpg","text":"TemporaryFile(/tmp/multipartBody2597108057150332882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136007537,"filename":"image_30102025_14_41_40_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/3/4d3e13009ff9cc895a9880d1d9a6c9e8.jpg","text":"TemporaryFile(/tmp/multipartBody6063743017028684842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136007537,"filename":"image_30102025_14_41_34_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/3/24c58abf88c446bfffab19647b413acf.jpg","text":"TemporaryFile(/tmp/multipartBody7094984472904877348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136007537,"filename":"image_30102025_14_41_28_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/3/6010ce21b7e74e9cc4ffc54348b95b92.jpg","text":"TemporaryFile(/tmp/multipartBody3877789109212476737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136007537,"filename":"image_30102025_14_41_32_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976525","file1":"1391976523","file0":"1391976521","file4":"1391976529","file5":"1391976532","file3":"1391976526"},"map_files_photo_id_array":[{"photo_id":"1391976532","filename":"file5"},{"photo_id":"1391976525","filename":"file2"},{"photo_id":"1391976529","filename":"file4"},{"photo_id":"1391976523","filename":"file1"},{"photo_id":"1391976521","filename":"file0"},{"photo_id":"1391976526","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976532":["hashtag1","hashtag2"]},{"1391976526":["hashtag1","hashtag2"]},{"1391976529":["hashtag1","hashtag2"]},{"1391976525":["hashtag1","hashtag2"]},{"1391976521":["hashtag1","hashtag2"]},{"1391976523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976532, 1391976526, 1391976529, 1391976525, 1391976521, 1391976523)","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: 41.5643789768219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:13:22.691130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_46_2646.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_49_3571.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_52_2659.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_55_2712.jpg', '/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_58_3576.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_01_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/14/41/image_30102025_14_41_46_2646.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_49_3571.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_52_2659.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_55_2712.jpg
/home/pi/Desktop/images/30102025/14/41/image_30102025_14_41_58_3576.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_01_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976553","1391976547","1391976549","1391976551","1391976545","1391976544"],"photo_ids_order":["1391976544","1391976545","1391976547","1391976549","1391976551","1391976553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf27da61c1de7008e068d4ce5dcee2ad.jpg","text":"TemporaryFile(/tmp/multipartBody1834387306696823819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136065212,"filename":"image_30102025_14_42_01_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/3/84c34979c098bb90c440d3d52ce7b3e2.jpg","text":"TemporaryFile(/tmp/multipartBody561906839965898080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136065212,"filename":"image_30102025_14_41_52_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/3/f1f60634250d3ddd6ce5374fc3421c52.jpg","text":"TemporaryFile(/tmp/multipartBody1090132369301602907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136065212,"filename":"image_30102025_14_41_55_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/3/235a1489d51b5af26f401ddede0fada9.jpg","text":"TemporaryFile(/tmp/multipartBody3652508066958223701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136065212,"filename":"image_30102025_14_41_58_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/3/6d8cb10112d407119adb912ee62c42de.jpg","text":"TemporaryFile(/tmp/multipartBody2299180189941464986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136065212,"filename":"image_30102025_14_41_49_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/3/e41c911751cbc59499b3b9df81c3a574.jpg","text":"TemporaryFile(/tmp/multipartBody3773752800959245033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136065212,"filename":"image_30102025_14_41_46_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976547","file1":"1391976545","file0":"1391976544","file4":"1391976551","file5":"1391976553","file3":"1391976549"},"map_files_photo_id_array":[{"photo_id":"1391976553","filename":"file5"},{"photo_id":"1391976547","filename":"file2"},{"photo_id":"1391976551","filename":"file4"},{"photo_id":"1391976545","filename":"file1"},{"photo_id":"1391976544","filename":"file0"},{"photo_id":"1391976549","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976553":["hashtag1","hashtag2"]},{"1391976547":["hashtag1","hashtag2"]},{"1391976549":["hashtag1","hashtag2"]},{"1391976551":["hashtag1","hashtag2"]},{"1391976545":["hashtag1","hashtag2"]},{"1391976544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976553, 1391976547, 1391976549, 1391976551, 1391976545, 1391976544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.316495418548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:14:02.545799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_04_2691.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_07_3557.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_12_4408.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_13_1672.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_16_2657.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_19_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/14/42/image_30102025_14_42_04_2691.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_07_3557.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_12_4408.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_13_1672.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_16_2657.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_19_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976563","1391976572","1391976566","1391976569","1391976560","1391976565"],"photo_ids_order":["1391976560","1391976563","1391976565","1391976566","1391976569","1391976572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f8016bf4ff0c640f35046fd0e4c80fd.jpg","text":"TemporaryFile(/tmp/multipartBody4396147221054815694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136104407,"filename":"image_30102025_14_42_07_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/3/d7a79475829c9fb87f036662285a3dde.jpg","text":"TemporaryFile(/tmp/multipartBody7765709350211006602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136104407,"filename":"image_30102025_14_42_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/3/777d595262a9d5fc09194425a91d7990.jpg","text":"TemporaryFile(/tmp/multipartBody5440569932772297679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136104407,"filename":"image_30102025_14_42_13_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/3/bbb7d14294443f2bbc6320b9b06b38ce.jpg","text":"TemporaryFile(/tmp/multipartBody7257598940216506312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136104407,"filename":"image_30102025_14_42_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/3/44ed0a3374603c45f56ec62f3242ac65.jpg","text":"TemporaryFile(/tmp/multipartBody8716202518058720293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136104407,"filename":"image_30102025_14_42_04_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/3/43af39d59ecbcd232fc6d449bdb89228.jpg","text":"TemporaryFile(/tmp/multipartBody4644700979709925148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136104407,"filename":"image_30102025_14_42_12_4408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976565","file1":"1391976563","file0":"1391976560","file4":"1391976569","file5":"1391976572","file3":"1391976566"},"map_files_photo_id_array":[{"photo_id":"1391976572","filename":"file5"},{"photo_id":"1391976565","filename":"file2"},{"photo_id":"1391976569","filename":"file4"},{"photo_id":"1391976563","filename":"file1"},{"photo_id":"1391976560","filename":"file0"},{"photo_id":"1391976566","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976563":["hashtag1","hashtag2"]},{"1391976572":["hashtag1","hashtag2"]},{"1391976566":["hashtag1","hashtag2"]},{"1391976569":["hashtag1","hashtag2"]},{"1391976560":["hashtag1","hashtag2"]},{"1391976565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976563, 1391976572, 1391976566, 1391976569, 1391976560, 1391976565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.075390577316284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:14:41.939312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/56/image_31102025_00_56_38_2748.jpg', '/home/pi/Desktop/images/31102025/00/56/image_31102025_00_56_50_3642.jpg', '/home/pi/Desktop/images/31102025/00/57/image_31102025_00_57_44_2790.jpg', '/home/pi/Desktop/images/31102025/00/57/image_31102025_00_57_56_3655.jpg', '/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_04_2814.jpg', '/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_13_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/56/image_31102025_00_56_38_2748.jpg
/home/pi/Desktop/images/31102025/00/56/image_31102025_00_56_50_3642.jpg
/home/pi/Desktop/images/31102025/00/57/image_31102025_00_57_44_2790.jpg
/home/pi/Desktop/images/31102025/00/57/image_31102025_00_57_56_3655.jpg
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_04_2814.jpg
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_13_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976588","1391976590","1391976578","1391976592","1391976586","1391976583"],"photo_ids_order":["1391976578","1391976583","1391976586","1391976588","1391976590","1391976592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7d27e8baf07ec0a3755aea3c816b2d04.jpg","text":"TemporaryFile(/tmp/multipartBody6055836733195279194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136144991,"filename":"image_31102025_00_57_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/3/17a36835c04098d3aea8d080626775ea.jpg","text":"TemporaryFile(/tmp/multipartBody1972017495849407399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136144991,"filename":"image_31102025_00_58_04_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/3/292b70a8be74bde552011339366468a3.jpg","text":"TemporaryFile(/tmp/multipartBody4800725149226392435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136144991,"filename":"image_31102025_00_56_38_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/3/f1222ae16206536b9d2e7f0253540856.jpg","text":"TemporaryFile(/tmp/multipartBody7729379826348374083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136144991,"filename":"image_31102025_00_58_13_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/3/7f24d23a310cbcbb968d4b0d925e2e77.jpg","text":"TemporaryFile(/tmp/multipartBody869555530063191962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136144991,"filename":"image_31102025_00_57_44_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/3/6285b46fd5d50ecb5e3adbab30fb2bb2.jpg","text":"TemporaryFile(/tmp/multipartBody6786245068447462106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136144991,"filename":"image_31102025_00_56_50_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976586","file1":"1391976583","file0":"1391976578","file4":"1391976590","file5":"1391976592","file3":"1391976588"},"map_files_photo_id_array":[{"photo_id":"1391976592","filename":"file5"},{"photo_id":"1391976586","filename":"file2"},{"photo_id":"1391976590","filename":"file4"},{"photo_id":"1391976583","filename":"file1"},{"photo_id":"1391976578","filename":"file0"},{"photo_id":"1391976588","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976588":["hashtag1","hashtag2"]},{"1391976590":["hashtag1","hashtag2"]},{"1391976578":["hashtag1","hashtag2"]},{"1391976592":["hashtag1","hashtag2"]},{"1391976586":["hashtag1","hashtag2"]},{"1391976583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976588, 1391976590, 1391976578, 1391976592, 1391976586, 1391976583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.713911056518555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:15:22.170127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_28_2610.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_31_3665.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_34_2721.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_40_3711.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_43_2559.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_46_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/14/42/image_30102025_14_42_28_2610.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_31_3665.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_34_2721.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_40_3711.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_43_2559.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_46_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976597","1391976601","1391976594","1391976603","1391976599","1391976595"],"photo_ids_order":["1391976594","1391976595","1391976597","1391976599","1391976601","1391976603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5104733c45e7b6ed0c1f92f174803b10.jpg","text":"TemporaryFile(/tmp/multipartBody7440214871325551379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136184553,"filename":"image_30102025_14_42_34_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/3/b7ac5e987ce6ae7708dfa2c16f696bb4.jpg","text":"TemporaryFile(/tmp/multipartBody9220156947991759322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136184553,"filename":"image_30102025_14_42_43_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/3/010a84951aa408444cfe1c197981de23.jpg","text":"TemporaryFile(/tmp/multipartBody6717403232173134640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136184553,"filename":"image_30102025_14_42_28_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/507e3ac2b255ca8b05bec6e0a0d8f84c.jpg","text":"TemporaryFile(/tmp/multipartBody8980452785677672813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136184553,"filename":"image_30102025_14_42_46_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/3/0ae346e005a908d3b3d955b42d02f7e8.jpg","text":"TemporaryFile(/tmp/multipartBody4334842629712423798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136184553,"filename":"image_30102025_14_42_40_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/59de1adced7dc85f461e4aacf0cc2cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5212500122173614797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136184553,"filename":"image_30102025_14_42_31_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976597","file1":"1391976595","file0":"1391976594","file4":"1391976601","file5":"1391976603","file3":"1391976599"},"map_files_photo_id_array":[{"photo_id":"1391976603","filename":"file5"},{"photo_id":"1391976597","filename":"file2"},{"photo_id":"1391976601","filename":"file4"},{"photo_id":"1391976595","filename":"file1"},{"photo_id":"1391976594","filename":"file0"},{"photo_id":"1391976599","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976597":["hashtag1","hashtag2"]},{"1391976601":["hashtag1","hashtag2"]},{"1391976594":["hashtag1","hashtag2"]},{"1391976603":["hashtag1","hashtag2"]},{"1391976599":["hashtag1","hashtag2"]},{"1391976595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976597, 1391976601, 1391976594, 1391976603, 1391976599, 1391976595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.817766427993774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:16:02.408643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_49_3649.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_52_2610.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_55_2663.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_58_3617.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_01_2603.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_07_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/14/42/image_30102025_14_42_49_3649.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_52_2610.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_55_2663.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_58_3617.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_01_2603.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_07_2671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.208425521850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:16:21.858349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_49_3649.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_52_2610.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_55_2663.jpg', '/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_58_3617.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_01_2603.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_07_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/14/42/image_30102025_14_42_49_3649.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_52_2610.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_55_2663.jpg
/home/pi/Desktop/images/30102025/14/42/image_30102025_14_42_58_3617.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_01_2603.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_07_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976619","1391976624","1391976627","1391976626","1391976623","1391976622"],"photo_ids_order":["1391976619","1391976622","1391976623","1391976624","1391976626","1391976627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4f2260eb166820cc9877de4f411179e2.jpg","text":"TemporaryFile(/tmp/multipartBody3558696059596144496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136244080,"filename":"image_30102025_14_42_49_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/3/f68468ad200ed40869498149a6f88574.jpg","text":"TemporaryFile(/tmp/multipartBody7452671252268160334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136244080,"filename":"image_30102025_14_42_58_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/3/5835644c2fdef5ce605a509b7ad2d64c.jpg","text":"TemporaryFile(/tmp/multipartBody7396042488432238490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136244080,"filename":"image_30102025_14_43_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/3/85af6e9eac7c1f74c491dd9eca6ffd5e.jpg","text":"TemporaryFile(/tmp/multipartBody7875764310393953999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136244080,"filename":"image_30102025_14_43_01_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/3/2525b3a3ffd379520af4de44661f97fb.jpg","text":"TemporaryFile(/tmp/multipartBody4957249659930480114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136244080,"filename":"image_30102025_14_42_55_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/3/2691f7fd3bfdb96c46fd9c89e1461baf.jpg","text":"TemporaryFile(/tmp/multipartBody2875142318489469739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136244080,"filename":"image_30102025_14_42_52_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976623","file1":"1391976622","file0":"1391976619","file4":"1391976626","file5":"1391976627","file3":"1391976624"},"map_files_photo_id_array":[{"photo_id":"1391976627","filename":"file5"},{"photo_id":"1391976623","filename":"file2"},{"photo_id":"1391976626","filename":"file4"},{"photo_id":"1391976622","filename":"file1"},{"photo_id":"1391976619","filename":"file0"},{"photo_id":"1391976624","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976619":["hashtag1","hashtag2"]},{"1391976624":["hashtag1","hashtag2"]},{"1391976627":["hashtag1","hashtag2"]},{"1391976626":["hashtag1","hashtag2"]},{"1391976623":["hashtag1","hashtag2"]},{"1391976622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976619, 1391976624, 1391976627, 1391976626, 1391976623, 1391976622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05702543258667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:17:03.133619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_13_2653.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_16_3694.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_19_2658.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_25_3806.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_37_2701.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_40_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_13_2653.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_16_3694.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_19_2658.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_25_3806.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_37_2701.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_40_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976634","1391976633","1391976639","1391976635","1391976640","1391976637"],"photo_ids_order":["1391976633","1391976634","1391976635","1391976637","1391976639","1391976640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef93057c5f893990aca93978c925bd3b.jpg","text":"TemporaryFile(/tmp/multipartBody5436526238721095881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136284994,"filename":"image_30102025_14_43_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/3/f42a7fe2e28b63fab276bb57d430c625.jpg","text":"TemporaryFile(/tmp/multipartBody2314151022346674573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136284994,"filename":"image_30102025_14_43_13_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0928c51c486a9f19ba59db3599011105.jpg","text":"TemporaryFile(/tmp/multipartBody6808441045142215475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136284994,"filename":"image_30102025_14_43_37_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/3/bda45022d4feb3daca0bff221aa1d650.jpg","text":"TemporaryFile(/tmp/multipartBody5677983923276438574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136284994,"filename":"image_30102025_14_43_19_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/3/c9a267658d1aa2e025178f65033d2198.jpg","text":"TemporaryFile(/tmp/multipartBody5088737670506675563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136284994,"filename":"image_30102025_14_43_40_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/3/c0b9f3dca69ead72e1b0639a41435bc1.jpg","text":"TemporaryFile(/tmp/multipartBody8044952424306427932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136284994,"filename":"image_30102025_14_43_25_3806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976635","file1":"1391976634","file0":"1391976633","file4":"1391976639","file5":"1391976640","file3":"1391976637"},"map_files_photo_id_array":[{"photo_id":"1391976640","filename":"file5"},{"photo_id":"1391976635","filename":"file2"},{"photo_id":"1391976639","filename":"file4"},{"photo_id":"1391976634","filename":"file1"},{"photo_id":"1391976633","filename":"file0"},{"photo_id":"1391976637","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976634":["hashtag1","hashtag2"]},{"1391976633":["hashtag1","hashtag2"]},{"1391976639":["hashtag1","hashtag2"]},{"1391976635":["hashtag1","hashtag2"]},{"1391976640":["hashtag1","hashtag2"]},{"1391976637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976634, 1391976633, 1391976639, 1391976635, 1391976640, 1391976637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42948269844055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:17:42.384416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_16_2874.jpg', '/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_20_3600.jpg', '/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_29_2701.jpg', '/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_32_2726.jpg', '/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_47_3599.jpg', '/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_50_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_16_2874.jpg
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_20_3600.jpg
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_29_2701.jpg
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_32_2726.jpg
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_47_3599.jpg
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_50_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976652","1391976654","1391976645","1391976647","1391976641","1391976649"],"photo_ids_order":["1391976641","1391976645","1391976647","1391976649","1391976652","1391976654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/455c9137e51ed68f40055ecbe7c300f6.jpg","text":"TemporaryFile(/tmp/multipartBody1626787400523809941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136323494,"filename":"image_31102025_00_58_47_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/3/ec2ef3352c0de6e2727fa1dd2d64c352.jpg","text":"TemporaryFile(/tmp/multipartBody6415746092677100317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136323494,"filename":"image_31102025_00_58_50_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/20adc8ca7a14efb9734bcd94a6a3f979.jpg","text":"TemporaryFile(/tmp/multipartBody8417461317270663979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136323494,"filename":"image_31102025_00_58_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/3/16c2ff1795b387033fbd9478d324908a.jpg","text":"TemporaryFile(/tmp/multipartBody3908807411046466508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136323494,"filename":"image_31102025_00_58_29_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9c9b5ee93b496c0d9f7514a209b258ce.jpg","text":"TemporaryFile(/tmp/multipartBody4630289018309977286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136323494,"filename":"image_31102025_00_58_16_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/3/623d40256e24fda007a5b6c579a6b450.jpg","text":"TemporaryFile(/tmp/multipartBody3783066525128533136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136323494,"filename":"image_31102025_00_58_32_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976647","file1":"1391976645","file0":"1391976641","file4":"1391976652","file5":"1391976654","file3":"1391976649"},"map_files_photo_id_array":[{"photo_id":"1391976654","filename":"file5"},{"photo_id":"1391976647","filename":"file2"},{"photo_id":"1391976652","filename":"file4"},{"photo_id":"1391976645","filename":"file1"},{"photo_id":"1391976641","filename":"file0"},{"photo_id":"1391976649","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976652":["hashtag1","hashtag2"]},{"1391976654":["hashtag1","hashtag2"]},{"1391976645":["hashtag1","hashtag2"]},{"1391976647":["hashtag1","hashtag2"]},{"1391976641":["hashtag1","hashtag2"]},{"1391976649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976652, 1391976654, 1391976645, 1391976647, 1391976641, 1391976649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40402793884277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:18:22.661636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_43_2649.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_49_3658.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_52_2611.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_54_2599.jpg', '/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_58_3569.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_01_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/14/43/image_30102025_14_43_43_2649.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_49_3658.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_52_2611.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_54_2599.jpg
/home/pi/Desktop/images/30102025/14/43/image_30102025_14_43_58_3569.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_01_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976659","1391976668","1391976667","1391976661","1391976670","1391976664"],"photo_ids_order":["1391976659","1391976661","1391976664","1391976667","1391976668","1391976670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4cc21f4bde356dccd0d8009aae252489.jpg","text":"TemporaryFile(/tmp/multipartBody472602645647722978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136365873,"filename":"image_30102025_14_43_43_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/29d89c3ea321c97813cec496146bd77c.jpg","text":"TemporaryFile(/tmp/multipartBody6497856855475828757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136365873,"filename":"image_30102025_14_43_58_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/3/77260d6e11106f5ea9a5919f6abe4eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6085032719058804925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136365873,"filename":"image_30102025_14_43_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/3/9b38675f6a59e833ef0c540ee5ff0c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5510359030817044558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136365873,"filename":"image_30102025_14_43_49_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f07b8388fbedceec99e15ac9f6dbd69e.jpg","text":"TemporaryFile(/tmp/multipartBody6970730519425294642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136365873,"filename":"image_30102025_14_44_01_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/3/a9c5ecfe58a089a9ee4fa21224d2ee7d.jpg","text":"TemporaryFile(/tmp/multipartBody683318829294008172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136365873,"filename":"image_30102025_14_43_52_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976664","file1":"1391976661","file0":"1391976659","file4":"1391976668","file5":"1391976670","file3":"1391976667"},"map_files_photo_id_array":[{"photo_id":"1391976670","filename":"file5"},{"photo_id":"1391976664","filename":"file2"},{"photo_id":"1391976668","filename":"file4"},{"photo_id":"1391976661","filename":"file1"},{"photo_id":"1391976659","filename":"file0"},{"photo_id":"1391976667","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976659":["hashtag1","hashtag2"]},{"1391976668":["hashtag1","hashtag2"]},{"1391976667":["hashtag1","hashtag2"]},{"1391976661":["hashtag1","hashtag2"]},{"1391976670":["hashtag1","hashtag2"]},{"1391976664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976659, 1391976668, 1391976667, 1391976661, 1391976670, 1391976664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.228073596954346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:19:03.749036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_07_3620.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_10_2562.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_13_2851.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_19_2796.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_22_2708.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_25_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/14/44/image_30102025_14_44_07_3620.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_10_2562.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_13_2851.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_19_2796.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_22_2708.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_25_3582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976675","1391976680","1391976674","1391976677","1391976673","1391976679"],"photo_ids_order":["1391976673","1391976674","1391976675","1391976677","1391976679","1391976680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/47bd05d88f883cde78cac8064be9c30e.jpg","text":"TemporaryFile(/tmp/multipartBody4296562738072627448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136405781,"filename":"image_30102025_14_44_13_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/3/2e86311ed5d7950de82e1f34ca2a4a80.jpg","text":"TemporaryFile(/tmp/multipartBody6100388507498135941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136405781,"filename":"image_30102025_14_44_25_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/3/a3fe181f9b6759e5f7bf54c4cb9b7b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5241751367994156672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136405781,"filename":"image_30102025_14_44_10_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/3/0f04cb5c39be60b3580e69da18a07799.jpg","text":"TemporaryFile(/tmp/multipartBody3498820692570711710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136405781,"filename":"image_30102025_14_44_19_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/3/d85977e4a079df9488e492672b2bb76b.jpg","text":"TemporaryFile(/tmp/multipartBody6532647536032813538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136405781,"filename":"image_30102025_14_44_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/3/e1b98a6b51aa8d81d4f68cefbd22b013.jpg","text":"TemporaryFile(/tmp/multipartBody6237990549978265565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136405781,"filename":"image_30102025_14_44_22_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976675","file1":"1391976674","file0":"1391976673","file4":"1391976679","file5":"1391976680","file3":"1391976677"},"map_files_photo_id_array":[{"photo_id":"1391976680","filename":"file5"},{"photo_id":"1391976675","filename":"file2"},{"photo_id":"1391976679","filename":"file4"},{"photo_id":"1391976674","filename":"file1"},{"photo_id":"1391976673","filename":"file0"},{"photo_id":"1391976677","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976675":["hashtag1","hashtag2"]},{"1391976680":["hashtag1","hashtag2"]},{"1391976674":["hashtag1","hashtag2"]},{"1391976677":["hashtag1","hashtag2"]},{"1391976673":["hashtag1","hashtag2"]},{"1391976679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976675, 1391976680, 1391976674, 1391976677, 1391976673, 1391976679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73192858695984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:19:42.675471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_52_2521.jpg', '/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_59_2703.jpg', '/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_05_3633.jpg', '/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_11_2744.jpg', '/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_13_2672.jpg', '/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_22_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_52_2521.jpg
/home/pi/Desktop/images/31102025/00/58/image_31102025_00_58_59_2703.jpg
/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_05_3633.jpg
/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_11_2744.jpg
/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_13_2672.jpg
/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_22_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976684","1391976681","1391976686","1391976691","1391976688","1391976682"],"photo_ids_order":["1391976681","1391976682","1391976684","1391976686","1391976688","1391976691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f5f7b0321ecc8ea85cdb00042dab217b.jpg","text":"TemporaryFile(/tmp/multipartBody1652301797150319186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136443746,"filename":"image_31102025_00_59_05_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/89872274228d28c7740155886f8224ae.jpg","text":"TemporaryFile(/tmp/multipartBody5885128709680705943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136443746,"filename":"image_31102025_00_58_52_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/3/63d9192586564c6bb5f728fba4249d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2695186396316744279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136443746,"filename":"image_31102025_00_59_11_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/3/38fb7b8fb47331462ea4c806cb657be0.jpg","text":"TemporaryFile(/tmp/multipartBody2589977786756964211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136443746,"filename":"image_31102025_00_59_22_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2e6e2a40b979ebd4c066cc012cb46e83.jpg","text":"TemporaryFile(/tmp/multipartBody6312453905300245764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136443746,"filename":"image_31102025_00_59_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/3/726ebb350ec2cad3387edda04761029d.jpg","text":"TemporaryFile(/tmp/multipartBody3531481666013059892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136443746,"filename":"image_31102025_00_58_59_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976684","file1":"1391976682","file0":"1391976681","file4":"1391976688","file5":"1391976691","file3":"1391976686"},"map_files_photo_id_array":[{"photo_id":"1391976691","filename":"file5"},{"photo_id":"1391976684","filename":"file2"},{"photo_id":"1391976688","filename":"file4"},{"photo_id":"1391976682","filename":"file1"},{"photo_id":"1391976681","filename":"file0"},{"photo_id":"1391976686","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976684":["hashtag1","hashtag2"]},{"1391976681":["hashtag1","hashtag2"]},{"1391976686":["hashtag1","hashtag2"]},{"1391976691":["hashtag1","hashtag2"]},{"1391976688":["hashtag1","hashtag2"]},{"1391976682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976684, 1391976681, 1391976686, 1391976691, 1391976688, 1391976682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14711308479309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:20:21.872556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_28_2617.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_31_2698.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_34_3750.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_40_2753.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_46_3627.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_49_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_28_2617.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_31_2698.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_34_3750.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_40_2753.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_46_3627.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_49_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976700","1391976699","1391976702","1391976698","1391976707","1391976701"],"photo_ids_order":["1391976698","1391976699","1391976700","1391976701","1391976702","1391976707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef29429db055deb37dec8cae0b20b3af.jpg","text":"TemporaryFile(/tmp/multipartBody3718809511018965916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136486389,"filename":"image_30102025_14_44_34_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/3/5f5aa9ae68b3a96ac8ee489c6bb36578.jpg","text":"TemporaryFile(/tmp/multipartBody161821395890396726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136486389,"filename":"image_30102025_14_44_31_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/3/44b4dc28a23351c0b3de4fc73697e802.jpg","text":"TemporaryFile(/tmp/multipartBody1144383219670370620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136486389,"filename":"image_30102025_14_44_46_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/3/a155adf78700e528c5eccb6101aeec42.jpg","text":"TemporaryFile(/tmp/multipartBody230923792185573014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136486389,"filename":"image_30102025_14_44_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/3/ce772ffe79db20ce71ae5af02daa2d5d.jpg","text":"TemporaryFile(/tmp/multipartBody2208910830646481856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136486389,"filename":"image_30102025_14_44_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/3/72ebdb3ccabd20eff0e31baf3ce06df8.jpg","text":"TemporaryFile(/tmp/multipartBody2250934883941467580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136486389,"filename":"image_30102025_14_44_40_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976700","file1":"1391976699","file0":"1391976698","file4":"1391976702","file5":"1391976707","file3":"1391976701"},"map_files_photo_id_array":[{"photo_id":"1391976707","filename":"file5"},{"photo_id":"1391976700","filename":"file2"},{"photo_id":"1391976702","filename":"file4"},{"photo_id":"1391976699","filename":"file1"},{"photo_id":"1391976698","filename":"file0"},{"photo_id":"1391976701","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976700":["hashtag1","hashtag2"]},{"1391976699":["hashtag1","hashtag2"]},{"1391976702":["hashtag1","hashtag2"]},{"1391976698":["hashtag1","hashtag2"]},{"1391976707":["hashtag1","hashtag2"]},{"1391976701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976700, 1391976699, 1391976702, 1391976698, 1391976707, 1391976701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.139304637908936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:21:02.809483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_51_2683.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_55_3614.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_58_2781.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_04_3736.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_07_2646.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_09_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/14/44/image_30102025_14_44_51_2683.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_55_3614.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_58_2781.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_04_3736.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_07_2646.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_09_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976718","1391976712","1391976714","1391976719","1391976713","1391976716"],"photo_ids_order":["1391976712","1391976713","1391976714","1391976716","1391976718","1391976719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/648b4b0ad4e6824f04575c4f6d15cff3.jpg","text":"TemporaryFile(/tmp/multipartBody5055507805712604421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136526855,"filename":"image_30102025_14_45_07_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/3/25942ec00d884e6117803b081ac26a47.jpg","text":"TemporaryFile(/tmp/multipartBody24921786859925154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136526855,"filename":"image_30102025_14_44_51_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6cbd8825c91b3d06ad179920ed788fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4636758831171177291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136526855,"filename":"image_30102025_14_44_58_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/3/d1e436fc435160ceb0383f14630f6610.jpg","text":"TemporaryFile(/tmp/multipartBody4390922260144798081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136526855,"filename":"image_30102025_14_45_09_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/3/70e1e5deade48dc9f4c9ff2ff8555385.jpg","text":"TemporaryFile(/tmp/multipartBody96521749850332363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136526855,"filename":"image_30102025_14_44_55_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/3/fc048fc5a258f1b9d4cbf60f6ede82f4.jpg","text":"TemporaryFile(/tmp/multipartBody243189374665271759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136526855,"filename":"image_30102025_14_45_04_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976714","file1":"1391976713","file0":"1391976712","file4":"1391976718","file5":"1391976719","file3":"1391976716"},"map_files_photo_id_array":[{"photo_id":"1391976719","filename":"file5"},{"photo_id":"1391976714","filename":"file2"},{"photo_id":"1391976718","filename":"file4"},{"photo_id":"1391976713","filename":"file1"},{"photo_id":"1391976712","filename":"file0"},{"photo_id":"1391976716","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976718":["hashtag1","hashtag2"]},{"1391976712":["hashtag1","hashtag2"]},{"1391976714":["hashtag1","hashtag2"]},{"1391976719":["hashtag1","hashtag2"]},{"1391976713":["hashtag1","hashtag2"]},{"1391976716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976718, 1391976712, 1391976714, 1391976719, 1391976713, 1391976716)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391976714 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_58_2781.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391976714 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_58_2781.jpg";
uploaded 6 photos
time to upload: 70.34112691879272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:22:20.162826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 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-03 03:22:40.075938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 03:22:59.674708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_26_3628.jpg', '/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_16_2808.jpg', '/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_20_3321.jpg', '/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_22_2702.jpg', '/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_34_2632.jpg', '/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_47_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/00/59/image_31102025_00_59_26_3628.jpg
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_16_2808.jpg
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_20_3321.jpg
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_22_2702.jpg
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_34_2632.jpg
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_47_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976751","1391976745","1391976747","1391976743","1391976749","1391976742"],"photo_ids_order":["1391976742","1391976743","1391976745","1391976747","1391976749","1391976751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/81e3e498e9ad7f43315091dbd034b67c.jpg","text":"TemporaryFile(/tmp/multipartBody7066953731689675980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136696491,"filename":"image_31102025_01_00_47_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/3/3561d8735a3a2d24a98427a26a0623ee.jpg","text":"TemporaryFile(/tmp/multipartBody7119966017436443525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136696491,"filename":"image_31102025_01_00_20_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/3/71031163f2c80e36fe531f1c91f8fbf1.jpg","text":"TemporaryFile(/tmp/multipartBody3907143882559193720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136696491,"filename":"image_31102025_01_00_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/3/990aa14b562a7721dd01aa8d88ad0b97.jpg","text":"TemporaryFile(/tmp/multipartBody4215817228071058739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136696491,"filename":"image_31102025_01_00_16_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/3/9e310f948c606d39be8ae1dfff3ecde2.jpg","text":"TemporaryFile(/tmp/multipartBody453644057333949476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136696491,"filename":"image_31102025_01_00_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/3/f1d2962163dc7bcf54ca123c22498d65.jpg","text":"TemporaryFile(/tmp/multipartBody5440266795098037509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136696491,"filename":"image_31102025_00_59_26_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976745","file1":"1391976743","file0":"1391976742","file4":"1391976749","file5":"1391976751","file3":"1391976747"},"map_files_photo_id_array":[{"photo_id":"1391976751","filename":"file5"},{"photo_id":"1391976745","filename":"file2"},{"photo_id":"1391976749","filename":"file4"},{"photo_id":"1391976743","filename":"file1"},{"photo_id":"1391976742","filename":"file0"},{"photo_id":"1391976747","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976751":["hashtag1","hashtag2"]},{"1391976745":["hashtag1","hashtag2"]},{"1391976747":["hashtag1","hashtag2"]},{"1391976743":["hashtag1","hashtag2"]},{"1391976749":["hashtag1","hashtag2"]},{"1391976742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976751, 1391976745, 1391976747, 1391976743, 1391976749, 1391976742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.63557887077332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:24:44.250867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_50_2918.jpg', '/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_52_2277.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_02_2734.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_04_2626.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_11_3688.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_13_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_50_2918.jpg
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_52_2277.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_02_2734.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_04_2626.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_11_3688.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_13_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: 3.167137861251831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:25:04.054404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_51_2683.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_55_3614.jpg', '/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_58_2781.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_04_3736.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_07_2646.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_09_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/14/44/image_30102025_14_44_51_2683.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_55_3614.jpg
/home/pi/Desktop/images/30102025/14/44/image_30102025_14_44_58_2781.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_04_3736.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_07_2646.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_09_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976759","1391976762","1391976761","1391976758","1391976760","1391976763"],"photo_ids_order":["1391976758","1391976759","1391976760","1391976761","1391976762","1391976763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f7d9e05ec4d083872ebd240352f0be6.jpg","text":"TemporaryFile(/tmp/multipartBody5825292934514996652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136768839,"filename":"image_30102025_14_44_55_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/3/017991adee75926c11fa2c4b503ce645.jpg","text":"TemporaryFile(/tmp/multipartBody7683717082379853408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136768839,"filename":"image_30102025_14_45_07_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/3/469e22564742cd50c2fb62f02050aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody3360150058292586099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136768839,"filename":"image_30102025_14_45_04_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/3/ea9067eb7aa7bf7642547460b7c7d907.jpg","text":"TemporaryFile(/tmp/multipartBody628763006753476688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136768839,"filename":"image_30102025_14_44_51_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/32c578b06b5b41b5209e91e60c33cb48.jpg","text":"TemporaryFile(/tmp/multipartBody2157583395052239893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136768839,"filename":"image_30102025_14_44_58_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/3/327b68175836b0be3989bc247e11cc8d.jpg","text":"TemporaryFile(/tmp/multipartBody4750596881356885388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136768839,"filename":"image_30102025_14_45_09_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976760","file1":"1391976759","file0":"1391976758","file4":"1391976762","file5":"1391976763","file3":"1391976761"},"map_files_photo_id_array":[{"photo_id":"1391976763","filename":"file5"},{"photo_id":"1391976760","filename":"file2"},{"photo_id":"1391976762","filename":"file4"},{"photo_id":"1391976759","filename":"file1"},{"photo_id":"1391976758","filename":"file0"},{"photo_id":"1391976761","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976759":["hashtag1","hashtag2"]},{"1391976762":["hashtag1","hashtag2"]},{"1391976761":["hashtag1","hashtag2"]},{"1391976758":["hashtag1","hashtag2"]},{"1391976760":["hashtag1","hashtag2"]},{"1391976763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976759, 1391976762, 1391976761, 1391976758, 1391976760, 1391976763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.33090114593506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:26:03.236097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_13_3729.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_16_2649.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_22_3639.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_28_2615.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_31_3579.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_43_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/14/45/image_30102025_14_45_13_3729.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_16_2649.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_22_3639.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_28_2615.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_31_3579.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_43_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976771","1391976774","1391976776","1391976770","1391976772","1391976778"],"photo_ids_order":["1391976770","1391976771","1391976772","1391976774","1391976776","1391976778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ca121b59137347024af54c0a27d503b0.jpg","text":"TemporaryFile(/tmp/multipartBody2889820734893237115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136825239,"filename":"image_30102025_14_45_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/3/df05e2e01a958f1ef975ca6b0ff44da6.jpg","text":"TemporaryFile(/tmp/multipartBody8989887756867013205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136825239,"filename":"image_30102025_14_45_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/3/c6148c63daee840e08309a8055204e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5965578071488841684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136825239,"filename":"image_30102025_14_45_31_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/3/6a46e5364d3dfa4239fcdf60ebae5826.jpg","text":"TemporaryFile(/tmp/multipartBody2402189090603095197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136825239,"filename":"image_30102025_14_45_13_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/3/998f8f9c109ade8b91c2630b76047a60.jpg","text":"TemporaryFile(/tmp/multipartBody4222144889273849743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136825239,"filename":"image_30102025_14_45_22_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/3/d9d8afeab92f5f115ab42c60becbe2b8.jpg","text":"TemporaryFile(/tmp/multipartBody5974376346589005476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136825239,"filename":"image_30102025_14_45_43_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976772","file1":"1391976771","file0":"1391976770","file4":"1391976776","file5":"1391976778","file3":"1391976774"},"map_files_photo_id_array":[{"photo_id":"1391976778","filename":"file5"},{"photo_id":"1391976772","filename":"file2"},{"photo_id":"1391976776","filename":"file4"},{"photo_id":"1391976771","filename":"file1"},{"photo_id":"1391976770","filename":"file0"},{"photo_id":"1391976774","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976771":["hashtag1","hashtag2"]},{"1391976774":["hashtag1","hashtag2"]},{"1391976776":["hashtag1","hashtag2"]},{"1391976770":["hashtag1","hashtag2"]},{"1391976772":["hashtag1","hashtag2"]},{"1391976778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976771, 1391976774, 1391976776, 1391976770, 1391976772, 1391976778)","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 = 1391976772 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_22_3639.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.86600184440613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:27:02.887943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_46_2594.jpg', '/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_48_2685.jpg', '/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_09_2700.jpg', '/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_16_2696.jpg', '/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_18_2753.jpg', '/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_22_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/14/45/image_30102025_14_45_46_2594.jpg
/home/pi/Desktop/images/30102025/14/45/image_30102025_14_45_48_2685.jpg
/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_09_2700.jpg
/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_16_2696.jpg
/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_18_2753.jpg
/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_22_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391976789","1391976791","1391976785","1391976784","1391976793","1391976787"],"photo_ids_order":["1391976784","1391976785","1391976787","1391976789","1391976791","1391976793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e0eb4bb550cca3c1b124cc0c833acb5.jpg","text":"TemporaryFile(/tmp/multipartBody7789038296967507957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136884844,"filename":"image_30102025_14_46_16_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/3/81361008f042a40549d2223e02b44716.jpg","text":"TemporaryFile(/tmp/multipartBody3073017533327533460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136884844,"filename":"image_30102025_14_46_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/3/d15e568c794fd9d3ad79f4619ab03c75.jpg","text":"TemporaryFile(/tmp/multipartBody1763155558669608305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136884844,"filename":"image_30102025_14_45_48_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/3/dcc963150eb2c2c152420c32627dcc82.jpg","text":"TemporaryFile(/tmp/multipartBody2660564944228200680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136884844,"filename":"image_30102025_14_45_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/3/f589d37138fa945ddab8b52f43b178a2.jpg","text":"TemporaryFile(/tmp/multipartBody6195945983077442065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136884844,"filename":"image_30102025_14_46_22_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/3/cda91125cb3ac35df66874104d8dd531.jpg","text":"TemporaryFile(/tmp/multipartBody4294204022337916614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136884844,"filename":"image_30102025_14_46_09_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976787","file1":"1391976785","file0":"1391976784","file4":"1391976791","file5":"1391976793","file3":"1391976789"},"map_files_photo_id_array":[{"photo_id":"1391976793","filename":"file5"},{"photo_id":"1391976787","filename":"file2"},{"photo_id":"1391976791","filename":"file4"},{"photo_id":"1391976785","filename":"file1"},{"photo_id":"1391976784","filename":"file0"},{"photo_id":"1391976789","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976789":["hashtag1","hashtag2"]},{"1391976791":["hashtag1","hashtag2"]},{"1391976785":["hashtag1","hashtag2"]},{"1391976784":["hashtag1","hashtag2"]},{"1391976793":["hashtag1","hashtag2"]},{"1391976787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976789, 1391976791, 1391976785, 1391976784, 1391976793, 1391976787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.52367281913757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:28:02.717169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_28_3580.jpg', '/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_31_2696.jpg', '/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_33_2644.jpg', '/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_37_3685.jpg', '/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_46_3687.jpg', '/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_49_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/14/46/image_30102025_14_46_28_3580.jpg
/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_31_2696.jpg
/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_33_2644.jpg
/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_37_3685.jpg
/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_46_3687.jpg
/home/pi/Desktop/images/30102025/14/46/image_30102025_14_46_49_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976798","1391976801","1391976797","1391976800","1391976799","1391976796"],"photo_ids_order":["1391976796","1391976797","1391976798","1391976799","1391976800","1391976801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/78ecdc70983f87b258bf4b381e918585.jpg","text":"TemporaryFile(/tmp/multipartBody6883866080983656588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136944531,"filename":"image_30102025_14_46_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/3/c8d0cf88096c08e5650b53eacb3b2b66.jpg","text":"TemporaryFile(/tmp/multipartBody61163642209762145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136944531,"filename":"image_30102025_14_46_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/3/c7d6a90afa2ef5bf6dc17535cfaf45d6.jpg","text":"TemporaryFile(/tmp/multipartBody5815103356768615128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136944531,"filename":"image_30102025_14_46_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/3/bd60a6d6252096b5e2b2f7601ca31b32.jpg","text":"TemporaryFile(/tmp/multipartBody1158539838409369868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136944531,"filename":"image_30102025_14_46_46_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/3/b4e675eb1051472f83bbaf2036c3e413.jpg","text":"TemporaryFile(/tmp/multipartBody4750666023817410586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136944531,"filename":"image_30102025_14_46_37_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/3/76b34d701efd1ac94292b52058f48ce5.jpg","text":"TemporaryFile(/tmp/multipartBody6968072131491593178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762136944531,"filename":"image_30102025_14_46_28_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976798","file1":"1391976797","file0":"1391976796","file4":"1391976800","file5":"1391976801","file3":"1391976799"},"map_files_photo_id_array":[{"photo_id":"1391976801","filename":"file5"},{"photo_id":"1391976798","filename":"file2"},{"photo_id":"1391976800","filename":"file4"},{"photo_id":"1391976797","filename":"file1"},{"photo_id":"1391976796","filename":"file0"},{"photo_id":"1391976799","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976798":["hashtag1","hashtag2"]},{"1391976801":["hashtag1","hashtag2"]},{"1391976797":["hashtag1","hashtag2"]},{"1391976800":["hashtag1","hashtag2"]},{"1391976799":["hashtag1","hashtag2"]},{"1391976796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976798, 1391976801, 1391976797, 1391976800, 1391976799, 1391976796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22970175743103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:28:42.258103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_50_2918.jpg', '/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_52_2277.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_02_2734.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_04_2626.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_11_3688.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_13_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_50_2918.jpg
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_52_2277.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_02_2734.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_04_2626.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_11_3688.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_13_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: 2.9428117275238037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:29:03.813270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 03:29:28.184014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 03:29:49.273694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 03:30:03.252168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-03 03:30:25.296523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_03_1591.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_07_3569.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_09_2552.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_15_5480.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_18_1640.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_25_7325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_03_1591.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_07_3569.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_09_2552.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_15_5480.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_18_1640.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_25_7325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976826","1391976831","1391976828","1391976830","1391976827","1391976829"],"photo_ids_order":["1391976826","1391976827","1391976828","1391976829","1391976830","1391976831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c627bb388a2facbc94a0b20a001de71b.jpg","text":"TemporaryFile(/tmp/multipartBody5623660074765347498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137143927,"filename":"image_30102025_14_47_03_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/3/e3c3e140bfec27be46e7350a146abc56.jpg","text":"TemporaryFile(/tmp/multipartBody7879546812848669726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137143927,"filename":"image_30102025_14_47_25_7325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/16b5be7b2b1f4a9ea9ddfd860a0b8ce6.jpg","text":"TemporaryFile(/tmp/multipartBody8862966332778963407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137143927,"filename":"image_30102025_14_47_09_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/3/07ee8a9cf9fc45093d7b69bb072ab18e.jpg","text":"TemporaryFile(/tmp/multipartBody86590834189226442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137143927,"filename":"image_30102025_14_47_18_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/3/af01dd90dd39243c0b542cf0d5cf4f8b.jpg","text":"TemporaryFile(/tmp/multipartBody4327086849118904421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137143927,"filename":"image_30102025_14_47_07_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/3/f308f7c4c4939b6d9dabfce6c065675c.jpg","text":"TemporaryFile(/tmp/multipartBody8917364014560033027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137143927,"filename":"image_30102025_14_47_15_5480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976828","file1":"1391976827","file0":"1391976826","file4":"1391976830","file5":"1391976831","file3":"1391976829"},"map_files_photo_id_array":[{"photo_id":"1391976831","filename":"file5"},{"photo_id":"1391976828","filename":"file2"},{"photo_id":"1391976830","filename":"file4"},{"photo_id":"1391976827","filename":"file1"},{"photo_id":"1391976826","filename":"file0"},{"photo_id":"1391976829","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976826":["hashtag1","hashtag2"]},{"1391976831":["hashtag1","hashtag2"]},{"1391976828":["hashtag1","hashtag2"]},{"1391976830":["hashtag1","hashtag2"]},{"1391976827":["hashtag1","hashtag2"]},{"1391976829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976826, 1391976831, 1391976828, 1391976830, 1391976827, 1391976829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.9577054977417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:32:02.712517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_32_1778.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_36_2646.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_42_2796.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_46_3667.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_50_4242.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_52_1676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_32_1778.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_36_2646.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_42_2796.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_46_3667.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_50_4242.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_52_1676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976832","1391976834","1391976837","1391976836","1391976833","1391976835"],"photo_ids_order":["1391976832","1391976833","1391976834","1391976835","1391976836","1391976837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2ac6daeba11bbdc00e0f8743078525a9.jpg","text":"TemporaryFile(/tmp/multipartBody5146382990362919636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137184678,"filename":"image_30102025_14_47_32_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e9bc55f59b97b25fce4ecccf910358dd.jpg","text":"TemporaryFile(/tmp/multipartBody2892640338745966894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137184678,"filename":"image_30102025_14_47_42_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/3/b5abc0b2518c8d16eaae29d9f83800df.jpg","text":"TemporaryFile(/tmp/multipartBody4802383633933224235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137184678,"filename":"image_30102025_14_47_52_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/3/5c6c4e159fee9acce48965a444e4e122.jpg","text":"TemporaryFile(/tmp/multipartBody1903776956729155638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137184678,"filename":"image_30102025_14_47_50_4242.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a6007bda724066810f95df17e9abc531.jpg","text":"TemporaryFile(/tmp/multipartBody6511649134027163200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137184678,"filename":"image_30102025_14_47_36_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/3/1f5a93f0038e737af54fe5d296648e6f.jpg","text":"TemporaryFile(/tmp/multipartBody8393564022593616583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137184678,"filename":"image_30102025_14_47_46_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976834","file1":"1391976833","file0":"1391976832","file4":"1391976836","file5":"1391976837","file3":"1391976835"},"map_files_photo_id_array":[{"photo_id":"1391976837","filename":"file5"},{"photo_id":"1391976834","filename":"file2"},{"photo_id":"1391976836","filename":"file4"},{"photo_id":"1391976833","filename":"file1"},{"photo_id":"1391976832","filename":"file0"},{"photo_id":"1391976835","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976832":["hashtag1","hashtag2"]},{"1391976834":["hashtag1","hashtag2"]},{"1391976837":["hashtag1","hashtag2"]},{"1391976836":["hashtag1","hashtag2"]},{"1391976833":["hashtag1","hashtag2"]},{"1391976835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976832, 1391976834, 1391976837, 1391976836, 1391976833, 1391976835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99398851394653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:32:42.279740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_50_2918.jpg', '/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_52_2277.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_02_2734.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_04_2626.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_11_3688.jpg', '/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_13_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_50_2918.jpg
/home/pi/Desktop/images/31102025/01/00/image_31102025_01_00_52_2277.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_02_2734.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_04_2626.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_11_3688.jpg
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_13_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976846","1391976849","1391976845","1391976839","1391976848","1391976847"],"photo_ids_order":["1391976839","1391976845","1391976846","1391976847","1391976848","1391976849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/237f2f72f63636b323aac45578f5947e.jpg","text":"TemporaryFile(/tmp/multipartBody958777929801842257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137223223,"filename":"image_31102025_01_01_02_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/3/0be7b4cc989d9dae5a2fd0bf61462e3a.jpg","text":"TemporaryFile(/tmp/multipartBody6137065900783258619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137223223,"filename":"image_31102025_01_01_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/3/932ba16880f4e6a0626f9495dc67104b.jpg","text":"TemporaryFile(/tmp/multipartBody6568462187451383171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137223223,"filename":"image_31102025_01_00_52_2277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2933994d54a51756f8bc0127237b01f9.jpg","text":"TemporaryFile(/tmp/multipartBody6398177544408554047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137223223,"filename":"image_31102025_01_00_50_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/3/d3ecb1ef92757fc41112f860521e89d0.jpg","text":"TemporaryFile(/tmp/multipartBody5210508877088491160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137223223,"filename":"image_31102025_01_01_11_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/3/d3af236aea460142c3fd8da25fe4f1c7.jpg","text":"TemporaryFile(/tmp/multipartBody3368168118264846819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137223223,"filename":"image_31102025_01_01_04_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976846","file1":"1391976845","file0":"1391976839","file4":"1391976848","file5":"1391976849","file3":"1391976847"},"map_files_photo_id_array":[{"photo_id":"1391976849","filename":"file5"},{"photo_id":"1391976846","filename":"file2"},{"photo_id":"1391976848","filename":"file4"},{"photo_id":"1391976845","filename":"file1"},{"photo_id":"1391976839","filename":"file0"},{"photo_id":"1391976847","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976846":["hashtag1","hashtag2"]},{"1391976849":["hashtag1","hashtag2"]},{"1391976845":["hashtag1","hashtag2"]},{"1391976839":["hashtag1","hashtag2"]},{"1391976848":["hashtag1","hashtag2"]},{"1391976847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976846, 1391976849, 1391976845, 1391976839, 1391976848, 1391976847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.588494062423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:33:22.520387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_56_4397.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_58_1773.jpg', '/home/pi/Desktop/images/30102025/14/47/image_30102025_14_48_00_2551.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_10_3619.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_12_2644.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_15_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_56_4397.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_47_58_1773.jpg
/home/pi/Desktop/images/30102025/14/47/image_30102025_14_48_00_2551.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_10_3619.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_12_2644.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_15_2860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976850","1391976852","1391976855","1391976857","1391976851","1391976853"],"photo_ids_order":["1391976850","1391976851","1391976852","1391976853","1391976855","1391976857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/540525c44bb59ceea286f0831197ec3c.jpg","text":"TemporaryFile(/tmp/multipartBody5296847104407432439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137264918,"filename":"image_30102025_14_47_56_4397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3faa742f760c657c61ea47634151ed24.jpg","text":"TemporaryFile(/tmp/multipartBody2583928253643165228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137264918,"filename":"image_30102025_14_48_00_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/3/5d47fa4eb985f05f750e4ad7b8602247.jpg","text":"TemporaryFile(/tmp/multipartBody4718147680160837375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137264918,"filename":"image_30102025_14_48_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/3/2ae449dcbf30d74bb1f7b9cdc62754e3.jpg","text":"TemporaryFile(/tmp/multipartBody6480257345532758689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137264918,"filename":"image_30102025_14_48_15_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/3/b9fc2705cc8464ffb3268e9e6174aede.jpg","text":"TemporaryFile(/tmp/multipartBody4863456450507189390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137264918,"filename":"image_30102025_14_47_58_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2207bc29875ba7439a7376fb5e7bf4ad.jpg","text":"TemporaryFile(/tmp/multipartBody5397220087247274648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137264918,"filename":"image_30102025_14_48_10_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976852","file1":"1391976851","file0":"1391976850","file4":"1391976855","file5":"1391976857","file3":"1391976853"},"map_files_photo_id_array":[{"photo_id":"1391976857","filename":"file5"},{"photo_id":"1391976852","filename":"file2"},{"photo_id":"1391976855","filename":"file4"},{"photo_id":"1391976851","filename":"file1"},{"photo_id":"1391976850","filename":"file0"},{"photo_id":"1391976853","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976850":["hashtag1","hashtag2"]},{"1391976852":["hashtag1","hashtag2"]},{"1391976855":["hashtag1","hashtag2"]},{"1391976857":["hashtag1","hashtag2"]},{"1391976851":["hashtag1","hashtag2"]},{"1391976853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976850, 1391976852, 1391976855, 1391976857, 1391976851, 1391976853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.327752351760864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:34:03.452484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_22_2645.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_28_3623.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_31_2628.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_33_2548.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_37_3720.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_40_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/14/48/image_30102025_14_48_22_2645.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_28_3623.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_31_2628.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_33_2548.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_37_3720.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_40_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976864","1391976867","1391976863","1391976866","1391976865","1391976862"],"photo_ids_order":["1391976862","1391976863","1391976864","1391976865","1391976866","1391976867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b21e60ab647c3ebe045472dbaadcf3c.jpg","text":"TemporaryFile(/tmp/multipartBody3511522028505399459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137305328,"filename":"image_30102025_14_48_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/3/c9d25ad1585412e1248561121845b39b.jpg","text":"TemporaryFile(/tmp/multipartBody4932257545015337153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137305328,"filename":"image_30102025_14_48_40_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/3/c73ded3417b6068da36d0b2f2da1e495.jpg","text":"TemporaryFile(/tmp/multipartBody601459234015460213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137305328,"filename":"image_30102025_14_48_28_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/3/5ec9c13ea1a708f8acfb1f5c96d41932.jpg","text":"TemporaryFile(/tmp/multipartBody8226592434505112832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137305328,"filename":"image_30102025_14_48_37_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/20d5e341d82fb7f5e54382965201c927.jpg","text":"TemporaryFile(/tmp/multipartBody3863442554593804901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137305328,"filename":"image_30102025_14_48_33_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/3/5ef073816aff2a4e808b6d6c3d5594e7.jpg","text":"TemporaryFile(/tmp/multipartBody8522398008549931418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137305328,"filename":"image_30102025_14_48_22_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976864","file1":"1391976863","file0":"1391976862","file4":"1391976866","file5":"1391976867","file3":"1391976865"},"map_files_photo_id_array":[{"photo_id":"1391976867","filename":"file5"},{"photo_id":"1391976864","filename":"file2"},{"photo_id":"1391976866","filename":"file4"},{"photo_id":"1391976863","filename":"file1"},{"photo_id":"1391976862","filename":"file0"},{"photo_id":"1391976865","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976864":["hashtag1","hashtag2"]},{"1391976867":["hashtag1","hashtag2"]},{"1391976863":["hashtag1","hashtag2"]},{"1391976866":["hashtag1","hashtag2"]},{"1391976865":["hashtag1","hashtag2"]},{"1391976862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976864, 1391976867, 1391976863, 1391976866, 1391976865, 1391976862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.160041093826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:34:42.864237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_22_2120.jpg', '/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_22_2557.jpg', '/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_26_3816.jpg', '/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_28_2698.jpg', '/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_49_2715.jpg', '/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_58_2831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/01/image_31102025_01_01_22_2120.jpg
/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_22_2557.jpg
/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_26_3816.jpg
/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_28_2698.jpg
/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_49_2715.jpg
/home/pi/Desktop/images/31102025/01/02/image_31102025_01_02_58_2831.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976876","1391976879","1391976870","1391976872","1391976878","1391976874"],"photo_ids_order":["1391976870","1391976872","1391976874","1391976876","1391976878","1391976879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8bdd4b13a023e73da927564ceb0f2a31.jpg","text":"TemporaryFile(/tmp/multipartBody8649436699726578604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137343985,"filename":"image_31102025_01_02_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/3/5eddb923cd323891799f1154f34419dd.jpg","text":"TemporaryFile(/tmp/multipartBody2325430725492943091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137343985,"filename":"image_31102025_01_02_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/3/f795dd188f7e4b0396bb4985324d6a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4699906220349931609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137343985,"filename":"image_31102025_01_01_22_2120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2db2bdc97d274921da52cbd8d104464.jpg","text":"TemporaryFile(/tmp/multipartBody9115785636147833947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137343985,"filename":"image_31102025_01_02_22_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/3/9e399dd2f60e4b93c97cfb0882667870.jpg","text":"TemporaryFile(/tmp/multipartBody3822900727157859728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137343985,"filename":"image_31102025_01_02_49_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/3/628ff28062f7dcb57c19e3f106846d96.jpg","text":"TemporaryFile(/tmp/multipartBody4163622561125327765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137343985,"filename":"image_31102025_01_02_26_3816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976874","file1":"1391976872","file0":"1391976870","file4":"1391976878","file5":"1391976879","file3":"1391976876"},"map_files_photo_id_array":[{"photo_id":"1391976879","filename":"file5"},{"photo_id":"1391976874","filename":"file2"},{"photo_id":"1391976878","filename":"file4"},{"photo_id":"1391976872","filename":"file1"},{"photo_id":"1391976870","filename":"file0"},{"photo_id":"1391976876","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976876":["hashtag1","hashtag2"]},{"1391976879":["hashtag1","hashtag2"]},{"1391976870":["hashtag1","hashtag2"]},{"1391976872":["hashtag1","hashtag2"]},{"1391976878":["hashtag1","hashtag2"]},{"1391976874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976876, 1391976879, 1391976870, 1391976872, 1391976878, 1391976874)","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.31296515464783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:36:02.554849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 03:36:22.256919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 03:36:42.230957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/03/image_31102025_01_03_35_2775.jpg', '/home/pi/Desktop/images/31102025/01/03/image_31102025_01_03_40_2795.jpg', '/home/pi/Desktop/images/31102025/01/03/image_31102025_01_03_55_2725.jpg', '/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_01_3045.jpg', '/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_04_2913.jpg', '/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_34_3185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/03/image_31102025_01_03_35_2775.jpg
/home/pi/Desktop/images/31102025/01/03/image_31102025_01_03_40_2795.jpg
/home/pi/Desktop/images/31102025/01/03/image_31102025_01_03_55_2725.jpg
/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_01_3045.jpg
/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_04_2913.jpg
/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_34_3185.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976901","1391976904","1391976906","1391976903","1391976905","1391976902"],"photo_ids_order":["1391976901","1391976902","1391976903","1391976904","1391976905","1391976906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/80c5d41fe3a5046ddfbf02fd71bba7c1.jpg","text":"TemporaryFile(/tmp/multipartBody8560915562278312423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137496990,"filename":"image_31102025_01_03_35_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/3/40d41910d1910fb0fae0cd60353aac45.jpg","text":"TemporaryFile(/tmp/multipartBody7239509970342768554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137496990,"filename":"image_31102025_01_04_01_3045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b391eb04c57233a1941abb10c94eafb1.jpg","text":"TemporaryFile(/tmp/multipartBody8260201277677151377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137496990,"filename":"image_31102025_01_04_34_3185.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/00c70c8b29241eb8a42b5362183aee5f.jpg","text":"TemporaryFile(/tmp/multipartBody2536171109720057738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137496990,"filename":"image_31102025_01_03_55_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/3/a3e9ed1cd6ee6321658b85985a4b260c.jpg","text":"TemporaryFile(/tmp/multipartBody8846802076162610955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137496990,"filename":"image_31102025_01_04_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/3/f083a4ea93be5355d529eef6d12a1aca.jpg","text":"TemporaryFile(/tmp/multipartBody6153963762191089723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137496990,"filename":"image_31102025_01_03_40_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976903","file1":"1391976902","file0":"1391976901","file4":"1391976905","file5":"1391976906","file3":"1391976904"},"map_files_photo_id_array":[{"photo_id":"1391976906","filename":"file5"},{"photo_id":"1391976903","filename":"file2"},{"photo_id":"1391976905","filename":"file4"},{"photo_id":"1391976902","filename":"file1"},{"photo_id":"1391976901","filename":"file0"},{"photo_id":"1391976904","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976901":["hashtag1","hashtag2"]},{"1391976904":["hashtag1","hashtag2"]},{"1391976906":["hashtag1","hashtag2"]},{"1391976903":["hashtag1","hashtag2"]},{"1391976905":["hashtag1","hashtag2"]},{"1391976902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976901, 1391976904, 1391976906, 1391976903, 1391976905, 1391976902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.99932670593262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:38:02.547745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_42_2844.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_45_2702.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_49_3655.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_51_2598.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_54_2964.jpg', '/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_57_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/14/48/image_30102025_14_48_42_2844.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_45_2702.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_49_3655.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_51_2598.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_54_2964.jpg
/home/pi/Desktop/images/30102025/14/48/image_30102025_14_48_57_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976916","1391976919","1391976915","1391976918","1391976917","1391976914"],"photo_ids_order":["1391976914","1391976915","1391976916","1391976917","1391976918","1391976919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ea745e88acdb36283b4836b7d9576b3.jpg","text":"TemporaryFile(/tmp/multipartBody101998255726976234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137544420,"filename":"image_30102025_14_48_49_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/3/2f32e0255967e9094930942e9423d24a.jpg","text":"TemporaryFile(/tmp/multipartBody8398615888003092021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137544420,"filename":"image_30102025_14_48_57_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/50abd0b9c1d09767d6e187dcc26d5bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7900282685763459635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137544420,"filename":"image_30102025_14_48_45_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/3/b59edee0ad99e90f78ad93022a0e5ee0.jpg","text":"TemporaryFile(/tmp/multipartBody3130189541423395926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137544420,"filename":"image_30102025_14_48_54_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/3/c10c3adcfc8be80f6e251e07815408a7.jpg","text":"TemporaryFile(/tmp/multipartBody6276101211347323657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137544420,"filename":"image_30102025_14_48_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/3/eb725b4404a70f1af796ae8eb98ef057.jpg","text":"TemporaryFile(/tmp/multipartBody3456497149785370021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137544420,"filename":"image_30102025_14_48_42_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976916","file1":"1391976915","file0":"1391976914","file4":"1391976918","file5":"1391976919","file3":"1391976917"},"map_files_photo_id_array":[{"photo_id":"1391976919","filename":"file5"},{"photo_id":"1391976916","filename":"file2"},{"photo_id":"1391976918","filename":"file4"},{"photo_id":"1391976915","filename":"file1"},{"photo_id":"1391976914","filename":"file0"},{"photo_id":"1391976917","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976916":["hashtag1","hashtag2"]},{"1391976919":["hashtag1","hashtag2"]},{"1391976915":["hashtag1","hashtag2"]},{"1391976918":["hashtag1","hashtag2"]},{"1391976917":["hashtag1","hashtag2"]},{"1391976914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976916, 1391976919, 1391976915, 1391976918, 1391976917, 1391976914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89609503746033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:38:42.153934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_43_2553.jpg', '/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_52_2669.jpg', '/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_58_2810.jpg', '/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_10_2736.jpg', '/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_28_2709.jpg', '/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_37_2074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_43_2553.jpg
/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_52_2669.jpg
/home/pi/Desktop/images/31102025/01/04/image_31102025_01_04_58_2810.jpg
/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_10_2736.jpg
/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_28_2709.jpg
/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_37_2074.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976925","1391976927","1391976926","1391976929","1391976920","1391976928"],"photo_ids_order":["1391976920","1391976925","1391976926","1391976927","1391976928","1391976929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3cb90982246c4169611929af1977290b.jpg","text":"TemporaryFile(/tmp/multipartBody1172192268425075148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137583317,"filename":"image_31102025_01_04_52_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1447dde3fccfd49f66a160c18a7a9b9.jpg","text":"TemporaryFile(/tmp/multipartBody8001604069931037108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137583317,"filename":"image_31102025_01_05_10_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/3/8b4544153a06c60461bf06d4943d8694.jpg","text":"TemporaryFile(/tmp/multipartBody1670839419986276659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137583317,"filename":"image_31102025_01_04_58_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/3/18f9ae59beb3fe1142956568670ccc64.jpg","text":"TemporaryFile(/tmp/multipartBody4840126756495593541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137583317,"filename":"image_31102025_01_05_37_2074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c12c5b5c26e7a612fb969ccab2722be3.jpg","text":"TemporaryFile(/tmp/multipartBody4023788436735203332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137583317,"filename":"image_31102025_01_04_43_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/3/8e245057ca6c57bdfda56e61a3fea759.jpg","text":"TemporaryFile(/tmp/multipartBody3959441538548908083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137583317,"filename":"image_31102025_01_05_28_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976926","file1":"1391976925","file0":"1391976920","file4":"1391976928","file5":"1391976929","file3":"1391976927"},"map_files_photo_id_array":[{"photo_id":"1391976929","filename":"file5"},{"photo_id":"1391976926","filename":"file2"},{"photo_id":"1391976928","filename":"file4"},{"photo_id":"1391976925","filename":"file1"},{"photo_id":"1391976920","filename":"file0"},{"photo_id":"1391976927","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976925":["hashtag1","hashtag2"]},{"1391976927":["hashtag1","hashtag2"]},{"1391976926":["hashtag1","hashtag2"]},{"1391976929":["hashtag1","hashtag2"]},{"1391976920":["hashtag1","hashtag2"]},{"1391976928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976925, 1391976927, 1391976926, 1391976929, 1391976920, 1391976928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61622071266174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:39:22.718679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/48/image_30102025_14_49_01_3631.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_03_2600.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_06_2665.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_10_3780.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_15_2642.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_19_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/14/48/image_30102025_14_49_01_3631.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_03_2600.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_06_2665.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_10_3780.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_15_2642.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_19_3552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976931","1391976930","1391976933","1391976935","1391976932","1391976934"],"photo_ids_order":["1391976930","1391976931","1391976932","1391976933","1391976934","1391976935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/743b3ad61ef9b80d7c4a9426d408b6b8.jpg","text":"TemporaryFile(/tmp/multipartBody2878546834161175484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137625120,"filename":"image_30102025_14_49_03_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/3/6a05c06a5a995eac5abca84713a180ea.jpg","text":"TemporaryFile(/tmp/multipartBody3523693758254835798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137625120,"filename":"image_30102025_14_49_01_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/3/841bc299adce8869b3d54debefe81230.jpg","text":"TemporaryFile(/tmp/multipartBody3609887930786007932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137625120,"filename":"image_30102025_14_49_10_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/3/252123ee3938782d54e9a3fc7a6c0031.jpg","text":"TemporaryFile(/tmp/multipartBody74339322825099498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137625120,"filename":"image_30102025_14_49_19_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/3/bb6d2d2500be2f993b895872610d0fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3925958718141025622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137625120,"filename":"image_30102025_14_49_06_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/3/3f17a85f731c949977d6925d79d67a54.jpg","text":"TemporaryFile(/tmp/multipartBody1928815529922674076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137625120,"filename":"image_30102025_14_49_15_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976932","file1":"1391976931","file0":"1391976930","file4":"1391976934","file5":"1391976935","file3":"1391976933"},"map_files_photo_id_array":[{"photo_id":"1391976935","filename":"file5"},{"photo_id":"1391976932","filename":"file2"},{"photo_id":"1391976934","filename":"file4"},{"photo_id":"1391976931","filename":"file1"},{"photo_id":"1391976930","filename":"file0"},{"photo_id":"1391976933","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976931":["hashtag1","hashtag2"]},{"1391976930":["hashtag1","hashtag2"]},{"1391976933":["hashtag1","hashtag2"]},{"1391976935":["hashtag1","hashtag2"]},{"1391976932":["hashtag1","hashtag2"]},{"1391976934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976931, 1391976930, 1391976933, 1391976935, 1391976932, 1391976934)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.70605969429016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:40:21.771655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_21_2774.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_24_2630.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_28_3663.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_30_2715.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_33_2615.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_37_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/14/49/image_30102025_14_49_21_2774.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_24_2630.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_28_3663.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_30_2715.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_33_2615.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_37_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976942","1391976944","1391976938","1391976947","1391976946","1391976940"],"photo_ids_order":["1391976938","1391976940","1391976942","1391976944","1391976946","1391976947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d5a9070c246fc34df30643d0f0ff025.jpg","text":"TemporaryFile(/tmp/multipartBody5089398586183445227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137684165,"filename":"image_30102025_14_49_28_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/3/67b1fb68900374bd6a119f59b8fe903e.jpg","text":"TemporaryFile(/tmp/multipartBody2873605399245860282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137684165,"filename":"image_30102025_14_49_30_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/3/2531dbf5d90b019779e0ce763579d395.jpg","text":"TemporaryFile(/tmp/multipartBody4605151850591148222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137684165,"filename":"image_30102025_14_49_21_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/3/7f5f4257adcc5ad27484182146c0bb7b.jpg","text":"TemporaryFile(/tmp/multipartBody69124845664805113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137684165,"filename":"image_30102025_14_49_37_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d7a61218b000945658d98bf0bc92a327.jpg","text":"TemporaryFile(/tmp/multipartBody3407950324009984174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137684165,"filename":"image_30102025_14_49_33_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/79b3365d681e0267547226cfe41fd2fa.jpg","text":"TemporaryFile(/tmp/multipartBody626757699006891376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137684165,"filename":"image_30102025_14_49_24_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976942","file1":"1391976940","file0":"1391976938","file4":"1391976946","file5":"1391976947","file3":"1391976944"},"map_files_photo_id_array":[{"photo_id":"1391976947","filename":"file5"},{"photo_id":"1391976942","filename":"file2"},{"photo_id":"1391976946","filename":"file4"},{"photo_id":"1391976940","filename":"file1"},{"photo_id":"1391976938","filename":"file0"},{"photo_id":"1391976944","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976942":["hashtag1","hashtag2"]},{"1391976944":["hashtag1","hashtag2"]},{"1391976938":["hashtag1","hashtag2"]},{"1391976947":["hashtag1","hashtag2"]},{"1391976946":["hashtag1","hashtag2"]},{"1391976940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976942, 1391976944, 1391976938, 1391976947, 1391976946, 1391976940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06052041053772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:41:02.826246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_39_2569.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_42_2716.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_46_3536.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_48_2655.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_51_2679.jpg', '/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_55_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_39_2569.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_42_2716.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_46_3536.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_48_2655.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_51_2679.jpg
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_49_55_3753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976951","1391976948","1391976953","1391976950","1391976952","1391976949"],"photo_ids_order":["1391976948","1391976949","1391976950","1391976951","1391976952","1391976953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/de1e198b59545d3737467ff261b75554.jpg","text":"TemporaryFile(/tmp/multipartBody8768870150719026316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137724699,"filename":"image_30102025_14_49_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/3/fdbc9ea99b07a6839bd15927d768ef86.jpg","text":"TemporaryFile(/tmp/multipartBody5173485087471668559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137724699,"filename":"image_30102025_14_49_39_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/3/dac995e8091550ef485238c7c54a3db8.jpg","text":"TemporaryFile(/tmp/multipartBody3936016047943811771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137724699,"filename":"image_30102025_14_49_55_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/3/e3e6464b995fbdadaed123f29a4d1ca1.jpg","text":"TemporaryFile(/tmp/multipartBody183598159917430134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137724699,"filename":"image_30102025_14_49_46_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/3/8abf60b50747f49d786c3b334840ce2c.jpg","text":"TemporaryFile(/tmp/multipartBody5280183295176949632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137724699,"filename":"image_30102025_14_49_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/3/29a14bbd211e2e613b8520db880cf7bb.jpg","text":"TemporaryFile(/tmp/multipartBody2430031522812983580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137724699,"filename":"image_30102025_14_49_42_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976950","file1":"1391976949","file0":"1391976948","file4":"1391976952","file5":"1391976953","file3":"1391976951"},"map_files_photo_id_array":[{"photo_id":"1391976953","filename":"file5"},{"photo_id":"1391976950","filename":"file2"},{"photo_id":"1391976952","filename":"file4"},{"photo_id":"1391976949","filename":"file1"},{"photo_id":"1391976948","filename":"file0"},{"photo_id":"1391976951","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976951":["hashtag1","hashtag2"]},{"1391976948":["hashtag1","hashtag2"]},{"1391976953":["hashtag1","hashtag2"]},{"1391976950":["hashtag1","hashtag2"]},{"1391976952":["hashtag1","hashtag2"]},{"1391976949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976951, 1391976948, 1391976953, 1391976950, 1391976952, 1391976949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.275768518447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:41:42.100253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_43_2605.jpg', '/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_49_3759.jpg', '/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_01_2789.jpg', '/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_04_2843.jpg', '/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_07_2773.jpg', '/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_22_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_43_2605.jpg
/home/pi/Desktop/images/31102025/01/05/image_31102025_01_05_49_3759.jpg
/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_01_2789.jpg
/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_04_2843.jpg
/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_07_2773.jpg
/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_22_2826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976960","1391976963","1391976954","1391976962","1391976959","1391976961"],"photo_ids_order":["1391976954","1391976959","1391976960","1391976961","1391976962","1391976963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/96a699791bc8b5692548e8d481baf6ad.jpg","text":"TemporaryFile(/tmp/multipartBody3787555042464971573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137763207,"filename":"image_31102025_01_06_01_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/3/098b78892e0c8a1b7cfc2167fd96192d.jpg","text":"TemporaryFile(/tmp/multipartBody469211380212046237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137763207,"filename":"image_31102025_01_06_22_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/3/dcb6ea5e1548cedabeeb2667c82c7aca.jpg","text":"TemporaryFile(/tmp/multipartBody7882904777313179805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137763207,"filename":"image_31102025_01_05_43_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/3/cdfa909d7df4948d203ab66dfd0aa13d.jpg","text":"TemporaryFile(/tmp/multipartBody4500774815119229133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137763207,"filename":"image_31102025_01_06_07_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/3/581e3b9b68875a0522dcca4487ffcaaa.jpg","text":"TemporaryFile(/tmp/multipartBody9033393487694572046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137763207,"filename":"image_31102025_01_05_49_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/3/ccff3bf51053dcf55cc1021f3ffd9252.jpg","text":"TemporaryFile(/tmp/multipartBody731178299829777316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137763207,"filename":"image_31102025_01_06_04_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976960","file1":"1391976959","file0":"1391976954","file4":"1391976962","file5":"1391976963","file3":"1391976961"},"map_files_photo_id_array":[{"photo_id":"1391976963","filename":"file5"},{"photo_id":"1391976960","filename":"file2"},{"photo_id":"1391976962","filename":"file4"},{"photo_id":"1391976959","filename":"file1"},{"photo_id":"1391976954","filename":"file0"},{"photo_id":"1391976961","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976960":["hashtag1","hashtag2"]},{"1391976963":["hashtag1","hashtag2"]},{"1391976954":["hashtag1","hashtag2"]},{"1391976962":["hashtag1","hashtag2"]},{"1391976959":["hashtag1","hashtag2"]},{"1391976961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976960, 1391976963, 1391976954, 1391976962, 1391976959, 1391976961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69299578666687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:42:22.273944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/49/image_30102025_14_50_00_2659.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_04_3666.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_06_2727.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_09_2713.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_13_3577.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_15_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_50_00_2659.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_04_3666.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_06_2727.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_09_2713.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_13_3577.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_15_2860.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.445246458053589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:42:42.286177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_40_2643.jpg', '/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_52_2753.jpg', '/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_55_3703.jpg', '/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_01_2702.jpg', '/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_13_2713.jpg', '/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_19_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_40_2643.jpg
/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_52_2753.jpg
/home/pi/Desktop/images/31102025/01/06/image_31102025_01_06_55_3703.jpg
/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_01_2702.jpg
/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_13_2713.jpg
/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_19_2852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976969","1391976972","1391976971","1391976974","1391976970","1391976973"],"photo_ids_order":["1391976969","1391976970","1391976971","1391976972","1391976973","1391976974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/107f3782b023d08454e9d6c7789a467c.jpg","text":"TemporaryFile(/tmp/multipartBody300494985080552302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137828182,"filename":"image_31102025_01_06_40_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/3/1f598a4b1a357702e07c2daad9d18201.jpg","text":"TemporaryFile(/tmp/multipartBody977085832369910671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137828182,"filename":"image_31102025_01_07_01_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/101f2f8f2210daa1c9f7583b27b03353.jpg","text":"TemporaryFile(/tmp/multipartBody4524961309914679847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137828182,"filename":"image_31102025_01_06_55_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/3/726e6f7da7a524af680be22f6aa24eba.jpg","text":"TemporaryFile(/tmp/multipartBody1028876283589247633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137828182,"filename":"image_31102025_01_07_19_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/3/d1555e7e30bdce9e5a89e3cd3a1bb285.jpg","text":"TemporaryFile(/tmp/multipartBody3795919547081217344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137828182,"filename":"image_31102025_01_06_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/3/0e23b40a4a6b7cc9dcaedd3803b703b4.jpg","text":"TemporaryFile(/tmp/multipartBody7652436202366042322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137828182,"filename":"image_31102025_01_07_13_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976971","file1":"1391976970","file0":"1391976969","file4":"1391976973","file5":"1391976974","file3":"1391976972"},"map_files_photo_id_array":[{"photo_id":"1391976974","filename":"file5"},{"photo_id":"1391976971","filename":"file2"},{"photo_id":"1391976973","filename":"file4"},{"photo_id":"1391976970","filename":"file1"},{"photo_id":"1391976969","filename":"file0"},{"photo_id":"1391976972","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976969":["hashtag1","hashtag2"]},{"1391976972":["hashtag1","hashtag2"]},{"1391976971":["hashtag1","hashtag2"]},{"1391976974":["hashtag1","hashtag2"]},{"1391976970":["hashtag1","hashtag2"]},{"1391976973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976969, 1391976972, 1391976971, 1391976974, 1391976970, 1391976973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89403462409973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:43:42.077330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_22_3764.jpg', '/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_25_2691.jpg', '/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_34_3737.jpg', '/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_03_2740.jpg', '/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_19_2808.jpg', '/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_22_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_22_3764.jpg
/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_25_2691.jpg
/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_34_3737.jpg
/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_03_2740.jpg
/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_19_2808.jpg
/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_22_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: 1.0334250926971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:44:02.923191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/49/image_30102025_14_50_00_2659.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_04_3666.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_06_2727.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_09_2713.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_13_3577.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_15_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/49/image_30102025_14_50_00_2659.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_04_3666.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_06_2727.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_09_2713.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_13_3577.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_15_2860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976981","1391976984","1391976986","1391976980","1391976982","1391976985"],"photo_ids_order":["1391976980","1391976981","1391976982","1391976984","1391976985","1391976986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6c456c2a6fcf631b5ea4ff1b2b2774c6.jpg","text":"TemporaryFile(/tmp/multipartBody430087700517085888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137904682,"filename":"image_30102025_14_50_04_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb42c462f30d418da333d705216a7a11.jpg","text":"TemporaryFile(/tmp/multipartBody9014645533486739295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137904682,"filename":"image_30102025_14_50_09_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b597451c3caef44051746390d025a5ab.jpg","text":"TemporaryFile(/tmp/multipartBody5164894496453097973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137904682,"filename":"image_30102025_14_50_15_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/3/c9f93571e41716e59eed416d872f8c71.jpg","text":"TemporaryFile(/tmp/multipartBody4521911431718019666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137904682,"filename":"image_30102025_14_50_00_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/3/bcda80fbf84b14318dde33c6bfb6b229.jpg","text":"TemporaryFile(/tmp/multipartBody5876542970987246218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137904682,"filename":"image_30102025_14_50_06_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/3/2b155ea238ac8fd94f7c654f3c7f10c1.jpg","text":"TemporaryFile(/tmp/multipartBody8479013214548544715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137904682,"filename":"image_30102025_14_50_13_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976982","file1":"1391976981","file0":"1391976980","file4":"1391976985","file5":"1391976986","file3":"1391976984"},"map_files_photo_id_array":[{"photo_id":"1391976986","filename":"file5"},{"photo_id":"1391976982","filename":"file2"},{"photo_id":"1391976985","filename":"file4"},{"photo_id":"1391976981","filename":"file1"},{"photo_id":"1391976980","filename":"file0"},{"photo_id":"1391976984","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976981":["hashtag1","hashtag2"]},{"1391976984":["hashtag1","hashtag2"]},{"1391976986":["hashtag1","hashtag2"]},{"1391976980":["hashtag1","hashtag2"]},{"1391976982":["hashtag1","hashtag2"]},{"1391976985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976981, 1391976984, 1391976986, 1391976980, 1391976982, 1391976985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.036237478256226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:44:42.364603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_22_3764.jpg', '/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_25_2691.jpg', '/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_34_3737.jpg', '/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_03_2740.jpg', '/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_19_2808.jpg', '/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_22_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_22_3764.jpg
/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_25_2691.jpg
/home/pi/Desktop/images/31102025/01/07/image_31102025_01_07_34_3737.jpg
/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_03_2740.jpg
/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_19_2808.jpg
/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_22_2816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976993","1391976990","1391976992","1391976989","1391976991","1391976988"],"photo_ids_order":["1391976988","1391976989","1391976990","1391976991","1391976992","1391976993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9c4a0d1b8c52a5b81c6707349d727c0a.jpg","text":"TemporaryFile(/tmp/multipartBody2887850808451166798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137943357,"filename":"image_31102025_01_08_22_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/3/c344c8ec83968c6ca3586728889a504a.jpg","text":"TemporaryFile(/tmp/multipartBody788140183146620668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137943357,"filename":"image_31102025_01_07_34_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4ef5c13ceb793e3ec8d4b34570ae3c26.jpg","text":"TemporaryFile(/tmp/multipartBody6906126029924658552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137943357,"filename":"image_31102025_01_08_19_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/91cdc3db8dd049d13752e74a686b80e3.jpg","text":"TemporaryFile(/tmp/multipartBody3316196317178061711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137943357,"filename":"image_31102025_01_07_25_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/3/83b5184fc9293767dd37c5960fc66378.jpg","text":"TemporaryFile(/tmp/multipartBody6357918784242301323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137943357,"filename":"image_31102025_01_08_03_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/3/e5470e0e8e3db622d1e6381aeb5a46fd.jpg","text":"TemporaryFile(/tmp/multipartBody1825337772169140962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137943357,"filename":"image_31102025_01_07_22_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391976990","file1":"1391976989","file0":"1391976988","file4":"1391976992","file5":"1391976993","file3":"1391976991"},"map_files_photo_id_array":[{"photo_id":"1391976993","filename":"file5"},{"photo_id":"1391976990","filename":"file2"},{"photo_id":"1391976992","filename":"file4"},{"photo_id":"1391976989","filename":"file1"},{"photo_id":"1391976988","filename":"file0"},{"photo_id":"1391976991","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391976993":["hashtag1","hashtag2"]},{"1391976990":["hashtag1","hashtag2"]},{"1391976992":["hashtag1","hashtag2"]},{"1391976989":["hashtag1","hashtag2"]},{"1391976991":["hashtag1","hashtag2"]},{"1391976988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391976993, 1391976990, 1391976992, 1391976989, 1391976991, 1391976988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94450569152832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:45:22.452920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_18_2595.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_22_3542.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_24_2683.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_27_2670.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_31_3674.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_38_7377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_18_2595.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_22_3542.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_24_2683.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_27_2670.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_31_3674.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_38_7377.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391976996","1391977002","1391976998","1391977001","1391977000","1391977003"],"photo_ids_order":["1391976996","1391976998","1391977000","1391977001","1391977002","1391977003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ea607c89c00404e4c05e415e06491ac7.jpg","text":"TemporaryFile(/tmp/multipartBody7711542765607443657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137984931,"filename":"image_30102025_14_50_18_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/88a447410f7a76b2dfc50cff799a59e2.jpg","text":"TemporaryFile(/tmp/multipartBody3612515623114829101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137984931,"filename":"image_30102025_14_50_31_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/3/18d08b096acd129728a6c9e57dd3db87.jpg","text":"TemporaryFile(/tmp/multipartBody1675455091837381525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137984931,"filename":"image_30102025_14_50_22_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/3/d6ec391b9a796a85f6f9d066d8123f5b.jpg","text":"TemporaryFile(/tmp/multipartBody460218177563482592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137984931,"filename":"image_30102025_14_50_27_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d10c369a1eb6d9da74a854c9ef4ead7.jpg","text":"TemporaryFile(/tmp/multipartBody8364474630520769432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137984931,"filename":"image_30102025_14_50_24_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/42652db2b5768425760aef3d254f5791.jpg","text":"TemporaryFile(/tmp/multipartBody7830976505713267044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762137984931,"filename":"image_30102025_14_50_38_7377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977000","file1":"1391976998","file0":"1391976996","file4":"1391977002","file5":"1391977003","file3":"1391977001"},"map_files_photo_id_array":[{"photo_id":"1391977003","filename":"file5"},{"photo_id":"1391977000","filename":"file2"},{"photo_id":"1391977002","filename":"file4"},{"photo_id":"1391976998","filename":"file1"},{"photo_id":"1391976996","filename":"file0"},{"photo_id":"1391977001","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391976996":["hashtag1","hashtag2"]},{"1391977002":["hashtag1","hashtag2"]},{"1391976998":["hashtag1","hashtag2"]},{"1391977001":["hashtag1","hashtag2"]},{"1391977000":["hashtag1","hashtag2"]},{"1391977003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391976996, 1391977002, 1391976998, 1391977001, 1391977000, 1391977003)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.672648429870605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:46:28.136027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_41_1708.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_43_1665.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_46_2637.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_48_2695.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_51_2741.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_54_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/14/50/image_30102025_14_50_41_1708.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_43_1665.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_46_2637.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_48_2695.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_51_2741.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_54_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977012","1391977011","1391977014","1391977013","1391977007","1391977009"],"photo_ids_order":["1391977007","1391977009","1391977011","1391977012","1391977013","1391977014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0049314989d8fc643847eae66203e7ed.jpg","text":"TemporaryFile(/tmp/multipartBody3373696316958139712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138050730,"filename":"image_30102025_14_50_48_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f1c69212cf490fe54d7858a0e95ab12c.jpg","text":"TemporaryFile(/tmp/multipartBody9163629397256740936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138050730,"filename":"image_30102025_14_50_46_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/3/9fd68c4f93020c2d11e52bf374c6778a.jpg","text":"TemporaryFile(/tmp/multipartBody377326147510716821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138050730,"filename":"image_30102025_14_50_54_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/3/ad7d67a9f98145d5ba72fcf6cd00601f.jpg","text":"TemporaryFile(/tmp/multipartBody2912683355974836520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138050730,"filename":"image_30102025_14_50_51_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9fda13feb13ded1cfba6a3e848ed15b8.jpg","text":"TemporaryFile(/tmp/multipartBody2029957229340117488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138050730,"filename":"image_30102025_14_50_41_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/3/43a5ab7fd753eff367bac3c480beb67f.jpg","text":"TemporaryFile(/tmp/multipartBody7047610566601919250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138050730,"filename":"image_30102025_14_50_43_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977011","file1":"1391977009","file0":"1391977007","file4":"1391977013","file5":"1391977014","file3":"1391977012"},"map_files_photo_id_array":[{"photo_id":"1391977014","filename":"file5"},{"photo_id":"1391977011","filename":"file2"},{"photo_id":"1391977013","filename":"file4"},{"photo_id":"1391977009","filename":"file1"},{"photo_id":"1391977007","filename":"file0"},{"photo_id":"1391977012","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977012":["hashtag1","hashtag2"]},{"1391977011":["hashtag1","hashtag2"]},{"1391977014":["hashtag1","hashtag2"]},{"1391977013":["hashtag1","hashtag2"]},{"1391977007":["hashtag1","hashtag2"]},{"1391977009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977012, 1391977011, 1391977014, 1391977013, 1391977007, 1391977009)","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 = 1391977011 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_46_2637.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 68.13404512405396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:47:42.017176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_31_2769.jpg', '/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_34_2786.jpg', '/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_37_2891.jpg', '/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_04_3627.jpg', '/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_27_2632.jpg', '/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_31_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_31_2769.jpg
/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_34_2786.jpg
/home/pi/Desktop/images/31102025/01/08/image_31102025_01_08_37_2891.jpg
/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_04_3627.jpg
/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_27_2632.jpg
/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_31_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977020","1391977022","1391977019","1391977021","1391977015","1391977018"],"photo_ids_order":["1391977015","1391977018","1391977019","1391977020","1391977021","1391977022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5751ce634fec53312ed5d627158dd228.jpg","text":"TemporaryFile(/tmp/multipartBody816557956238420588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138123103,"filename":"image_31102025_01_09_04_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/3/54711f48dd2e96651c782087d22674a5.jpg","text":"TemporaryFile(/tmp/multipartBody4238821894661836203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138123103,"filename":"image_31102025_01_09_31_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/3/a3eb0a5d1fb08b54ec8c73d918936489.jpg","text":"TemporaryFile(/tmp/multipartBody2532447273069858813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138123103,"filename":"image_31102025_01_08_37_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a70228f6fa89f26d7b9640b6eba17eea.jpg","text":"TemporaryFile(/tmp/multipartBody3401768886891610834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138123103,"filename":"image_31102025_01_09_27_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e79e72274b841b6cf60a3040dd729966.jpg","text":"TemporaryFile(/tmp/multipartBody1895713729189520128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138123103,"filename":"image_31102025_01_08_31_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/3/028530d5d85701776d30b1ee7605b31f.jpg","text":"TemporaryFile(/tmp/multipartBody4241172213520954902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138123103,"filename":"image_31102025_01_08_34_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977019","file1":"1391977018","file0":"1391977015","file4":"1391977021","file5":"1391977022","file3":"1391977020"},"map_files_photo_id_array":[{"photo_id":"1391977022","filename":"file5"},{"photo_id":"1391977019","filename":"file2"},{"photo_id":"1391977021","filename":"file4"},{"photo_id":"1391977018","filename":"file1"},{"photo_id":"1391977015","filename":"file0"},{"photo_id":"1391977020","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391977020":["hashtag1","hashtag2"]},{"1391977022":["hashtag1","hashtag2"]},{"1391977019":["hashtag1","hashtag2"]},{"1391977021":["hashtag1","hashtag2"]},{"1391977015":["hashtag1","hashtag2"]},{"1391977018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391977020, 1391977022, 1391977019, 1391977021, 1391977015, 1391977018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70487594604492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:48:22.187094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/50/image_30102025_14_50_58_3803.jpg', '/home/pi/Desktop/images/30102025/14/50/image_30102025_14_51_00_2699.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_03_2736.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_06_2684.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_10_3803.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_19_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/14/50/image_30102025_14_50_58_3803.jpg
/home/pi/Desktop/images/30102025/14/50/image_30102025_14_51_00_2699.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_03_2736.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_06_2684.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_10_3803.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_19_1761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977026","1391977035","1391977034","1391977031","1391977028","1391977036"],"photo_ids_order":["1391977026","1391977028","1391977031","1391977034","1391977035","1391977036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/27f73a28b2dc2438f0e496d697e58501.jpg","text":"TemporaryFile(/tmp/multipartBody8768378719384878286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138164628,"filename":"image_30102025_14_50_58_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/3/c670dd3dfc64be1aa3459e3af026f878.jpg","text":"TemporaryFile(/tmp/multipartBody4012670318294354960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138164628,"filename":"image_30102025_14_51_10_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/3/8cfd3fd01756df4338fa0801b8dcab76.jpg","text":"TemporaryFile(/tmp/multipartBody9188587113146423450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138164628,"filename":"image_30102025_14_51_06_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/3/2e7f7e010bc6e8c86e1a1d7579f1ed0f.jpg","text":"TemporaryFile(/tmp/multipartBody1230844795400282338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138164628,"filename":"image_30102025_14_51_03_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2da5ffc3e45676834838564d22eb14f1.jpg","text":"TemporaryFile(/tmp/multipartBody5026452478573824292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138164628,"filename":"image_30102025_14_51_00_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/3/d314cec0c340ef51198785ca4a01e955.jpg","text":"TemporaryFile(/tmp/multipartBody8002060235478957862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138164628,"filename":"image_30102025_14_51_19_1761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977031","file1":"1391977028","file0":"1391977026","file4":"1391977035","file5":"1391977036","file3":"1391977034"},"map_files_photo_id_array":[{"photo_id":"1391977036","filename":"file5"},{"photo_id":"1391977031","filename":"file2"},{"photo_id":"1391977035","filename":"file4"},{"photo_id":"1391977028","filename":"file1"},{"photo_id":"1391977026","filename":"file0"},{"photo_id":"1391977034","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977026":["hashtag1","hashtag2"]},{"1391977035":["hashtag1","hashtag2"]},{"1391977034":["hashtag1","hashtag2"]},{"1391977031":["hashtag1","hashtag2"]},{"1391977028":["hashtag1","hashtag2"]},{"1391977036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977026, 1391977035, 1391977034, 1391977031, 1391977028, 1391977036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.51940846443176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:49:22.559531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_20_1705.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_24_1610.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_27_3656.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_30_2606.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_33_2669.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_39_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/14/51/image_30102025_14_51_20_1705.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_24_1610.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_27_3656.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_30_2606.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_33_2669.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_39_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977041","1391977038","1391977043","1391977037","1391977046","1391977039"],"photo_ids_order":["1391977037","1391977038","1391977039","1391977041","1391977043","1391977046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d52a0ab60b7e902703d2854b958c5ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3538561152685677902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138224823,"filename":"image_30102025_14_51_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/3/74289a89ffc94684bcd8db0b2a066e10.jpg","text":"TemporaryFile(/tmp/multipartBody6583117385966710270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138224823,"filename":"image_30102025_14_51_24_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/3/0953fa553ecbdff550719f714eec6a27.jpg","text":"TemporaryFile(/tmp/multipartBody3873615731593473752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138224823,"filename":"image_30102025_14_51_33_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e6e40c93c0038194c46ab6e5bae16002.jpg","text":"TemporaryFile(/tmp/multipartBody1046760030743136907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138224823,"filename":"image_30102025_14_51_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/3/85e97a1b0937666c0d74ca0751ad25c3.jpg","text":"TemporaryFile(/tmp/multipartBody3450042820746114432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138224823,"filename":"image_30102025_14_51_39_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/3/173aab06093baf8255bf493ba95de953.jpg","text":"TemporaryFile(/tmp/multipartBody5866672338824760812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138224823,"filename":"image_30102025_14_51_27_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977039","file1":"1391977038","file0":"1391977037","file4":"1391977043","file5":"1391977046","file3":"1391977041"},"map_files_photo_id_array":[{"photo_id":"1391977046","filename":"file5"},{"photo_id":"1391977039","filename":"file2"},{"photo_id":"1391977043","filename":"file4"},{"photo_id":"1391977038","filename":"file1"},{"photo_id":"1391977037","filename":"file0"},{"photo_id":"1391977041","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977041":["hashtag1","hashtag2"]},{"1391977038":["hashtag1","hashtag2"]},{"1391977043":["hashtag1","hashtag2"]},{"1391977037":["hashtag1","hashtag2"]},{"1391977046":["hashtag1","hashtag2"]},{"1391977039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977041, 1391977038, 1391977043, 1391977037, 1391977046, 1391977039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80751132965088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:50:03.028519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_42_2746.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_46_3719.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_48_2590.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_51_2614.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_54_3620.jpg', '/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_57_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_42_2746.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_46_3719.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_48_2590.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_51_2614.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_54_3620.jpg
/home/pi/Desktop/images/30102025/14/51/image_30102025_14_51_57_2538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977050","1391977053","1391977052","1391977055","1391977057","1391977051"],"photo_ids_order":["1391977050","1391977051","1391977052","1391977053","1391977055","1391977057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc04aa8d5f03723a164ffe39ef5aaad4.jpg","text":"TemporaryFile(/tmp/multipartBody2895038851779822004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138264889,"filename":"image_30102025_14_51_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/3/cfcc8f8b11cf1f03c06b548c7f351ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8449066520523830998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138264889,"filename":"image_30102025_14_51_51_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/3/2bfb6ac05a9140734477a08337f9cb15.jpg","text":"TemporaryFile(/tmp/multipartBody8421322662653366911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138264889,"filename":"image_30102025_14_51_48_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/3/26c7bb1fd1cdefc074445930f0f54dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6608370411675877850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138264889,"filename":"image_30102025_14_51_54_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/3/adcf797f0d79d2fee57cdcf4fb8c76b1.jpg","text":"TemporaryFile(/tmp/multipartBody4236038883304408496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138264889,"filename":"image_30102025_14_51_57_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/3/4903f93aca1db12b3ba257a62418bb12.jpg","text":"TemporaryFile(/tmp/multipartBody6837992907341760005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138264889,"filename":"image_30102025_14_51_46_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977052","file1":"1391977051","file0":"1391977050","file4":"1391977055","file5":"1391977057","file3":"1391977053"},"map_files_photo_id_array":[{"photo_id":"1391977057","filename":"file5"},{"photo_id":"1391977052","filename":"file2"},{"photo_id":"1391977055","filename":"file4"},{"photo_id":"1391977051","filename":"file1"},{"photo_id":"1391977050","filename":"file0"},{"photo_id":"1391977053","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977050":["hashtag1","hashtag2"]},{"1391977053":["hashtag1","hashtag2"]},{"1391977052":["hashtag1","hashtag2"]},{"1391977055":["hashtag1","hashtag2"]},{"1391977057":["hashtag1","hashtag2"]},{"1391977051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977050, 1391977053, 1391977052, 1391977055, 1391977057, 1391977051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74750900268555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:50:42.635124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_34_2731.jpg', '/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_36_2758.jpg', '/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_39_2638.jpg', '/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_51_2853.jpg', '/home/pi/Desktop/images/31102025/01/10/image_31102025_01_10_02_4100.jpg', '/home/pi/Desktop/images/31102025/01/10/image_31102025_01_10_04_1788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_34_2731.jpg
/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_36_2758.jpg
/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_39_2638.jpg
/home/pi/Desktop/images/31102025/01/09/image_31102025_01_09_51_2853.jpg
/home/pi/Desktop/images/31102025/01/10/image_31102025_01_10_02_4100.jpg
/home/pi/Desktop/images/31102025/01/10/image_31102025_01_10_04_1788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977062","1391977065","1391977067","1391977064","1391977063","1391977066"],"photo_ids_order":["1391977062","1391977063","1391977064","1391977065","1391977066","1391977067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a37d3d2dc07ea4abc5de4d6238f513b4.jpg","text":"TemporaryFile(/tmp/multipartBody7377031033254416324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138303861,"filename":"image_31102025_01_09_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/3/437bf95e96d1d9038de7dfa09df46831.jpg","text":"TemporaryFile(/tmp/multipartBody5103549621885175517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138303861,"filename":"image_31102025_01_09_51_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/3/b6f4ab3db3e3ca0b4c98048a02834562.jpg","text":"TemporaryFile(/tmp/multipartBody6121264996283895047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138303861,"filename":"image_31102025_01_10_04_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/3/93cc1e562054fe8e54ab670c420fa394.jpg","text":"TemporaryFile(/tmp/multipartBody4969512887660699861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138303861,"filename":"image_31102025_01_09_39_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/3/a09cbb853c0613205e9c00d4688f3889.jpg","text":"TemporaryFile(/tmp/multipartBody6441149707514110372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138303861,"filename":"image_31102025_01_09_36_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/3/0d21cfb09683705abcd997178b154567.jpg","text":"TemporaryFile(/tmp/multipartBody6739008702325677678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138303861,"filename":"image_31102025_01_10_02_4100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977064","file1":"1391977063","file0":"1391977062","file4":"1391977066","file5":"1391977067","file3":"1391977065"},"map_files_photo_id_array":[{"photo_id":"1391977067","filename":"file5"},{"photo_id":"1391977064","filename":"file2"},{"photo_id":"1391977066","filename":"file4"},{"photo_id":"1391977063","filename":"file1"},{"photo_id":"1391977062","filename":"file0"},{"photo_id":"1391977065","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391977062":["hashtag1","hashtag2"]},{"1391977065":["hashtag1","hashtag2"]},{"1391977067":["hashtag1","hashtag2"]},{"1391977064":["hashtag1","hashtag2"]},{"1391977063":["hashtag1","hashtag2"]},{"1391977066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391977062, 1391977065, 1391977067, 1391977064, 1391977063, 1391977066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49434781074524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:51:22.748973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/51/image_30102025_14_52_01_3588.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_03_2797.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_06_2592.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_09_3547.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_15_2628.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_19_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/14/51/image_30102025_14_52_01_3588.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_03_2797.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_06_2592.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_09_3547.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_15_2628.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_19_3596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977068","1391977071","1391977070","1391977073","1391977072","1391977069"],"photo_ids_order":["1391977068","1391977069","1391977070","1391977071","1391977072","1391977073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8fdf776f86365d53412acbd5294720f1.jpg","text":"TemporaryFile(/tmp/multipartBody1982232639112921859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138345165,"filename":"image_30102025_14_52_01_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/3/b8f31e59b5e435599e9dbc459b47581b.jpg","text":"TemporaryFile(/tmp/multipartBody5800329209456343612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138345165,"filename":"image_30102025_14_52_09_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/3/2514ea4391f568867a7c7fc1fcad983e.jpg","text":"TemporaryFile(/tmp/multipartBody8379440172675928749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138345165,"filename":"image_30102025_14_52_06_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/3/bb4892ed6ce812f37ac6c9a8cf69706f.jpg","text":"TemporaryFile(/tmp/multipartBody9183074528749417883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138345165,"filename":"image_30102025_14_52_19_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/3/438bf884d3c07d3826d5dfdacac470ab.jpg","text":"TemporaryFile(/tmp/multipartBody3399956875817832763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138345165,"filename":"image_30102025_14_52_15_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e6de2cae44ed8c16d80d7750b13ca711.jpg","text":"TemporaryFile(/tmp/multipartBody3616454170092700451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138345165,"filename":"image_30102025_14_52_03_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977070","file1":"1391977069","file0":"1391977068","file4":"1391977072","file5":"1391977073","file3":"1391977071"},"map_files_photo_id_array":[{"photo_id":"1391977073","filename":"file5"},{"photo_id":"1391977070","filename":"file2"},{"photo_id":"1391977072","filename":"file4"},{"photo_id":"1391977069","filename":"file1"},{"photo_id":"1391977068","filename":"file0"},{"photo_id":"1391977071","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977068":["hashtag1","hashtag2"]},{"1391977071":["hashtag1","hashtag2"]},{"1391977070":["hashtag1","hashtag2"]},{"1391977073":["hashtag1","hashtag2"]},{"1391977072":["hashtag1","hashtag2"]},{"1391977069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977068, 1391977071, 1391977070, 1391977073, 1391977072, 1391977069)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.08353805541992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:52:21.918262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_21_2860.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_24_2610.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_27_2685.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_45_18586.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_57_11687.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_59_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_21_2860.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_24_2610.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_27_2685.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_45_18586.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_57_11687.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_59_1588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.1735405921936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:52:42.002421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/10/image_31102025_01_10_59_1838.jpg', '/home/pi/Desktop/images/31102025/01/10/image_31102025_01_11_01_1715.jpg', '/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_02_1558.jpg', '/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_04_1611.jpg', '/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_07_1737.jpg', '/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_12_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/10/image_31102025_01_10_59_1838.jpg
/home/pi/Desktop/images/31102025/01/10/image_31102025_01_11_01_1715.jpg
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_02_1558.jpg
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_04_1611.jpg
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_07_1737.jpg
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_12_1685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977083","1391977085","1391977081","1391977084","1391977087","1391977086"],"photo_ids_order":["1391977081","1391977083","1391977084","1391977085","1391977086","1391977087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f9427a96e3e9f6d88499b9d1676554f8.jpg","text":"TemporaryFile(/tmp/multipartBody2559003791112156357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138423185,"filename":"image_31102025_01_11_01_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/3/eb3221f633cd39383217eb860abeacd7.jpg","text":"TemporaryFile(/tmp/multipartBody907010064093732756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138423185,"filename":"image_31102025_01_11_04_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/3/270445b3165380fcd51984f9e9935c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2342659749574980120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138423185,"filename":"image_31102025_01_10_59_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/3/db4c31c0ce9e2d18c0e8fb22c4028a68.jpg","text":"TemporaryFile(/tmp/multipartBody168065226367775357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138423185,"filename":"image_31102025_01_11_02_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/3/3f792698c4f00cb0739fc51369e56db0.jpg","text":"TemporaryFile(/tmp/multipartBody1833838081784312829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138423185,"filename":"image_31102025_01_11_12_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/986513ea3b1c6c8eabab666947c60b20.jpg","text":"TemporaryFile(/tmp/multipartBody2205102424337630080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138423185,"filename":"image_31102025_01_11_07_1737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977084","file1":"1391977083","file0":"1391977081","file4":"1391977086","file5":"1391977087","file3":"1391977085"},"map_files_photo_id_array":[{"photo_id":"1391977087","filename":"file5"},{"photo_id":"1391977084","filename":"file2"},{"photo_id":"1391977086","filename":"file4"},{"photo_id":"1391977083","filename":"file1"},{"photo_id":"1391977081","filename":"file0"},{"photo_id":"1391977085","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391977083":["hashtag1","hashtag2"]},{"1391977085":["hashtag1","hashtag2"]},{"1391977081":["hashtag1","hashtag2"]},{"1391977084":["hashtag1","hashtag2"]},{"1391977087":["hashtag1","hashtag2"]},{"1391977086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391977083, 1391977085, 1391977081, 1391977084, 1391977087, 1391977086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.392277240753174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:53:22.118657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_21_2860.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_24_2610.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_27_2685.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_45_18586.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_57_11687.jpg', '/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_59_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_21_2860.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_24_2610.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_27_2685.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_45_18586.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_57_11687.jpg
/home/pi/Desktop/images/30102025/14/52/image_30102025_14_52_59_1588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977095","1391977089","1391977097","1391977091","1391977088","1391977093"],"photo_ids_order":["1391977088","1391977089","1391977091","1391977093","1391977095","1391977097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/38ee156ae4cc08859b4920433059b348.jpg","text":"TemporaryFile(/tmp/multipartBody296707774299422451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138464399,"filename":"image_30102025_14_52_57_11687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4eaeebb381d2f5c40ffb69297927636d.jpg","text":"TemporaryFile(/tmp/multipartBody5836760012241964651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138464399,"filename":"image_30102025_14_52_24_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/3/4843eedf16e910b19d61bda52ba29584.jpg","text":"TemporaryFile(/tmp/multipartBody2264005117135943774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138464399,"filename":"image_30102025_14_52_59_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/3/1ea2b42cc86ed477a7fcd6eb57350a03.jpg","text":"TemporaryFile(/tmp/multipartBody4068881209525069358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138464399,"filename":"image_30102025_14_52_27_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/3/2e00c4779dd610ca67b947bf56472b04.jpg","text":"TemporaryFile(/tmp/multipartBody6788584934172933507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138464399,"filename":"image_30102025_14_52_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/3/b3c1ceca4add01230280594eee3ca8ff.jpg","text":"TemporaryFile(/tmp/multipartBody7941134866427785279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138464399,"filename":"image_30102025_14_52_45_18586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977091","file1":"1391977089","file0":"1391977088","file4":"1391977095","file5":"1391977097","file3":"1391977093"},"map_files_photo_id_array":[{"photo_id":"1391977097","filename":"file5"},{"photo_id":"1391977091","filename":"file2"},{"photo_id":"1391977095","filename":"file4"},{"photo_id":"1391977089","filename":"file1"},{"photo_id":"1391977088","filename":"file0"},{"photo_id":"1391977093","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977095":["hashtag1","hashtag2"]},{"1391977089":["hashtag1","hashtag2"]},{"1391977097":["hashtag1","hashtag2"]},{"1391977091":["hashtag1","hashtag2"]},{"1391977088":["hashtag1","hashtag2"]},{"1391977093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977095, 1391977089, 1391977097, 1391977091, 1391977088, 1391977093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8884391784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:54:03.141340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_06_2474.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_08_1717.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_10_1826.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_16_1669.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_17_1714.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_19_1760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_06_2474.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_08_1717.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_10_1826.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_16_1669.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_17_1714.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_19_1760.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8447904586791992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:54:22.382648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_06_2474.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_08_1717.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_10_1826.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_16_1669.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_17_1714.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_19_1760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_06_2474.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_08_1717.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_10_1826.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_16_1669.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_17_1714.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_19_1760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977110","1391977113","1391977116","1391977112","1391977106","1391977108"],"photo_ids_order":["1391977106","1391977108","1391977110","1391977112","1391977113","1391977116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d6244bab2f0847cd4e248913640edf4.jpg","text":"TemporaryFile(/tmp/multipartBody4985781450826673021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138524666,"filename":"image_30102025_14_53_10_1826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e1e2eebc74bacbb494c37c987f755a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6119226852637189755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138524666,"filename":"image_30102025_14_53_17_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/3/1f7adf7106780bbdbc1541eff3ca1095.jpg","text":"TemporaryFile(/tmp/multipartBody168349848514005614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138524666,"filename":"image_30102025_14_53_19_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1d965c869b5dc3901d277027f27f59b3.jpg","text":"TemporaryFile(/tmp/multipartBody8614096401219542135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138524666,"filename":"image_30102025_14_53_16_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/3/a4ceb3d53c01f314ce5b0ce412214f3d.jpg","text":"TemporaryFile(/tmp/multipartBody903892154090285883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138524666,"filename":"image_30102025_14_53_06_2474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/365bd1a67d02a0e45791260f10ce4c07.jpg","text":"TemporaryFile(/tmp/multipartBody4218077324708225595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138524666,"filename":"image_30102025_14_53_08_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977110","file1":"1391977108","file0":"1391977106","file4":"1391977113","file5":"1391977116","file3":"1391977112"},"map_files_photo_id_array":[{"photo_id":"1391977116","filename":"file5"},{"photo_id":"1391977110","filename":"file2"},{"photo_id":"1391977113","filename":"file4"},{"photo_id":"1391977108","filename":"file1"},{"photo_id":"1391977106","filename":"file0"},{"photo_id":"1391977112","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977110":["hashtag1","hashtag2"]},{"1391977113":["hashtag1","hashtag2"]},{"1391977116":["hashtag1","hashtag2"]},{"1391977112":["hashtag1","hashtag2"]},{"1391977106":["hashtag1","hashtag2"]},{"1391977108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977110, 1391977113, 1391977116, 1391977112, 1391977106, 1391977108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06155705451965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:55:03.280618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_21_1670.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_25_4125.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_27_1698.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_51_24601.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_53_1557.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_55_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_21_1670.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_25_4125.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_27_1698.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_51_24601.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_53_1557.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_55_1677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.864781379699707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 03:55:22.620301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_21_1670.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_25_4125.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_27_1698.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_51_24601.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_53_1557.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_55_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_21_1670.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_25_4125.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_27_1698.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_51_24601.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_53_1557.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_55_1677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977137","1391977131","1391977125","1391977134","1391977128","1391977136"],"photo_ids_order":["1391977125","1391977128","1391977131","1391977134","1391977136","1391977137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7140be95e498d231b34bf11d4341a2de.jpg","text":"TemporaryFile(/tmp/multipartBody3076038978318226078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138584941,"filename":"image_30102025_14_53_55_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/3/3a0ecfafe7bb2577e198fd712d644086.jpg","text":"TemporaryFile(/tmp/multipartBody8843981870824286832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138584941,"filename":"image_30102025_14_53_27_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/13346a40a392bda3a7b6c14eaed4a2ab.jpg","text":"TemporaryFile(/tmp/multipartBody5426536704183024197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138584941,"filename":"image_30102025_14_53_21_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/3/f52be8b2a801bcc8fde02e92fe40b330.jpg","text":"TemporaryFile(/tmp/multipartBody3168342908467697935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138584941,"filename":"image_30102025_14_53_51_24601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d06e476fac3684153a6d84d99a8175b5.jpg","text":"TemporaryFile(/tmp/multipartBody3863687967960753780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138584941,"filename":"image_30102025_14_53_25_4125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d194e2bb5fe0d056f0ee2340f92e50d5.jpg","text":"TemporaryFile(/tmp/multipartBody5714186251861916688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138584941,"filename":"image_30102025_14_53_53_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977131","file1":"1391977128","file0":"1391977125","file4":"1391977136","file5":"1391977137","file3":"1391977134"},"map_files_photo_id_array":[{"photo_id":"1391977137","filename":"file5"},{"photo_id":"1391977131","filename":"file2"},{"photo_id":"1391977136","filename":"file4"},{"photo_id":"1391977128","filename":"file1"},{"photo_id":"1391977125","filename":"file0"},{"photo_id":"1391977134","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977137":["hashtag1","hashtag2"]},{"1391977131":["hashtag1","hashtag2"]},{"1391977125":["hashtag1","hashtag2"]},{"1391977134":["hashtag1","hashtag2"]},{"1391977128":["hashtag1","hashtag2"]},{"1391977136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977137, 1391977131, 1391977125, 1391977134, 1391977128, 1391977136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.278993368148804 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-03 03:56:23.684039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_56_1664.jpg', '/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_58_1715.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_03_1743.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_06_3209.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_08_1693.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_10_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/14/53/image_30102025_14_53_56_1664.jpg
/home/pi/Desktop/images/30102025/14/53/image_30102025_14_53_58_1715.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_03_1743.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_06_3209.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_08_1693.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_10_1665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977149","1391977143","1391977148","1391977145","1391977144","1391977141"],"photo_ids_order":["1391977141","1391977143","1391977144","1391977145","1391977148","1391977149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/391a5e4337126f5dd7c7775ab9b77aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7941280153329716782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138651439,"filename":"image_30102025_14_54_10_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/3/aa594fc64fd35ff6fec6df43aab4fd62.jpg","text":"TemporaryFile(/tmp/multipartBody8585524939037511725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138651439,"filename":"image_30102025_14_53_58_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/3/7077d28377468d2a199ac0bf2f4e130b.jpg","text":"TemporaryFile(/tmp/multipartBody5466498968586600518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138651439,"filename":"image_30102025_14_54_08_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/3/4aef903f4c44eef1bbdaa58d681990c0.jpg","text":"TemporaryFile(/tmp/multipartBody3414572582646311172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138651439,"filename":"image_30102025_14_54_06_3209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dfb63bedef129f6e962213aeb8a374e2.jpg","text":"TemporaryFile(/tmp/multipartBody5905223121004517369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138651439,"filename":"image_30102025_14_54_03_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/3/fed0eacab7f7d8ee8a2c423ca3c95a55.jpg","text":"TemporaryFile(/tmp/multipartBody2685560544606545462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138651439,"filename":"image_30102025_14_53_56_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977144","file1":"1391977143","file0":"1391977141","file4":"1391977148","file5":"1391977149","file3":"1391977145"},"map_files_photo_id_array":[{"photo_id":"1391977149","filename":"file5"},{"photo_id":"1391977144","filename":"file2"},{"photo_id":"1391977148","filename":"file4"},{"photo_id":"1391977143","filename":"file1"},{"photo_id":"1391977141","filename":"file0"},{"photo_id":"1391977145","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977149":["hashtag1","hashtag2"]},{"1391977143":["hashtag1","hashtag2"]},{"1391977148":["hashtag1","hashtag2"]},{"1391977145":["hashtag1","hashtag2"]},{"1391977144":["hashtag1","hashtag2"]},{"1391977141":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977149, 1391977143, 1391977148, 1391977145, 1391977144, 1391977141)","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 = 1391977144 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_03_1743.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 73.83032822608948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 03:57:54.682643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_24_2709.jpg', '/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_27_3071.jpg', '/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_39_2620.jpg', '/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_42_2880.jpg', '/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_51_2730.jpg', '/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_58_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_24_2709.jpg
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_27_3071.jpg
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_39_2620.jpg
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_42_2880.jpg
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_51_2730.jpg
/home/pi/Desktop/images/31102025/01/11/image_31102025_01_11_58_3760.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977254","1391977154","1391977214","1391977177","1391977156","1391977159"],"photo_ids_order":["1391977154","1391977156","1391977159","1391977177","1391977214","1391977254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/39af3b50830e71bed2f0eeda8495bf78.jpg","text":"TemporaryFile(/tmp/multipartBody908005010688455713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138735760,"filename":"image_31102025_01_11_58_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/3/8e22d536caca6b16739a602b51cf9f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3151218774145634368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138735760,"filename":"image_31102025_01_11_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/3/7506d4883800012838b17222b6a643e3.jpg","text":"TemporaryFile(/tmp/multipartBody6506482514912222149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138735760,"filename":"image_31102025_01_11_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/3/d3d1b8ef1c512b9359546132620e1ebc.jpg","text":"TemporaryFile(/tmp/multipartBody1122739042093694642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138735760,"filename":"image_31102025_01_11_42_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/3/1fc2277831f6c5a3091e23d6ad629b02.jpg","text":"TemporaryFile(/tmp/multipartBody4962569012896327998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138735760,"filename":"image_31102025_01_11_27_3071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0a14a90564bb5edb5d9d9cefba22e84f.jpg","text":"TemporaryFile(/tmp/multipartBody7705254001873330732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138735760,"filename":"image_31102025_01_11_39_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977159","file1":"1391977156","file0":"1391977154","file4":"1391977214","file5":"1391977254","file3":"1391977177"},"map_files_photo_id_array":[{"photo_id":"1391977254","filename":"file5"},{"photo_id":"1391977159","filename":"file2"},{"photo_id":"1391977214","filename":"file4"},{"photo_id":"1391977156","filename":"file1"},{"photo_id":"1391977154","filename":"file0"},{"photo_id":"1391977177","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391977254":["hashtag1","hashtag2"]},{"1391977154":["hashtag1","hashtag2"]},{"1391977214":["hashtag1","hashtag2"]},{"1391977177":["hashtag1","hashtag2"]},{"1391977156":["hashtag1","hashtag2"]},{"1391977159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391977254, 1391977154, 1391977214, 1391977177, 1391977156, 1391977159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78343200683594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 03:59:03.004556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_11_1729.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_13_1624.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_15_1685.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_16_1638.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_18_1667.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_20_1796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_11_1729.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_13_1624.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_15_1685.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_16_1638.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_18_1667.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_20_1796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977796","1391977790","1391977793","1391977862","1391977817","1391977788"],"photo_ids_order":["1391977788","1391977790","1391977793","1391977796","1391977817","1391977862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c26b111df2c43fc667d179d548608794.jpg","text":"TemporaryFile(/tmp/multipartBody8124752185881260635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138805134,"filename":"image_30102025_14_54_16_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/3/953644e35dd5928238ec2a8a2d6983e0.jpg","text":"TemporaryFile(/tmp/multipartBody3887377990598335130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138805134,"filename":"image_30102025_14_54_13_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/3/b1a6480be352d04862c8b251599feb1c.jpg","text":"TemporaryFile(/tmp/multipartBody2964717495186457817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138805134,"filename":"image_30102025_14_54_15_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/24ca2810317c3b0225afd1e0d3de52eb.jpg","text":"TemporaryFile(/tmp/multipartBody1640007663855869211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138805134,"filename":"image_30102025_14_54_20_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/3/58569ecb192795b03096326f53bbe24e.jpg","text":"TemporaryFile(/tmp/multipartBody5016015853965074267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138805134,"filename":"image_30102025_14_54_18_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/3/955918802ebe935903dd44958ed51618.jpg","text":"TemporaryFile(/tmp/multipartBody7162722579237477172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138805134,"filename":"image_30102025_14_54_11_1729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977793","file1":"1391977790","file0":"1391977788","file4":"1391977817","file5":"1391977862","file3":"1391977796"},"map_files_photo_id_array":[{"photo_id":"1391977862","filename":"file5"},{"photo_id":"1391977793","filename":"file2"},{"photo_id":"1391977817","filename":"file4"},{"photo_id":"1391977790","filename":"file1"},{"photo_id":"1391977788","filename":"file0"},{"photo_id":"1391977796","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977796":["hashtag1","hashtag2"]},{"1391977790":["hashtag1","hashtag2"]},{"1391977793":["hashtag1","hashtag2"]},{"1391977862":["hashtag1","hashtag2"]},{"1391977817":["hashtag1","hashtag2"]},{"1391977788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977796, 1391977790, 1391977793, 1391977862, 1391977817, 1391977788)","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 = 1391977793 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_15_1685.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 70.86585187911987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:00:23.304859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_21_1507.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_25_1563.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_26_1667.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_28_1659.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_31_1759.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_33_1722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_21_1507.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_25_1563.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_26_1667.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_28_1659.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_31_1759.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_33_1722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391977941","1391977938","1391977946","1391977949","1391977943","1391977939"],"photo_ids_order":["1391977938","1391977939","1391977941","1391977943","1391977946","1391977949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2cecd907479fce7d1287ab944e1f38fd.jpg","text":"TemporaryFile(/tmp/multipartBody8911020535939757767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138885775,"filename":"image_30102025_14_54_26_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/3/f9bc5c9937a09290b871ff7409cda094.jpg","text":"TemporaryFile(/tmp/multipartBody4295264887646189125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138885775,"filename":"image_30102025_14_54_21_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/3/0ab46abd7026014bc70094e3c79ff4e3.jpg","text":"TemporaryFile(/tmp/multipartBody6600796457870450180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138885775,"filename":"image_30102025_14_54_31_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/3/f3c7ae78b31227cd72276b52edef1f20.jpg","text":"TemporaryFile(/tmp/multipartBody3912890443957832395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138885775,"filename":"image_30102025_14_54_33_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/3/811648e2952be94fb6f6805b8d1a6f07.jpg","text":"TemporaryFile(/tmp/multipartBody2642337002468822991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138885775,"filename":"image_30102025_14_54_28_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/3/747770c3a33c9669f6d0ac6c014699e1.jpg","text":"TemporaryFile(/tmp/multipartBody2642444359743413907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138885775,"filename":"image_30102025_14_54_25_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391977941","file1":"1391977939","file0":"1391977938","file4":"1391977946","file5":"1391977949","file3":"1391977943"},"map_files_photo_id_array":[{"photo_id":"1391977949","filename":"file5"},{"photo_id":"1391977941","filename":"file2"},{"photo_id":"1391977946","filename":"file4"},{"photo_id":"1391977939","filename":"file1"},{"photo_id":"1391977938","filename":"file0"},{"photo_id":"1391977943","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391977941":["hashtag1","hashtag2"]},{"1391977938":["hashtag1","hashtag2"]},{"1391977946":["hashtag1","hashtag2"]},{"1391977949":["hashtag1","hashtag2"]},{"1391977943":["hashtag1","hashtag2"]},{"1391977939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391977941, 1391977938, 1391977946, 1391977949, 1391977943, 1391977939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81373310089111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:01:03.088402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_35_1793.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_36_1693.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_38_1581.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_40_1789.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_41_1547.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_45_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_35_1793.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_36_1693.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_38_1581.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_40_1789.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_41_1547.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_45_3554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391978072","1391978240","1391978281","1391978161","1391978199","1391978116"],"photo_ids_order":["1391978072","1391978116","1391978161","1391978199","1391978240","1391978281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/301028c48b7146a6ecd62b6957c01710.jpg","text":"TemporaryFile(/tmp/multipartBody3416990618379954980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138925028,"filename":"image_30102025_14_54_35_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/3/1bf683056fae52aea776554202f342ef.jpg","text":"TemporaryFile(/tmp/multipartBody1474334531667215476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138925028,"filename":"image_30102025_14_54_41_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/3/c513c6ec7dad339c232a0e0448737107.jpg","text":"TemporaryFile(/tmp/multipartBody7612624323269458583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138925028,"filename":"image_30102025_14_54_45_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/3/c2d6e3145485e2343f1858b92b0fe00f.jpg","text":"TemporaryFile(/tmp/multipartBody8077413457256177179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138925028,"filename":"image_30102025_14_54_38_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/3/1ec426496f9ec40f98b15865ddb61cbd.jpg","text":"TemporaryFile(/tmp/multipartBody8340218604886426314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138925028,"filename":"image_30102025_14_54_40_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/3/e9dca1c553a1a31877f0cb9c1cb8f0f3.jpg","text":"TemporaryFile(/tmp/multipartBody2589441263389200924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138925028,"filename":"image_30102025_14_54_36_1693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391978161","file1":"1391978116","file0":"1391978072","file4":"1391978240","file5":"1391978281","file3":"1391978199"},"map_files_photo_id_array":[{"photo_id":"1391978281","filename":"file5"},{"photo_id":"1391978161","filename":"file2"},{"photo_id":"1391978240","filename":"file4"},{"photo_id":"1391978116","filename":"file1"},{"photo_id":"1391978072","filename":"file0"},{"photo_id":"1391978199","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391978072":["hashtag1","hashtag2"]},{"1391978240":["hashtag1","hashtag2"]},{"1391978281":["hashtag1","hashtag2"]},{"1391978161":["hashtag1","hashtag2"]},{"1391978199":["hashtag1","hashtag2"]},{"1391978116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391978072, 1391978240, 1391978281, 1391978161, 1391978199, 1391978116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.623570919036865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:01:42.513692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_03_2629.jpg', '/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_12_2651.jpg', '/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_21_2653.jpg', '/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_24_2823.jpg', '/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_28_3639.jpg', '/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_37_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_03_2629.jpg
/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_12_2651.jpg
/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_21_2653.jpg
/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_24_2823.jpg
/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_28_3639.jpg
/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_37_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391978552","1391978468","1391978636","1391978423","1391978510","1391978596"],"photo_ids_order":["1391978423","1391978468","1391978510","1391978552","1391978596","1391978636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/877cc04bd6f54f4d67dd736f1960e900.jpg","text":"TemporaryFile(/tmp/multipartBody5404933536583219465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138963640,"filename":"image_31102025_01_12_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/3/7a8166cc9c5d7b8b171d5d71cc738762.jpg","text":"TemporaryFile(/tmp/multipartBody240081974807059152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138963640,"filename":"image_31102025_01_12_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/3/45aba18672a658c3f8429461303931d2.jpg","text":"TemporaryFile(/tmp/multipartBody2246109335681928366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138963640,"filename":"image_31102025_01_12_37_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/3/8762cb7539d9f5bcba58e08c3109925d.jpg","text":"TemporaryFile(/tmp/multipartBody7874416096659140609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138963640,"filename":"image_31102025_01_12_03_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/3/9a30f88843362953b59aa204d612ae38.jpg","text":"TemporaryFile(/tmp/multipartBody1777569983189755470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138963640,"filename":"image_31102025_01_12_21_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/3/b2665c4679b510d5d6dfbec41822efe1.jpg","text":"TemporaryFile(/tmp/multipartBody2533070055325192642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762138963640,"filename":"image_31102025_01_12_28_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391978510","file1":"1391978468","file0":"1391978423","file4":"1391978596","file5":"1391978636","file3":"1391978552"},"map_files_photo_id_array":[{"photo_id":"1391978636","filename":"file5"},{"photo_id":"1391978510","filename":"file2"},{"photo_id":"1391978596","filename":"file4"},{"photo_id":"1391978468","filename":"file1"},{"photo_id":"1391978423","filename":"file0"},{"photo_id":"1391978552","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391978552":["hashtag1","hashtag2"]},{"1391978468":["hashtag1","hashtag2"]},{"1391978636":["hashtag1","hashtag2"]},{"1391978423":["hashtag1","hashtag2"]},{"1391978510":["hashtag1","hashtag2"]},{"1391978596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391978552, 1391978468, 1391978636, 1391978423, 1391978510, 1391978596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96714758872986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:02:22.714623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_48_2593.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_51_3643.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_54_2641.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_56_2654.jpg', '/home/pi/Desktop/images/30102025/14/54/image_30102025_14_55_00_3586.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_03_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/14/54/image_30102025_14_54_48_2593.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_51_3643.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_54_2641.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_54_56_2654.jpg
/home/pi/Desktop/images/30102025/14/54/image_30102025_14_55_00_3586.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_03_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391978844","1391978882","1391978808","1391978918","1391978959","1391979000"],"photo_ids_order":["1391978808","1391978844","1391978882","1391978918","1391978959","1391979000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/43e12dd63a9a044bd8b8a46dea39efde.jpg","text":"TemporaryFile(/tmp/multipartBody3715180836241438841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139005112,"filename":"image_30102025_14_54_51_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/3/0e5d38daa1c57e71e926838783b9f445.jpg","text":"TemporaryFile(/tmp/multipartBody7592002544884183268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139005112,"filename":"image_30102025_14_54_54_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/3/5cfaa8b27a4a5355bd48eb8ef6527de2.jpg","text":"TemporaryFile(/tmp/multipartBody2623885408721870207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139005112,"filename":"image_30102025_14_54_48_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3c7ede9a32acf21d8a611e4f0f6b13ad.jpg","text":"TemporaryFile(/tmp/multipartBody2433163699877138845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139005112,"filename":"image_30102025_14_54_56_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97cdbb91107ddd4008c1f0de8e4e49ba.jpg","text":"TemporaryFile(/tmp/multipartBody3290224072881674764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139005112,"filename":"image_30102025_14_55_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/3/f63c8b654ac8f7167ff86d092e7e4cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6307632437983287376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139005112,"filename":"image_30102025_14_55_03_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391978882","file1":"1391978844","file0":"1391978808","file4":"1391978959","file5":"1391979000","file3":"1391978918"},"map_files_photo_id_array":[{"photo_id":"1391979000","filename":"file5"},{"photo_id":"1391978882","filename":"file2"},{"photo_id":"1391978959","filename":"file4"},{"photo_id":"1391978844","filename":"file1"},{"photo_id":"1391978808","filename":"file0"},{"photo_id":"1391978918","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391978844":["hashtag1","hashtag2"]},{"1391978882":["hashtag1","hashtag2"]},{"1391978808":["hashtag1","hashtag2"]},{"1391978918":["hashtag1","hashtag2"]},{"1391978959":["hashtag1","hashtag2"]},{"1391979000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391978844, 1391978882, 1391978808, 1391978918, 1391978959, 1391979000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.711591958999634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:03:02.648473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_05_2730.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_09_3720.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_12_2704.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_14_2570.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_18_3708.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_21_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/14/55/image_30102025_14_55_05_2730.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_09_3720.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_12_2704.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_14_2570.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_18_3708.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_21_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391979188","1391979167","1391979190","1391979187","1391979189","1391979186"],"photo_ids_order":["1391979167","1391979186","1391979187","1391979188","1391979189","1391979190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c7c24c87ce6a13e20473d2ca45ef22e4.jpg","text":"TemporaryFile(/tmp/multipartBody1650624190403507154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139044526,"filename":"image_30102025_14_55_14_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/3/872124792df6531ae66a1f522599ad96.jpg","text":"TemporaryFile(/tmp/multipartBody7872249648584727738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139044526,"filename":"image_30102025_14_55_05_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/3/c8eca49d4d11220431fa5b0314ea3446.jpg","text":"TemporaryFile(/tmp/multipartBody1914922214339325473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139044526,"filename":"image_30102025_14_55_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/3/b268f803780357427bf088bac6993301.jpg","text":"TemporaryFile(/tmp/multipartBody6059148197480838480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139044526,"filename":"image_30102025_14_55_12_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/3/2dbea8099b4e7ce772d8117aca7815b3.jpg","text":"TemporaryFile(/tmp/multipartBody1461286933335043131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139044526,"filename":"image_30102025_14_55_18_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2a92d1f435896349113342e40228f6cf.jpg","text":"TemporaryFile(/tmp/multipartBody2929322993654618478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139044526,"filename":"image_30102025_14_55_09_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979187","file1":"1391979186","file0":"1391979167","file4":"1391979189","file5":"1391979190","file3":"1391979188"},"map_files_photo_id_array":[{"photo_id":"1391979190","filename":"file5"},{"photo_id":"1391979187","filename":"file2"},{"photo_id":"1391979189","filename":"file4"},{"photo_id":"1391979186","filename":"file1"},{"photo_id":"1391979167","filename":"file0"},{"photo_id":"1391979188","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391979188":["hashtag1","hashtag2"]},{"1391979167":["hashtag1","hashtag2"]},{"1391979190":["hashtag1","hashtag2"]},{"1391979187":["hashtag1","hashtag2"]},{"1391979189":["hashtag1","hashtag2"]},{"1391979186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391979188, 1391979167, 1391979190, 1391979187, 1391979189, 1391979186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45487713813782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:03:41.899605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_57_2709.jpg', '/home/pi/Desktop/images/31102025/01/12/image_31102025_01_13_01_3704.jpg', '/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_06_2827.jpg', '/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_15_2703.jpg', '/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_33_2878.jpg', '/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_37_3914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/12/image_31102025_01_12_57_2709.jpg
/home/pi/Desktop/images/31102025/01/12/image_31102025_01_13_01_3704.jpg
/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_06_2827.jpg
/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_15_2703.jpg
/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_33_2878.jpg
/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_37_3914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391979204","1391979194","1391979198","1391979210","1391979207","1391979201"],"photo_ids_order":["1391979194","1391979198","1391979201","1391979204","1391979207","1391979210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5d713db495f8b870d1bcc5ff0ccabfb.jpg","text":"TemporaryFile(/tmp/multipartBody1036807483849386208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139083077,"filename":"image_31102025_01_13_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/3/4c8f43b9cf36f20ab057a8368681c4cc.jpg","text":"TemporaryFile(/tmp/multipartBody6468950527503328760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139083077,"filename":"image_31102025_01_12_57_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8a0f7e50e5ef03c6d28415f0ed702632.jpg","text":"TemporaryFile(/tmp/multipartBody1994652922450940670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139083077,"filename":"image_31102025_01_13_01_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b8411e7699a0d967782009e7a2a09c3.jpg","text":"TemporaryFile(/tmp/multipartBody3347502530721289820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139083077,"filename":"image_31102025_01_13_37_3914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/59d2e8d97e74e2ba459e409559b5c0b5.jpg","text":"TemporaryFile(/tmp/multipartBody1545415575691669929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139083077,"filename":"image_31102025_01_13_33_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/3/b3a2759f06751af43be9293c42386536.jpg","text":"TemporaryFile(/tmp/multipartBody3308764995722401733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139083077,"filename":"image_31102025_01_13_06_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979201","file1":"1391979198","file0":"1391979194","file4":"1391979207","file5":"1391979210","file3":"1391979204"},"map_files_photo_id_array":[{"photo_id":"1391979210","filename":"file5"},{"photo_id":"1391979201","filename":"file2"},{"photo_id":"1391979207","filename":"file4"},{"photo_id":"1391979198","filename":"file1"},{"photo_id":"1391979194","filename":"file0"},{"photo_id":"1391979204","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391979204":["hashtag1","hashtag2"]},{"1391979194":["hashtag1","hashtag2"]},{"1391979198":["hashtag1","hashtag2"]},{"1391979210":["hashtag1","hashtag2"]},{"1391979207":["hashtag1","hashtag2"]},{"1391979201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391979204, 1391979194, 1391979198, 1391979210, 1391979207, 1391979201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95969843864441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:04:22.049040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_27_3675.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_33_2578.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_35_2676.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_39_3737.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_42_2837.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_44_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/14/55/image_30102025_14_55_27_3675.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_33_2578.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_35_2676.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_39_3737.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_42_2837.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_44_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391979221","1391979227","1391979217","1391979231","1391979225","1391979219"],"photo_ids_order":["1391979217","1391979219","1391979221","1391979225","1391979227","1391979231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a1f3c68995bbf16c0aa5878a723e5eb.jpg","text":"TemporaryFile(/tmp/multipartBody7480574921003514248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139124520,"filename":"image_30102025_14_55_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/3/d90c63ce75c94b9988dec7e417145e62.jpg","text":"TemporaryFile(/tmp/multipartBody6874710714712239678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139124520,"filename":"image_30102025_14_55_42_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/3/7f094134fe302b14d1a8096d6849080b.jpg","text":"TemporaryFile(/tmp/multipartBody173831545719233973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139124520,"filename":"image_30102025_14_55_27_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/3/475a2960ba94ff23163942ec713c2356.jpg","text":"TemporaryFile(/tmp/multipartBody7728465435814582680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139124520,"filename":"image_30102025_14_55_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/3/9d7795f3cdca739fe9261a06ea6e1e60.jpg","text":"TemporaryFile(/tmp/multipartBody2284663028619160713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139124520,"filename":"image_30102025_14_55_39_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/3/6e97545a3b12da8f47fd63676f888946.jpg","text":"TemporaryFile(/tmp/multipartBody6806284756084550096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139124520,"filename":"image_30102025_14_55_33_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979221","file1":"1391979219","file0":"1391979217","file4":"1391979227","file5":"1391979231","file3":"1391979225"},"map_files_photo_id_array":[{"photo_id":"1391979231","filename":"file5"},{"photo_id":"1391979221","filename":"file2"},{"photo_id":"1391979227","filename":"file4"},{"photo_id":"1391979219","filename":"file1"},{"photo_id":"1391979217","filename":"file0"},{"photo_id":"1391979225","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391979221":["hashtag1","hashtag2"]},{"1391979227":["hashtag1","hashtag2"]},{"1391979217":["hashtag1","hashtag2"]},{"1391979231":["hashtag1","hashtag2"]},{"1391979225":["hashtag1","hashtag2"]},{"1391979219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391979221, 1391979227, 1391979217, 1391979231, 1391979225, 1391979219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05392837524414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:05:02.905524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_51_2714.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_53_2579.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_57_3687.jpg', '/home/pi/Desktop/images/30102025/14/55/image_30102025_14_56_00_2712.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_02_2693.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_05_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/14/55/image_30102025_14_55_51_2714.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_53_2579.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_55_57_3687.jpg
/home/pi/Desktop/images/30102025/14/55/image_30102025_14_56_00_2712.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_02_2693.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_05_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391979446","1391979527","1391979331","1391979486","1391979369","1391979408"],"photo_ids_order":["1391979331","1391979369","1391979408","1391979446","1391979486","1391979527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f8b9aa12fb563099164c65e331043234.jpg","text":"TemporaryFile(/tmp/multipartBody678948221131232351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139164809,"filename":"image_30102025_14_56_00_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/3/ff4ff405760711fc2afc01c6f56c1727.jpg","text":"TemporaryFile(/tmp/multipartBody4207895373344552160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139164809,"filename":"image_30102025_14_56_05_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2bd70fc17bbc060c116b49ff795f949c.jpg","text":"TemporaryFile(/tmp/multipartBody3824201243832406815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139164809,"filename":"image_30102025_14_55_51_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/3/20c1ff4aae9a8e71dd036a61ae22b9bd.jpg","text":"TemporaryFile(/tmp/multipartBody8026266393589199650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139164809,"filename":"image_30102025_14_56_02_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/3/fcc185f7ef0056d27d534beb26ee7afe.jpg","text":"TemporaryFile(/tmp/multipartBody3257536407510242577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139164809,"filename":"image_30102025_14_55_53_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/3/c0ed927d274cdeeabcbaeaf7df932fc4.jpg","text":"TemporaryFile(/tmp/multipartBody2124234016404073500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139164809,"filename":"image_30102025_14_55_57_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979408","file1":"1391979369","file0":"1391979331","file4":"1391979486","file5":"1391979527","file3":"1391979446"},"map_files_photo_id_array":[{"photo_id":"1391979527","filename":"file5"},{"photo_id":"1391979408","filename":"file2"},{"photo_id":"1391979486","filename":"file4"},{"photo_id":"1391979369","filename":"file1"},{"photo_id":"1391979331","filename":"file0"},{"photo_id":"1391979446","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391979446":["hashtag1","hashtag2"]},{"1391979527":["hashtag1","hashtag2"]},{"1391979331":["hashtag1","hashtag2"]},{"1391979486":["hashtag1","hashtag2"]},{"1391979369":["hashtag1","hashtag2"]},{"1391979408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391979446, 1391979527, 1391979331, 1391979486, 1391979369, 1391979408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34874653816223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:05:42.240764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_39_2692.jpg', '/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_42_2851.jpg', '/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_48_2816.jpg', '/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_54_2632.jpg', '/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_57_2755.jpg', '/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_03_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_39_2692.jpg
/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_42_2851.jpg
/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_48_2816.jpg
/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_54_2632.jpg
/home/pi/Desktop/images/31102025/01/13/image_31102025_01_13_57_2755.jpg
/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_03_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391979722","1391979685","1391979760","1391979791","1391979785","1391979788"],"photo_ids_order":["1391979685","1391979722","1391979760","1391979785","1391979788","1391979791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f44b736fe1fcc4f332544c77f819590a.jpg","text":"TemporaryFile(/tmp/multipartBody7270968016152550822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139203353,"filename":"image_31102025_01_13_42_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/3/da748daedace07aca5fb3425d30b2f44.jpg","text":"TemporaryFile(/tmp/multipartBody6541067208490464373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139203353,"filename":"image_31102025_01_13_39_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/3/5acddc3cbff36d41839594a7eba75aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8546386974224111123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139203353,"filename":"image_31102025_01_13_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/3/5456738daf24cec59f2893a3c4a5e291.jpg","text":"TemporaryFile(/tmp/multipartBody2353613803902265239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139203353,"filename":"image_31102025_01_14_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/3/ad7582ff1e08f40b702e373ca06046c4.jpg","text":"TemporaryFile(/tmp/multipartBody6296806221044133859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139203353,"filename":"image_31102025_01_13_54_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/3/92640bec8071775faaafe4510652ab1c.jpg","text":"TemporaryFile(/tmp/multipartBody1373042232263876700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139203353,"filename":"image_31102025_01_13_57_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979760","file1":"1391979722","file0":"1391979685","file4":"1391979788","file5":"1391979791","file3":"1391979785"},"map_files_photo_id_array":[{"photo_id":"1391979791","filename":"file5"},{"photo_id":"1391979760","filename":"file2"},{"photo_id":"1391979788","filename":"file4"},{"photo_id":"1391979722","filename":"file1"},{"photo_id":"1391979685","filename":"file0"},{"photo_id":"1391979785","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391979722":["hashtag1","hashtag2"]},{"1391979685":["hashtag1","hashtag2"]},{"1391979760":["hashtag1","hashtag2"]},{"1391979791":["hashtag1","hashtag2"]},{"1391979785":["hashtag1","hashtag2"]},{"1391979788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391979722, 1391979685, 1391979760, 1391979791, 1391979785, 1391979788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6007981300354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:06:22.349816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_09_3852.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_12_2610.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_14_2633.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_24_9896.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_26_1738.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_28_1690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_09_3852.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_12_2610.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_14_2633.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_24_9896.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_26_1738.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_28_1690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391979929","1391979932","1391979914","1391979925","1391979885","1391979858"],"photo_ids_order":["1391979858","1391979885","1391979914","1391979925","1391979929","1391979932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/030606538e9bac285f92e039fe75e48a.jpg","text":"TemporaryFile(/tmp/multipartBody5128591433376470454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139244753,"filename":"image_30102025_14_56_26_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/3/b806dd4b874833d69f1a818111970ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1902782626620382229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139244753,"filename":"image_30102025_14_56_28_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/3/fbfd1ba7ab3e7f4d1c868b557a59b27e.jpg","text":"TemporaryFile(/tmp/multipartBody7909774413181085428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139244753,"filename":"image_30102025_14_56_14_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/3/932323b3b6df76a1761b8da27260404d.jpg","text":"TemporaryFile(/tmp/multipartBody1189054973077421615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139244753,"filename":"image_30102025_14_56_24_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/82473b40600dddbbbe437a08e56a2838.jpg","text":"TemporaryFile(/tmp/multipartBody5839764704884855293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139244753,"filename":"image_30102025_14_56_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/3/c30f187dfd03e24234bc09bbdff04059.jpg","text":"TemporaryFile(/tmp/multipartBody4565580249273736185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139244753,"filename":"image_30102025_14_56_09_3852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979914","file1":"1391979885","file0":"1391979858","file4":"1391979929","file5":"1391979932","file3":"1391979925"},"map_files_photo_id_array":[{"photo_id":"1391979932","filename":"file5"},{"photo_id":"1391979914","filename":"file2"},{"photo_id":"1391979929","filename":"file4"},{"photo_id":"1391979885","filename":"file1"},{"photo_id":"1391979858","filename":"file0"},{"photo_id":"1391979925","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391979929":["hashtag1","hashtag2"]},{"1391979932":["hashtag1","hashtag2"]},{"1391979914":["hashtag1","hashtag2"]},{"1391979925":["hashtag1","hashtag2"]},{"1391979885":["hashtag1","hashtag2"]},{"1391979858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391979929, 1391979932, 1391979914, 1391979925, 1391979885, 1391979858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71455383300781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:07:03.188514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_31_1669.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_33_1675.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_35_2646.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_39_3663.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_44_2670.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_48_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/14/56/image_30102025_14_56_31_1669.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_33_1675.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_35_2646.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_39_3663.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_44_2670.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_48_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391979953","1391979947","1391979952","1391979949","1391979943","1391979945"],"photo_ids_order":["1391979943","1391979945","1391979947","1391979949","1391979952","1391979953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a2ee00ed5d30329cae1c35c8ac1b7885.jpg","text":"TemporaryFile(/tmp/multipartBody5848776822023105425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139285101,"filename":"image_30102025_14_56_48_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/3/71eca0fbf8f51ea6ebbe6c5d11a7bd93.jpg","text":"TemporaryFile(/tmp/multipartBody5278120479364654611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139285101,"filename":"image_30102025_14_56_35_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/3/314895aaa30a178f23afed675e691690.jpg","text":"TemporaryFile(/tmp/multipartBody8525980700574152743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139285101,"filename":"image_30102025_14_56_44_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/3/5bf63fbe4a20d8639a96bd6eeed50f79.jpg","text":"TemporaryFile(/tmp/multipartBody3343427124068725682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139285101,"filename":"image_30102025_14_56_39_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/3/ae02b4b664acdf564ef9fb8c7c2b77d5.jpg","text":"TemporaryFile(/tmp/multipartBody9138088121372583202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139285101,"filename":"image_30102025_14_56_31_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/3/36ae9d9110c08f063744899d4e2786e2.jpg","text":"TemporaryFile(/tmp/multipartBody2518904653582814168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139285101,"filename":"image_30102025_14_56_33_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979947","file1":"1391979945","file0":"1391979943","file4":"1391979952","file5":"1391979953","file3":"1391979949"},"map_files_photo_id_array":[{"photo_id":"1391979953","filename":"file5"},{"photo_id":"1391979947","filename":"file2"},{"photo_id":"1391979952","filename":"file4"},{"photo_id":"1391979945","filename":"file1"},{"photo_id":"1391979943","filename":"file0"},{"photo_id":"1391979949","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391979953":["hashtag1","hashtag2"]},{"1391979947":["hashtag1","hashtag2"]},{"1391979952":["hashtag1","hashtag2"]},{"1391979949":["hashtag1","hashtag2"]},{"1391979943":["hashtag1","hashtag2"]},{"1391979945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391979953, 1391979947, 1391979952, 1391979949, 1391979943, 1391979945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10347557067871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:07:42.558828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_13_3855.jpg', '/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_15_2731.jpg', '/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_30_2669.jpg', '/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_33_3696.jpg', '/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_39_2706.jpg', '/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_43_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_13_3855.jpg
/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_15_2731.jpg
/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_30_2669.jpg
/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_33_3696.jpg
/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_39_2706.jpg
/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_43_3548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391979970","1391979964","1391979967","1391979961","1391979955","1391979957"],"photo_ids_order":["1391979955","1391979957","1391979961","1391979964","1391979967","1391979970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/327697b61fa63b80aef1e69829e24396.jpg","text":"TemporaryFile(/tmp/multipartBody5687814443378090915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139323624,"filename":"image_31102025_01_14_43_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/3/10f8e84a01b9e3d4603fc55e83af106d.jpg","text":"TemporaryFile(/tmp/multipartBody5899576935712346477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139323624,"filename":"image_31102025_01_14_33_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/3/1509cda6649c0f381ae4d8d7b6e9e96b.jpg","text":"TemporaryFile(/tmp/multipartBody3193901131551225459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139323624,"filename":"image_31102025_01_14_39_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/3/052d761e001b809a435ae8512eca8ee5.jpg","text":"TemporaryFile(/tmp/multipartBody8090917133742044967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139323624,"filename":"image_31102025_01_14_30_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/3/504f674e723c1dcbba2564e67a0e4edd.jpg","text":"TemporaryFile(/tmp/multipartBody1634402247948543908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139323624,"filename":"image_31102025_01_14_13_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/3/d4bc9a72181ed1f1899e1ac02d1bd45d.jpg","text":"TemporaryFile(/tmp/multipartBody9049785551807427720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139323624,"filename":"image_31102025_01_14_15_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979961","file1":"1391979957","file0":"1391979955","file4":"1391979967","file5":"1391979970","file3":"1391979964"},"map_files_photo_id_array":[{"photo_id":"1391979970","filename":"file5"},{"photo_id":"1391979961","filename":"file2"},{"photo_id":"1391979967","filename":"file4"},{"photo_id":"1391979957","filename":"file1"},{"photo_id":"1391979955","filename":"file0"},{"photo_id":"1391979964","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391979970":["hashtag1","hashtag2"]},{"1391979964":["hashtag1","hashtag2"]},{"1391979967":["hashtag1","hashtag2"]},{"1391979961":["hashtag1","hashtag2"]},{"1391979955":["hashtag1","hashtag2"]},{"1391979957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391979970, 1391979964, 1391979967, 1391979961, 1391979955, 1391979957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11234736442566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:08:21.839900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_51_2682.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_53_2773.jpg', '/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_56_2707.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_02_2529.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_05_2788.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_12_6804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_51_2682.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_53_2773.jpg
/home/pi/Desktop/images/30102025/14/56/image_30102025_14_56_56_2707.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_02_2529.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_05_2788.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_12_6804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391979973","1391979987","1391979972","1391979981","1391979975","1391979978"],"photo_ids_order":["1391979972","1391979973","1391979975","1391979978","1391979981","1391979987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4b03de4c5079e0b956ec938a23db29b6.jpg","text":"TemporaryFile(/tmp/multipartBody332706610162534677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139364237,"filename":"image_30102025_14_56_53_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/217536c27c92609cd55d52fc88fd0a3b.jpg","text":"TemporaryFile(/tmp/multipartBody6248477398244272348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139364237,"filename":"image_30102025_14_57_12_6804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d98a56343741d83b98bc54251ec2f534.jpg","text":"TemporaryFile(/tmp/multipartBody5860772951892869769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139364237,"filename":"image_30102025_14_56_51_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/3/0dd9ce3ab343b4ef9b639538ac4e8987.jpg","text":"TemporaryFile(/tmp/multipartBody275437976415854547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139364237,"filename":"image_30102025_14_57_05_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/3/3f4a4a199e1452fe38b7236294ccee94.jpg","text":"TemporaryFile(/tmp/multipartBody2920275138594088119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139364237,"filename":"image_30102025_14_56_56_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/3/77282041750936f358c6f1b364eb9620.jpg","text":"TemporaryFile(/tmp/multipartBody4708595554792248499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139364237,"filename":"image_30102025_14_57_02_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979975","file1":"1391979973","file0":"1391979972","file4":"1391979981","file5":"1391979987","file3":"1391979978"},"map_files_photo_id_array":[{"photo_id":"1391979987","filename":"file5"},{"photo_id":"1391979975","filename":"file2"},{"photo_id":"1391979981","filename":"file4"},{"photo_id":"1391979973","filename":"file1"},{"photo_id":"1391979972","filename":"file0"},{"photo_id":"1391979978","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391979973":["hashtag1","hashtag2"]},{"1391979987":["hashtag1","hashtag2"]},{"1391979972":["hashtag1","hashtag2"]},{"1391979981":["hashtag1","hashtag2"]},{"1391979975":["hashtag1","hashtag2"]},{"1391979978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391979973, 1391979987, 1391979972, 1391979981, 1391979975, 1391979978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01286816596985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:09:02.754127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_15_1632.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_21_3762.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_26_2525.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_33_2667.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_35_2699.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_41_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/14/57/image_30102025_14_57_15_1632.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_21_3762.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_26_2525.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_33_2667.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_35_2699.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_41_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980005","1391979997","1391980001","1391979999","1391980003","1391979998"],"photo_ids_order":["1391979997","1391979998","1391979999","1391980001","1391980003","1391980005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/76d9fce9ad36b9d4bdb4eb256d1a8ecb.jpg","text":"TemporaryFile(/tmp/multipartBody2245504825432422314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139406550,"filename":"image_30102025_14_57_41_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/3/3754a12466ad930648b8f38f61ba6b38.jpg","text":"TemporaryFile(/tmp/multipartBody1753463986240965726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139406550,"filename":"image_30102025_14_57_15_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/3/fdd7e32764614f82b916b910babe3ba7.jpg","text":"TemporaryFile(/tmp/multipartBody2275292656170447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139406550,"filename":"image_30102025_14_57_33_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dfc0e80b6ab0d28aa3eef2a3b668609e.jpg","text":"TemporaryFile(/tmp/multipartBody815152588077284240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139406550,"filename":"image_30102025_14_57_26_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/3/b667585242fef4423d339d36f62307db.jpg","text":"TemporaryFile(/tmp/multipartBody8173206401150641179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139406550,"filename":"image_30102025_14_57_35_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bd316d23b57dff5f5cb5c0b8047c5bd8.jpg","text":"TemporaryFile(/tmp/multipartBody3150421847822456280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139406550,"filename":"image_30102025_14_57_21_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391979999","file1":"1391979998","file0":"1391979997","file4":"1391980003","file5":"1391980005","file3":"1391980001"},"map_files_photo_id_array":[{"photo_id":"1391980005","filename":"file5"},{"photo_id":"1391979999","filename":"file2"},{"photo_id":"1391980003","filename":"file4"},{"photo_id":"1391979998","filename":"file1"},{"photo_id":"1391979997","filename":"file0"},{"photo_id":"1391980001","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980005":["hashtag1","hashtag2"]},{"1391979997":["hashtag1","hashtag2"]},{"1391980001":["hashtag1","hashtag2"]},{"1391979999":["hashtag1","hashtag2"]},{"1391980003":["hashtag1","hashtag2"]},{"1391979998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980005, 1391979997, 1391980001, 1391979999, 1391980003, 1391979998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84765601158142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:09:42.025030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_45_2641.jpg', '/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_15_2774.jpg', '/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_21_2619.jpg', '/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_27_3713.jpg', '/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_33_2540.jpg', '/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_36_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/14/image_31102025_01_14_45_2641.jpg
/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_15_2774.jpg
/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_21_2619.jpg
/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_27_3713.jpg
/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_33_2540.jpg
/home/pi/Desktop/images/31102025/01/15/image_31102025_01_15_36_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980014","1391980016","1391980010","1391980021","1391980018","1391980012"],"photo_ids_order":["1391980010","1391980012","1391980014","1391980016","1391980018","1391980021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f4ae216d69583646247da3b61c9da57b.jpg","text":"TemporaryFile(/tmp/multipartBody6033874707286290047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139443155,"filename":"image_31102025_01_15_21_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/3/553eb4f8cf79be920ba5b28bfc9cf4f2.jpg","text":"TemporaryFile(/tmp/multipartBody8573583445471843133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139443155,"filename":"image_31102025_01_15_27_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ba997a651788be45b976e8d92c1f32c6.jpg","text":"TemporaryFile(/tmp/multipartBody21087054566493788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139443155,"filename":"image_31102025_01_14_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/3/5ddc67a738004894f0c473debf66d68f.jpg","text":"TemporaryFile(/tmp/multipartBody2942030092015763299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139443155,"filename":"image_31102025_01_15_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/3/45f72a5cfe7e5e4b9db0e5be5bd07a66.jpg","text":"TemporaryFile(/tmp/multipartBody1101596300104118481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139443155,"filename":"image_31102025_01_15_33_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2af2eac953558d61351d472f5ea4fbe1.jpg","text":"TemporaryFile(/tmp/multipartBody2192437811106036258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139443155,"filename":"image_31102025_01_15_15_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980014","file1":"1391980012","file0":"1391980010","file4":"1391980018","file5":"1391980021","file3":"1391980016"},"map_files_photo_id_array":[{"photo_id":"1391980021","filename":"file5"},{"photo_id":"1391980014","filename":"file2"},{"photo_id":"1391980018","filename":"file4"},{"photo_id":"1391980012","filename":"file1"},{"photo_id":"1391980010","filename":"file0"},{"photo_id":"1391980016","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980014":["hashtag1","hashtag2"]},{"1391980016":["hashtag1","hashtag2"]},{"1391980010":["hashtag1","hashtag2"]},{"1391980021":["hashtag1","hashtag2"]},{"1391980018":["hashtag1","hashtag2"]},{"1391980012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980014, 1391980016, 1391980010, 1391980021, 1391980018, 1391980012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20794463157654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:10:22.192559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_45_3583.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_48_2646.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_54_3647.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_57_2621.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_59_2685.jpg', '/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_06_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/14/57/image_30102025_14_57_45_3583.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_48_2646.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_54_3647.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_57_2621.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_59_2685.jpg
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_06_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: 2.314967393875122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:10:42.220038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/15/image_31102025_01_16_00_2668.jpg', '/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_03_3696.jpg', '/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_06_2717.jpg', '/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_27_2613.jpg', '/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_30_2728.jpg', '/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_48_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/15/image_31102025_01_16_00_2668.jpg
/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_03_3696.jpg
/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_06_2717.jpg
/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_27_2613.jpg
/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_30_2728.jpg
/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_48_2810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980035","1391980045","1391980048","1391980033","1391980042","1391980039"],"photo_ids_order":["1391980033","1391980035","1391980039","1391980042","1391980045","1391980048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/de8ca1d41b20cb1dd8f454ec87e28123.jpg","text":"TemporaryFile(/tmp/multipartBody8086673869882606317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139503395,"filename":"image_31102025_01_16_03_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/3/73574ab572295c2a92b17d43a8e7bf82.jpg","text":"TemporaryFile(/tmp/multipartBody2680476998272757876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139503395,"filename":"image_31102025_01_16_30_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4891962533a1fb28f2b9d8d3873787b9.jpg","text":"TemporaryFile(/tmp/multipartBody6489823912298491255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139503395,"filename":"image_31102025_01_16_48_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/3/f7e03325e0ea0fd7815dfa314dc2a31c.jpg","text":"TemporaryFile(/tmp/multipartBody8665162926141944043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139503395,"filename":"image_31102025_01_16_00_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/3/a4cef2797bb6bca5d8f5e31596d3d552.jpg","text":"TemporaryFile(/tmp/multipartBody611281782095784635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139503395,"filename":"image_31102025_01_16_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/3/1e4d5d7478f59a8e2a3869ba2707dba5.jpg","text":"TemporaryFile(/tmp/multipartBody3202713008974039385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139503395,"filename":"image_31102025_01_16_06_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980039","file1":"1391980035","file0":"1391980033","file4":"1391980045","file5":"1391980048","file3":"1391980042"},"map_files_photo_id_array":[{"photo_id":"1391980048","filename":"file5"},{"photo_id":"1391980039","filename":"file2"},{"photo_id":"1391980045","filename":"file4"},{"photo_id":"1391980035","filename":"file1"},{"photo_id":"1391980033","filename":"file0"},{"photo_id":"1391980042","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980035":["hashtag1","hashtag2"]},{"1391980045":["hashtag1","hashtag2"]},{"1391980048":["hashtag1","hashtag2"]},{"1391980033":["hashtag1","hashtag2"]},{"1391980042":["hashtag1","hashtag2"]},{"1391980039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980035, 1391980045, 1391980048, 1391980033, 1391980042, 1391980039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62093424797058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:11:22.391304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_45_3583.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_48_2646.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_54_3647.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_57_2621.jpg', '/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_59_2685.jpg', '/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_06_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/14/57/image_30102025_14_57_45_3583.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_48_2646.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_54_3647.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_57_2621.jpg
/home/pi/Desktop/images/30102025/14/57/image_30102025_14_57_59_2685.jpg
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_06_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980067","1391980052","1391980061","1391980055","1391980064","1391980057"],"photo_ids_order":["1391980052","1391980055","1391980057","1391980061","1391980064","1391980067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f2006050c126d97a3566bd38822bf681.jpg","text":"TemporaryFile(/tmp/multipartBody7091196566117954860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139544670,"filename":"image_30102025_14_58_06_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/3/eb7e737aef41e8941b89398b1e5711a6.jpg","text":"TemporaryFile(/tmp/multipartBody8004163743564409220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139544670,"filename":"image_30102025_14_57_45_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/3/7cc41015a470322f01003942a632117f.jpg","text":"TemporaryFile(/tmp/multipartBody3289124130310186555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139544670,"filename":"image_30102025_14_57_57_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/3/02c9a5a6b34523499c0a49236f34833d.jpg","text":"TemporaryFile(/tmp/multipartBody8275728947107255426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139544670,"filename":"image_30102025_14_57_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/3/765cf04178f2a75ef0d6dd5087a7be19.jpg","text":"TemporaryFile(/tmp/multipartBody5860893323403158177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139544670,"filename":"image_30102025_14_57_59_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ea47ffed503beccc431086d82c57bc44.jpg","text":"TemporaryFile(/tmp/multipartBody7650982747151907213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139544670,"filename":"image_30102025_14_57_54_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980057","file1":"1391980055","file0":"1391980052","file4":"1391980064","file5":"1391980067","file3":"1391980061"},"map_files_photo_id_array":[{"photo_id":"1391980067","filename":"file5"},{"photo_id":"1391980057","filename":"file2"},{"photo_id":"1391980064","filename":"file4"},{"photo_id":"1391980055","filename":"file1"},{"photo_id":"1391980052","filename":"file0"},{"photo_id":"1391980061","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980067":["hashtag1","hashtag2"]},{"1391980052":["hashtag1","hashtag2"]},{"1391980061":["hashtag1","hashtag2"]},{"1391980055":["hashtag1","hashtag2"]},{"1391980064":["hashtag1","hashtag2"]},{"1391980057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980067, 1391980052, 1391980061, 1391980055, 1391980064, 1391980057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26002097129822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:12:02.999383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_19_13195.jpg', '/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_21_1664.jpg', '/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_22_1544.jpg', '/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_26_1870.jpg', '/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_29_1632.jpg', '/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_33_1757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_19_13195.jpg
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_21_1664.jpg
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_22_1544.jpg
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_26_1870.jpg
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_29_1632.jpg
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_33_1757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980076","1391980081","1391980084","1391980075","1391980074","1391980077"],"photo_ids_order":["1391980074","1391980075","1391980076","1391980077","1391980081","1391980084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/244455e35caf472a306f8588c778e47b.jpg","text":"TemporaryFile(/tmp/multipartBody4095308049955822153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139584833,"filename":"image_30102025_14_58_22_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/3/53541376d5bc8e4ac94ca9f3c7668dbe.jpg","text":"TemporaryFile(/tmp/multipartBody5067200455635576357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139584833,"filename":"image_30102025_14_58_29_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/3/1cf2b67728a3429e72cf5a1ce02b4711.jpg","text":"TemporaryFile(/tmp/multipartBody5107724444726819260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139584833,"filename":"image_30102025_14_58_33_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/3/40b5fc2819a74975e98b2fd1cc4fcddc.jpg","text":"TemporaryFile(/tmp/multipartBody8295663098986279888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139584833,"filename":"image_30102025_14_58_21_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/3/3ee102d1d812ef594e74069a28789355.jpg","text":"TemporaryFile(/tmp/multipartBody3828708161017802646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139584833,"filename":"image_30102025_14_58_19_13195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d58a347b77aedbd63edeb3d2a5d73daa.jpg","text":"TemporaryFile(/tmp/multipartBody4058300656499171174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139584833,"filename":"image_30102025_14_58_26_1870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980076","file1":"1391980075","file0":"1391980074","file4":"1391980081","file5":"1391980084","file3":"1391980077"},"map_files_photo_id_array":[{"photo_id":"1391980084","filename":"file5"},{"photo_id":"1391980076","filename":"file2"},{"photo_id":"1391980081","filename":"file4"},{"photo_id":"1391980075","filename":"file1"},{"photo_id":"1391980074","filename":"file0"},{"photo_id":"1391980077","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980076":["hashtag1","hashtag2"]},{"1391980081":["hashtag1","hashtag2"]},{"1391980084":["hashtag1","hashtag2"]},{"1391980075":["hashtag1","hashtag2"]},{"1391980074":["hashtag1","hashtag2"]},{"1391980077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980076, 1391980081, 1391980084, 1391980075, 1391980074, 1391980077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30748796463013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:12:42.602798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_57_3621.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_03_3542.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_06_2876.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_09_2606.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_12_2785.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_24_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_57_3621.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_03_3542.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_06_2876.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_09_2606.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_12_2785.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_24_2648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0264482498168945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:13:03.545267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_35_2671.jpg', '/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_45_3754.jpg', '/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_48_2634.jpg', '/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_08_2691.jpg', '/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_11_2801.jpg', '/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_14_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_35_2671.jpg
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_45_3754.jpg
/home/pi/Desktop/images/30102025/14/58/image_30102025_14_58_48_2634.jpg
/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_08_2691.jpg
/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_11_2801.jpg
/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_14_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980110","1391980104","1391980112","1391980106","1391980114","1391980108"],"photo_ids_order":["1391980104","1391980106","1391980108","1391980110","1391980112","1391980114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5d3e2125c41e7ce9976b4f34cd9bd681.jpg","text":"TemporaryFile(/tmp/multipartBody6226520067752822665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139645463,"filename":"image_30102025_14_59_08_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/3/b1074020ff28da3a96261b90c3d387c2.jpg","text":"TemporaryFile(/tmp/multipartBody6789704053206102076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139645463,"filename":"image_30102025_14_58_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/3/ac83878b9535345a305fd7d4ff7ac71c.jpg","text":"TemporaryFile(/tmp/multipartBody3364687624349705950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139645463,"filename":"image_30102025_14_59_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/3/d198588e653c8541ea772340e06df31d.jpg","text":"TemporaryFile(/tmp/multipartBody154773428554897412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139645463,"filename":"image_30102025_14_58_45_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/3/917714e1bd56883ea54b699face3d74c.jpg","text":"TemporaryFile(/tmp/multipartBody5715114121783641084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139645463,"filename":"image_30102025_14_59_14_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/3/ac196ebc30244849075c8ae4537caaf6.jpg","text":"TemporaryFile(/tmp/multipartBody6253595268511124814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139645463,"filename":"image_30102025_14_58_48_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980108","file1":"1391980106","file0":"1391980104","file4":"1391980112","file5":"1391980114","file3":"1391980110"},"map_files_photo_id_array":[{"photo_id":"1391980114","filename":"file5"},{"photo_id":"1391980108","filename":"file2"},{"photo_id":"1391980112","filename":"file4"},{"photo_id":"1391980106","filename":"file1"},{"photo_id":"1391980104","filename":"file0"},{"photo_id":"1391980110","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980110":["hashtag1","hashtag2"]},{"1391980104":["hashtag1","hashtag2"]},{"1391980112":["hashtag1","hashtag2"]},{"1391980106":["hashtag1","hashtag2"]},{"1391980114":["hashtag1","hashtag2"]},{"1391980108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980110, 1391980104, 1391980112, 1391980106, 1391980114, 1391980108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07134675979614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:13:42.774989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_57_3621.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_03_3542.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_06_2876.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_09_2606.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_12_2785.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_24_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/16/image_31102025_01_16_57_3621.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_03_3542.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_06_2876.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_09_2606.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_12_2785.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_24_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980119","1391980116","1391980115","1391980130","1391980126","1391980122"],"photo_ids_order":["1391980115","1391980116","1391980119","1391980122","1391980126","1391980130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/98b374a90f0b0b7510caa3ac087c7a57.jpg","text":"TemporaryFile(/tmp/multipartBody6820507430812489049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139683740,"filename":"image_31102025_01_17_06_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/3/801b6d3d4f02dd0f4214b11add35c133.jpg","text":"TemporaryFile(/tmp/multipartBody5521193697447577298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139683740,"filename":"image_31102025_01_17_03_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/3/f38ef8be626c38d1dfc31b5f60e641c0.jpg","text":"TemporaryFile(/tmp/multipartBody6940295119754651211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139683740,"filename":"image_31102025_01_16_57_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/3/b834fe639efaa3ce0465bb86d8f16736.jpg","text":"TemporaryFile(/tmp/multipartBody7442714373896783300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139683740,"filename":"image_31102025_01_17_24_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b7c7515aa1df38fb5f36745cd6e550b.jpg","text":"TemporaryFile(/tmp/multipartBody3201186183554521445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139683740,"filename":"image_31102025_01_17_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/3/237ed0a17683b26aebcdaeddb06c6ace.jpg","text":"TemporaryFile(/tmp/multipartBody4776916400097740594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139683740,"filename":"image_31102025_01_17_09_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980119","file1":"1391980116","file0":"1391980115","file4":"1391980126","file5":"1391980130","file3":"1391980122"},"map_files_photo_id_array":[{"photo_id":"1391980130","filename":"file5"},{"photo_id":"1391980119","filename":"file2"},{"photo_id":"1391980126","filename":"file4"},{"photo_id":"1391980116","filename":"file1"},{"photo_id":"1391980115","filename":"file0"},{"photo_id":"1391980122","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980119":["hashtag1","hashtag2"]},{"1391980116":["hashtag1","hashtag2"]},{"1391980115":["hashtag1","hashtag2"]},{"1391980130":["hashtag1","hashtag2"]},{"1391980126":["hashtag1","hashtag2"]},{"1391980122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980119, 1391980116, 1391980115, 1391980130, 1391980126, 1391980122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.991496562957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:14:21.983229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_31_7128.jpg', '/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_32_1608.jpg', '/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_38_2664.jpg', '/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_42_3708.jpg', '/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_44_2518.jpg', '/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_47_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/14/59/image_30102025_14_59_31_7128.jpg
/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_32_1608.jpg
/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_38_2664.jpg
/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_42_3708.jpg
/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_44_2518.jpg
/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_47_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980146","1391980142","1391980139","1391980150","1391980141","1391980155"],"photo_ids_order":["1391980139","1391980141","1391980142","1391980146","1391980150","1391980155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/45cd22971670bd4a4ed5d964fa56532c.jpg","text":"TemporaryFile(/tmp/multipartBody4405653169598206733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139724396,"filename":"image_30102025_14_59_42_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/3/13ec03b13edf850995733df2f5969013.jpg","text":"TemporaryFile(/tmp/multipartBody4965508120464411284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139724396,"filename":"image_30102025_14_59_38_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/551b4509994d38d3757f7059885f5bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1142540881290027515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139724396,"filename":"image_30102025_14_59_31_7128.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7833c44f96cfe103b760a6dc3eb3c24d.jpg","text":"TemporaryFile(/tmp/multipartBody1820871264366618328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139724396,"filename":"image_30102025_14_59_44_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/3/9f8ef3db645bce25fd826e2942c9e75b.jpg","text":"TemporaryFile(/tmp/multipartBody1087918315597609567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139724396,"filename":"image_30102025_14_59_32_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/3/748889b6972b4b20a6a92c7890e79a64.jpg","text":"TemporaryFile(/tmp/multipartBody818758548018071091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139724396,"filename":"image_30102025_14_59_47_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980142","file1":"1391980141","file0":"1391980139","file4":"1391980150","file5":"1391980155","file3":"1391980146"},"map_files_photo_id_array":[{"photo_id":"1391980155","filename":"file5"},{"photo_id":"1391980142","filename":"file2"},{"photo_id":"1391980150","filename":"file4"},{"photo_id":"1391980141","filename":"file1"},{"photo_id":"1391980139","filename":"file0"},{"photo_id":"1391980146","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980146":["hashtag1","hashtag2"]},{"1391980142":["hashtag1","hashtag2"]},{"1391980139":["hashtag1","hashtag2"]},{"1391980150":["hashtag1","hashtag2"]},{"1391980141":["hashtag1","hashtag2"]},{"1391980155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980146, 1391980142, 1391980139, 1391980150, 1391980141, 1391980155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.255467891693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:15:02.739648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/14/59/image_30102025_14_59_51_3767.jpg', '/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_16_2577.jpg', '/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_22_2634.jpg', '/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_25_2549.jpg', '/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_29_3825.jpg', '/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_31_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/14/59/image_30102025_14_59_51_3767.jpg
/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_16_2577.jpg
/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_22_2634.jpg
/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_25_2549.jpg
/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_29_3825.jpg
/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_31_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980166","1391980165","1391980168","1391980173","1391980167","1391980170"],"photo_ids_order":["1391980165","1391980166","1391980167","1391980168","1391980170","1391980173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ed357434323e95aee19b9ebe16335d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1125396866428160749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139764665,"filename":"image_30102025_15_01_16_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5635e381bc2d97f5d42c874d6f996b51.jpg","text":"TemporaryFile(/tmp/multipartBody2338239089217662130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139764665,"filename":"image_30102025_14_59_51_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/3/97996047801aeb865b688310bac8b39a.jpg","text":"TemporaryFile(/tmp/multipartBody914548969865460547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139764665,"filename":"image_30102025_15_01_25_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8dfac652321e1ba81c2945e8bf3ba68f.jpg","text":"TemporaryFile(/tmp/multipartBody2334521658578346449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139764665,"filename":"image_30102025_15_01_31_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/3/749bc30c3c935cf59f8ebb4a6420c277.jpg","text":"TemporaryFile(/tmp/multipartBody4069509583310105794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139764665,"filename":"image_30102025_15_01_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/3/9314e6f4e0cb8e0797381e40fc3de65d.jpg","text":"TemporaryFile(/tmp/multipartBody1639450140370005370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139764665,"filename":"image_30102025_15_01_29_3825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980167","file1":"1391980166","file0":"1391980165","file4":"1391980170","file5":"1391980173","file3":"1391980168"},"map_files_photo_id_array":[{"photo_id":"1391980173","filename":"file5"},{"photo_id":"1391980167","filename":"file2"},{"photo_id":"1391980170","filename":"file4"},{"photo_id":"1391980166","filename":"file1"},{"photo_id":"1391980165","filename":"file0"},{"photo_id":"1391980168","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980166":["hashtag1","hashtag2"]},{"1391980165":["hashtag1","hashtag2"]},{"1391980168":["hashtag1","hashtag2"]},{"1391980173":["hashtag1","hashtag2"]},{"1391980167":["hashtag1","hashtag2"]},{"1391980170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980166, 1391980165, 1391980168, 1391980173, 1391980167, 1391980170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19362497329712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:15:42.175701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_26_2723.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_30_3634.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_35_2689.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_39_3770.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_48_3016.jpg', '/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_51_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_26_2723.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_30_3634.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_35_2689.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_39_3770.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_48_3016.jpg
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_51_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980190","1391980178","1391980187","1391980181","1391980183","1391980185"],"photo_ids_order":["1391980178","1391980181","1391980183","1391980185","1391980187","1391980190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3c98d4b97bd5e14d0966c61dbf64c074.jpg","text":"TemporaryFile(/tmp/multipartBody6481363390258240703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139803280,"filename":"image_31102025_01_17_51_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/3/5b712e58228ae19dfe794f0393a73dd0.jpg","text":"TemporaryFile(/tmp/multipartBody4620685706405352270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139803280,"filename":"image_31102025_01_17_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/3/80a08c6633b8b84f2a7e414abfa05bc3.jpg","text":"TemporaryFile(/tmp/multipartBody7404630168677853831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139803280,"filename":"image_31102025_01_17_48_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/3/dda6ea5f053f2b38ee2c77c999547542.jpg","text":"TemporaryFile(/tmp/multipartBody1192288010106161568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139803280,"filename":"image_31102025_01_17_30_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/3/20deb00427b83d9acbc920a175b8c8ca.jpg","text":"TemporaryFile(/tmp/multipartBody5251173739988201557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139803280,"filename":"image_31102025_01_17_35_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/3/383b06147bb7be6ed6c97d8adf281969.jpg","text":"TemporaryFile(/tmp/multipartBody3220561301632529158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139803280,"filename":"image_31102025_01_17_39_3770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980183","file1":"1391980181","file0":"1391980178","file4":"1391980187","file5":"1391980190","file3":"1391980185"},"map_files_photo_id_array":[{"photo_id":"1391980190","filename":"file5"},{"photo_id":"1391980183","filename":"file2"},{"photo_id":"1391980187","filename":"file4"},{"photo_id":"1391980181","filename":"file1"},{"photo_id":"1391980178","filename":"file0"},{"photo_id":"1391980185","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980190":["hashtag1","hashtag2"]},{"1391980178":["hashtag1","hashtag2"]},{"1391980187":["hashtag1","hashtag2"]},{"1391980181":["hashtag1","hashtag2"]},{"1391980183":["hashtag1","hashtag2"]},{"1391980185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980190, 1391980178, 1391980187, 1391980181, 1391980183, 1391980185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00783705711365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:16:22.412586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_38_3619.jpg', '/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_52_2774.jpg', '/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_58_3706.jpg', '/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_04_2693.jpg', '/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_10_2668.jpg', '/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_16_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_38_3619.jpg
/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_52_2774.jpg
/home/pi/Desktop/images/30102025/15/01/image_30102025_15_01_58_3706.jpg
/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_04_2693.jpg
/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_10_2668.jpg
/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_16_1659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980196","1391980200","1391980202","1391980198","1391980204","1391980197"],"photo_ids_order":["1391980196","1391980197","1391980198","1391980200","1391980202","1391980204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3bdaf035aec549628d7c2ff9080edabf.jpg","text":"TemporaryFile(/tmp/multipartBody3726226767710858362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139844794,"filename":"image_30102025_15_01_38_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/3/ae55367aa9c035fb282c4534757101df.jpg","text":"TemporaryFile(/tmp/multipartBody1906385694967722195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139844794,"filename":"image_30102025_15_02_04_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/3/1ffde7752d565c23143c5253e899d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody2345491889202425279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139844794,"filename":"image_30102025_15_02_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/3/46b8d383a759736c00430d0508ffae29.jpg","text":"TemporaryFile(/tmp/multipartBody7572267753345702204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139844794,"filename":"image_30102025_15_01_58_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/3/c8f39df045c78a9489120dc898b09821.jpg","text":"TemporaryFile(/tmp/multipartBody7807897393716293700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139844794,"filename":"image_30102025_15_02_16_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/3/aaf52d92a4b61fcf5602f1c8eb392617.jpg","text":"TemporaryFile(/tmp/multipartBody7570032004384983029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139844794,"filename":"image_30102025_15_01_52_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980198","file1":"1391980197","file0":"1391980196","file4":"1391980202","file5":"1391980204","file3":"1391980200"},"map_files_photo_id_array":[{"photo_id":"1391980204","filename":"file5"},{"photo_id":"1391980198","filename":"file2"},{"photo_id":"1391980202","filename":"file4"},{"photo_id":"1391980197","filename":"file1"},{"photo_id":"1391980196","filename":"file0"},{"photo_id":"1391980200","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980196":["hashtag1","hashtag2"]},{"1391980200":["hashtag1","hashtag2"]},{"1391980202":["hashtag1","hashtag2"]},{"1391980198":["hashtag1","hashtag2"]},{"1391980204":["hashtag1","hashtag2"]},{"1391980197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980196, 1391980200, 1391980202, 1391980198, 1391980204, 1391980197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.710838317871094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:17:03.284805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_19_2700.jpg', '/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_28_2678.jpg', '/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_37_2661.jpg', '/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_52_1633.jpg', '/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_53_1637.jpg', '/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_01_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/15/02/image_30102025_15_02_19_2700.jpg
/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_28_2678.jpg
/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_37_2661.jpg
/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_52_1633.jpg
/home/pi/Desktop/images/30102025/15/02/image_30102025_15_02_53_1637.jpg
/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_01_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980218","1391980215","1391980220","1391980217","1391980219","1391980221"],"photo_ids_order":["1391980215","1391980217","1391980218","1391980219","1391980220","1391980221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f52ba3b413f918e2f1e3ab86fa15136c.jpg","text":"TemporaryFile(/tmp/multipartBody3709369685588163416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139885157,"filename":"image_30102025_15_02_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/3/4ec90fefaf7d34320305e4890dd243fd.jpg","text":"TemporaryFile(/tmp/multipartBody6288473210893280779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139885157,"filename":"image_30102025_15_02_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/3/5504d49fbd409d5568243751697cf40f.jpg","text":"TemporaryFile(/tmp/multipartBody186209048013684827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139885157,"filename":"image_30102025_15_02_53_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/3/6076fa65f4ec5778de4de60ec0caa986.jpg","text":"TemporaryFile(/tmp/multipartBody5194417447201595562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139885157,"filename":"image_30102025_15_02_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/3/c0c1d9b777130c8be70e3113980af935.jpg","text":"TemporaryFile(/tmp/multipartBody581390233843683665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139885157,"filename":"image_30102025_15_02_52_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/3/b56a6823bfdc4faeb7c497543d49e84c.jpg","text":"TemporaryFile(/tmp/multipartBody7928078592094807196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139885157,"filename":"image_30102025_15_03_01_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980218","file1":"1391980217","file0":"1391980215","file4":"1391980220","file5":"1391980221","file3":"1391980219"},"map_files_photo_id_array":[{"photo_id":"1391980221","filename":"file5"},{"photo_id":"1391980218","filename":"file2"},{"photo_id":"1391980220","filename":"file4"},{"photo_id":"1391980217","filename":"file1"},{"photo_id":"1391980215","filename":"file0"},{"photo_id":"1391980219","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980218":["hashtag1","hashtag2"]},{"1391980215":["hashtag1","hashtag2"]},{"1391980220":["hashtag1","hashtag2"]},{"1391980217":["hashtag1","hashtag2"]},{"1391980219":["hashtag1","hashtag2"]},{"1391980221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980218, 1391980215, 1391980220, 1391980217, 1391980219, 1391980221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55063223838806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:17:42.614303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_53_2760.jpg', '/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_07_5673.jpg', '/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_29_1630.jpg', '/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_34_1586.jpg', '/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_36_1801.jpg', '/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_44_5550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/17/image_31102025_01_17_53_2760.jpg
/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_07_5673.jpg
/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_29_1630.jpg
/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_34_1586.jpg
/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_36_1801.jpg
/home/pi/Desktop/images/31102025/01/18/image_31102025_01_18_44_5550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980233","1391980229","1391980243","1391980237","1391980246","1391980240"],"photo_ids_order":["1391980229","1391980233","1391980237","1391980240","1391980243","1391980246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4bdbd65dc3ae92e42f3c87eab6a9150f.jpg","text":"TemporaryFile(/tmp/multipartBody8335128134700284646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139924067,"filename":"image_31102025_01_18_07_5673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/30ca7f45442149d06c927b311880727f.jpg","text":"TemporaryFile(/tmp/multipartBody1077826113007744422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139924067,"filename":"image_31102025_01_17_53_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/3/e995cbc14a5e56fba4482cf2a13e055f.jpg","text":"TemporaryFile(/tmp/multipartBody5054906799761766092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139924067,"filename":"image_31102025_01_18_36_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dad655fe938afdf9607bc23e50cbba89.jpg","text":"TemporaryFile(/tmp/multipartBody5840755361908008885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139924067,"filename":"image_31102025_01_18_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/3/353c5bcf270979d31ea6af5319a8b9eb.jpg","text":"TemporaryFile(/tmp/multipartBody8017967455396561450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139924067,"filename":"image_31102025_01_18_44_5550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e98cdb9afa9d08349494ce8dd73ebf7.jpg","text":"TemporaryFile(/tmp/multipartBody7414586408065508911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139924067,"filename":"image_31102025_01_18_34_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980237","file1":"1391980233","file0":"1391980229","file4":"1391980243","file5":"1391980246","file3":"1391980240"},"map_files_photo_id_array":[{"photo_id":"1391980246","filename":"file5"},{"photo_id":"1391980237","filename":"file2"},{"photo_id":"1391980243","filename":"file4"},{"photo_id":"1391980233","filename":"file1"},{"photo_id":"1391980229","filename":"file0"},{"photo_id":"1391980240","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980233":["hashtag1","hashtag2"]},{"1391980229":["hashtag1","hashtag2"]},{"1391980243":["hashtag1","hashtag2"]},{"1391980237":["hashtag1","hashtag2"]},{"1391980246":["hashtag1","hashtag2"]},{"1391980240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980233, 1391980229, 1391980243, 1391980237, 1391980246, 1391980240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0187087059021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:18:22.817035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_16_2801.jpg', '/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_25_2745.jpg', '/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_34_3797.jpg', '/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_43_3551.jpg', '/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_46_2713.jpg', '/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_56_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_16_2801.jpg
/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_25_2745.jpg
/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_34_3797.jpg
/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_43_3551.jpg
/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_46_2713.jpg
/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_56_10463.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980251","1391980265","1391980259","1391980253","1391980262","1391980257"],"photo_ids_order":["1391980251","1391980253","1391980257","1391980259","1391980262","1391980265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/acd6cd84e31b4f014461ec4e30277da5.jpg","text":"TemporaryFile(/tmp/multipartBody5175507686557333499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139965209,"filename":"image_30102025_15_03_16_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/3/bc4ef17f47de7a6eac87a094f7013157.jpg","text":"TemporaryFile(/tmp/multipartBody9192863952961371884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139965209,"filename":"image_30102025_15_03_56_10463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2040ed4864e2dda6e6f023d9587d26d.jpg","text":"TemporaryFile(/tmp/multipartBody1931064986980281923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139965209,"filename":"image_30102025_15_03_43_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/3/587c3138c978603afc86cd0b34451a87.jpg","text":"TemporaryFile(/tmp/multipartBody7646630085663905823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139965209,"filename":"image_30102025_15_03_25_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d438b00b1dfc55937807382a6860b389.jpg","text":"TemporaryFile(/tmp/multipartBody3637894342341189584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139965209,"filename":"image_30102025_15_03_46_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/3/68b8aa3cdaaf34d1c6e2c86e65b2b327.jpg","text":"TemporaryFile(/tmp/multipartBody1227606988107867648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762139965209,"filename":"image_30102025_15_03_34_3797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980257","file1":"1391980253","file0":"1391980251","file4":"1391980262","file5":"1391980265","file3":"1391980259"},"map_files_photo_id_array":[{"photo_id":"1391980265","filename":"file5"},{"photo_id":"1391980257","filename":"file2"},{"photo_id":"1391980262","filename":"file4"},{"photo_id":"1391980253","filename":"file1"},{"photo_id":"1391980251","filename":"file0"},{"photo_id":"1391980259","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980251":["hashtag1","hashtag2"]},{"1391980265":["hashtag1","hashtag2"]},{"1391980259":["hashtag1","hashtag2"]},{"1391980253":["hashtag1","hashtag2"]},{"1391980262":["hashtag1","hashtag2"]},{"1391980257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980251, 1391980265, 1391980259, 1391980253, 1391980262, 1391980257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75241661071777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:19:03.097532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_58_1845.jpg', '/home/pi/Desktop/images/30102025/15/03/image_30102025_15_04_00_1634.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_02_1671.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_03_1709.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_05_1800.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_07_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/03/image_30102025_15_03_58_1845.jpg
/home/pi/Desktop/images/30102025/15/03/image_30102025_15_04_00_1634.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_02_1671.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_03_1709.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_05_1800.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_07_1666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980280","1391980274","1391980273","1391980272","1391980275","1391980278"],"photo_ids_order":["1391980272","1391980273","1391980274","1391980275","1391980278","1391980280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a1ffbffadeab76ee79428482b68e19e8.jpg","text":"TemporaryFile(/tmp/multipartBody7493604139981697518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140005047,"filename":"image_30102025_15_04_07_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/3/c5b7895b84e5783a9aad0c9cc1e67d26.jpg","text":"TemporaryFile(/tmp/multipartBody2844101962428875594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140005047,"filename":"image_30102025_15_04_02_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/3/5b7ae89d8fbe8ad1cc931621fcf999d1.jpg","text":"TemporaryFile(/tmp/multipartBody8538319679213100001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140005047,"filename":"image_30102025_15_04_00_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/3/8cde7181d1570b6768a94e6d1e30cca5.jpg","text":"TemporaryFile(/tmp/multipartBody7951638595486736596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140005047,"filename":"image_30102025_15_03_58_1845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8e9cc3d850df27eb66a3c257befc6e39.jpg","text":"TemporaryFile(/tmp/multipartBody2119272226483893393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140005047,"filename":"image_30102025_15_04_03_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/3/8cff834d038691f8a70ebe71a2b9ee40.jpg","text":"TemporaryFile(/tmp/multipartBody4321098535936873427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140005047,"filename":"image_30102025_15_04_05_1800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980274","file1":"1391980273","file0":"1391980272","file4":"1391980278","file5":"1391980280","file3":"1391980275"},"map_files_photo_id_array":[{"photo_id":"1391980280","filename":"file5"},{"photo_id":"1391980274","filename":"file2"},{"photo_id":"1391980278","filename":"file4"},{"photo_id":"1391980273","filename":"file1"},{"photo_id":"1391980272","filename":"file0"},{"photo_id":"1391980275","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980280":["hashtag1","hashtag2"]},{"1391980274":["hashtag1","hashtag2"]},{"1391980273":["hashtag1","hashtag2"]},{"1391980272":["hashtag1","hashtag2"]},{"1391980275":["hashtag1","hashtag2"]},{"1391980278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980280, 1391980274, 1391980273, 1391980272, 1391980275, 1391980278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8000705242157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:19:42.090927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/18/image_31102025_01_19_00_3124.jpg', '/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_03_1686.jpg', '/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_05_1705.jpg', '/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_15_1631.jpg', '/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_18_1741.jpg', '/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_23_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/18/image_31102025_01_19_00_3124.jpg
/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_03_1686.jpg
/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_05_1705.jpg
/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_15_1631.jpg
/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_18_1741.jpg
/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_23_2853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980289","1391980291","1391980285","1391980293","1391980287","1391980296"],"photo_ids_order":["1391980285","1391980287","1391980289","1391980291","1391980293","1391980296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc769ef6cc6e13ece082def55396dc79.jpg","text":"TemporaryFile(/tmp/multipartBody3367451074377540648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140043204,"filename":"image_31102025_01_19_05_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0001df680577483457d76862633d0a71.jpg","text":"TemporaryFile(/tmp/multipartBody4689072569959521330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140043204,"filename":"image_31102025_01_19_15_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/3/f9229f0ab72108f414dbc854a1fc898c.jpg","text":"TemporaryFile(/tmp/multipartBody1261199159447782279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140043204,"filename":"image_31102025_01_19_00_3124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/88731072701bf8027fedcbd365a42c54.jpg","text":"TemporaryFile(/tmp/multipartBody3086532710625307097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140043204,"filename":"image_31102025_01_19_18_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/3/51363510d26689f0dff9c261e11d2c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3925375459876797270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140043204,"filename":"image_31102025_01_19_03_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/3/26a0aa437ef95f8867d259f5c78b1bf4.jpg","text":"TemporaryFile(/tmp/multipartBody3938284548607496660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140043204,"filename":"image_31102025_01_19_23_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980289","file1":"1391980287","file0":"1391980285","file4":"1391980293","file5":"1391980296","file3":"1391980291"},"map_files_photo_id_array":[{"photo_id":"1391980296","filename":"file5"},{"photo_id":"1391980289","filename":"file2"},{"photo_id":"1391980293","filename":"file4"},{"photo_id":"1391980287","filename":"file1"},{"photo_id":"1391980285","filename":"file0"},{"photo_id":"1391980291","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980289":["hashtag1","hashtag2"]},{"1391980291":["hashtag1","hashtag2"]},{"1391980285":["hashtag1","hashtag2"]},{"1391980293":["hashtag1","hashtag2"]},{"1391980287":["hashtag1","hashtag2"]},{"1391980296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980289, 1391980291, 1391980285, 1391980293, 1391980287, 1391980296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.891069650650024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:20:22.212589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_10_2748.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_13_3700.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_16_2679.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_19_3009.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_22_2781.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_25_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/15/04/image_30102025_15_04_10_2748.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_13_3700.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_16_2679.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_19_3009.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_22_2781.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_25_3794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980308","1391980304","1391980307","1391980306","1391980315","1391980309"],"photo_ids_order":["1391980304","1391980306","1391980307","1391980308","1391980309","1391980315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b350a516bea0bdabf573f27d603003f.jpg","text":"TemporaryFile(/tmp/multipartBody8968585496051244254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140084602,"filename":"image_30102025_15_04_19_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/3/f71c97aaf0a6da7c9ab7cba81f24bec1.jpg","text":"TemporaryFile(/tmp/multipartBody6871196815668261180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140084602,"filename":"image_30102025_15_04_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/3/2450ed94e480bfcbc82c60daaa5e1810.jpg","text":"TemporaryFile(/tmp/multipartBody5719254059350186106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140084602,"filename":"image_30102025_15_04_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/3/e38e2bc337c2a1e20282500e22e40385.jpg","text":"TemporaryFile(/tmp/multipartBody6687077325088421726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140084602,"filename":"image_30102025_15_04_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/3/bf92a7863d408d7bd47919a620cd7f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4549390573869051549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140084602,"filename":"image_30102025_15_04_25_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/3/90c2f84e9dd33b77f23db50bafd55c7a.jpg","text":"TemporaryFile(/tmp/multipartBody4983218532352259959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140084602,"filename":"image_30102025_15_04_22_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980307","file1":"1391980306","file0":"1391980304","file4":"1391980309","file5":"1391980315","file3":"1391980308"},"map_files_photo_id_array":[{"photo_id":"1391980315","filename":"file5"},{"photo_id":"1391980307","filename":"file2"},{"photo_id":"1391980309","filename":"file4"},{"photo_id":"1391980306","filename":"file1"},{"photo_id":"1391980304","filename":"file0"},{"photo_id":"1391980308","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980308":["hashtag1","hashtag2"]},{"1391980304":["hashtag1","hashtag2"]},{"1391980307":["hashtag1","hashtag2"]},{"1391980306":["hashtag1","hashtag2"]},{"1391980315":["hashtag1","hashtag2"]},{"1391980309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980308, 1391980304, 1391980307, 1391980306, 1391980315, 1391980309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.578757762908936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:21:02.961778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_28_2684.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_31_2776.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_34_2789.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_37_3602.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_40_2680.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_43_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/15/04/image_30102025_15_04_28_2684.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_31_2776.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_34_2789.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_37_3602.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_40_2680.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_43_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":["1391980332","1391980334","1391980328","1391980337","1391980336","1391980330"],"photo_ids_order":["1391980328","1391980330","1391980332","1391980334","1391980336","1391980337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ebbfd3820d737790e4696e9ac2bae123.jpg","text":"TemporaryFile(/tmp/multipartBody6077309418871108336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140127736,"filename":"image_30102025_15_04_34_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/3/9441ac8d2f2ed90102eb13dfe219d5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2327670852874850803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140127736,"filename":"image_30102025_15_04_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/3/9b8829785391ac3871656f2278d85c07.jpg","text":"TemporaryFile(/tmp/multipartBody2017265661335316745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140127736,"filename":"image_30102025_15_04_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/3/38637caeff8cfcce7b44af96b6021a20.jpg","text":"TemporaryFile(/tmp/multipartBody5914259328954869242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140127736,"filename":"image_30102025_15_04_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/3/e4ec51985132b0501514f97d7a453aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8842393933657903570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140127736,"filename":"image_30102025_15_04_40_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/3/c95c1c5c2302157b411f704e7542d269.jpg","text":"TemporaryFile(/tmp/multipartBody6955455347404730355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140127736,"filename":"image_30102025_15_04_31_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980332","file1":"1391980330","file0":"1391980328","file4":"1391980336","file5":"1391980337","file3":"1391980334"},"map_files_photo_id_array":[{"photo_id":"1391980337","filename":"file5"},{"photo_id":"1391980332","filename":"file2"},{"photo_id":"1391980336","filename":"file4"},{"photo_id":"1391980330","filename":"file1"},{"photo_id":"1391980328","filename":"file0"},{"photo_id":"1391980334","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980332":["hashtag1","hashtag2"]},{"1391980334":["hashtag1","hashtag2"]},{"1391980328":["hashtag1","hashtag2"]},{"1391980337":["hashtag1","hashtag2"]},{"1391980336":["hashtag1","hashtag2"]},{"1391980330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980332, 1391980334, 1391980328, 1391980337, 1391980336, 1391980330)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 66.73245429992676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:22:22.020607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:22:46.557451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:23:03.424472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:23:22.799799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_46_3721.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_49_2588.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_52_2710.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_54_2750.jpg', '/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_58_3686.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_01_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/15/04/image_30102025_15_04_46_3721.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_49_2588.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_52_2710.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_54_2750.jpg
/home/pi/Desktop/images/30102025/15/04/image_30102025_15_04_58_3686.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_01_2555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980382","1391980376","1391980379","1391980373","1391980375","1391980377"],"photo_ids_order":["1391980373","1391980375","1391980376","1391980377","1391980379","1391980382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/657f88ccbf0a5d8e9f4987cc9f945c94.jpg","text":"TemporaryFile(/tmp/multipartBody3961507545113391524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140266528,"filename":"image_30102025_15_05_01_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/3/1ae23fa45092f6e315421afdf3be49f7.jpg","text":"TemporaryFile(/tmp/multipartBody5070326868731241858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140266528,"filename":"image_30102025_15_04_52_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56f1820c03dbcb6aa4182fd16d2c7686.jpg","text":"TemporaryFile(/tmp/multipartBody5150976928536531259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140266528,"filename":"image_30102025_15_04_58_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/3/2c6d5ec703ba037769a5fed3ba8410b5.jpg","text":"TemporaryFile(/tmp/multipartBody1250999388924817634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140266528,"filename":"image_30102025_15_04_46_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/3/86ae608af88a63e42e4daf1d4fbe453e.jpg","text":"TemporaryFile(/tmp/multipartBody777800189418064857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140266528,"filename":"image_30102025_15_04_49_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/3/b3facf603ff1d72f588078b21a57cb2e.jpg","text":"TemporaryFile(/tmp/multipartBody7165265776394495324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140266528,"filename":"image_30102025_15_04_54_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980376","file1":"1391980375","file0":"1391980373","file4":"1391980379","file5":"1391980382","file3":"1391980377"},"map_files_photo_id_array":[{"photo_id":"1391980382","filename":"file5"},{"photo_id":"1391980376","filename":"file2"},{"photo_id":"1391980379","filename":"file4"},{"photo_id":"1391980375","filename":"file1"},{"photo_id":"1391980373","filename":"file0"},{"photo_id":"1391980377","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980382":["hashtag1","hashtag2"]},{"1391980376":["hashtag1","hashtag2"]},{"1391980379":["hashtag1","hashtag2"]},{"1391980373":["hashtag1","hashtag2"]},{"1391980375":["hashtag1","hashtag2"]},{"1391980377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980382, 1391980376, 1391980379, 1391980373, 1391980375, 1391980377)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.08167266845703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:24:21.940006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_04_3719.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_12_4678.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_14_2778.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_16_1882.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_19_2562.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_28_9121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_04_3719.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_12_4678.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_14_2778.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_16_1882.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_19_2562.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_28_9121.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.018627405166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:24:43.769155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_41_2676.jpg', '/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_59_2733.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_03_3745.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_09_2752.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_18_3656.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_24_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_41_2676.jpg
/home/pi/Desktop/images/31102025/01/19/image_31102025_01_19_59_2733.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_03_3745.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_09_2752.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_18_3656.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_24_2773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980422","1391980419","1391980412","1391980415","1391980417","1391980426"],"photo_ids_order":["1391980412","1391980415","1391980417","1391980419","1391980422","1391980426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2b805d0bcef054c5efa9e21557e3e5b0.jpg","text":"TemporaryFile(/tmp/multipartBody2211909332070169591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140360564,"filename":"image_31102025_01_20_18_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/3/19580ac67bede07959112df0dcfe9e11.jpg","text":"TemporaryFile(/tmp/multipartBody5645718353691112620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140360564,"filename":"image_31102025_01_20_09_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/3/712f2c9d0ae45525f7409482a61f3d33.jpg","text":"TemporaryFile(/tmp/multipartBody5069219816773648761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140360564,"filename":"image_31102025_01_19_41_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/3/dfe84cc78accba788bc68367d1d544e4.jpg","text":"TemporaryFile(/tmp/multipartBody4396894319430993646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140360564,"filename":"image_31102025_01_19_59_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/3/c6b81e17bd9f97bc3f8128b3221cedc7.jpg","text":"TemporaryFile(/tmp/multipartBody4138830159602218611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140360564,"filename":"image_31102025_01_20_03_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/3/2697b47bea4d96a3e7267a9ff096234b.jpg","text":"TemporaryFile(/tmp/multipartBody787895551550102817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140360564,"filename":"image_31102025_01_20_24_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980417","file1":"1391980415","file0":"1391980412","file4":"1391980422","file5":"1391980426","file3":"1391980419"},"map_files_photo_id_array":[{"photo_id":"1391980426","filename":"file5"},{"photo_id":"1391980417","filename":"file2"},{"photo_id":"1391980422","filename":"file4"},{"photo_id":"1391980415","filename":"file1"},{"photo_id":"1391980412","filename":"file0"},{"photo_id":"1391980419","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980422":["hashtag1","hashtag2"]},{"1391980419":["hashtag1","hashtag2"]},{"1391980412":["hashtag1","hashtag2"]},{"1391980415":["hashtag1","hashtag2"]},{"1391980417":["hashtag1","hashtag2"]},{"1391980426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980422, 1391980419, 1391980412, 1391980415, 1391980417, 1391980426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.3848979473114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:25:41.884029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_33_3640.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_54_3690.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_57_2913.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_09_2739.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_17_2626.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_20_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_33_3640.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_54_3690.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_57_2913.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_09_2739.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_17_2626.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_20_2707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.103297472000122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:26:02.443338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:26:22.082340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_04_3719.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_12_4678.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_14_2778.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_16_1882.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_19_2562.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_28_9121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_04_3719.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_12_4678.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_14_2778.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_16_1882.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_19_2562.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_28_9121.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980463","1391980459","1391980476","1391980470","1391980473","1391980467"],"photo_ids_order":["1391980459","1391980463","1391980467","1391980470","1391980473","1391980476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cb01d79414446a334e3058feb669630b.jpg","text":"TemporaryFile(/tmp/multipartBody4150503648748120666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140462740,"filename":"image_30102025_15_05_12_4678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56d804b11706294a26b79a6df2da4a9c.jpg","text":"TemporaryFile(/tmp/multipartBody4130019119554829879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140462740,"filename":"image_30102025_15_05_04_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/3/c4ab86d0fbf7b84ea8bfa96049c714e4.jpg","text":"TemporaryFile(/tmp/multipartBody2692191308658872753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140462740,"filename":"image_30102025_15_05_28_9121.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4226830e9c566d3ef424676eba73b7ec.jpg","text":"TemporaryFile(/tmp/multipartBody4683965745969840215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140462740,"filename":"image_30102025_15_05_16_1882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6af4e011256caaccfb52968c977d1500.jpg","text":"TemporaryFile(/tmp/multipartBody4507240018455187183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140462740,"filename":"image_30102025_15_05_19_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7bc963a72cb64318b47d6fb22f627faf.jpg","text":"TemporaryFile(/tmp/multipartBody6509364826479527695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140462740,"filename":"image_30102025_15_05_14_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980467","file1":"1391980463","file0":"1391980459","file4":"1391980473","file5":"1391980476","file3":"1391980470"},"map_files_photo_id_array":[{"photo_id":"1391980476","filename":"file5"},{"photo_id":"1391980467","filename":"file2"},{"photo_id":"1391980473","filename":"file4"},{"photo_id":"1391980463","filename":"file1"},{"photo_id":"1391980459","filename":"file0"},{"photo_id":"1391980470","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980463":["hashtag1","hashtag2"]},{"1391980459":["hashtag1","hashtag2"]},{"1391980476":["hashtag1","hashtag2"]},{"1391980470":["hashtag1","hashtag2"]},{"1391980473":["hashtag1","hashtag2"]},{"1391980467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980463, 1391980459, 1391980476, 1391980470, 1391980473, 1391980467)","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.18775463104248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:28:03.109666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_30_1623.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_31_1702.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_33_1782.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_39_5495.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_40_1646.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_42_1705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_30_1623.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_31_1702.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_33_1782.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_39_5495.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_40_1646.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_42_1705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980500","1391980503","1391980493","1391980495","1391980497","1391980491"],"photo_ids_order":["1391980491","1391980493","1391980495","1391980497","1391980500","1391980503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/868da71620473c897bd1a0e5eac4a703.jpg","text":"TemporaryFile(/tmp/multipartBody5584967259682889932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140544945,"filename":"image_30102025_15_05_40_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/3/8e0b161163946c82358e27aabe565362.jpg","text":"TemporaryFile(/tmp/multipartBody1227973999831959129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140544945,"filename":"image_30102025_15_05_42_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/3/1533e5c032a4de7f3aefe70310ad44f4.jpg","text":"TemporaryFile(/tmp/multipartBody8184078511675100895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140544945,"filename":"image_30102025_15_05_31_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7e2fe0cdac52bf99627be1379144cebc.jpg","text":"TemporaryFile(/tmp/multipartBody8412987334428211545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140544945,"filename":"image_30102025_15_05_33_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/3/51ba397b6f2bc7cb1b32106d3364e287.jpg","text":"TemporaryFile(/tmp/multipartBody278057282993977826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140544945,"filename":"image_30102025_15_05_39_5495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/92d559a17c78e46ee8504ae386c8a7d9.jpg","text":"TemporaryFile(/tmp/multipartBody5029573793328358039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140544945,"filename":"image_30102025_15_05_30_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980495","file1":"1391980493","file0":"1391980491","file4":"1391980500","file5":"1391980503","file3":"1391980497"},"map_files_photo_id_array":[{"photo_id":"1391980503","filename":"file5"},{"photo_id":"1391980495","filename":"file2"},{"photo_id":"1391980500","filename":"file4"},{"photo_id":"1391980493","filename":"file1"},{"photo_id":"1391980491","filename":"file0"},{"photo_id":"1391980497","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980500":["hashtag1","hashtag2"]},{"1391980503":["hashtag1","hashtag2"]},{"1391980493":["hashtag1","hashtag2"]},{"1391980495":["hashtag1","hashtag2"]},{"1391980497":["hashtag1","hashtag2"]},{"1391980491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980500, 1391980503, 1391980493, 1391980495, 1391980497, 1391980491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.630767822265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:28:42.540804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_33_3640.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_54_3690.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_57_2913.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_09_2739.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_17_2626.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_20_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_33_3640.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_54_3690.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_57_2913.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_09_2739.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_17_2626.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_20_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980509","1391980512","1391980522","1391980516","1391980519","1391980507"],"photo_ids_order":["1391980507","1391980509","1391980512","1391980516","1391980519","1391980522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/95b2e1cc206a6ea1884688fce84f167b.jpg","text":"TemporaryFile(/tmp/multipartBody4494511491015708723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140583513,"filename":"image_31102025_01_20_54_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/3/6faa0a3d43cb9e8a716784c6a1e8ecfa.jpg","text":"TemporaryFile(/tmp/multipartBody6229781276985974753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140583513,"filename":"image_31102025_01_20_57_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/3/3d6d0005759b31b7f66c91cb28804a08.jpg","text":"TemporaryFile(/tmp/multipartBody3747768405430573884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140583513,"filename":"image_31102025_01_21_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/3/4a9541c2db042d2189c8ca12c8d6824c.jpg","text":"TemporaryFile(/tmp/multipartBody8533010175410463235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140583513,"filename":"image_31102025_01_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/3/ede5621d9b09bbf1fa6da44cdeb4fa3a.jpg","text":"TemporaryFile(/tmp/multipartBody7152507735964925561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140583513,"filename":"image_31102025_01_21_17_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b184c1b556585cb86ab3d701418b8b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4411796426091165257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140583513,"filename":"image_31102025_01_20_33_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980512","file1":"1391980509","file0":"1391980507","file4":"1391980519","file5":"1391980522","file3":"1391980516"},"map_files_photo_id_array":[{"photo_id":"1391980522","filename":"file5"},{"photo_id":"1391980512","filename":"file2"},{"photo_id":"1391980519","filename":"file4"},{"photo_id":"1391980509","filename":"file1"},{"photo_id":"1391980507","filename":"file0"},{"photo_id":"1391980516","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980509":["hashtag1","hashtag2"]},{"1391980512":["hashtag1","hashtag2"]},{"1391980522":["hashtag1","hashtag2"]},{"1391980516":["hashtag1","hashtag2"]},{"1391980519":["hashtag1","hashtag2"]},{"1391980507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980509, 1391980512, 1391980522, 1391980516, 1391980519, 1391980507)","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 = 1391980512 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_57_2913.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391980512 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_57_2913.jpg";
uploaded 6 photos
time to upload: 88.2739851474762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:30:12.196534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:30:31.613464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_44_1644.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_46_2697.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_49_2831.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_52_2652.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_54_2652.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_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/15/05/image_30102025_15_05_44_1644.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_46_2697.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_49_2831.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_52_2652.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_54_2652.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_58_3735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980536","1391980538","1391980532","1391980540","1391980531","1391980533"],"photo_ids_order":["1391980531","1391980532","1391980533","1391980536","1391980538","1391980540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b59703880b752c8f237bbf03707461bb.jpg","text":"TemporaryFile(/tmp/multipartBody6675606888449446976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140694092,"filename":"image_30102025_15_05_52_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2a9309fd06119694241c3e238b6270d3.jpg","text":"TemporaryFile(/tmp/multipartBody6737068857973576726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140694092,"filename":"image_30102025_15_05_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/3/0d806b82cdeb2bd02f54673bdeb21f16.jpg","text":"TemporaryFile(/tmp/multipartBody6630209816863621654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140694092,"filename":"image_30102025_15_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/3/4b2021fcb99f6f998274b5117c46ba7c.jpg","text":"TemporaryFile(/tmp/multipartBody4580124931378016041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140694092,"filename":"image_30102025_15_05_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/3/c2cef4f6403b900a542931f41fc8173c.jpg","text":"TemporaryFile(/tmp/multipartBody4610508722837241828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140694092,"filename":"image_30102025_15_05_44_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/3/5efc8ff2bd3d87d3aab2483c9dfeaf82.jpg","text":"TemporaryFile(/tmp/multipartBody8732305281005596701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140694092,"filename":"image_30102025_15_05_49_2831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980533","file1":"1391980532","file0":"1391980531","file4":"1391980538","file5":"1391980540","file3":"1391980536"},"map_files_photo_id_array":[{"photo_id":"1391980540","filename":"file5"},{"photo_id":"1391980533","filename":"file2"},{"photo_id":"1391980538","filename":"file4"},{"photo_id":"1391980532","filename":"file1"},{"photo_id":"1391980531","filename":"file0"},{"photo_id":"1391980536","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980536":["hashtag1","hashtag2"]},{"1391980538":["hashtag1","hashtag2"]},{"1391980532":["hashtag1","hashtag2"]},{"1391980540":["hashtag1","hashtag2"]},{"1391980531":["hashtag1","hashtag2"]},{"1391980533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980536, 1391980538, 1391980532, 1391980540, 1391980531, 1391980533)","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 = 1391980533 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_49_2831.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391980533 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_49_2831.jpg";
uploaded 6 photos
time to upload: 71.46871089935303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:32:03.048451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:32:22.699798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:33:17.138015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_44_1644.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_46_2697.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_49_2831.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_52_2652.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_54_2652.jpg', '/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_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/15/05/image_30102025_15_05_44_1644.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_46_2697.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_49_2831.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_52_2652.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_54_2652.jpg
/home/pi/Desktop/images/30102025/15/05/image_30102025_15_05_58_3735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980592","1391980597","1391980594","1391980588","1391980599","1391980590"],"photo_ids_order":["1391980588","1391980590","1391980592","1391980594","1391980597","1391980599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/652766e8f34c7e99b7f632698922eb8a.jpg","text":"TemporaryFile(/tmp/multipartBody7022740751714918683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140865444,"filename":"image_30102025_15_05_49_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/3/87d63862f0398d0aac0d72d9d3a834d0.jpg","text":"TemporaryFile(/tmp/multipartBody3684906906619814594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140865444,"filename":"image_30102025_15_05_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/3/27796bd6b6b3a3689af2777d75253c2a.jpg","text":"TemporaryFile(/tmp/multipartBody5550013480835601093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140865444,"filename":"image_30102025_15_05_52_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f93ce1b8b8e28aadfe55ddfd0e57fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6534063404076229221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140865444,"filename":"image_30102025_15_05_44_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/3/98bbc216f5494bc92f1ed8056a2edca7.jpg","text":"TemporaryFile(/tmp/multipartBody5447854717846297399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140865444,"filename":"image_30102025_15_05_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/3/169d0768a1dec7dc417fa30a68dc40d0.jpg","text":"TemporaryFile(/tmp/multipartBody696550185829387176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140865444,"filename":"image_30102025_15_05_46_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980592","file1":"1391980590","file0":"1391980588","file4":"1391980597","file5":"1391980599","file3":"1391980594"},"map_files_photo_id_array":[{"photo_id":"1391980599","filename":"file5"},{"photo_id":"1391980592","filename":"file2"},{"photo_id":"1391980597","filename":"file4"},{"photo_id":"1391980590","filename":"file1"},{"photo_id":"1391980588","filename":"file0"},{"photo_id":"1391980594","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980592":["hashtag1","hashtag2"]},{"1391980597":["hashtag1","hashtag2"]},{"1391980594":["hashtag1","hashtag2"]},{"1391980588":["hashtag1","hashtag2"]},{"1391980599":["hashtag1","hashtag2"]},{"1391980590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980592, 1391980597, 1391980594, 1391980588, 1391980599, 1391980590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61547040939331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:34:03.372093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_01_2629.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_04_2670.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_07_3705.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_10_2854.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_13_2768.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_15_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/15/06/image_30102025_15_06_01_2629.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_04_2670.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_07_3705.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_10_2854.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_13_2768.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_15_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980608","1391980604","1391980616","1391980618","1391980612","1391980606"],"photo_ids_order":["1391980604","1391980606","1391980608","1391980612","1391980616","1391980618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fd9c4daeaca622d3a6394c78337a6c62.jpg","text":"TemporaryFile(/tmp/multipartBody1092663172176201706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140905470,"filename":"image_30102025_15_06_07_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/3/6d6cce93df3254a750ab162c7b5f0e1b.jpg","text":"TemporaryFile(/tmp/multipartBody8966703900322997525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140905470,"filename":"image_30102025_15_06_01_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/3/f88154f229014ffe1896810353ce8bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6507305684599326517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140905470,"filename":"image_30102025_15_06_13_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/3/840981ad664bc4ffc143eec4d1e2f45c.jpg","text":"TemporaryFile(/tmp/multipartBody3817849794523628926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140905470,"filename":"image_30102025_15_06_15_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/3/454318cd018e9626577269a9de624250.jpg","text":"TemporaryFile(/tmp/multipartBody1301446303883078063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140905470,"filename":"image_30102025_15_06_10_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/3/edd076444f6825058b8307aa52772a4a.jpg","text":"TemporaryFile(/tmp/multipartBody3876758622418534095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140905470,"filename":"image_30102025_15_06_04_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980608","file1":"1391980606","file0":"1391980604","file4":"1391980616","file5":"1391980618","file3":"1391980612"},"map_files_photo_id_array":[{"photo_id":"1391980618","filename":"file5"},{"photo_id":"1391980608","filename":"file2"},{"photo_id":"1391980616","filename":"file4"},{"photo_id":"1391980606","filename":"file1"},{"photo_id":"1391980604","filename":"file0"},{"photo_id":"1391980612","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980608":["hashtag1","hashtag2"]},{"1391980604":["hashtag1","hashtag2"]},{"1391980616":["hashtag1","hashtag2"]},{"1391980618":["hashtag1","hashtag2"]},{"1391980612":["hashtag1","hashtag2"]},{"1391980606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980608, 1391980604, 1391980616, 1391980618, 1391980612, 1391980606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53474473953247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:34:42.748541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_33_3640.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_54_3690.jpg', '/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_57_2913.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_09_2739.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_17_2626.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_20_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_33_3640.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_54_3690.jpg
/home/pi/Desktop/images/31102025/01/20/image_31102025_01_20_57_2913.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_09_2739.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_17_2626.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_20_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980629","1391980631","1391980625","1391980633","1391980636","1391980627"],"photo_ids_order":["1391980625","1391980627","1391980629","1391980631","1391980633","1391980636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/19ba533883b39a204a18e4f39c33e0a5.jpg","text":"TemporaryFile(/tmp/multipartBody5456728466138276118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140943667,"filename":"image_31102025_01_20_57_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/3/a00bc5d8bdd35d4ca72ccbbdf3726fd9.jpg","text":"TemporaryFile(/tmp/multipartBody4846114256605114420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140943667,"filename":"image_31102025_01_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/3/ec01f235682be6b4fe023860d97a89ff.jpg","text":"TemporaryFile(/tmp/multipartBody2608398420550986316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140943667,"filename":"image_31102025_01_20_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/3/cac0ab98dfccba83be7f9b23214e4a6d.jpg","text":"TemporaryFile(/tmp/multipartBody2210025599378820358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140943667,"filename":"image_31102025_01_21_17_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26090e65605d494e75363d1c062b900c.jpg","text":"TemporaryFile(/tmp/multipartBody6073140462887388208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140943667,"filename":"image_31102025_01_21_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/3/d98a46c4eca3a4c586d72af36b6c9e4d.jpg","text":"TemporaryFile(/tmp/multipartBody1907944362633685757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140943667,"filename":"image_31102025_01_20_54_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980629","file1":"1391980627","file0":"1391980625","file4":"1391980633","file5":"1391980636","file3":"1391980631"},"map_files_photo_id_array":[{"photo_id":"1391980636","filename":"file5"},{"photo_id":"1391980629","filename":"file2"},{"photo_id":"1391980633","filename":"file4"},{"photo_id":"1391980627","filename":"file1"},{"photo_id":"1391980625","filename":"file0"},{"photo_id":"1391980631","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980629":["hashtag1","hashtag2"]},{"1391980631":["hashtag1","hashtag2"]},{"1391980625":["hashtag1","hashtag2"]},{"1391980633":["hashtag1","hashtag2"]},{"1391980636":["hashtag1","hashtag2"]},{"1391980627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980629, 1391980631, 1391980625, 1391980633, 1391980636, 1391980627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9534592628479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:35:21.894983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_19_3590.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_22_2607.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_24_2783.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_31_2733.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_34_2795.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_36_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/15/06/image_30102025_15_06_19_3590.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_22_2607.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_24_2783.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_31_2733.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_34_2795.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_36_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980643","1391980646","1391980648","1391980642","1391980645","1391980644"],"photo_ids_order":["1391980642","1391980643","1391980644","1391980645","1391980646","1391980648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3e6682fe1806e1ddce66f5f160656a89.jpg","text":"TemporaryFile(/tmp/multipartBody1474853849310274092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140984377,"filename":"image_30102025_15_06_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/3/ae01372fa9db66006336fb8bfaa9158e.jpg","text":"TemporaryFile(/tmp/multipartBody4650257354769515723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140984377,"filename":"image_30102025_15_06_34_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b5d0dcca0e0dacc0e6d78a625aa1ec83.jpg","text":"TemporaryFile(/tmp/multipartBody3040126476393656964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140984377,"filename":"image_30102025_15_06_36_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/3/1a7b3771c9068860b156a873ff717a11.jpg","text":"TemporaryFile(/tmp/multipartBody5558478232674122972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140984377,"filename":"image_30102025_15_06_19_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/3/855fc786221420c52958ab219071dabe.jpg","text":"TemporaryFile(/tmp/multipartBody3193252688535604666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140984377,"filename":"image_30102025_15_06_31_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/3/0b924659308f4430818396b4f7ba3e86.jpg","text":"TemporaryFile(/tmp/multipartBody1302466213413060377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762140984377,"filename":"image_30102025_15_06_24_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980644","file1":"1391980643","file0":"1391980642","file4":"1391980646","file5":"1391980648","file3":"1391980645"},"map_files_photo_id_array":[{"photo_id":"1391980648","filename":"file5"},{"photo_id":"1391980644","filename":"file2"},{"photo_id":"1391980646","filename":"file4"},{"photo_id":"1391980643","filename":"file1"},{"photo_id":"1391980642","filename":"file0"},{"photo_id":"1391980645","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980643":["hashtag1","hashtag2"]},{"1391980646":["hashtag1","hashtag2"]},{"1391980648":["hashtag1","hashtag2"]},{"1391980642":["hashtag1","hashtag2"]},{"1391980645":["hashtag1","hashtag2"]},{"1391980644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980643, 1391980646, 1391980648, 1391980642, 1391980645, 1391980644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35438871383667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:36:02.521539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_40_3685.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_43_2611.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_45_2775.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_49_3774.jpg', '/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_58_3617.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_01_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_40_3685.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_43_2611.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_45_2775.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_49_3774.jpg
/home/pi/Desktop/images/30102025/15/06/image_30102025_15_06_58_3617.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_01_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980661","1391980664","1391980663","1391980662","1391980665","1391980659"],"photo_ids_order":["1391980659","1391980661","1391980662","1391980663","1391980664","1391980665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f2ff5b44267cc014cfec199fc1791544.jpg","text":"TemporaryFile(/tmp/multipartBody4081037513892503913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141024379,"filename":"image_30102025_15_06_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/3/082f0bc80728c39bbcb06534cfd97ce1.jpg","text":"TemporaryFile(/tmp/multipartBody5547143237344287320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141024379,"filename":"image_30102025_15_06_58_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/3/19708f070a1997307d828c2f3ac4ec45.jpg","text":"TemporaryFile(/tmp/multipartBody1474603195988691718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141024379,"filename":"image_30102025_15_06_49_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/3/0ef3482ee1d116fd7c8042104418ae57.jpg","text":"TemporaryFile(/tmp/multipartBody4860341067262655833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141024379,"filename":"image_30102025_15_06_45_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/3/fcab414908ac7598ae0409d0a041ec25.jpg","text":"TemporaryFile(/tmp/multipartBody289290295984747826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141024379,"filename":"image_30102025_15_07_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/3/cd24364c23b2d2461ef15b473550a6fa.jpg","text":"TemporaryFile(/tmp/multipartBody5055985525900966869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141024379,"filename":"image_30102025_15_06_40_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980662","file1":"1391980661","file0":"1391980659","file4":"1391980664","file5":"1391980665","file3":"1391980663"},"map_files_photo_id_array":[{"photo_id":"1391980665","filename":"file5"},{"photo_id":"1391980662","filename":"file2"},{"photo_id":"1391980664","filename":"file4"},{"photo_id":"1391980661","filename":"file1"},{"photo_id":"1391980659","filename":"file0"},{"photo_id":"1391980663","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980661":["hashtag1","hashtag2"]},{"1391980664":["hashtag1","hashtag2"]},{"1391980663":["hashtag1","hashtag2"]},{"1391980662":["hashtag1","hashtag2"]},{"1391980665":["hashtag1","hashtag2"]},{"1391980659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980661, 1391980664, 1391980663, 1391980662, 1391980665, 1391980659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20542550086975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:36:42.176235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_30_2740.jpg', '/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_42_2839.jpg', '/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_05_2520.jpg', '/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_12_3626.jpg', '/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_21_3667.jpg', '/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_29_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_30_2740.jpg
/home/pi/Desktop/images/31102025/01/21/image_31102025_01_21_42_2839.jpg
/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_05_2520.jpg
/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_12_3626.jpg
/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_21_3667.jpg
/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_29_1624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980679","1391980672","1391980675","1391980669","1391980680","1391980683"],"photo_ids_order":["1391980669","1391980672","1391980675","1391980679","1391980680","1391980683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93a793c9c60a06b4f2fe870517f7d802.jpg","text":"TemporaryFile(/tmp/multipartBody2452944487395461143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141063304,"filename":"image_31102025_01_22_12_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/3/9c59f1ffd7cec8446297a4b506d07885.jpg","text":"TemporaryFile(/tmp/multipartBody4429807834211233785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141063304,"filename":"image_31102025_01_21_42_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/3/ef382555ca5be995fa52a6e918fc4ea3.jpg","text":"TemporaryFile(/tmp/multipartBody8073708114456845924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141063304,"filename":"image_31102025_01_22_05_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/3/5da446ebf6ccb101e6ca117428697857.jpg","text":"TemporaryFile(/tmp/multipartBody1438072856518933611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141063304,"filename":"image_31102025_01_21_30_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/3/85b3465c21a8240f07d3f35bd513e521.jpg","text":"TemporaryFile(/tmp/multipartBody3739218487481670047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141063304,"filename":"image_31102025_01_22_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/3/ddac5e88cfd99f8f355bf74e14c54292.jpg","text":"TemporaryFile(/tmp/multipartBody6955677771597698842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141063304,"filename":"image_31102025_01_22_29_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980675","file1":"1391980672","file0":"1391980669","file4":"1391980680","file5":"1391980683","file3":"1391980679"},"map_files_photo_id_array":[{"photo_id":"1391980683","filename":"file5"},{"photo_id":"1391980675","filename":"file2"},{"photo_id":"1391980680","filename":"file4"},{"photo_id":"1391980672","filename":"file1"},{"photo_id":"1391980669","filename":"file0"},{"photo_id":"1391980679","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980679":["hashtag1","hashtag2"]},{"1391980672":["hashtag1","hashtag2"]},{"1391980675":["hashtag1","hashtag2"]},{"1391980669":["hashtag1","hashtag2"]},{"1391980680":["hashtag1","hashtag2"]},{"1391980683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980679, 1391980672, 1391980675, 1391980669, 1391980680, 1391980683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.858686685562134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:37:22.326392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_03_2706.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_07_3544.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_10_2746.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_12_2542.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_16_3653.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_19_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/15/07/image_30102025_15_07_03_2706.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_07_3544.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_10_2746.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_12_2542.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_16_3653.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_19_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980691","1391980694","1391980688","1391980703","1391980700","1391980698"],"photo_ids_order":["1391980688","1391980691","1391980694","1391980698","1391980700","1391980703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5714332d231fdf09b35858d19d3905a5.jpg","text":"TemporaryFile(/tmp/multipartBody19573558669314604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141104802,"filename":"image_30102025_15_07_07_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/3/79b9c30f37161825f849b57ee9da11f5.jpg","text":"TemporaryFile(/tmp/multipartBody5738204550237823970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141104802,"filename":"image_30102025_15_07_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/3/a4c8a689e80993ab609ae3c879c25b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4516389402631169838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141104802,"filename":"image_30102025_15_07_03_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/3/354fd56236f9fcee80f4b9b2125ba689.jpg","text":"TemporaryFile(/tmp/multipartBody553488466547037895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141104802,"filename":"image_30102025_15_07_19_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/3/1be4c4639ac59908574514a333ad5f24.jpg","text":"TemporaryFile(/tmp/multipartBody8383573234573227370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141104802,"filename":"image_30102025_15_07_16_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f467546fdeecfb906d62c2e08777cf0f.jpg","text":"TemporaryFile(/tmp/multipartBody211661433897940887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141104802,"filename":"image_30102025_15_07_12_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980694","file1":"1391980691","file0":"1391980688","file4":"1391980700","file5":"1391980703","file3":"1391980698"},"map_files_photo_id_array":[{"photo_id":"1391980703","filename":"file5"},{"photo_id":"1391980694","filename":"file2"},{"photo_id":"1391980700","filename":"file4"},{"photo_id":"1391980691","filename":"file1"},{"photo_id":"1391980688","filename":"file0"},{"photo_id":"1391980698","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980691":["hashtag1","hashtag2"]},{"1391980694":["hashtag1","hashtag2"]},{"1391980688":["hashtag1","hashtag2"]},{"1391980703":["hashtag1","hashtag2"]},{"1391980700":["hashtag1","hashtag2"]},{"1391980698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980691, 1391980694, 1391980688, 1391980703, 1391980700, 1391980698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.620357513427734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:38:03.020806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_21_2784.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_25_3633.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_28_2822.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_33_2592.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_37_3797.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_40_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_21_2784.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_25_3633.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_28_2822.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_33_2592.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_37_3797.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_40_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980713","1391980715","1391980709","1391980717","1391980711","1391980719"],"photo_ids_order":["1391980709","1391980711","1391980713","1391980715","1391980717","1391980719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/85a1f48e5bd24d746c0c66c3264b762c.jpg","text":"TemporaryFile(/tmp/multipartBody8440094341014556813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141144871,"filename":"image_30102025_15_07_28_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/3/10bd3839db624d46f09994d69a11a840.jpg","text":"TemporaryFile(/tmp/multipartBody593677313327768579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141144871,"filename":"image_30102025_15_07_33_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/3/7131a78f27fb24ccc9b887c9a4143d66.jpg","text":"TemporaryFile(/tmp/multipartBody1736017936604353486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141144871,"filename":"image_30102025_15_07_21_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dffe05703979866d0de681c4f7a8ea82.jpg","text":"TemporaryFile(/tmp/multipartBody1331909197589119741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141144871,"filename":"image_30102025_15_07_37_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/3/13ebf70f874b193a9d98800a793a1187.jpg","text":"TemporaryFile(/tmp/multipartBody7705760390153664839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141144871,"filename":"image_30102025_15_07_25_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/3/89fc04cb30ffbda3aaa239f64de25ba9.jpg","text":"TemporaryFile(/tmp/multipartBody1823886471026260621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141144871,"filename":"image_30102025_15_07_40_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980713","file1":"1391980711","file0":"1391980709","file4":"1391980717","file5":"1391980719","file3":"1391980715"},"map_files_photo_id_array":[{"photo_id":"1391980719","filename":"file5"},{"photo_id":"1391980713","filename":"file2"},{"photo_id":"1391980717","filename":"file4"},{"photo_id":"1391980711","filename":"file1"},{"photo_id":"1391980709","filename":"file0"},{"photo_id":"1391980715","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980713":["hashtag1","hashtag2"]},{"1391980715":["hashtag1","hashtag2"]},{"1391980709":["hashtag1","hashtag2"]},{"1391980717":["hashtag1","hashtag2"]},{"1391980711":["hashtag1","hashtag2"]},{"1391980719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980713, 1391980715, 1391980709, 1391980717, 1391980711, 1391980719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16018843650818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:38:42.444539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_53_2746.jpg', '/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_57_3685.jpg', '/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_11_2672.jpg', '/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_23_2742.jpg', '/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_29_2635.jpg', '/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_36_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_53_2746.jpg
/home/pi/Desktop/images/31102025/01/22/image_31102025_01_22_57_3685.jpg
/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_11_2672.jpg
/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_23_2742.jpg
/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_29_2635.jpg
/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_36_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980722","1391980736","1391980732","1391980726","1391980729","1391980720"],"photo_ids_order":["1391980720","1391980722","1391980726","1391980729","1391980732","1391980736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/325d1938ccbe5638cbe332ebacbdb911.jpg","text":"TemporaryFile(/tmp/multipartBody8806703018974156653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141184461,"filename":"image_31102025_01_22_57_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/3/6122932f9ca128c0c28dce6b4c2ec0a9.jpg","text":"TemporaryFile(/tmp/multipartBody3264065354264512612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141184461,"filename":"image_31102025_01_23_36_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/3/ceaa9aa1e4d1bf49c37f43a505107793.jpg","text":"TemporaryFile(/tmp/multipartBody1863953692280739148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141184461,"filename":"image_31102025_01_23_29_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2b30a4427a84cc57e1f12282e33b9601.jpg","text":"TemporaryFile(/tmp/multipartBody8354005664898529174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141184461,"filename":"image_31102025_01_23_11_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/3/2bec6b0154b4c0bc218ee199773dfdfd.jpg","text":"TemporaryFile(/tmp/multipartBody6235601898646469047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141184461,"filename":"image_31102025_01_23_23_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/3/0d7f69971f82cda2d2c69df9402edf34.jpg","text":"TemporaryFile(/tmp/multipartBody1661122197917678800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141184461,"filename":"image_31102025_01_22_53_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980726","file1":"1391980722","file0":"1391980720","file4":"1391980732","file5":"1391980736","file3":"1391980729"},"map_files_photo_id_array":[{"photo_id":"1391980736","filename":"file5"},{"photo_id":"1391980726","filename":"file2"},{"photo_id":"1391980732","filename":"file4"},{"photo_id":"1391980722","filename":"file1"},{"photo_id":"1391980720","filename":"file0"},{"photo_id":"1391980729","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980722":["hashtag1","hashtag2"]},{"1391980736":["hashtag1","hashtag2"]},{"1391980732":["hashtag1","hashtag2"]},{"1391980726":["hashtag1","hashtag2"]},{"1391980729":["hashtag1","hashtag2"]},{"1391980720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980722, 1391980736, 1391980732, 1391980726, 1391980729, 1391980720)","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.11958360671997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:40:02.732527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_43_3515.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_46_2771.jpg', '/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_49_2784.jpg', '/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_04_3595.jpg', '/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_07_2553.jpg', '/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_21_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/15/07/image_30102025_15_07_43_3515.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_46_2771.jpg
/home/pi/Desktop/images/30102025/15/07/image_30102025_15_07_49_2784.jpg
/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_04_3595.jpg
/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_07_2553.jpg
/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_21_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980766","1391980757","1391980759","1391980768","1391980761","1391980758"],"photo_ids_order":["1391980757","1391980758","1391980759","1391980761","1391980766","1391980768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/14da6f636bd23345dcb0fdd8ad36ca3e.jpg","text":"TemporaryFile(/tmp/multipartBody1986008152977488668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141267275,"filename":"image_30102025_15_08_07_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/3/0334319035389ff900a93a18ebcc56fb.jpg","text":"TemporaryFile(/tmp/multipartBody230317989020387173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141267275,"filename":"image_30102025_15_07_43_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/3/591a7b1cfe0a392722740a8e1a500b30.jpg","text":"TemporaryFile(/tmp/multipartBody5303498200527111617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141267275,"filename":"image_30102025_15_07_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/3/b67b7663007197ff60bcc62c7f168ba8.jpg","text":"TemporaryFile(/tmp/multipartBody9090917883301888117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141267275,"filename":"image_30102025_15_08_21_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/3/0895407d40e2c100ef5a22fc9be24e62.jpg","text":"TemporaryFile(/tmp/multipartBody3044355403486832135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141267275,"filename":"image_30102025_15_08_04_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/3/46c9a275718d76402be1a9b3768811a3.jpg","text":"TemporaryFile(/tmp/multipartBody2512293301726322515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141267275,"filename":"image_30102025_15_07_46_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980759","file1":"1391980758","file0":"1391980757","file4":"1391980766","file5":"1391980768","file3":"1391980761"},"map_files_photo_id_array":[{"photo_id":"1391980768","filename":"file5"},{"photo_id":"1391980759","filename":"file2"},{"photo_id":"1391980766","filename":"file4"},{"photo_id":"1391980758","filename":"file1"},{"photo_id":"1391980757","filename":"file0"},{"photo_id":"1391980761","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980766":["hashtag1","hashtag2"]},{"1391980757":["hashtag1","hashtag2"]},{"1391980759":["hashtag1","hashtag2"]},{"1391980768":["hashtag1","hashtag2"]},{"1391980761":["hashtag1","hashtag2"]},{"1391980758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980766, 1391980757, 1391980759, 1391980768, 1391980761, 1391980758)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.78955006599426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:41:02.632018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:41:22.070419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:41:43.022829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_39_2678.jpg', '/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_44_2635.jpg', '/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_54_1598.jpg', '/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_07_1656.jpg', '/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_11_3579.jpg', '/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_26_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_39_2678.jpg
/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_44_2635.jpg
/home/pi/Desktop/images/31102025/01/23/image_31102025_01_23_54_1598.jpg
/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_07_1656.jpg
/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_11_3579.jpg
/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_26_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980800","1391980790","1391980803","1391980793","1391980788","1391980797"],"photo_ids_order":["1391980788","1391980790","1391980793","1391980797","1391980800","1391980803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/579dd1cb8b0621b8b29b6baf8607003e.jpg","text":"TemporaryFile(/tmp/multipartBody2612538062965552156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141364122,"filename":"image_31102025_01_24_11_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/3/0308fb3b3faeca72a342a8a5a0f820ca.jpg","text":"TemporaryFile(/tmp/multipartBody335832833561136879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141364122,"filename":"image_31102025_01_23_44_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/3/e9d6d3ddb0777b6814ed8969f0cea607.jpg","text":"TemporaryFile(/tmp/multipartBody5992252476749339322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141364122,"filename":"image_31102025_01_24_26_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/3/f579b6038ea7e0bd3b8b0aa718091ca0.jpg","text":"TemporaryFile(/tmp/multipartBody1700135886597317568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141364122,"filename":"image_31102025_01_23_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/3/c661e715457e9ea8d740e1cc9ef3bdca.jpg","text":"TemporaryFile(/tmp/multipartBody5624067189825291164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141364122,"filename":"image_31102025_01_23_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/3/3874b3bdb7e631663a0655be778be1bb.jpg","text":"TemporaryFile(/tmp/multipartBody718927619176446751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141364122,"filename":"image_31102025_01_24_07_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980793","file1":"1391980790","file0":"1391980788","file4":"1391980800","file5":"1391980803","file3":"1391980797"},"map_files_photo_id_array":[{"photo_id":"1391980803","filename":"file5"},{"photo_id":"1391980793","filename":"file2"},{"photo_id":"1391980800","filename":"file4"},{"photo_id":"1391980790","filename":"file1"},{"photo_id":"1391980788","filename":"file0"},{"photo_id":"1391980797","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980800":["hashtag1","hashtag2"]},{"1391980790":["hashtag1","hashtag2"]},{"1391980803":["hashtag1","hashtag2"]},{"1391980793":["hashtag1","hashtag2"]},{"1391980788":["hashtag1","hashtag2"]},{"1391980797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980800, 1391980790, 1391980803, 1391980793, 1391980788, 1391980797)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.12055039405823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:42:42.666931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_29_2758.jpg', '/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_35_2893.jpg', '/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_42_3342.jpg', '/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_44_2705.jpg', '/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_50_2857.jpg', '/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_59_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_29_2758.jpg
/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_35_2893.jpg
/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_42_3342.jpg
/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_44_2705.jpg
/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_50_2857.jpg
/home/pi/Desktop/images/31102025/01/24/image_31102025_01_24_59_2811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980812","1391980815","1391980809","1391980820","1391980823","1391980818"],"photo_ids_order":["1391980809","1391980812","1391980815","1391980818","1391980820","1391980823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/51dcadf3347b417d60a66196d765e3bf.jpg","text":"TemporaryFile(/tmp/multipartBody7944840329885776486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141423868,"filename":"image_31102025_01_24_35_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/3/ff07c0c0aae70cf541bf5faf1e6c04f1.jpg","text":"TemporaryFile(/tmp/multipartBody1579714983383945013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141423868,"filename":"image_31102025_01_24_42_3342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/80db6eb48996f573719434a1c1b46ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1038040366037059518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141423868,"filename":"image_31102025_01_24_29_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/3/fb30d3e5d1de2c5a26fc683cffc17d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2767404603104839770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141423868,"filename":"image_31102025_01_24_50_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/3/bd1a8e932856f0ceecdb6651dbc43066.jpg","text":"TemporaryFile(/tmp/multipartBody4010868326783703879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141423868,"filename":"image_31102025_01_24_59_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/3/2628b1e92b7abd9ced76d3f90748186f.jpg","text":"TemporaryFile(/tmp/multipartBody6157348201875917210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141423868,"filename":"image_31102025_01_24_44_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980815","file1":"1391980812","file0":"1391980809","file4":"1391980820","file5":"1391980823","file3":"1391980818"},"map_files_photo_id_array":[{"photo_id":"1391980823","filename":"file5"},{"photo_id":"1391980815","filename":"file2"},{"photo_id":"1391980820","filename":"file4"},{"photo_id":"1391980812","filename":"file1"},{"photo_id":"1391980809","filename":"file0"},{"photo_id":"1391980818","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980812":["hashtag1","hashtag2"]},{"1391980815":["hashtag1","hashtag2"]},{"1391980809":["hashtag1","hashtag2"]},{"1391980820":["hashtag1","hashtag2"]},{"1391980823":["hashtag1","hashtag2"]},{"1391980818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980812, 1391980815, 1391980809, 1391980820, 1391980823, 1391980818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61920785903931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:43:21.810783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_25_3768.jpg', '/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_30_2596.jpg', '/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_33_2837.jpg', '/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_37_3864.jpg', '/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_07_2590.jpg', '/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_09_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/15/08/image_30102025_15_08_25_3768.jpg
/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_30_2596.jpg
/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_33_2837.jpg
/home/pi/Desktop/images/30102025/15/08/image_30102025_15_08_37_3864.jpg
/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_07_2590.jpg
/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_09_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980833","1391980841","1391980835","1391980837","1391980839","1391980830"],"photo_ids_order":["1391980830","1391980833","1391980835","1391980837","1391980839","1391980841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0dad4f4bd99263bbf8e649caac578011.jpg","text":"TemporaryFile(/tmp/multipartBody3490074486856391256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141464225,"filename":"image_30102025_15_08_30_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/3/40ff5eaef5e5b05ec789de2d957c8bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8295171062552993653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141464225,"filename":"image_30102025_15_09_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/3/e9a945bcf5c0a095d5fe63ce2e6359dc.jpg","text":"TemporaryFile(/tmp/multipartBody7186093311360514499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141464225,"filename":"image_30102025_15_08_33_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/3/9a76794715bbc3b0fe906fe8f6e2dc03.jpg","text":"TemporaryFile(/tmp/multipartBody5236315526425115869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141464225,"filename":"image_30102025_15_08_37_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/3/53a2d130de7105fe6cbca69028ee49a7.jpg","text":"TemporaryFile(/tmp/multipartBody107172530452294773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141464225,"filename":"image_30102025_15_09_07_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/3/b8a50c9963e940d07288597fb5d1502c.jpg","text":"TemporaryFile(/tmp/multipartBody679536501616727837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141464225,"filename":"image_30102025_15_08_25_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980835","file1":"1391980833","file0":"1391980830","file4":"1391980839","file5":"1391980841","file3":"1391980837"},"map_files_photo_id_array":[{"photo_id":"1391980841","filename":"file5"},{"photo_id":"1391980835","filename":"file2"},{"photo_id":"1391980839","filename":"file4"},{"photo_id":"1391980833","filename":"file1"},{"photo_id":"1391980830","filename":"file0"},{"photo_id":"1391980837","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980833":["hashtag1","hashtag2"]},{"1391980841":["hashtag1","hashtag2"]},{"1391980835":["hashtag1","hashtag2"]},{"1391980837":["hashtag1","hashtag2"]},{"1391980839":["hashtag1","hashtag2"]},{"1391980830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980833, 1391980841, 1391980835, 1391980837, 1391980839, 1391980830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.798253536224365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:44:02.728315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_13_3683.jpg', '/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_16_2786.jpg', '/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_18_2577.jpg', '/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_27_2706.jpg', '/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_36_2663.jpg', '/home/pi/Desktop/images/30102025/15/10/image_30102025_15_10_12_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_13_3683.jpg
/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_16_2786.jpg
/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_18_2577.jpg
/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_27_2706.jpg
/home/pi/Desktop/images/30102025/15/09/image_30102025_15_09_36_2663.jpg
/home/pi/Desktop/images/30102025/15/10/image_30102025_15_10_12_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980848","1391980865","1391980859","1391980862","1391980852","1391980854"],"photo_ids_order":["1391980848","1391980852","1391980854","1391980859","1391980862","1391980865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a80b7b2f5d50cca76a3c0c7e6a3518ff.jpg","text":"TemporaryFile(/tmp/multipartBody2784070753077500582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141504584,"filename":"image_30102025_15_09_13_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/3/9ec3a5d89b4cbb0ca9729d9701718add.jpg","text":"TemporaryFile(/tmp/multipartBody3759732335781316356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141504584,"filename":"image_30102025_15_10_12_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/3/b45e632d7750e7b75bdf793fe73743ca.jpg","text":"TemporaryFile(/tmp/multipartBody4680678562896223024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141504584,"filename":"image_30102025_15_09_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/3/9f0adef367a9488aa55df4b4dc479b75.jpg","text":"TemporaryFile(/tmp/multipartBody5835187281860659826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141504584,"filename":"image_30102025_15_09_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/3/69074efa958ab0973517efc1e484f397.jpg","text":"TemporaryFile(/tmp/multipartBody635669219725575224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141504584,"filename":"image_30102025_15_09_16_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/3/3a4b4f17e9bf1b0bd253e14348ec9737.jpg","text":"TemporaryFile(/tmp/multipartBody3984493217922986443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141504584,"filename":"image_30102025_15_09_18_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980854","file1":"1391980852","file0":"1391980848","file4":"1391980862","file5":"1391980865","file3":"1391980859"},"map_files_photo_id_array":[{"photo_id":"1391980865","filename":"file5"},{"photo_id":"1391980854","filename":"file2"},{"photo_id":"1391980862","filename":"file4"},{"photo_id":"1391980852","filename":"file1"},{"photo_id":"1391980848","filename":"file0"},{"photo_id":"1391980859","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980848":["hashtag1","hashtag2"]},{"1391980865":["hashtag1","hashtag2"]},{"1391980859":["hashtag1","hashtag2"]},{"1391980862":["hashtag1","hashtag2"]},{"1391980852":["hashtag1","hashtag2"]},{"1391980854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980848, 1391980865, 1391980859, 1391980862, 1391980852, 1391980854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42732882499695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:44:42.168479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_02_2707.jpg', '/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_11_2660.jpg', '/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_14_2734.jpg', '/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_21_4664.jpg', '/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_26_2781.jpg', '/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_40_7327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_02_2707.jpg
/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_11_2660.jpg
/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_14_2734.jpg
/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_21_4664.jpg
/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_26_2781.jpg
/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_40_7327.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980883","1391980877","1391980880","1391980870","1391980873","1391980867"],"photo_ids_order":["1391980867","1391980870","1391980873","1391980877","1391980880","1391980883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be40b1e60fdd4522d80421e786decee7.jpg","text":"TemporaryFile(/tmp/multipartBody6044729158512122557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141543321,"filename":"image_31102025_01_25_40_7327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d9c3f268790b99ede1f015292dbfb5c6.jpg","text":"TemporaryFile(/tmp/multipartBody4317299353156111259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141543321,"filename":"image_31102025_01_25_21_4664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ad64cbfcfca136f5e796ca1ad450bb49.jpg","text":"TemporaryFile(/tmp/multipartBody5939122727197804766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141543321,"filename":"image_31102025_01_25_26_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/3/da16d2cef6a95b20fbb9fc2563f91db1.jpg","text":"TemporaryFile(/tmp/multipartBody7126847298115700298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141543321,"filename":"image_31102025_01_25_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/3/7524c1150e8f162b45b1e3dd917a7955.jpg","text":"TemporaryFile(/tmp/multipartBody3239117513976680821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141543321,"filename":"image_31102025_01_25_14_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/3/c3246eb62fee7d4b08d3dc4ef155be68.jpg","text":"TemporaryFile(/tmp/multipartBody5404509004496264185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141543321,"filename":"image_31102025_01_25_02_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980873","file1":"1391980870","file0":"1391980867","file4":"1391980880","file5":"1391980883","file3":"1391980877"},"map_files_photo_id_array":[{"photo_id":"1391980883","filename":"file5"},{"photo_id":"1391980873","filename":"file2"},{"photo_id":"1391980880","filename":"file4"},{"photo_id":"1391980870","filename":"file1"},{"photo_id":"1391980867","filename":"file0"},{"photo_id":"1391980877","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391980883":["hashtag1","hashtag2"]},{"1391980877":["hashtag1","hashtag2"]},{"1391980880":["hashtag1","hashtag2"]},{"1391980870":["hashtag1","hashtag2"]},{"1391980873":["hashtag1","hashtag2"]},{"1391980867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391980883, 1391980877, 1391980880, 1391980870, 1391980873, 1391980867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9770712852478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:45:22.384217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/10/image_30102025_15_10_15_3500.jpg', '/home/pi/Desktop/images/30102025/15/10/image_30102025_15_10_18_2717.jpg', '/home/pi/Desktop/images/30102025/15/10/image_30102025_15_10_27_2768.jpg', '/home/pi/Desktop/images/30102025/15/10/image_30102025_15_10_31_3636.jpg', '/home/pi/Desktop/images/30102025/15/11/image_30102025_15_11_36_2844.jpg', '/home/pi/Desktop/images/30102025/15/11/image_30102025_15_11_39_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/15/10/image_30102025_15_10_15_3500.jpg
/home/pi/Desktop/images/30102025/15/10/image_30102025_15_10_18_2717.jpg
/home/pi/Desktop/images/30102025/15/10/image_30102025_15_10_27_2768.jpg
/home/pi/Desktop/images/30102025/15/10/image_30102025_15_10_31_3636.jpg
/home/pi/Desktop/images/30102025/15/11/image_30102025_15_11_36_2844.jpg
/home/pi/Desktop/images/30102025/15/11/image_30102025_15_11_39_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980892","1391980886","1391980888","1391980890","1391980887","1391980896"],"photo_ids_order":["1391980886","1391980887","1391980888","1391980890","1391980892","1391980896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c30a34ff0dec15afa140365b43247e18.jpg","text":"TemporaryFile(/tmp/multipartBody2511530513191933035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141584790,"filename":"image_30102025_15_11_36_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/3/e7a7a82d1b7982736f619e8cf76b127b.jpg","text":"TemporaryFile(/tmp/multipartBody7675148333942113561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141584790,"filename":"image_30102025_15_10_15_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/3/ee4d3210f7c798dd58c4f0c8b9e4b9ca.jpg","text":"TemporaryFile(/tmp/multipartBody1608625496413810298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141584790,"filename":"image_30102025_15_10_27_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/997f45d9c698027a1b415c6de5013ce6.jpg","text":"TemporaryFile(/tmp/multipartBody3529348459702698117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141584790,"filename":"image_30102025_15_10_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/3/beb940d5329e06baec2f13e7a926153e.jpg","text":"TemporaryFile(/tmp/multipartBody1211562748650390916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141584790,"filename":"image_30102025_15_10_18_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/3/6c56d37e48667584d62d5e81c8eb9b18.jpg","text":"TemporaryFile(/tmp/multipartBody1454576928778759386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141584790,"filename":"image_30102025_15_11_39_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980888","file1":"1391980887","file0":"1391980886","file4":"1391980892","file5":"1391980896","file3":"1391980890"},"map_files_photo_id_array":[{"photo_id":"1391980896","filename":"file5"},{"photo_id":"1391980888","filename":"file2"},{"photo_id":"1391980892","filename":"file4"},{"photo_id":"1391980887","filename":"file1"},{"photo_id":"1391980886","filename":"file0"},{"photo_id":"1391980890","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980892":["hashtag1","hashtag2"]},{"1391980886":["hashtag1","hashtag2"]},{"1391980888":["hashtag1","hashtag2"]},{"1391980890":["hashtag1","hashtag2"]},{"1391980887":["hashtag1","hashtag2"]},{"1391980896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980892, 1391980886, 1391980888, 1391980890, 1391980887, 1391980896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54793405532837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:46:03.051698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/11/image_30102025_15_12_00_2697.jpg', '/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_03_2563.jpg', '/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_07_3600.jpg', '/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_09_2557.jpg', '/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_18_2655.jpg', '/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_45_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/15/11/image_30102025_15_12_00_2697.jpg
/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_03_2563.jpg
/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_07_3600.jpg
/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_09_2557.jpg
/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_18_2655.jpg
/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_45_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980911","1391980905","1391980913","1391980907","1391980915","1391980909"],"photo_ids_order":["1391980905","1391980907","1391980909","1391980911","1391980913","1391980915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f26553bbad3a7763d0db8ec81bff2a9.jpg","text":"TemporaryFile(/tmp/multipartBody574309309474975778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141624873,"filename":"image_30102025_15_12_09_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/3/359cba168ba9754289ec5a86a6041a61.jpg","text":"TemporaryFile(/tmp/multipartBody2037793030959304841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141624873,"filename":"image_30102025_15_12_00_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/3/6fe3f06b7bc093852f41a6b3b52e8a64.jpg","text":"TemporaryFile(/tmp/multipartBody1789851776102283439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141624873,"filename":"image_30102025_15_12_18_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/3/c3750282a28b2a23eac2f40f21c39f73.jpg","text":"TemporaryFile(/tmp/multipartBody7317170838689576483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141624873,"filename":"image_30102025_15_12_03_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/3/66102ed7b2298f6d36928175997f69f4.jpg","text":"TemporaryFile(/tmp/multipartBody6411126619672608170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141624873,"filename":"image_30102025_15_12_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/3/df6da9cf952bf5a193f593a91d0f430b.jpg","text":"TemporaryFile(/tmp/multipartBody2593317400073021204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141624873,"filename":"image_30102025_15_12_07_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980909","file1":"1391980907","file0":"1391980905","file4":"1391980913","file5":"1391980915","file3":"1391980911"},"map_files_photo_id_array":[{"photo_id":"1391980915","filename":"file5"},{"photo_id":"1391980909","filename":"file2"},{"photo_id":"1391980913","filename":"file4"},{"photo_id":"1391980907","filename":"file1"},{"photo_id":"1391980905","filename":"file0"},{"photo_id":"1391980911","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980911":["hashtag1","hashtag2"]},{"1391980905":["hashtag1","hashtag2"]},{"1391980913":["hashtag1","hashtag2"]},{"1391980907":["hashtag1","hashtag2"]},{"1391980915":["hashtag1","hashtag2"]},{"1391980909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980911, 1391980905, 1391980913, 1391980907, 1391980915, 1391980909)","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 = 1391980909 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/15/12/image_30102025_15_12_07_3600.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.049086570739746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:47:02.559956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:47:21.959895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_12_2792.jpg', '/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_24_2617.jpg', '/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_30_3757.jpg', '/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_33_2761.jpg', '/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_36_2671.jpg', '/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_42_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_12_2792.jpg
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_24_2617.jpg
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_30_3757.jpg
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_33_2761.jpg
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_36_2671.jpg
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_42_3761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980946","1391980943","1391980937","1391980939","1391980941","1391980935"],"photo_ids_order":["1391980935","1391980937","1391980939","1391980941","1391980943","1391980946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/978dd4ced627af914a0e74598cf61b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8721680969656171081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141705720,"filename":"image_30102025_15_13_42_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/3/7ecb3d4f8ff3d8c974b99378ed825bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6589954622927486312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141705720,"filename":"image_30102025_15_13_36_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/3/8435956b81dde76413f31a6af47f8e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2104104603474765530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141705720,"filename":"image_30102025_15_13_24_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/3/2a749e2b10cd66ee930d1cd45a8689c0.jpg","text":"TemporaryFile(/tmp/multipartBody7543224270717187409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141705720,"filename":"image_30102025_15_13_30_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/3/44cdfcc92daca40b121a04425979db5f.jpg","text":"TemporaryFile(/tmp/multipartBody317161766992475062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141705720,"filename":"image_30102025_15_13_33_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/3/b650a2b1f4e49588917232c6f4302c78.jpg","text":"TemporaryFile(/tmp/multipartBody7219019770401050300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141705720,"filename":"image_30102025_15_13_12_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980939","file1":"1391980937","file0":"1391980935","file4":"1391980943","file5":"1391980946","file3":"1391980941"},"map_files_photo_id_array":[{"photo_id":"1391980946","filename":"file5"},{"photo_id":"1391980939","filename":"file2"},{"photo_id":"1391980943","filename":"file4"},{"photo_id":"1391980937","filename":"file1"},{"photo_id":"1391980935","filename":"file0"},{"photo_id":"1391980941","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980946":["hashtag1","hashtag2"]},{"1391980943":["hashtag1","hashtag2"]},{"1391980937":["hashtag1","hashtag2"]},{"1391980939":["hashtag1","hashtag2"]},{"1391980941":["hashtag1","hashtag2"]},{"1391980935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980946, 1391980943, 1391980937, 1391980939, 1391980941, 1391980935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98980689048767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:48:02.617841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:48:22.084783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_45_2811.jpg', '/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_48_2749.jpg', '/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_54_3638.jpg', '/home/pi/Desktop/images/30102025/15/13/image_30102025_15_14_00_3583.jpg', '/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_03_2672.jpg', '/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_12_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_45_2811.jpg
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_48_2749.jpg
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_13_54_3638.jpg
/home/pi/Desktop/images/30102025/15/13/image_30102025_15_14_00_3583.jpg
/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_03_2672.jpg
/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_12_2880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980976","1391980963","1391980972","1391980968","1391980962","1391980965"],"photo_ids_order":["1391980962","1391980963","1391980965","1391980968","1391980972","1391980976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/098af91c2079454b523d3f3f4ed8c3d2.jpg","text":"TemporaryFile(/tmp/multipartBody7770028142752966392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141765767,"filename":"image_30102025_15_14_12_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/3/fb10e4a5acd29f88263ba9a31a14bb09.jpg","text":"TemporaryFile(/tmp/multipartBody3187005454751759914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141765767,"filename":"image_30102025_15_13_48_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/3/ffe705e06e1b20063a5b4233d381fd41.jpg","text":"TemporaryFile(/tmp/multipartBody7642433001175009187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141765767,"filename":"image_30102025_15_14_03_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e02a1409a21b7410b3ee7799cf49dd31.jpg","text":"TemporaryFile(/tmp/multipartBody1988350317514312812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141765767,"filename":"image_30102025_15_14_00_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/3/c8db3da42209136267d92a8f2324a223.jpg","text":"TemporaryFile(/tmp/multipartBody5397911230072210381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141765767,"filename":"image_30102025_15_13_45_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/3/a5edc6da9fe4820568c3cc6bb10c380f.jpg","text":"TemporaryFile(/tmp/multipartBody3637607499947241650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141765767,"filename":"image_30102025_15_13_54_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980965","file1":"1391980963","file0":"1391980962","file4":"1391980972","file5":"1391980976","file3":"1391980968"},"map_files_photo_id_array":[{"photo_id":"1391980976","filename":"file5"},{"photo_id":"1391980965","filename":"file2"},{"photo_id":"1391980972","filename":"file4"},{"photo_id":"1391980963","filename":"file1"},{"photo_id":"1391980962","filename":"file0"},{"photo_id":"1391980968","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980976":["hashtag1","hashtag2"]},{"1391980963":["hashtag1","hashtag2"]},{"1391980972":["hashtag1","hashtag2"]},{"1391980968":["hashtag1","hashtag2"]},{"1391980962":["hashtag1","hashtag2"]},{"1391980965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980976, 1391980963, 1391980972, 1391980968, 1391980962, 1391980965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31119155883789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:49:03.217902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_15_2789.jpg', '/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_18_2677.jpg', '/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_21_3734.jpg', '/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_09_3655.jpg', '/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_12_2578.jpg', '/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_18_3782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_15_2789.jpg
/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_18_2677.jpg
/home/pi/Desktop/images/30102025/15/14/image_30102025_15_14_21_3734.jpg
/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_09_3655.jpg
/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_12_2578.jpg
/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_18_3782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391980994","1391980997","1391980991","1391980988","1391980987","1391980986"],"photo_ids_order":["1391980986","1391980987","1391980988","1391980991","1391980994","1391980997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8a9cbaba814ee78f5a070cf415830d97.jpg","text":"TemporaryFile(/tmp/multipartBody2664276591029767125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141807953,"filename":"image_30102025_15_15_12_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5869734c117596c205c85cc26013ca8d.jpg","text":"TemporaryFile(/tmp/multipartBody2184034181221076691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141807953,"filename":"image_30102025_15_15_18_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/3/510929dadd9b947c2ef34998a83d73d1.jpg","text":"TemporaryFile(/tmp/multipartBody3195601636473818233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141807953,"filename":"image_30102025_15_15_09_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/3/48f95c41060ecfe7cf50eb0cdeffce59.jpg","text":"TemporaryFile(/tmp/multipartBody8011708192902541359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141807953,"filename":"image_30102025_15_14_21_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/3/7591d960a65ae31f123bed2b3c7dd9ef.jpg","text":"TemporaryFile(/tmp/multipartBody6651308905698931327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141807953,"filename":"image_30102025_15_14_18_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/3/42e1253ef5ac01a37b62bcbecb1e6aeb.jpg","text":"TemporaryFile(/tmp/multipartBody875475710766078725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141807953,"filename":"image_30102025_15_14_15_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391980988","file1":"1391980987","file0":"1391980986","file4":"1391980994","file5":"1391980997","file3":"1391980991"},"map_files_photo_id_array":[{"photo_id":"1391980997","filename":"file5"},{"photo_id":"1391980988","filename":"file2"},{"photo_id":"1391980994","filename":"file4"},{"photo_id":"1391980987","filename":"file1"},{"photo_id":"1391980986","filename":"file0"},{"photo_id":"1391980991","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391980994":["hashtag1","hashtag2"]},{"1391980997":["hashtag1","hashtag2"]},{"1391980991":["hashtag1","hashtag2"]},{"1391980988":["hashtag1","hashtag2"]},{"1391980987":["hashtag1","hashtag2"]},{"1391980986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391980994, 1391980997, 1391980991, 1391980988, 1391980987, 1391980986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34325051307678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:50:03.172562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_32_2703.jpg', '/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_39_2737.jpg', '/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_48_2681.jpg', '/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_54_3568.jpg', '/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_26_2656.jpg', '/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_30_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_32_2703.jpg
/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_39_2737.jpg
/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_48_2681.jpg
/home/pi/Desktop/images/30102025/15/15/image_30102025_15_15_54_3568.jpg
/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_26_2656.jpg
/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_30_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981024","1391981011","1391981029","1391981020","1391981014","1391981017"],"photo_ids_order":["1391981011","1391981014","1391981017","1391981020","1391981024","1391981029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f767624278a2fc327cd5a7dc5da5feda.jpg","text":"TemporaryFile(/tmp/multipartBody8594225727718052042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141864992,"filename":"image_30102025_15_16_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/3/13c9bf0273f7ea76b7acb46ee8c278b2.jpg","text":"TemporaryFile(/tmp/multipartBody1266256920337108993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141864992,"filename":"image_30102025_15_15_32_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/3/5d426ef83bc2d66aa40eb36b1f196c56.jpg","text":"TemporaryFile(/tmp/multipartBody8163496689083945965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141864992,"filename":"image_30102025_15_16_30_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/3/178a5030852a77fd543f4c39a0e36cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5344543163176913639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141864992,"filename":"image_30102025_15_15_54_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/3/6cacd112a10808fecbc49af6a6689308.jpg","text":"TemporaryFile(/tmp/multipartBody3629753782362320722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141864992,"filename":"image_30102025_15_15_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/3/244429717805a1c04ac958e3a34852f2.jpg","text":"TemporaryFile(/tmp/multipartBody2073272047175185986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141864992,"filename":"image_30102025_15_15_48_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981017","file1":"1391981014","file0":"1391981011","file4":"1391981024","file5":"1391981029","file3":"1391981020"},"map_files_photo_id_array":[{"photo_id":"1391981029","filename":"file5"},{"photo_id":"1391981017","filename":"file2"},{"photo_id":"1391981024","filename":"file4"},{"photo_id":"1391981014","filename":"file1"},{"photo_id":"1391981011","filename":"file0"},{"photo_id":"1391981020","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391981024":["hashtag1","hashtag2"]},{"1391981011":["hashtag1","hashtag2"]},{"1391981029":["hashtag1","hashtag2"]},{"1391981020":["hashtag1","hashtag2"]},{"1391981014":["hashtag1","hashtag2"]},{"1391981017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391981024, 1391981011, 1391981029, 1391981020, 1391981014, 1391981017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16524267196655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:50:42.689784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_41_1714.jpg', '/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_59_3611.jpg', '/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_05_2874.jpg', '/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_11_3749.jpg', '/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_17_2631.jpg', '/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_23_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_41_1714.jpg
/home/pi/Desktop/images/31102025/01/25/image_31102025_01_25_59_3611.jpg
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_05_2874.jpg
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_11_3749.jpg
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_17_2631.jpg
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_23_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981045","1391981039","1391981048","1391981041","1391981052","1391981043"],"photo_ids_order":["1391981039","1391981041","1391981043","1391981045","1391981048","1391981052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d8a136945d2b816e79f888d04483acca.jpg","text":"TemporaryFile(/tmp/multipartBody3735610651641114469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141903820,"filename":"image_31102025_01_26_11_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/3/161323e0dcccc7c7f0ee9c7bb18a2006.jpg","text":"TemporaryFile(/tmp/multipartBody1281940868345048179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141903820,"filename":"image_31102025_01_25_41_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/809af4f0b26c8461d116a4e23d32bc95.jpg","text":"TemporaryFile(/tmp/multipartBody672793488048990918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141903820,"filename":"image_31102025_01_26_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/3/642ad87a25667a13e8d193658e91e3b8.jpg","text":"TemporaryFile(/tmp/multipartBody1433873631970396819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141903820,"filename":"image_31102025_01_25_59_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/3/2f41731ed1e96aaa5b93b5697b3dc1d0.jpg","text":"TemporaryFile(/tmp/multipartBody621006748066229208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141903820,"filename":"image_31102025_01_26_23_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/3/085bfc3ec961a06170f39bcd5986d902.jpg","text":"TemporaryFile(/tmp/multipartBody8703232445439160301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141903820,"filename":"image_31102025_01_26_05_2874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981043","file1":"1391981041","file0":"1391981039","file4":"1391981048","file5":"1391981052","file3":"1391981045"},"map_files_photo_id_array":[{"photo_id":"1391981052","filename":"file5"},{"photo_id":"1391981043","filename":"file2"},{"photo_id":"1391981048","filename":"file4"},{"photo_id":"1391981041","filename":"file1"},{"photo_id":"1391981039","filename":"file0"},{"photo_id":"1391981045","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391981045":["hashtag1","hashtag2"]},{"1391981039":["hashtag1","hashtag2"]},{"1391981048":["hashtag1","hashtag2"]},{"1391981041":["hashtag1","hashtag2"]},{"1391981052":["hashtag1","hashtag2"]},{"1391981043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391981045, 1391981039, 1391981048, 1391981041, 1391981052, 1391981043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29873204231262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:51:21.823982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_33_2745.jpg', '/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_39_3601.jpg', '/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_44_2717.jpg', '/home/pi/Desktop/images/30102025/15/17/image_30102025_15_17_20_2635.jpg', '/home/pi/Desktop/images/30102025/15/17/image_30102025_15_17_29_2652.jpg', '/home/pi/Desktop/images/30102025/15/17/image_30102025_15_17_33_3793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_33_2745.jpg
/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_39_3601.jpg
/home/pi/Desktop/images/30102025/15/16/image_30102025_15_16_44_2717.jpg
/home/pi/Desktop/images/30102025/15/17/image_30102025_15_17_20_2635.jpg
/home/pi/Desktop/images/30102025/15/17/image_30102025_15_17_29_2652.jpg
/home/pi/Desktop/images/30102025/15/17/image_30102025_15_17_33_3793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981063","1391981066","1391981060","1391981059","1391981061","1391981058"],"photo_ids_order":["1391981058","1391981059","1391981060","1391981061","1391981063","1391981066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01d1b2c390000e82b85083b7de89da57.jpg","text":"TemporaryFile(/tmp/multipartBody2631568221932951618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141944183,"filename":"image_30102025_15_17_29_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/3/4f4c08cbe47ec748af200a4578d75068.jpg","text":"TemporaryFile(/tmp/multipartBody6333554996512300313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141944183,"filename":"image_30102025_15_17_33_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/3/ea9e4d8bf8a849519bf6453393af2442.jpg","text":"TemporaryFile(/tmp/multipartBody8723739421830816860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141944183,"filename":"image_30102025_15_16_44_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/3/d1440f65c0c5efdc7f5c9d0767b1f550.jpg","text":"TemporaryFile(/tmp/multipartBody3239750752459412489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141944183,"filename":"image_30102025_15_16_39_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/3/f24aba5a728d4ebfaa30760493f0d69a.jpg","text":"TemporaryFile(/tmp/multipartBody1996521576126047564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141944183,"filename":"image_30102025_15_17_20_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/3/f55d0b0de1096b9b65a65d17b754dff3.jpg","text":"TemporaryFile(/tmp/multipartBody6318235201293681660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141944183,"filename":"image_30102025_15_16_33_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981060","file1":"1391981059","file0":"1391981058","file4":"1391981063","file5":"1391981066","file3":"1391981061"},"map_files_photo_id_array":[{"photo_id":"1391981066","filename":"file5"},{"photo_id":"1391981060","filename":"file2"},{"photo_id":"1391981063","filename":"file4"},{"photo_id":"1391981059","filename":"file1"},{"photo_id":"1391981058","filename":"file0"},{"photo_id":"1391981061","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391981063":["hashtag1","hashtag2"]},{"1391981066":["hashtag1","hashtag2"]},{"1391981060":["hashtag1","hashtag2"]},{"1391981059":["hashtag1","hashtag2"]},{"1391981061":["hashtag1","hashtag2"]},{"1391981058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391981063, 1391981066, 1391981060, 1391981059, 1391981061, 1391981058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.141358375549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:52:02.464201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/17/image_30102025_15_17_36_2643.jpg', '/home/pi/Desktop/images/30102025/15/17/image_30102025_15_17_47_2670.jpg', '/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_02_2561.jpg', '/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_06_3729.jpg', '/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_09_2643.jpg', '/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_11_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/15/17/image_30102025_15_17_36_2643.jpg
/home/pi/Desktop/images/30102025/15/17/image_30102025_15_17_47_2670.jpg
/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_02_2561.jpg
/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_06_3729.jpg
/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_09_2643.jpg
/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_11_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981087","1391981086","1391981089","1391981080","1391981083","1391981088"],"photo_ids_order":["1391981080","1391981083","1391981086","1391981087","1391981088","1391981089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b5be8e3ad72d7e0d348faea922f279ab.jpg","text":"TemporaryFile(/tmp/multipartBody1620479711381579944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141984288,"filename":"image_30102025_15_18_06_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/3/8d79d686b5866a679947542239998af5.jpg","text":"TemporaryFile(/tmp/multipartBody7170974731725620234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141984288,"filename":"image_30102025_15_18_02_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/67c87f6dc8d0c8026f79293927f043da.jpg","text":"TemporaryFile(/tmp/multipartBody6361250485932853707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141984288,"filename":"image_30102025_15_18_11_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc9641f4326615e8707d32d037870c64.jpg","text":"TemporaryFile(/tmp/multipartBody3937696037251627325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141984288,"filename":"image_30102025_15_17_36_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/3/0dc9b9bbaf58ad68ec34acac9bb21ce6.jpg","text":"TemporaryFile(/tmp/multipartBody3791048160495458954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141984288,"filename":"image_30102025_15_17_47_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/3/57a15c79d48bc821002ade9ec63fc6ca.jpg","text":"TemporaryFile(/tmp/multipartBody2642737388111041542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762141984288,"filename":"image_30102025_15_18_09_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981086","file1":"1391981083","file0":"1391981080","file4":"1391981088","file5":"1391981089","file3":"1391981087"},"map_files_photo_id_array":[{"photo_id":"1391981089","filename":"file5"},{"photo_id":"1391981086","filename":"file2"},{"photo_id":"1391981088","filename":"file4"},{"photo_id":"1391981083","filename":"file1"},{"photo_id":"1391981080","filename":"file0"},{"photo_id":"1391981087","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391981087":["hashtag1","hashtag2"]},{"1391981086":["hashtag1","hashtag2"]},{"1391981089":["hashtag1","hashtag2"]},{"1391981080":["hashtag1","hashtag2"]},{"1391981083":["hashtag1","hashtag2"]},{"1391981088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391981087, 1391981086, 1391981089, 1391981080, 1391981083, 1391981088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71099281311035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:52:42.141363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_32_2756.jpg', '/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_35_2721.jpg', '/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_41_3577.jpg', '/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_44_2606.jpg', '/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_50_3733.jpg', '/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_53_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_32_2756.jpg
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_35_2721.jpg
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_41_3577.jpg
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_44_2606.jpg
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_50_3733.jpg
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_53_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981109","1391981102","1391981111","1391981098","1391981113","1391981106"],"photo_ids_order":["1391981098","1391981102","1391981106","1391981109","1391981111","1391981113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a9a1e424ac3d780321249204bf05f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4456297239988070087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142023300,"filename":"image_31102025_01_26_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/3/3e8caa716da736e8858ae3065377f110.jpg","text":"TemporaryFile(/tmp/multipartBody5634603852941511036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142023300,"filename":"image_31102025_01_26_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/3/43f982c0c396798c85e65b255b30d5b1.jpg","text":"TemporaryFile(/tmp/multipartBody3249846610726251043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142023300,"filename":"image_31102025_01_26_50_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/3/6b43439be9a6414d26bfb4d123eb4022.jpg","text":"TemporaryFile(/tmp/multipartBody7781279431331146431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142023300,"filename":"image_31102025_01_26_32_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/3/01b9dd6644b66b4cc9931a7ace7e56aa.jpg","text":"TemporaryFile(/tmp/multipartBody3509976790011250883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142023300,"filename":"image_31102025_01_26_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/3/eff2de465bc2988d1ed10fe4e856789a.jpg","text":"TemporaryFile(/tmp/multipartBody4193798473018176950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142023300,"filename":"image_31102025_01_26_41_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981106","file1":"1391981102","file0":"1391981098","file4":"1391981111","file5":"1391981113","file3":"1391981109"},"map_files_photo_id_array":[{"photo_id":"1391981113","filename":"file5"},{"photo_id":"1391981106","filename":"file2"},{"photo_id":"1391981111","filename":"file4"},{"photo_id":"1391981102","filename":"file1"},{"photo_id":"1391981098","filename":"file0"},{"photo_id":"1391981109","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391981109":["hashtag1","hashtag2"]},{"1391981102":["hashtag1","hashtag2"]},{"1391981111":["hashtag1","hashtag2"]},{"1391981098":["hashtag1","hashtag2"]},{"1391981113":["hashtag1","hashtag2"]},{"1391981106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391981109, 1391981102, 1391981111, 1391981098, 1391981113, 1391981106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.833799600601196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 04:53:22.316725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_35_2720.jpg', '/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_41_2640.jpg', '/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_06_3570.jpg', '/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_11_2619.jpg', '/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_14_2893.jpg', '/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_18_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/15/18/image_30102025_15_18_35_2720.jpg
/home/pi/Desktop/images/30102025/15/18/image_30102025_15_18_41_2640.jpg
/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_06_3570.jpg
/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_11_2619.jpg
/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_14_2893.jpg
/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_18_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981120","1391981123","1391981128","1391981116","1391981124","1391981118"],"photo_ids_order":["1391981116","1391981118","1391981120","1391981123","1391981124","1391981128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dd50e7d4bad4dbcc0001aff8c7b10c27.jpg","text":"TemporaryFile(/tmp/multipartBody3470679199087700028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142064762,"filename":"image_30102025_15_19_06_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/3/125309a12f62b8836b761fefcc255b46.jpg","text":"TemporaryFile(/tmp/multipartBody8946794443846716274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142064762,"filename":"image_30102025_15_19_11_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/3/9d6ded5e8e0c51b0a48341d3587e9b7d.jpg","text":"TemporaryFile(/tmp/multipartBody4268420849793645272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142064762,"filename":"image_30102025_15_19_18_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/3/6edd7ede38f37f1795b433beba83dc1f.jpg","text":"TemporaryFile(/tmp/multipartBody552716486389059724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142064762,"filename":"image_30102025_15_18_35_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/3/79e2cc8965b68dd0f1a209f0c8e0ef52.jpg","text":"TemporaryFile(/tmp/multipartBody6766097891069749190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142064762,"filename":"image_30102025_15_19_14_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/3/c5abf1762c80631b7e1500b102a3f03e.jpg","text":"TemporaryFile(/tmp/multipartBody5375385782407283349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142064762,"filename":"image_30102025_15_18_41_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981120","file1":"1391981118","file0":"1391981116","file4":"1391981124","file5":"1391981128","file3":"1391981123"},"map_files_photo_id_array":[{"photo_id":"1391981128","filename":"file5"},{"photo_id":"1391981120","filename":"file2"},{"photo_id":"1391981124","filename":"file4"},{"photo_id":"1391981118","filename":"file1"},{"photo_id":"1391981116","filename":"file0"},{"photo_id":"1391981123","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391981120":["hashtag1","hashtag2"]},{"1391981123":["hashtag1","hashtag2"]},{"1391981128":["hashtag1","hashtag2"]},{"1391981116":["hashtag1","hashtag2"]},{"1391981124":["hashtag1","hashtag2"]},{"1391981118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391981120, 1391981123, 1391981128, 1391981116, 1391981124, 1391981118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.734374046325684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:54:03.050218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_23_2591.jpg', '/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_36_3652.jpg', '/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_44_2684.jpg', '/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_11_2554.jpg', '/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_17_2555.jpg', '/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_20_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/15/19/image_30102025_15_19_23_2591.jpg
/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_36_3652.jpg
/home/pi/Desktop/images/30102025/15/19/image_30102025_15_19_44_2684.jpg
/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_11_2554.jpg
/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_17_2555.jpg
/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_20_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981144","1391981138","1391981140","1391981134","1391981142","1391981136"],"photo_ids_order":["1391981134","1391981136","1391981138","1391981140","1391981142","1391981144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b9c80f4a2eb8f3c245459e12f68a45f2.jpg","text":"TemporaryFile(/tmp/multipartBody2734221832712501380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142104931,"filename":"image_30102025_15_20_20_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/3/7aab07fa22457e356bb114b08d57204c.jpg","text":"TemporaryFile(/tmp/multipartBody7748721370025372489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142104931,"filename":"image_30102025_15_19_44_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc7b1b073fb9f3744716a427f56d2752.jpg","text":"TemporaryFile(/tmp/multipartBody1430543869686399479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142104931,"filename":"image_30102025_15_20_11_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/3/a4e4dde28b376a2c90e52200d104e4d9.jpg","text":"TemporaryFile(/tmp/multipartBody2391577962955384123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142104931,"filename":"image_30102025_15_19_23_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/3/45515db54bc398473d4447344780a4d8.jpg","text":"TemporaryFile(/tmp/multipartBody6946819724214175364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142104931,"filename":"image_30102025_15_20_17_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/3/61b9045f03b7ac5eafc3b75eb0d57531.jpg","text":"TemporaryFile(/tmp/multipartBody7470564832760014126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142104931,"filename":"image_30102025_15_19_36_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981138","file1":"1391981136","file0":"1391981134","file4":"1391981142","file5":"1391981144","file3":"1391981140"},"map_files_photo_id_array":[{"photo_id":"1391981144","filename":"file5"},{"photo_id":"1391981138","filename":"file2"},{"photo_id":"1391981142","filename":"file4"},{"photo_id":"1391981136","filename":"file1"},{"photo_id":"1391981134","filename":"file0"},{"photo_id":"1391981140","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391981144":["hashtag1","hashtag2"]},{"1391981138":["hashtag1","hashtag2"]},{"1391981140":["hashtag1","hashtag2"]},{"1391981134":["hashtag1","hashtag2"]},{"1391981142":["hashtag1","hashtag2"]},{"1391981136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391981144, 1391981138, 1391981140, 1391981134, 1391981142, 1391981136)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.9982635974884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:55:03.437956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_32_2605.jpg', '/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_36_3683.jpg', '/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_39_2777.jpg', '/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_44_2830.jpg', '/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_57_3723.jpg', '/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_59_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/15/20/image_30102025_15_20_32_2605.jpg
/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_36_3683.jpg
/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_39_2777.jpg
/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_44_2830.jpg
/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_57_3723.jpg
/home/pi/Desktop/images/30102025/15/20/image_30102025_15_20_59_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981162","1391981156","1391981159","1391981161","1391981158","1391981160"],"photo_ids_order":["1391981156","1391981158","1391981159","1391981160","1391981161","1391981162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b8ebd0b580f68b6a0218ca032f874aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3318410340461376145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142165334,"filename":"image_30102025_15_20_59_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/3/a26edc58f0198ea381285a12171b72ec.jpg","text":"TemporaryFile(/tmp/multipartBody1882250871542076082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142165334,"filename":"image_30102025_15_20_32_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/3/c988fd79233caef87a619ac801d1c7db.jpg","text":"TemporaryFile(/tmp/multipartBody5888960574926894998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142165334,"filename":"image_30102025_15_20_39_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/3/0780211fe10e190fcbc060a8af6d72f5.jpg","text":"TemporaryFile(/tmp/multipartBody8773584585951268906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142165334,"filename":"image_30102025_15_20_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/3/30ae681c478fff76cdf7c64478f10b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4883002801252954649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142165334,"filename":"image_30102025_15_20_36_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/3/29c923591a3e45479f86e6a7ef4e1577.jpg","text":"TemporaryFile(/tmp/multipartBody3241618105741906866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142165334,"filename":"image_30102025_15_20_44_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981159","file1":"1391981158","file0":"1391981156","file4":"1391981161","file5":"1391981162","file3":"1391981160"},"map_files_photo_id_array":[{"photo_id":"1391981162","filename":"file5"},{"photo_id":"1391981159","filename":"file2"},{"photo_id":"1391981161","filename":"file4"},{"photo_id":"1391981158","filename":"file1"},{"photo_id":"1391981156","filename":"file0"},{"photo_id":"1391981160","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391981162":["hashtag1","hashtag2"]},{"1391981156":["hashtag1","hashtag2"]},{"1391981159":["hashtag1","hashtag2"]},{"1391981161":["hashtag1","hashtag2"]},{"1391981158":["hashtag1","hashtag2"]},{"1391981160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391981162, 1391981156, 1391981159, 1391981161, 1391981158, 1391981160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.052802085876465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:55:42.791679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_56_2702.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_08_3637.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_16_2647.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_20_3551.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_26_3701.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_38_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_56_2702.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_08_3637.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_16_2647.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_20_3551.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_26_3701.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_38_3672.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.040477991104126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:56:02.369316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_02_2680.jpg', '/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_06_3814.jpg', '/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_15_3775.jpg', '/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_24_3715.jpg', '/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_32_2673.jpg', '/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_35_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/15/21/image_30102025_15_21_02_2680.jpg
/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_06_3814.jpg
/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_15_3775.jpg
/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_24_3715.jpg
/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_32_2673.jpg
/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_35_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981198","1391981191","1391981194","1391981187","1391981192","1391981189"],"photo_ids_order":["1391981187","1391981189","1391981191","1391981192","1391981194","1391981198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4711d1f9b3e0e999b17a6c65f4045e74.jpg","text":"TemporaryFile(/tmp/multipartBody1351288999938635889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142224233,"filename":"image_30102025_15_21_35_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/3/5c3123781ca2fce2c28c20e97060c4dc.jpg","text":"TemporaryFile(/tmp/multipartBody1965155892252830515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142224233,"filename":"image_30102025_15_21_15_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/3/d39af03f553965f2d9cf031263ca85c9.jpg","text":"TemporaryFile(/tmp/multipartBody5876414835396072079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142224233,"filename":"image_30102025_15_21_32_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/735899b4a0c65c6f0bce2b92c900e0cb.jpg","text":"TemporaryFile(/tmp/multipartBody4244029305584887936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142224233,"filename":"image_30102025_15_21_02_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/3/157b5fc509b05b59da0b1d5839f3ff51.jpg","text":"TemporaryFile(/tmp/multipartBody4679405672855904230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142224233,"filename":"image_30102025_15_21_24_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/3/0a44fac032d511d215bc5c83de8b1030.jpg","text":"TemporaryFile(/tmp/multipartBody1444422944053000507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142224233,"filename":"image_30102025_15_21_06_3814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981191","file1":"1391981189","file0":"1391981187","file4":"1391981194","file5":"1391981198","file3":"1391981192"},"map_files_photo_id_array":[{"photo_id":"1391981198","filename":"file5"},{"photo_id":"1391981191","filename":"file2"},{"photo_id":"1391981194","filename":"file4"},{"photo_id":"1391981189","filename":"file1"},{"photo_id":"1391981187","filename":"file0"},{"photo_id":"1391981192","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391981198":["hashtag1","hashtag2"]},{"1391981191":["hashtag1","hashtag2"]},{"1391981194":["hashtag1","hashtag2"]},{"1391981187":["hashtag1","hashtag2"]},{"1391981192":["hashtag1","hashtag2"]},{"1391981189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391981198, 1391981191, 1391981194, 1391981187, 1391981192, 1391981189)","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 = 1391981191 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_15_3775.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 93.11710119247437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 04:57:42.721746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_56_2702.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_08_3637.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_16_2647.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_20_3551.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_26_3701.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_38_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_56_2702.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_08_3637.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_16_2647.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_20_3551.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_26_3701.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_38_3672.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981458","1391981577","1391981637","1391981538","1391981619","1391981498"],"photo_ids_order":["1391981458","1391981498","1391981538","1391981577","1391981619","1391981637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d5447641704ab5a6879482c5753bde9a.jpg","text":"TemporaryFile(/tmp/multipartBody3122185029782887015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142323691,"filename":"image_31102025_01_26_56_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/3/d6e1deb4abdf751afe012b6410df123b.jpg","text":"TemporaryFile(/tmp/multipartBody3575316955263032532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142323691,"filename":"image_31102025_01_27_20_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/3/6a215b40e50b21d072b41faa25f81116.jpg","text":"TemporaryFile(/tmp/multipartBody7935859464603019921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142323691,"filename":"image_31102025_01_27_38_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/3/a4b713e12f4dd51677a81062e229d12c.jpg","text":"TemporaryFile(/tmp/multipartBody2202396446749705248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142323691,"filename":"image_31102025_01_27_16_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6771f3d413714b74b0a475da03d72265.jpg","text":"TemporaryFile(/tmp/multipartBody5594403723958482681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142323691,"filename":"image_31102025_01_27_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/3/0275f51117a7be394ace27d0444eb5b5.jpg","text":"TemporaryFile(/tmp/multipartBody8990254900891280045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142323691,"filename":"image_31102025_01_27_08_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981538","file1":"1391981498","file0":"1391981458","file4":"1391981619","file5":"1391981637","file3":"1391981577"},"map_files_photo_id_array":[{"photo_id":"1391981637","filename":"file5"},{"photo_id":"1391981538","filename":"file2"},{"photo_id":"1391981619","filename":"file4"},{"photo_id":"1391981498","filename":"file1"},{"photo_id":"1391981458","filename":"file0"},{"photo_id":"1391981577","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391981458":["hashtag1","hashtag2"]},{"1391981577":["hashtag1","hashtag2"]},{"1391981637":["hashtag1","hashtag2"]},{"1391981538":["hashtag1","hashtag2"]},{"1391981619":["hashtag1","hashtag2"]},{"1391981498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391981458, 1391981577, 1391981637, 1391981538, 1391981619, 1391981498)","result":[],"list_datou_current":[]}'
Result OK !
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 04:59:03.406119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 04:59:22.563693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_50_2755.jpg', '/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_54_3675.jpg', '/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_56_2664.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_02_2822.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_08_2660.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_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/15/21/image_30102025_15_21_50_2755.jpg
/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_54_3675.jpg
/home/pi/Desktop/images/30102025/15/21/image_30102025_15_21_56_2664.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_02_2822.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_08_2660.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_11_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391981872","1391981764","1391981767","1391981833","1391981790","1391981910"],"photo_ids_order":["1391981764","1391981767","1391981790","1391981833","1391981872","1391981910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56cbcb7b60549e37549c30ce951bf72b.jpg","text":"TemporaryFile(/tmp/multipartBody5917440683048037893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142425174,"filename":"image_30102025_15_22_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/3/bae2d5b90e62a9bb26787c6ebeb98757.jpg","text":"TemporaryFile(/tmp/multipartBody1251124932488624105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142425174,"filename":"image_30102025_15_21_50_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/3/600c6b739edc8ff7f8b081cce37ada9e.jpg","text":"TemporaryFile(/tmp/multipartBody7901853422515270564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142425174,"filename":"image_30102025_15_21_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/3/101c7aa75ac8069e76f51fc8babe7c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8161694788105406894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142425174,"filename":"image_30102025_15_22_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/3/f1609045bdf283c1ea4410eac9ee69a9.jpg","text":"TemporaryFile(/tmp/multipartBody1451154127663538862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142425174,"filename":"image_30102025_15_21_56_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/053d58a7b9030fe195cfa1dd43e130aa.jpg","text":"TemporaryFile(/tmp/multipartBody1818969651938785991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142425174,"filename":"image_30102025_15_22_11_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391981790","file1":"1391981767","file0":"1391981764","file4":"1391981872","file5":"1391981910","file3":"1391981833"},"map_files_photo_id_array":[{"photo_id":"1391981910","filename":"file5"},{"photo_id":"1391981790","filename":"file2"},{"photo_id":"1391981872","filename":"file4"},{"photo_id":"1391981767","filename":"file1"},{"photo_id":"1391981764","filename":"file0"},{"photo_id":"1391981833","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391981872":["hashtag1","hashtag2"]},{"1391981764":["hashtag1","hashtag2"]},{"1391981767":["hashtag1","hashtag2"]},{"1391981833":["hashtag1","hashtag2"]},{"1391981790":["hashtag1","hashtag2"]},{"1391981910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391981872, 1391981764, 1391981767, 1391981833, 1391981790, 1391981910)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.22368836402893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:00:27.832960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_17_2698.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_20_2762.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_23_3541.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_26_2646.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_33_3761.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_38_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/15/22/image_30102025_15_22_17_2698.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_20_2762.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_23_3541.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_26_2646.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_33_3761.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_38_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":["1391982262","1391982265","1391982259","1391982268","1391982256","1391982255"],"photo_ids_order":["1391982255","1391982256","1391982259","1391982262","1391982265","1391982268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/22558f64b78cf03c7bd1fc6aa6a29ae5.jpg","text":"TemporaryFile(/tmp/multipartBody3114097623645333028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142490244,"filename":"image_30102025_15_22_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/3/9a3b67f252f2668a5aa13356e4cb737d.jpg","text":"TemporaryFile(/tmp/multipartBody6864653477872764996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142490244,"filename":"image_30102025_15_22_33_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/3/fdeefb7859ad7d9e760bf5aefe7650ba.jpg","text":"TemporaryFile(/tmp/multipartBody747702138820813793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142490244,"filename":"image_30102025_15_22_23_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/3/4fd5f0168618661269e573f896f5dff4.jpg","text":"TemporaryFile(/tmp/multipartBody3621065737088309069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142490244,"filename":"image_30102025_15_22_38_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8364557bda8e01eb3c20f35b9a4f9433.jpg","text":"TemporaryFile(/tmp/multipartBody6391634947716204541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142490244,"filename":"image_30102025_15_22_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/3/406ff5f72a6a871bc4185a8615343460.jpg","text":"TemporaryFile(/tmp/multipartBody2887271731247401453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142490244,"filename":"image_30102025_15_22_17_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391982259","file1":"1391982256","file0":"1391982255","file4":"1391982265","file5":"1391982268","file3":"1391982262"},"map_files_photo_id_array":[{"photo_id":"1391982268","filename":"file5"},{"photo_id":"1391982259","filename":"file2"},{"photo_id":"1391982265","filename":"file4"},{"photo_id":"1391982256","filename":"file1"},{"photo_id":"1391982255","filename":"file0"},{"photo_id":"1391982262","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391982262":["hashtag1","hashtag2"]},{"1391982265":["hashtag1","hashtag2"]},{"1391982259":["hashtag1","hashtag2"]},{"1391982268":["hashtag1","hashtag2"]},{"1391982256":["hashtag1","hashtag2"]},{"1391982255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391982262, 1391982265, 1391982259, 1391982268, 1391982256, 1391982255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30869126319885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:01:22.638476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_41_2789.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_47_2792.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_56_3662.jpg', '/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_59_2666.jpg', '/home/pi/Desktop/images/30102025/15/23/image_30102025_15_23_03_3578.jpg', '/home/pi/Desktop/images/30102025/15/23/image_30102025_15_23_44_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_41_2789.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_47_2792.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_56_3662.jpg
/home/pi/Desktop/images/30102025/15/22/image_30102025_15_22_59_2666.jpg
/home/pi/Desktop/images/30102025/15/23/image_30102025_15_23_03_3578.jpg
/home/pi/Desktop/images/30102025/15/23/image_30102025_15_23_44_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391982496","1391982472","1391982390","1391982435","1391982513","1391982497"],"photo_ids_order":["1391982390","1391982435","1391982472","1391982496","1391982497","1391982513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c637d27272580b523aa1aba5c293d002.jpg","text":"TemporaryFile(/tmp/multipartBody9013464150732600682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142545075,"filename":"image_30102025_15_22_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/3/027b17556f1036203da31f94340cc94b.jpg","text":"TemporaryFile(/tmp/multipartBody3643855257165217194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142545075,"filename":"image_30102025_15_22_56_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/3/9c4062f8d77ea4fddf5d79ac5e729fbe.jpg","text":"TemporaryFile(/tmp/multipartBody955643972564488098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142545075,"filename":"image_30102025_15_22_41_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/3/59e2a8867b0ce0827036f993907e96e6.jpg","text":"TemporaryFile(/tmp/multipartBody35580332288696331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142545075,"filename":"image_30102025_15_22_47_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/3/d0b935f28a1884d6783fbc33d580c382.jpg","text":"TemporaryFile(/tmp/multipartBody4809014098064160187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142545075,"filename":"image_30102025_15_23_44_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/3/627ed497a12bdb481880446380fc6254.jpg","text":"TemporaryFile(/tmp/multipartBody7722677002465073350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142545075,"filename":"image_30102025_15_23_03_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391982472","file1":"1391982435","file0":"1391982390","file4":"1391982497","file5":"1391982513","file3":"1391982496"},"map_files_photo_id_array":[{"photo_id":"1391982513","filename":"file5"},{"photo_id":"1391982472","filename":"file2"},{"photo_id":"1391982497","filename":"file4"},{"photo_id":"1391982435","filename":"file1"},{"photo_id":"1391982390","filename":"file0"},{"photo_id":"1391982496","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391982496":["hashtag1","hashtag2"]},{"1391982472":["hashtag1","hashtag2"]},{"1391982390":["hashtag1","hashtag2"]},{"1391982435":["hashtag1","hashtag2"]},{"1391982513":["hashtag1","hashtag2"]},{"1391982497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391982496, 1391982472, 1391982390, 1391982435, 1391982513, 1391982497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.544060945510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:02:02.538386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/23/image_30102025_15_23_50_3695.jpg', '/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_02_2830.jpg', '/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_17_2953.jpg', '/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_20_2662.jpg', '/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_22_2649.jpg', '/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_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/15/23/image_30102025_15_23_50_3695.jpg
/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_02_2830.jpg
/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_17_2953.jpg
/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_20_2662.jpg
/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_22_2649.jpg
/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_26_3775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391982754","1391982715","1391982559","1391982634","1391982594","1391982674"],"photo_ids_order":["1391982559","1391982594","1391982634","1391982674","1391982715","1391982754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f632282d83cb26e0c4cc6a455a7c472.jpg","text":"TemporaryFile(/tmp/multipartBody3829460446605401716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142584392,"filename":"image_30102025_15_24_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/3/0cbff05cde24a41560837ed3694579bf.jpg","text":"TemporaryFile(/tmp/multipartBody5815897462852579748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142584392,"filename":"image_30102025_15_24_22_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/55feeac8308c293af2350f3b79a3c190.jpg","text":"TemporaryFile(/tmp/multipartBody6754872465245934338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142584392,"filename":"image_30102025_15_23_50_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/3/0f337694b92dbbaf9ee5b5aa742744aa.jpg","text":"TemporaryFile(/tmp/multipartBody1666151835828026468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142584392,"filename":"image_30102025_15_24_17_2953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b9ed8ce0319788b9caa27053acd3486.jpg","text":"TemporaryFile(/tmp/multipartBody5028529951511589896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142584392,"filename":"image_30102025_15_24_02_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/3/a9c659d2da1cb8f4f9955b23c77ce42d.jpg","text":"TemporaryFile(/tmp/multipartBody2919521763881313280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142584392,"filename":"image_30102025_15_24_20_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391982634","file1":"1391982594","file0":"1391982559","file4":"1391982715","file5":"1391982754","file3":"1391982674"},"map_files_photo_id_array":[{"photo_id":"1391982754","filename":"file5"},{"photo_id":"1391982634","filename":"file2"},{"photo_id":"1391982715","filename":"file4"},{"photo_id":"1391982594","filename":"file1"},{"photo_id":"1391982559","filename":"file0"},{"photo_id":"1391982674","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391982754":["hashtag1","hashtag2"]},{"1391982715":["hashtag1","hashtag2"]},{"1391982559":["hashtag1","hashtag2"]},{"1391982634":["hashtag1","hashtag2"]},{"1391982594":["hashtag1","hashtag2"]},{"1391982674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391982754, 1391982715, 1391982559, 1391982634, 1391982594, 1391982674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34375977516174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:02:41.901124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_56_2702.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_08_3637.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_16_2647.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_20_3551.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_26_3701.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_38_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/26/image_31102025_01_26_56_2702.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_08_3637.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_16_2647.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_20_3551.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_26_3701.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_38_3672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391983104","1391983064","1391982974","1391982896","1391983019","1391982935"],"photo_ids_order":["1391982896","1391982935","1391982974","1391983019","1391983064","1391983104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f0f7aba309bbb2b0c9627fc5fa784933.jpg","text":"TemporaryFile(/tmp/multipartBody8633747825643290383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142622835,"filename":"image_31102025_01_27_38_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/3/e94b5990ccb2dbe953982c2fdb324918.jpg","text":"TemporaryFile(/tmp/multipartBody9181614941371780493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142622835,"filename":"image_31102025_01_27_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/3/311852c40087ccafac93fe7568818705.jpg","text":"TemporaryFile(/tmp/multipartBody4200233247860864273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142622835,"filename":"image_31102025_01_27_16_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6af1481cc536b578675bef79f4dcb44b.jpg","text":"TemporaryFile(/tmp/multipartBody7182964856523647093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142622835,"filename":"image_31102025_01_26_56_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/3/9352901236018d1d26bbbd007acab3a6.jpg","text":"TemporaryFile(/tmp/multipartBody9002257938256128617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142622835,"filename":"image_31102025_01_27_20_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/3/b602dd907c7ec21b3454d1deda5df3c8.jpg","text":"TemporaryFile(/tmp/multipartBody8481036592494148278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142622835,"filename":"image_31102025_01_27_08_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391982974","file1":"1391982935","file0":"1391982896","file4":"1391983064","file5":"1391983104","file3":"1391983019"},"map_files_photo_id_array":[{"photo_id":"1391983104","filename":"file5"},{"photo_id":"1391982974","filename":"file2"},{"photo_id":"1391983064","filename":"file4"},{"photo_id":"1391982935","filename":"file1"},{"photo_id":"1391982896","filename":"file0"},{"photo_id":"1391983019","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391983104":["hashtag1","hashtag2"]},{"1391983064":["hashtag1","hashtag2"]},{"1391982974":["hashtag1","hashtag2"]},{"1391982896":["hashtag1","hashtag2"]},{"1391983019":["hashtag1","hashtag2"]},{"1391982935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391983104, 1391983064, 1391982974, 1391982896, 1391983019, 1391982935)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.44336819648743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:03:42.270614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_44_2930.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_46_2806.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_55_2626.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_59_3715.jpg', '/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_11_2668.jpg', '/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_13_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_44_2930.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_46_2806.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_55_2626.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_59_3715.jpg
/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_11_2668.jpg
/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_13_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: 1.0815434455871582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:04:02.937839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-03 05:04:38.060120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_29_2640.jpg', '/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_35_3552.jpg', '/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_50_2609.jpg', '/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_56_2771.jpg', '/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_59_2693.jpg', '/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_14_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/15/24/image_30102025_15_24_29_2640.jpg
/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_35_3552.jpg
/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_50_2609.jpg
/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_56_2771.jpg
/home/pi/Desktop/images/30102025/15/24/image_30102025_15_24_59_2693.jpg
/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_14_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":["1391983837","1391983825","1391983828","1391983833","1391983823","1391983826"],"photo_ids_order":["1391983823","1391983825","1391983826","1391983828","1391983833","1391983837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2ee923ad9a8e07ecd08eb1b3f3950d42.jpg","text":"TemporaryFile(/tmp/multipartBody6346302707263934720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142750858,"filename":"image_30102025_15_25_14_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/3/84099c39de68ba44bc0544aff183b954.jpg","text":"TemporaryFile(/tmp/multipartBody8903498921837277148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142750858,"filename":"image_30102025_15_24_35_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/3/05e90aadc48e108206effda1e0395603.jpg","text":"TemporaryFile(/tmp/multipartBody4373250933379808212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142750858,"filename":"image_30102025_15_24_56_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/3/bb95e132db2e931033465b62ad8aef05.jpg","text":"TemporaryFile(/tmp/multipartBody3901004444161478793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142750858,"filename":"image_30102025_15_24_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/3/a6fbcd95fb402fb553e7fb7783d3588f.jpg","text":"TemporaryFile(/tmp/multipartBody5647458851550492048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142750858,"filename":"image_30102025_15_24_29_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/3/730f8c34205ab83bd926f585843832b9.jpg","text":"TemporaryFile(/tmp/multipartBody7213482038072514958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142750858,"filename":"image_30102025_15_24_50_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391983826","file1":"1391983825","file0":"1391983823","file4":"1391983833","file5":"1391983837","file3":"1391983828"},"map_files_photo_id_array":[{"photo_id":"1391983837","filename":"file5"},{"photo_id":"1391983826","filename":"file2"},{"photo_id":"1391983833","filename":"file4"},{"photo_id":"1391983825","filename":"file1"},{"photo_id":"1391983823","filename":"file0"},{"photo_id":"1391983828","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391983837":["hashtag1","hashtag2"]},{"1391983825":["hashtag1","hashtag2"]},{"1391983828":["hashtag1","hashtag2"]},{"1391983833":["hashtag1","hashtag2"]},{"1391983823":["hashtag1","hashtag2"]},{"1391983826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391983837, 1391983825, 1391983828, 1391983833, 1391983823, 1391983826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.86537480354309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:05:42.108573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_44_2930.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_46_2806.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_55_2626.jpg', '/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_59_3715.jpg', '/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_11_2668.jpg', '/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_13_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_44_2930.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_46_2806.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_55_2626.jpg
/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_59_3715.jpg
/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_11_2668.jpg
/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_13_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391983879","1391983852","1391983872","1391983875","1391983869","1391983862"],"photo_ids_order":["1391983852","1391983862","1391983869","1391983872","1391983875","1391983879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6dd5bebd2dc290d4c4860216418754fa.jpg","text":"TemporaryFile(/tmp/multipartBody7509701872719767523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142803046,"filename":"image_31102025_01_28_13_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/633fb84f99377d2c5534f9a5763933ca.jpg","text":"TemporaryFile(/tmp/multipartBody4719758144509772202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142803046,"filename":"image_31102025_01_27_44_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/3/f4d49e1662040924cee1d8b015ffdea2.jpg","text":"TemporaryFile(/tmp/multipartBody7745883416185672481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142803046,"filename":"image_31102025_01_27_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/3/002339fc6c5191114e103c07dff29cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8242703243875052074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142803046,"filename":"image_31102025_01_28_11_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/70d36debc236ed5f297b19fc9fb34f85.jpg","text":"TemporaryFile(/tmp/multipartBody8788542359004329260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142803046,"filename":"image_31102025_01_27_55_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/051407f4285b6e4283af6e064b11705a.jpg","text":"TemporaryFile(/tmp/multipartBody896539905700176263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142803046,"filename":"image_31102025_01_27_46_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391983869","file1":"1391983862","file0":"1391983852","file4":"1391983875","file5":"1391983879","file3":"1391983872"},"map_files_photo_id_array":[{"photo_id":"1391983879","filename":"file5"},{"photo_id":"1391983869","filename":"file2"},{"photo_id":"1391983875","filename":"file4"},{"photo_id":"1391983862","filename":"file1"},{"photo_id":"1391983852","filename":"file0"},{"photo_id":"1391983872","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391983879":["hashtag1","hashtag2"]},{"1391983852":["hashtag1","hashtag2"]},{"1391983872":["hashtag1","hashtag2"]},{"1391983875":["hashtag1","hashtag2"]},{"1391983869":["hashtag1","hashtag2"]},{"1391983862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391983879, 1391983852, 1391983872, 1391983875, 1391983869, 1391983862)","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 = 1391983869 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/01/27/image_31102025_01_27_55_2626.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.4533314704895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:06:53.283476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_17_3690.jpg', '/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_35_3560.jpg', '/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_47_2718.jpg', '/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_56_2728.jpg', '/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_08_2817.jpg', '/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_10_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_17_3690.jpg
/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_35_3560.jpg
/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_47_2718.jpg
/home/pi/Desktop/images/31102025/01/28/image_31102025_01_28_56_2728.jpg
/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_08_2817.jpg
/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_10_2805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984344","1391984305","1391984376","1391984406","1391984381","1391984380"],"photo_ids_order":["1391984305","1391984344","1391984376","1391984380","1391984381","1391984406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf4984ff517d35dc057380852e2d0124.jpg","text":"TemporaryFile(/tmp/multipartBody4427924347593503742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142874363,"filename":"image_31102025_01_28_35_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/3/6209493e1c5036610b7df8fe50804276.jpg","text":"TemporaryFile(/tmp/multipartBody5320425600933524820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142874363,"filename":"image_31102025_01_28_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/3/945cd80199702841f1c53fcf40c75f11.jpg","text":"TemporaryFile(/tmp/multipartBody7478741377163205225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142874363,"filename":"image_31102025_01_28_47_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/3/e846dae0240dc5dd5d2d5b2e79b4fca2.jpg","text":"TemporaryFile(/tmp/multipartBody693797201938391498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142874363,"filename":"image_31102025_01_29_10_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8833ce44854b45f2d89d5c800c51cb53.jpg","text":"TemporaryFile(/tmp/multipartBody5264180170774239601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142874363,"filename":"image_31102025_01_29_08_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/3/329ebc552f3f1142589a87d82cf8b152.jpg","text":"TemporaryFile(/tmp/multipartBody1551388793790092065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142874363,"filename":"image_31102025_01_28_56_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984376","file1":"1391984344","file0":"1391984305","file4":"1391984381","file5":"1391984406","file3":"1391984380"},"map_files_photo_id_array":[{"photo_id":"1391984406","filename":"file5"},{"photo_id":"1391984376","filename":"file2"},{"photo_id":"1391984381","filename":"file4"},{"photo_id":"1391984344","filename":"file1"},{"photo_id":"1391984305","filename":"file0"},{"photo_id":"1391984380","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391984344":["hashtag1","hashtag2"]},{"1391984305":["hashtag1","hashtag2"]},{"1391984376":["hashtag1","hashtag2"]},{"1391984406":["hashtag1","hashtag2"]},{"1391984381":["hashtag1","hashtag2"]},{"1391984380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391984344, 1391984305, 1391984376, 1391984406, 1391984381, 1391984380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92567038536072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:07:45.816996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_13_2704.jpg', '/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_50_2792.jpg', '/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_52_2562.jpg', '/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_02_2844.jpg', '/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_04_2819.jpg', '/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_14_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_13_2704.jpg
/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_50_2792.jpg
/home/pi/Desktop/images/31102025/01/29/image_31102025_01_29_52_2562.jpg
/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_02_2844.jpg
/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_04_2819.jpg
/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_14_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984518","1391984517","1391984520","1391984522","1391984516","1391984510"],"photo_ids_order":["1391984510","1391984516","1391984517","1391984518","1391984520","1391984522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c91fb0ab2eb46d2b555d182a7d1eecd2.jpg","text":"TemporaryFile(/tmp/multipartBody4528317194970064778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142926932,"filename":"image_31102025_01_30_02_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/3/4f0122eee7530f636669a7198200222b.jpg","text":"TemporaryFile(/tmp/multipartBody5650598440724729978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142926932,"filename":"image_31102025_01_29_52_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/3/f5d4b67478b962bed7122d96117fc788.jpg","text":"TemporaryFile(/tmp/multipartBody7133424441489170173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142926932,"filename":"image_31102025_01_30_04_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/3/a420936bf2ff0d9a5b61e0942e68d54d.jpg","text":"TemporaryFile(/tmp/multipartBody2329880057272890501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142926932,"filename":"image_31102025_01_30_14_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/3/d5c6b756900c00b6a9c0c5001de11a7f.jpg","text":"TemporaryFile(/tmp/multipartBody4263013391772895803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142926932,"filename":"image_31102025_01_29_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/3/bb0e36086c3158be5e3c59802229777d.jpg","text":"TemporaryFile(/tmp/multipartBody3408041076970497455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762142926932,"filename":"image_31102025_01_29_13_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984517","file1":"1391984516","file0":"1391984510","file4":"1391984520","file5":"1391984522","file3":"1391984518"},"map_files_photo_id_array":[{"photo_id":"1391984522","filename":"file5"},{"photo_id":"1391984517","filename":"file2"},{"photo_id":"1391984520","filename":"file4"},{"photo_id":"1391984516","filename":"file1"},{"photo_id":"1391984510","filename":"file0"},{"photo_id":"1391984518","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391984518":["hashtag1","hashtag2"]},{"1391984517":["hashtag1","hashtag2"]},{"1391984520":["hashtag1","hashtag2"]},{"1391984522":["hashtag1","hashtag2"]},{"1391984516":["hashtag1","hashtag2"]},{"1391984510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391984518, 1391984517, 1391984520, 1391984522, 1391984516, 1391984510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93400168418884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:08:37.138896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_17_2567.jpg', '/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_20_3822.jpg', '/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_40_2820.jpg', '/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_44_3807.jpg', '/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_47_2581.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_02_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/15/25/image_30102025_15_25_17_2567.jpg
/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_20_3822.jpg
/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_40_2820.jpg
/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_44_3807.jpg
/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_47_2581.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_02_3737.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.315030097961426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:09:13.376623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_17_2906.jpg', '/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_19_2606.jpg', '/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_28_2663.jpg', '/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_37_2254.jpg', '/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_17_3766.jpg', '/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_20_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_17_2906.jpg
/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_19_2606.jpg
/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_28_2663.jpg
/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_37_2254.jpg
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_17_3766.jpg
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_20_2695.jpg
2025-11-03 05:09:13.385725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_17_2567.jpg', '/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_20_3822.jpg', '/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_40_2820.jpg', '/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_44_3807.jpg', '/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_47_2581.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_02_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/15/25/image_30102025_15_25_17_2567.jpg
/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_20_3822.jpg
/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_40_2820.jpg
/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_44_3807.jpg
/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_47_2581.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_02_3737.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984556","1391984558","1391984563","1391984566","1391984560","1391984554"],"photo_ids_order":["1391984554","1391984556","1391984558","1391984560","1391984563","1391984566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5bbb6a48e4a50465b0b921bbe54c2fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4457619416011989437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143014641,"filename":"image_31102025_01_30_19_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c9f7a81c2d1dc42274e2fe758b051cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8783199107806149725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143014641,"filename":"image_31102025_01_30_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/3/98d14a16d86628f1d131c3c6716b59f2.jpg","text":"TemporaryFile(/tmp/multipartBody2653153309053575762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143014641,"filename":"image_31102025_01_31_17_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/3/418ec1f0b72e85253f49713afcd6e3cb.jpg","text":"TemporaryFile(/tmp/multipartBody7189337958771432363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143014641,"filename":"image_31102025_01_31_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/3/e59ea44eb6dcc31e7728d9c61eb19175.jpg","text":"TemporaryFile(/tmp/multipartBody3422172539913855688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143014641,"filename":"image_31102025_01_30_37_2254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b4684f695bc6dd968c6f38f55358e7a.jpg","text":"TemporaryFile(/tmp/multipartBody552238881191604418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143014641,"filename":"image_31102025_01_30_17_2906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984558","file1":"1391984556","file0":"1391984554","file4":"1391984563","file5":"1391984566","file3":"1391984560"},"map_files_photo_id_array":[{"photo_id":"1391984566","filename":"file5"},{"photo_id":"1391984558","filename":"file2"},{"photo_id":"1391984563","filename":"file4"},{"photo_id":"1391984556","filename":"file1"},{"photo_id":"1391984554","filename":"file0"},{"photo_id":"1391984560","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391984556":["hashtag1","hashtag2"]},{"1391984558":["hashtag1","hashtag2"]},{"1391984563":["hashtag1","hashtag2"]},{"1391984566":["hashtag1","hashtag2"]},{"1391984560":["hashtag1","hashtag2"]},{"1391984554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391984556, 1391984558, 1391984563, 1391984566, 1391984560, 1391984554)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984559","1391984564","1391984567","1391984561","1391984555","1391984557"],"photo_ids_order":["1391984555","1391984557","1391984559","1391984561","1391984564","1391984567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e90dc22b3d535939b80c114a58adedb2.jpg","text":"TemporaryFile(/tmp/multipartBody1489323874487554389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143015267,"filename":"image_30102025_15_25_40_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/3/1b98dae12421fc21ec8099ca91a1fe13.jpg","text":"TemporaryFile(/tmp/multipartBody6375371348038861937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143015267,"filename":"image_30102025_15_25_47_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/3/f3727ae500b5572fca3923f796276e79.jpg","text":"TemporaryFile(/tmp/multipartBody3606820637554699009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143015267,"filename":"image_30102025_15_26_02_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/3/d890d6549e2465009aead38daf59f9cd.jpg","text":"TemporaryFile(/tmp/multipartBody5628333069956962423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143015267,"filename":"image_30102025_15_25_44_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/3/e94d8def1f993756869db971b88470c7.jpg","text":"TemporaryFile(/tmp/multipartBody119699526273156709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143015267,"filename":"image_30102025_15_25_17_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/3/7e52aaf92a3422b558c690c237c79acc.jpg","text":"TemporaryFile(/tmp/multipartBody6437729287600524276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143015267,"filename":"image_30102025_15_25_20_3822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984559","file1":"1391984557","file0":"1391984555","file4":"1391984564","file5":"1391984567","file3":"1391984561"},"map_files_photo_id_array":[{"photo_id":"1391984567","filename":"file5"},{"photo_id":"1391984559","filename":"file2"},{"photo_id":"1391984564","filename":"file4"},{"photo_id":"1391984557","filename":"file1"},{"photo_id":"1391984555","filename":"file0"},{"photo_id":"1391984561","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984559":["hashtag1","hashtag2"]},{"1391984564":["hashtag1","hashtag2"]},{"1391984567":["hashtag1","hashtag2"]},{"1391984561":["hashtag1","hashtag2"]},{"1391984555":["hashtag1","hashtag2"]},{"1391984557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984559, 1391984564, 1391984567, 1391984561, 1391984555, 1391984557)","result":[],"list_datou_current":[]}'
Result OK !
 val : 2 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391984558 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/01/30/image_31102025_01_30_28_2663.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.49858021736145 secondes ---
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391984559 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/15/25/image_30102025_15_25_40_2820.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.27801036834717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:10:21.676464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_05_2805.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_08_2744.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_11_2808.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_14_3677.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_20_2678.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_23_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_05_2805.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_08_2744.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_11_2808.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_14_3677.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_20_2678.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_23_3621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984583","1391984577","1391984585","1391984579","1391984587","1391984581"],"photo_ids_order":["1391984577","1391984579","1391984581","1391984583","1391984585","1391984587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d0fe1ff9ee1adc1207bddd0b831884f1.jpg","text":"TemporaryFile(/tmp/multipartBody1341649699476092880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143084089,"filename":"image_30102025_15_26_14_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/3/9d7a5cb694e46b286edf0dd77b2fd08d.jpg","text":"TemporaryFile(/tmp/multipartBody2028170347539195310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143084089,"filename":"image_30102025_15_26_05_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/3/de7b431943acca673ad88840ac377a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7325303835157047269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143084089,"filename":"image_30102025_15_26_20_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/3/a65d905b3123029d1a7d040d3e2b241d.jpg","text":"TemporaryFile(/tmp/multipartBody3585242347263457454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143084089,"filename":"image_30102025_15_26_08_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b3e7e14726f2a6b4911753e5c76552be.jpg","text":"TemporaryFile(/tmp/multipartBody4174291572091532596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143084089,"filename":"image_30102025_15_26_23_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/3/d6a37237f67768ba1600183d5203cb93.jpg","text":"TemporaryFile(/tmp/multipartBody3329756368899240545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143084089,"filename":"image_30102025_15_26_11_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984581","file1":"1391984579","file0":"1391984577","file4":"1391984585","file5":"1391984587","file3":"1391984583"},"map_files_photo_id_array":[{"photo_id":"1391984587","filename":"file5"},{"photo_id":"1391984581","filename":"file2"},{"photo_id":"1391984585","filename":"file4"},{"photo_id":"1391984579","filename":"file1"},{"photo_id":"1391984577","filename":"file0"},{"photo_id":"1391984583","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984583":["hashtag1","hashtag2"]},{"1391984577":["hashtag1","hashtag2"]},{"1391984585":["hashtag1","hashtag2"]},{"1391984579":["hashtag1","hashtag2"]},{"1391984587":["hashtag1","hashtag2"]},{"1391984581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984583, 1391984577, 1391984585, 1391984579, 1391984587, 1391984581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82296371459961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:11:02.829024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_26_2688.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_29_2737.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_31_2666.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_35_3704.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_38_2718.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_40_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/15/26/image_30102025_15_26_26_2688.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_29_2737.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_31_2666.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_35_3704.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_38_2718.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_40_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984595","1391984597","1391984591","1391984588","1391984600","1391984593"],"photo_ids_order":["1391984588","1391984591","1391984593","1391984595","1391984597","1391984600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c6a23839c9826fd6696a35b03592d540.jpg","text":"TemporaryFile(/tmp/multipartBody1660206046405146616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143124701,"filename":"image_30102025_15_26_35_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/3/9942b3df655ff79671d121d5c6702b66.jpg","text":"TemporaryFile(/tmp/multipartBody2569806505819806701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143124701,"filename":"image_30102025_15_26_38_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/3/0ddbf5816e8b323b0fa3333c134c9a96.jpg","text":"TemporaryFile(/tmp/multipartBody5187468876229888326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143124701,"filename":"image_30102025_15_26_29_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/3/508d041dd4feeb7043fa4157fef5bf62.jpg","text":"TemporaryFile(/tmp/multipartBody5579916700081107716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143124701,"filename":"image_30102025_15_26_26_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/474a76fc5f9220edf95e1272b30b6f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1864412461211004104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143124701,"filename":"image_30102025_15_26_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/3/28fa5e9db9e0dec1df8212e750c7c543.jpg","text":"TemporaryFile(/tmp/multipartBody7829681232378027861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143124701,"filename":"image_30102025_15_26_31_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984593","file1":"1391984591","file0":"1391984588","file4":"1391984597","file5":"1391984600","file3":"1391984595"},"map_files_photo_id_array":[{"photo_id":"1391984600","filename":"file5"},{"photo_id":"1391984593","filename":"file2"},{"photo_id":"1391984597","filename":"file4"},{"photo_id":"1391984591","filename":"file1"},{"photo_id":"1391984588","filename":"file0"},{"photo_id":"1391984595","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984595":["hashtag1","hashtag2"]},{"1391984597":["hashtag1","hashtag2"]},{"1391984591":["hashtag1","hashtag2"]},{"1391984588":["hashtag1","hashtag2"]},{"1391984600":["hashtag1","hashtag2"]},{"1391984593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984595, 1391984597, 1391984591, 1391984588, 1391984600, 1391984593)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.298582315444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:12:02.862300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_44_3685.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_47_2584.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_49_2656.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_53_3641.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_56_2928.jpg', '/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_59_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/15/26/image_30102025_15_26_44_3685.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_47_2584.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_49_2656.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_53_3641.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_56_2928.jpg
/home/pi/Desktop/images/30102025/15/26/image_30102025_15_26_59_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984629","1391984622","1391984625","1391984628","1391984627","1391984626"],"photo_ids_order":["1391984622","1391984625","1391984626","1391984627","1391984628","1391984629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b298cd99db14857ca413638ea93d7711.jpg","text":"TemporaryFile(/tmp/multipartBody870178844121098045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143184684,"filename":"image_30102025_15_26_59_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/3/9934fcfe76578b938a1706ea23be4b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3073924856290727131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143184684,"filename":"image_30102025_15_26_44_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/3/e021e3e84e55f03ec91bbb5fba9ab84f.jpg","text":"TemporaryFile(/tmp/multipartBody7997878391932223908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143184684,"filename":"image_30102025_15_26_47_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f93650abcea715f70deebed13e2793a.jpg","text":"TemporaryFile(/tmp/multipartBody3014573734474171503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143184684,"filename":"image_30102025_15_26_56_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/3/f7a4c13af744a6c21a03857335f23c3a.jpg","text":"TemporaryFile(/tmp/multipartBody5892512602263896688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143184684,"filename":"image_30102025_15_26_53_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/3/35d3035deaf1261bfd6becc753483427.jpg","text":"TemporaryFile(/tmp/multipartBody629263592361629678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143184684,"filename":"image_30102025_15_26_49_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984626","file1":"1391984625","file0":"1391984622","file4":"1391984628","file5":"1391984629","file3":"1391984627"},"map_files_photo_id_array":[{"photo_id":"1391984629","filename":"file5"},{"photo_id":"1391984626","filename":"file2"},{"photo_id":"1391984628","filename":"file4"},{"photo_id":"1391984625","filename":"file1"},{"photo_id":"1391984622","filename":"file0"},{"photo_id":"1391984627","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984629":["hashtag1","hashtag2"]},{"1391984622":["hashtag1","hashtag2"]},{"1391984625":["hashtag1","hashtag2"]},{"1391984628":["hashtag1","hashtag2"]},{"1391984627":["hashtag1","hashtag2"]},{"1391984626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984629, 1391984622, 1391984625, 1391984628, 1391984627, 1391984626)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.3657329082489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:13:02.583099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_02_3648.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_05_2672.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_12_6951.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_13_1667.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_15_1542.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_23_8279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_02_3648.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_05_2672.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_12_6951.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_13_1667.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_15_1542.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_23_8279.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984640","1391984637","1391984645","1391984642","1391984639","1391984638"],"photo_ids_order":["1391984637","1391984638","1391984639","1391984640","1391984642","1391984645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/075528221e7902632efc0db4c712071f.jpg","text":"TemporaryFile(/tmp/multipartBody378107086318888228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143246298,"filename":"image_30102025_15_27_13_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/3/2a51026fee4c87d9c9cefa2ebd790b90.jpg","text":"TemporaryFile(/tmp/multipartBody369823382650047838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143246298,"filename":"image_30102025_15_27_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/3/15685c3748ec6dbdde16350280773949.jpg","text":"TemporaryFile(/tmp/multipartBody4025707984604868512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143246298,"filename":"image_30102025_15_27_23_8279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/afa02c668d2cfd3cb498f5c21d611109.jpg","text":"TemporaryFile(/tmp/multipartBody4969718753360132301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143246298,"filename":"image_30102025_15_27_15_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0dea06125064d44816848ec08cae55bb.jpg","text":"TemporaryFile(/tmp/multipartBody367764949235480327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143246298,"filename":"image_30102025_15_27_12_6951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9b001a73c2b86f21095b318cfd356a2f.jpg","text":"TemporaryFile(/tmp/multipartBody1566350634572029615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143246298,"filename":"image_30102025_15_27_05_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984639","file1":"1391984638","file0":"1391984637","file4":"1391984642","file5":"1391984645","file3":"1391984640"},"map_files_photo_id_array":[{"photo_id":"1391984645","filename":"file5"},{"photo_id":"1391984639","filename":"file2"},{"photo_id":"1391984642","filename":"file4"},{"photo_id":"1391984638","filename":"file1"},{"photo_id":"1391984637","filename":"file0"},{"photo_id":"1391984640","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984640":["hashtag1","hashtag2"]},{"1391984637":["hashtag1","hashtag2"]},{"1391984645":["hashtag1","hashtag2"]},{"1391984642":["hashtag1","hashtag2"]},{"1391984639":["hashtag1","hashtag2"]},{"1391984638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984640, 1391984637, 1391984645, 1391984642, 1391984639, 1391984638)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.27997899055481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:14:02.279279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_27_3288.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_28_1683.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_30_1553.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_31_1638.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_33_1755.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_35_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_27_3288.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_28_1683.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_30_1553.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_31_1638.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_33_1755.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_35_1634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984685","1391984694","1391984682","1391984690","1391984687","1391984692"],"photo_ids_order":["1391984682","1391984685","1391984687","1391984690","1391984692","1391984694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97d577232baef7fc35facf0ba13296f4.jpg","text":"TemporaryFile(/tmp/multipartBody6715449163021035850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143355942,"filename":"image_30102025_15_27_28_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/3/ef3dfde88a50063e2253dfcacbba3ad0.jpg","text":"TemporaryFile(/tmp/multipartBody6459561730019408994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143355942,"filename":"image_30102025_15_27_35_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/3/f9b3d15c0815734f62f6ccf58656081a.jpg","text":"TemporaryFile(/tmp/multipartBody6784923559666296837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143355942,"filename":"image_30102025_15_27_27_3288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/063f243a250fa694aa4be6d873ec1a7a.jpg","text":"TemporaryFile(/tmp/multipartBody7731867358368157510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143355942,"filename":"image_30102025_15_27_31_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/3/d8754cfb168b238cd686e8dbdf69dad8.jpg","text":"TemporaryFile(/tmp/multipartBody1780699551856861630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143355942,"filename":"image_30102025_15_27_30_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/3/b5f1f3d36e61017dc140ed51bc8f1cd5.jpg","text":"TemporaryFile(/tmp/multipartBody8427975665200017654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143355942,"filename":"image_30102025_15_27_33_1755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984687","file1":"1391984685","file0":"1391984682","file4":"1391984692","file5":"1391984694","file3":"1391984690"},"map_files_photo_id_array":[{"photo_id":"1391984694","filename":"file5"},{"photo_id":"1391984687","filename":"file2"},{"photo_id":"1391984692","filename":"file4"},{"photo_id":"1391984685","filename":"file1"},{"photo_id":"1391984682","filename":"file0"},{"photo_id":"1391984690","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984685":["hashtag1","hashtag2"]},{"1391984694":["hashtag1","hashtag2"]},{"1391984682":["hashtag1","hashtag2"]},{"1391984690":["hashtag1","hashtag2"]},{"1391984687":["hashtag1","hashtag2"]},{"1391984692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984685, 1391984694, 1391984682, 1391984690, 1391984687, 1391984692)","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: 127.75126028060913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:16:27.148689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_37_2639.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_40_2795.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_44_3653.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_47_2613.jpg', '/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_54_4289.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_01_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/15/27/image_30102025_15_27_37_2639.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_40_2795.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_44_3653.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_47_2613.jpg
/home/pi/Desktop/images/30102025/15/27/image_30102025_15_27_54_4289.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_01_2549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984728","1391984716","1391984730","1391984726","1391984722","1391984719"],"photo_ids_order":["1391984716","1391984719","1391984722","1391984726","1391984728","1391984730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cee743b87169fcd0d3b7704985ceaf7b.jpg","text":"TemporaryFile(/tmp/multipartBody8415529770160465280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143449563,"filename":"image_30102025_15_27_54_4289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c30126e1c929dbc78d2b46ad8edcfac8.jpg","text":"TemporaryFile(/tmp/multipartBody6349001066283339905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143449563,"filename":"image_30102025_15_27_37_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb814052af9fa914d64b1b4f1bd39978.jpg","text":"TemporaryFile(/tmp/multipartBody3851167979112112011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143449563,"filename":"image_30102025_15_28_01_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/3/75323e0c8fcc4842540abb03d3ecdf1d.jpg","text":"TemporaryFile(/tmp/multipartBody6021877423713652904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143449563,"filename":"image_30102025_15_27_47_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc196bba74143809b0acfb3eb9e9ed50.jpg","text":"TemporaryFile(/tmp/multipartBody3495477523924856193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143449563,"filename":"image_30102025_15_27_44_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/3/3fe299bc6488c6a98da138753d7439fa.jpg","text":"TemporaryFile(/tmp/multipartBody1977083739731861624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143449563,"filename":"image_30102025_15_27_40_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984722","file1":"1391984719","file0":"1391984716","file4":"1391984728","file5":"1391984730","file3":"1391984726"},"map_files_photo_id_array":[{"photo_id":"1391984730","filename":"file5"},{"photo_id":"1391984722","filename":"file2"},{"photo_id":"1391984728","filename":"file4"},{"photo_id":"1391984719","filename":"file1"},{"photo_id":"1391984716","filename":"file0"},{"photo_id":"1391984726","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984728":["hashtag1","hashtag2"]},{"1391984716":["hashtag1","hashtag2"]},{"1391984730":["hashtag1","hashtag2"]},{"1391984726":["hashtag1","hashtag2"]},{"1391984722":["hashtag1","hashtag2"]},{"1391984719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984728, 1391984716, 1391984730, 1391984726, 1391984722, 1391984719)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 76.77311158180237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:17:46.745421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_22_2578.jpg', '/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_26_3650.jpg', '/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_35_3689.jpg', '/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_40_2420.jpg', '/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_44_3718.jpg', '/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_49_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_22_2578.jpg
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_26_3650.jpg
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_35_3689.jpg
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_40_2420.jpg
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_44_3718.jpg
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_49_2579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984751","1391984753","1391984761","1391984755","1391984749","1391984758"],"photo_ids_order":["1391984749","1391984751","1391984753","1391984755","1391984758","1391984761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a98d98dff73c29cb7c21d02d11579a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4354997066290487737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143527813,"filename":"image_31102025_01_31_26_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/3/1e24689e53da4634f600e5900a0b0259.jpg","text":"TemporaryFile(/tmp/multipartBody2491808151221369825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143527813,"filename":"image_31102025_01_31_35_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/3/0cc9b8ce9e36d911ed1ae58526309ee6.jpg","text":"TemporaryFile(/tmp/multipartBody2880786278316389944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143527813,"filename":"image_31102025_01_31_49_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4985f20ee214257f922778c63bd65509.jpg","text":"TemporaryFile(/tmp/multipartBody6111540819710788673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143527813,"filename":"image_31102025_01_31_40_2420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9d800fb952b2f421cc6cef018d289ba1.jpg","text":"TemporaryFile(/tmp/multipartBody666944725395832417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143527813,"filename":"image_31102025_01_31_22_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/3/26d7faa6b5057dcabd61cd7c1937e810.jpg","text":"TemporaryFile(/tmp/multipartBody5609992176704418682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143527813,"filename":"image_31102025_01_31_44_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984753","file1":"1391984751","file0":"1391984749","file4":"1391984758","file5":"1391984761","file3":"1391984755"},"map_files_photo_id_array":[{"photo_id":"1391984761","filename":"file5"},{"photo_id":"1391984753","filename":"file2"},{"photo_id":"1391984758","filename":"file4"},{"photo_id":"1391984751","filename":"file1"},{"photo_id":"1391984749","filename":"file0"},{"photo_id":"1391984755","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391984751":["hashtag1","hashtag2"]},{"1391984753":["hashtag1","hashtag2"]},{"1391984761":["hashtag1","hashtag2"]},{"1391984755":["hashtag1","hashtag2"]},{"1391984749":["hashtag1","hashtag2"]},{"1391984758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391984751, 1391984753, 1391984761, 1391984755, 1391984749, 1391984758)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.67497634887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:19:03.788950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_04_2964.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_13_2554.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_20_2684.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_22_2660.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_41_2698.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_43_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/15/28/image_30102025_15_28_04_2964.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_13_2554.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_20_2684.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_22_2660.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_41_2698.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_43_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984784","1391984787","1391984781","1391984775","1391984777","1391984779"],"photo_ids_order":["1391984775","1391984777","1391984779","1391984781","1391984784","1391984787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/31e4554a3ff6e030ab909b081eabe888.jpg","text":"TemporaryFile(/tmp/multipartBody2469300075948009337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143605712,"filename":"image_30102025_15_28_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/3/bd34cbc009d98c9b458a453f293106a4.jpg","text":"TemporaryFile(/tmp/multipartBody6596838471857995957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143605712,"filename":"image_30102025_15_28_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/3/9963b9166558ff6fb23bd03cb18829b5.jpg","text":"TemporaryFile(/tmp/multipartBody8564664854843254105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143605712,"filename":"image_30102025_15_28_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/3/8fe1213f019f51d1899d6ff815185b5d.jpg","text":"TemporaryFile(/tmp/multipartBody4233153703514924319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143605712,"filename":"image_30102025_15_28_04_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/3/40af592b9b225226d5ccf2567d6badd5.jpg","text":"TemporaryFile(/tmp/multipartBody4375006967311820021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143605712,"filename":"image_30102025_15_28_13_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/3/faffc69e4c67450ce0d8f9272f8a89d7.jpg","text":"TemporaryFile(/tmp/multipartBody979367650219282326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143605712,"filename":"image_30102025_15_28_20_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984779","file1":"1391984777","file0":"1391984775","file4":"1391984784","file5":"1391984787","file3":"1391984781"},"map_files_photo_id_array":[{"photo_id":"1391984787","filename":"file5"},{"photo_id":"1391984779","filename":"file2"},{"photo_id":"1391984784","filename":"file4"},{"photo_id":"1391984777","filename":"file1"},{"photo_id":"1391984775","filename":"file0"},{"photo_id":"1391984781","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984784":["hashtag1","hashtag2"]},{"1391984787":["hashtag1","hashtag2"]},{"1391984781":["hashtag1","hashtag2"]},{"1391984775":["hashtag1","hashtag2"]},{"1391984777":["hashtag1","hashtag2"]},{"1391984779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984784, 1391984787, 1391984781, 1391984775, 1391984777, 1391984779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37596869468689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:19:42.769101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_52_2956.jpg', '/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_56_3638.jpg', '/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_58_2856.jpg', '/home/pi/Desktop/images/31102025/01/32/image_31102025_01_32_28_2564.jpg', '/home/pi/Desktop/images/31102025/01/32/image_31102025_01_32_58_1768.jpg', '/home/pi/Desktop/images/31102025/01/32/image_31102025_01_32_59_1796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_52_2956.jpg
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_56_3638.jpg
/home/pi/Desktop/images/31102025/01/31/image_31102025_01_31_58_2856.jpg
/home/pi/Desktop/images/31102025/01/32/image_31102025_01_32_28_2564.jpg
/home/pi/Desktop/images/31102025/01/32/image_31102025_01_32_58_1768.jpg
/home/pi/Desktop/images/31102025/01/32/image_31102025_01_32_59_1796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984806","1391984799","1391984793","1391984795","1391984801","1391984797"],"photo_ids_order":["1391984793","1391984795","1391984797","1391984799","1391984801","1391984806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93a3880cd2e44cccddaca47edb50fe31.jpg","text":"TemporaryFile(/tmp/multipartBody1438966344099016372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143643834,"filename":"image_31102025_01_32_59_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/3/76e22cc083b20a85e432942dff58e4d5.jpg","text":"TemporaryFile(/tmp/multipartBody1296434261395430292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143643834,"filename":"image_31102025_01_32_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/3/129a2fd3f046b9adb2e42bc84ee2df49.jpg","text":"TemporaryFile(/tmp/multipartBody4601629822902606701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143643834,"filename":"image_31102025_01_31_52_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/3/694754433fcff86d47c741f9aca08ec8.jpg","text":"TemporaryFile(/tmp/multipartBody289170104480395723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143643834,"filename":"image_31102025_01_31_56_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/3/63580c765ec0835e6dd9f5f0960b4dcd.jpg","text":"TemporaryFile(/tmp/multipartBody4097752994882532531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143643834,"filename":"image_31102025_01_32_58_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/3/a649974d0b87796c3d31a695fab634f5.jpg","text":"TemporaryFile(/tmp/multipartBody2535232503755528265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143643834,"filename":"image_31102025_01_31_58_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984797","file1":"1391984795","file0":"1391984793","file4":"1391984801","file5":"1391984806","file3":"1391984799"},"map_files_photo_id_array":[{"photo_id":"1391984806","filename":"file5"},{"photo_id":"1391984797","filename":"file2"},{"photo_id":"1391984801","filename":"file4"},{"photo_id":"1391984795","filename":"file1"},{"photo_id":"1391984793","filename":"file0"},{"photo_id":"1391984799","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391984806":["hashtag1","hashtag2"]},{"1391984799":["hashtag1","hashtag2"]},{"1391984793":["hashtag1","hashtag2"]},{"1391984795":["hashtag1","hashtag2"]},{"1391984801":["hashtag1","hashtag2"]},{"1391984797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391984806, 1391984799, 1391984793, 1391984795, 1391984801, 1391984797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02921652793884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:20:21.965477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_47_3798.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_52_2634.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_56_3729.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_58_2606.jpg', '/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_01_2715.jpg', '/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_16_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/15/28/image_30102025_15_28_47_3798.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_52_2634.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_56_3729.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_58_2606.jpg
/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_01_2715.jpg
/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_16_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: 4.160597801208496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:20:42.027745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_01_1665.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_06_1654.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_09_1600.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_18_1642.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_20_1762.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_23_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_01_1665.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_06_1654.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_09_1600.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_18_1642.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_20_1762.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_23_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984841","1391984838","1391984826","1391984843","1391984845","1391984824"],"photo_ids_order":["1391984824","1391984826","1391984838","1391984841","1391984843","1391984845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c3fdc4e8cb892541185abee23d55f344.jpg","text":"TemporaryFile(/tmp/multipartBody4888122808044051020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143703214,"filename":"image_31102025_01_33_18_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/3/a96903feb3cd4818fcd7b39fb98200d3.jpg","text":"TemporaryFile(/tmp/multipartBody2511139989891025750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143703214,"filename":"image_31102025_01_33_09_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/3/3d0624d7152dc0a3fbf10074538eaf1d.jpg","text":"TemporaryFile(/tmp/multipartBody1626288584952869679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143703214,"filename":"image_31102025_01_33_06_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/3/4655794b1afd409d8d93bfc394d9cdda.jpg","text":"TemporaryFile(/tmp/multipartBody6815660067438539131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143703214,"filename":"image_31102025_01_33_20_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/3/d7aa375f8a44a1c67066a6b8dc9f6eac.jpg","text":"TemporaryFile(/tmp/multipartBody5235948532931126778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143703214,"filename":"image_31102025_01_33_23_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/3/1891c45794a278b9da9b15993ce8a42b.jpg","text":"TemporaryFile(/tmp/multipartBody8452823064963642958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143703214,"filename":"image_31102025_01_33_01_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984838","file1":"1391984826","file0":"1391984824","file4":"1391984843","file5":"1391984845","file3":"1391984841"},"map_files_photo_id_array":[{"photo_id":"1391984845","filename":"file5"},{"photo_id":"1391984838","filename":"file2"},{"photo_id":"1391984843","filename":"file4"},{"photo_id":"1391984826","filename":"file1"},{"photo_id":"1391984824","filename":"file0"},{"photo_id":"1391984841","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391984841":["hashtag1","hashtag2"]},{"1391984838":["hashtag1","hashtag2"]},{"1391984826":["hashtag1","hashtag2"]},{"1391984843":["hashtag1","hashtag2"]},{"1391984845":["hashtag1","hashtag2"]},{"1391984824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391984841, 1391984838, 1391984826, 1391984843, 1391984845, 1391984824)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.48714518547058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:22:02.655653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 05:22:25.111368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 05:22:42.649696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 05:23:04.580016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_47_3798.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_52_2634.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_56_3729.jpg', '/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_58_2606.jpg', '/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_01_2715.jpg', '/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_16_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/15/28/image_30102025_15_28_47_3798.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_52_2634.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_56_3729.jpg
/home/pi/Desktop/images/30102025/15/28/image_30102025_15_28_58_2606.jpg
/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_01_2715.jpg
/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_16_2592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984883","1391984886","1391984880","1391984894","1391984890","1391984896"],"photo_ids_order":["1391984880","1391984883","1391984886","1391984890","1391984894","1391984896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f5048a7256c320aef5fcc9ad9757c085.jpg","text":"TemporaryFile(/tmp/multipartBody7820120465071593439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143846284,"filename":"image_30102025_15_28_52_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/3/200be425c71e8caebbfe47150db8dbe6.jpg","text":"TemporaryFile(/tmp/multipartBody8830635629106405490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143846284,"filename":"image_30102025_15_28_56_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/3/b25213472c800f224f201bbb0cbe896b.jpg","text":"TemporaryFile(/tmp/multipartBody3738632448668261180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143846284,"filename":"image_30102025_15_28_47_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/3/e9dcad1bc8f3c98879af61a96c2e8b7c.jpg","text":"TemporaryFile(/tmp/multipartBody2964296765657744888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143846284,"filename":"image_30102025_15_29_01_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/3/61180cd14421023c2984a3445150dc09.jpg","text":"TemporaryFile(/tmp/multipartBody2444670914354315754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143846284,"filename":"image_30102025_15_28_58_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/3/f4e1dedde842a3e85f50c8273e44a3e7.jpg","text":"TemporaryFile(/tmp/multipartBody94966656670263797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143846284,"filename":"image_30102025_15_29_16_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984886","file1":"1391984883","file0":"1391984880","file4":"1391984894","file5":"1391984896","file3":"1391984890"},"map_files_photo_id_array":[{"photo_id":"1391984896","filename":"file5"},{"photo_id":"1391984886","filename":"file2"},{"photo_id":"1391984894","filename":"file4"},{"photo_id":"1391984883","filename":"file1"},{"photo_id":"1391984880","filename":"file0"},{"photo_id":"1391984890","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984883":["hashtag1","hashtag2"]},{"1391984886":["hashtag1","hashtag2"]},{"1391984880":["hashtag1","hashtag2"]},{"1391984894":["hashtag1","hashtag2"]},{"1391984890":["hashtag1","hashtag2"]},{"1391984896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984883, 1391984886, 1391984880, 1391984894, 1391984890, 1391984896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47426128387451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:23:42.756856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_28_2921.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_31_2803.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_37_2718.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_40_2614.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_43_3613.jpg', '/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_49_3092.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_28_2921.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_31_2803.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_37_2718.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_40_2614.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_43_3613.jpg
/home/pi/Desktop/images/31102025/01/33/image_31102025_01_33_49_3092.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984926","1391984922","1391984916","1391984936","1391984930","1391984903"],"photo_ids_order":["1391984903","1391984916","1391984922","1391984926","1391984930","1391984936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d7e9dd4de58fc8299ad193d3ff70007a.jpg","text":"TemporaryFile(/tmp/multipartBody6463579217182849563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143883880,"filename":"image_31102025_01_33_40_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/3/4ddd9538a5eac4a17733d8e111333b88.jpg","text":"TemporaryFile(/tmp/multipartBody7359490486136453839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143883880,"filename":"image_31102025_01_33_37_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/3/7a20eb3d2c5f4d092d497e2e05592cda.jpg","text":"TemporaryFile(/tmp/multipartBody4783972839747456764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143883880,"filename":"image_31102025_01_33_31_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/3/7dd026d93c9dacc475344751bc3714f3.jpg","text":"TemporaryFile(/tmp/multipartBody4817969765871377059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143883880,"filename":"image_31102025_01_33_49_3092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cbb3aa2e47129b24e8b40d7e46c15183.jpg","text":"TemporaryFile(/tmp/multipartBody9215767549412873959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143883880,"filename":"image_31102025_01_33_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/3/7cff85be46b1d21fb8309fdb631b642e.jpg","text":"TemporaryFile(/tmp/multipartBody4056705849708076744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143883880,"filename":"image_31102025_01_33_28_2921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984922","file1":"1391984916","file0":"1391984903","file4":"1391984930","file5":"1391984936","file3":"1391984926"},"map_files_photo_id_array":[{"photo_id":"1391984936","filename":"file5"},{"photo_id":"1391984922","filename":"file2"},{"photo_id":"1391984930","filename":"file4"},{"photo_id":"1391984916","filename":"file1"},{"photo_id":"1391984903","filename":"file0"},{"photo_id":"1391984926","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391984926":["hashtag1","hashtag2"]},{"1391984922":["hashtag1","hashtag2"]},{"1391984916":["hashtag1","hashtag2"]},{"1391984936":["hashtag1","hashtag2"]},{"1391984930":["hashtag1","hashtag2"]},{"1391984903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391984926, 1391984922, 1391984916, 1391984936, 1391984930, 1391984903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.429826736450195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:24:21.936986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_25_2606.jpg', '/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_34_2684.jpg', '/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_38_3762.jpg', '/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_43_2733.jpg', '/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_47_3550.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_07_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_25_2606.jpg
/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_34_2684.jpg
/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_38_3762.jpg
/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_43_2733.jpg
/home/pi/Desktop/images/30102025/15/29/image_30102025_15_29_47_3550.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_07_3014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391984994","1391984982","1391984952","1391984951","1391984948","1391984989"],"photo_ids_order":["1391984948","1391984951","1391984952","1391984982","1391984989","1391984994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ec4dd8bd00f8300099712b6999c05b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5054295703049521429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143924378,"filename":"image_30102025_15_31_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/3/d71be7f40b6f35612de9dd385ee44753.jpg","text":"TemporaryFile(/tmp/multipartBody1085814127715801559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143924378,"filename":"image_30102025_15_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/3/cb6172eae864de20a5a08d61948526aa.jpg","text":"TemporaryFile(/tmp/multipartBody1768472040224862518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143924378,"filename":"image_30102025_15_29_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/3/0389d8f646cb4d2805e54bfd6f278996.jpg","text":"TemporaryFile(/tmp/multipartBody7741065637326303749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143924378,"filename":"image_30102025_15_29_34_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/3/186f485b9e6de1baf5ee088e1bb71532.jpg","text":"TemporaryFile(/tmp/multipartBody8404532911810921214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143924378,"filename":"image_30102025_15_29_25_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/25e1a6d4af00d057c41afc99075f0cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4227302498143264527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143924378,"filename":"image_30102025_15_29_47_3550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391984952","file1":"1391984951","file0":"1391984948","file4":"1391984989","file5":"1391984994","file3":"1391984982"},"map_files_photo_id_array":[{"photo_id":"1391984994","filename":"file5"},{"photo_id":"1391984952","filename":"file2"},{"photo_id":"1391984989","filename":"file4"},{"photo_id":"1391984951","filename":"file1"},{"photo_id":"1391984948","filename":"file0"},{"photo_id":"1391984982","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391984994":["hashtag1","hashtag2"]},{"1391984982":["hashtag1","hashtag2"]},{"1391984952":["hashtag1","hashtag2"]},{"1391984951":["hashtag1","hashtag2"]},{"1391984948":["hashtag1","hashtag2"]},{"1391984989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391984994, 1391984982, 1391984952, 1391984951, 1391984948, 1391984989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58875608444214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:25:02.744239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_11_3644.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_14_2695.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_16_2746.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_23_3658.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_26_2650.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_28_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_11_3644.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_14_2695.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_16_2746.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_23_3658.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_26_2650.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_28_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985015","1391985009","1391985011","1391985005","1391985013","1391985007"],"photo_ids_order":["1391985005","1391985007","1391985009","1391985011","1391985013","1391985015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/abd5a1881f73a158056d94432cf0a777.jpg","text":"TemporaryFile(/tmp/multipartBody2870806066204605005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143964667,"filename":"image_30102025_15_31_28_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/3/212351d38f9308ce645e4a67ed5aeac9.jpg","text":"TemporaryFile(/tmp/multipartBody7821512564623078453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143964667,"filename":"image_30102025_15_31_16_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/3/6bc2a1548368e80964c759613701b041.jpg","text":"TemporaryFile(/tmp/multipartBody8204387258352462860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143964667,"filename":"image_30102025_15_31_23_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/3/a5536180179e4e379ad3869e4327f802.jpg","text":"TemporaryFile(/tmp/multipartBody3990978502709119185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143964667,"filename":"image_30102025_15_31_11_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/3/c1d9f21912cc8b6464db62a45ce59ece.jpg","text":"TemporaryFile(/tmp/multipartBody8531830589340547351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143964667,"filename":"image_30102025_15_31_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/3/013a1678b0e01bfe6555bd0457f1cfcd.jpg","text":"TemporaryFile(/tmp/multipartBody6334547398173721287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762143964667,"filename":"image_30102025_15_31_14_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985009","file1":"1391985007","file0":"1391985005","file4":"1391985013","file5":"1391985015","file3":"1391985011"},"map_files_photo_id_array":[{"photo_id":"1391985015","filename":"file5"},{"photo_id":"1391985009","filename":"file2"},{"photo_id":"1391985013","filename":"file4"},{"photo_id":"1391985007","filename":"file1"},{"photo_id":"1391985005","filename":"file0"},{"photo_id":"1391985011","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985015":["hashtag1","hashtag2"]},{"1391985009":["hashtag1","hashtag2"]},{"1391985011":["hashtag1","hashtag2"]},{"1391985005":["hashtag1","hashtag2"]},{"1391985013":["hashtag1","hashtag2"]},{"1391985007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985015, 1391985009, 1391985011, 1391985005, 1391985013, 1391985007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.116491079330444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:25:42.215894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_07_2584.jpg', '/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_10_2738.jpg', '/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_25_2724.jpg', '/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_37_2702.jpg', '/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_41_3653.jpg', '/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_43_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_07_2584.jpg
/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_10_2738.jpg
/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_25_2724.jpg
/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_37_2702.jpg
/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_41_3653.jpg
/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_43_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":["1391985033","1391985027","1391985023","1391985029","1391985022","1391985025"],"photo_ids_order":["1391985022","1391985023","1391985025","1391985027","1391985029","1391985033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d466b1f1fb7e6ce7b6cf9fde23f6a9f3.jpg","text":"TemporaryFile(/tmp/multipartBody2532382386207984170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144008913,"filename":"image_31102025_01_34_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/3/4bbf979be34604c0da5600a3b25524e7.jpg","text":"TemporaryFile(/tmp/multipartBody2621811493309073034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144008913,"filename":"image_31102025_01_34_37_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/3/701364e7db8f6da461b86ac0b1d4fd9e.jpg","text":"TemporaryFile(/tmp/multipartBody8294349648789603256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144008913,"filename":"image_31102025_01_34_10_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cdc613f18d7ee616ae051b17b3503d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8903126578403152710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144008913,"filename":"image_31102025_01_34_41_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/3/a6797ab6d74c9be75f32d12b0ed66af3.jpg","text":"TemporaryFile(/tmp/multipartBody807555458369321500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144008913,"filename":"image_31102025_01_34_07_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/3/0457ec574389e22945d5d570c7266607.jpg","text":"TemporaryFile(/tmp/multipartBody1324413534787464675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144008913,"filename":"image_31102025_01_34_25_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985025","file1":"1391985023","file0":"1391985022","file4":"1391985029","file5":"1391985033","file3":"1391985027"},"map_files_photo_id_array":[{"photo_id":"1391985033","filename":"file5"},{"photo_id":"1391985025","filename":"file2"},{"photo_id":"1391985029","filename":"file4"},{"photo_id":"1391985023","filename":"file1"},{"photo_id":"1391985022","filename":"file0"},{"photo_id":"1391985027","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985033":["hashtag1","hashtag2"]},{"1391985027":["hashtag1","hashtag2"]},{"1391985023":["hashtag1","hashtag2"]},{"1391985029":["hashtag1","hashtag2"]},{"1391985022":["hashtag1","hashtag2"]},{"1391985025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985033, 1391985027, 1391985023, 1391985029, 1391985022, 1391985025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.413920164108276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:26:42.349624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_49_2691.jpg', '/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_52_3795.jpg', '/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_58_2790.jpg', '/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_04_3679.jpg', '/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_19_3234.jpg', '/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_22_2874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_49_2691.jpg
/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_52_3795.jpg
/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_58_2790.jpg
/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_04_3679.jpg
/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_19_3234.jpg
/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_22_2874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985072","1391985074","1391985062","1391985065","1391985067","1391985069"],"photo_ids_order":["1391985062","1391985065","1391985067","1391985069","1391985072","1391985074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a1c02b0eeafcb9006c4bdada4a941383.jpg","text":"TemporaryFile(/tmp/multipartBody5732121365863227519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144072880,"filename":"image_31102025_01_35_19_3234.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b669c37d765f4a998bd437050627ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4169353270240031993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144072880,"filename":"image_31102025_01_35_22_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/3/dd4d7d17d8add90a20fdd6ae83569819.jpg","text":"TemporaryFile(/tmp/multipartBody5919824694328504038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144072880,"filename":"image_31102025_01_34_49_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/3/7ac08320f3789849480fe26669ba83f9.jpg","text":"TemporaryFile(/tmp/multipartBody1012505787705438677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144072880,"filename":"image_31102025_01_34_52_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/3/eb70ae42f006aec8e0f8938171595301.jpg","text":"TemporaryFile(/tmp/multipartBody8020811170870011256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144072880,"filename":"image_31102025_01_34_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/3/fc671acb534790cdeb7a3fbbc48e97af.jpg","text":"TemporaryFile(/tmp/multipartBody7204115147323298602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144072880,"filename":"image_31102025_01_35_04_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985067","file1":"1391985065","file0":"1391985062","file4":"1391985072","file5":"1391985074","file3":"1391985069"},"map_files_photo_id_array":[{"photo_id":"1391985074","filename":"file5"},{"photo_id":"1391985067","filename":"file2"},{"photo_id":"1391985072","filename":"file4"},{"photo_id":"1391985065","filename":"file1"},{"photo_id":"1391985062","filename":"file0"},{"photo_id":"1391985069","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985072":["hashtag1","hashtag2"]},{"1391985074":["hashtag1","hashtag2"]},{"1391985062":["hashtag1","hashtag2"]},{"1391985065":["hashtag1","hashtag2"]},{"1391985067":["hashtag1","hashtag2"]},{"1391985069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985072, 1391985074, 1391985062, 1391985065, 1391985067, 1391985069)","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 = 1391985067 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/01/34/image_31102025_01_34_58_2790.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 76.84170961380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:28:02.282497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 05:28:21.773173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_32_3647.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_35_2717.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_37_2693.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_41_3603.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_44_2673.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_47_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_32_3647.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_35_2717.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_37_2693.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_41_3603.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_44_2673.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_47_3575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985113","1391985107","1391985127","1391985121","1391985124","1391985118"],"photo_ids_order":["1391985107","1391985113","1391985118","1391985121","1391985124","1391985127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8bc53dad56f5b846e7e3a8ba05ce7420.jpg","text":"TemporaryFile(/tmp/multipartBody3121125437959067850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144165866,"filename":"image_30102025_15_31_35_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a8709151bca957b6db7a778d47b55dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1194011095530227770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144165866,"filename":"image_30102025_15_31_32_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/3/2a9e50e7986c8c2fec20eabc0eedf5c4.jpg","text":"TemporaryFile(/tmp/multipartBody8137327329270145067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144165866,"filename":"image_30102025_15_31_47_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/3/1c9fa82c3c38242014855e560836b44b.jpg","text":"TemporaryFile(/tmp/multipartBody8705953734608746968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144165866,"filename":"image_30102025_15_31_41_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/3/6c6b88e2ceb564b2d317fb86b1973a2e.jpg","text":"TemporaryFile(/tmp/multipartBody5962186456691546355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144165866,"filename":"image_30102025_15_31_44_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/3/786bfe77b0a2162912b7cfe3b4eb3433.jpg","text":"TemporaryFile(/tmp/multipartBody3431982286135752774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144165866,"filename":"image_30102025_15_31_37_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985118","file1":"1391985113","file0":"1391985107","file4":"1391985124","file5":"1391985127","file3":"1391985121"},"map_files_photo_id_array":[{"photo_id":"1391985127","filename":"file5"},{"photo_id":"1391985118","filename":"file2"},{"photo_id":"1391985124","filename":"file4"},{"photo_id":"1391985113","filename":"file1"},{"photo_id":"1391985107","filename":"file0"},{"photo_id":"1391985121","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985113":["hashtag1","hashtag2"]},{"1391985107":["hashtag1","hashtag2"]},{"1391985127":["hashtag1","hashtag2"]},{"1391985121":["hashtag1","hashtag2"]},{"1391985124":["hashtag1","hashtag2"]},{"1391985118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985113, 1391985107, 1391985127, 1391985121, 1391985124, 1391985118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33095645904541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:29:03.417113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_50_2779.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_53_2644.jpg', '/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_59_3780.jpg', '/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_11_3634.jpg', '/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_25_2802.jpg', '/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_38_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/15/31/image_30102025_15_31_50_2779.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_53_2644.jpg
/home/pi/Desktop/images/30102025/15/31/image_30102025_15_31_59_3780.jpg
/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_11_3634.jpg
/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_25_2802.jpg
/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_38_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985144","1391985147","1391985129","1391985140","1391985134","1391985137"],"photo_ids_order":["1391985129","1391985134","1391985137","1391985140","1391985144","1391985147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d702fa03b93b15b8a59a6ee4281f67bd.jpg","text":"TemporaryFile(/tmp/multipartBody455044615551748126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144205529,"filename":"image_30102025_15_32_25_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/3/2bae016d43341551b6a2232c85d85ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1838133733659826545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144205529,"filename":"image_30102025_15_32_38_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/06269691615452b5eddffb22651060eb.jpg","text":"TemporaryFile(/tmp/multipartBody1548194202443639329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144205529,"filename":"image_30102025_15_31_50_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/3/e1e847e48165c399d532a6c221bb935c.jpg","text":"TemporaryFile(/tmp/multipartBody7496181593626049243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144205529,"filename":"image_30102025_15_32_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/3/4a70c7aa5472872f600747d480ce538f.jpg","text":"TemporaryFile(/tmp/multipartBody7903915959009174215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144205529,"filename":"image_30102025_15_31_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/3/8f52620dd6094f6fcb920b2bcb8f45d9.jpg","text":"TemporaryFile(/tmp/multipartBody4044663827933387479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144205529,"filename":"image_30102025_15_31_59_3780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985137","file1":"1391985134","file0":"1391985129","file4":"1391985144","file5":"1391985147","file3":"1391985140"},"map_files_photo_id_array":[{"photo_id":"1391985147","filename":"file5"},{"photo_id":"1391985137","filename":"file2"},{"photo_id":"1391985144","filename":"file4"},{"photo_id":"1391985134","filename":"file1"},{"photo_id":"1391985129","filename":"file0"},{"photo_id":"1391985140","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985144":["hashtag1","hashtag2"]},{"1391985147":["hashtag1","hashtag2"]},{"1391985129":["hashtag1","hashtag2"]},{"1391985140":["hashtag1","hashtag2"]},{"1391985134":["hashtag1","hashtag2"]},{"1391985137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985144, 1391985147, 1391985129, 1391985140, 1391985134, 1391985137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.488394260406494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:29:42.589255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_25_2735.jpg', '/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_34_2640.jpg', '/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_46_2844.jpg', '/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_49_2798.jpg', '/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_55_2570.jpg', '/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_58_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_25_2735.jpg
/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_34_2640.jpg
/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_46_2844.jpg
/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_49_2798.jpg
/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_55_2570.jpg
/home/pi/Desktop/images/31102025/01/35/image_31102025_01_35_58_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985171","1391985150","1391985167","1391985152","1391985164","1391985169"],"photo_ids_order":["1391985150","1391985152","1391985164","1391985167","1391985169","1391985171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ce0cbde464ce99d0a991330b997dc49.jpg","text":"TemporaryFile(/tmp/multipartBody228080492565428039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144243661,"filename":"image_31102025_01_35_58_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/3/9e62c398fc03716b3658de0643937366.jpg","text":"TemporaryFile(/tmp/multipartBody1904139032803433637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144243661,"filename":"image_31102025_01_35_25_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/3/04d22bcbcf572f45bce882376e6adbd0.jpg","text":"TemporaryFile(/tmp/multipartBody5235415376827718542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144243661,"filename":"image_31102025_01_35_49_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/3/5c64d11b9e19b33db3acf57290a144e7.jpg","text":"TemporaryFile(/tmp/multipartBody8265166758932817601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144243661,"filename":"image_31102025_01_35_34_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f389faace4063a5fd09986ac10d0470.jpg","text":"TemporaryFile(/tmp/multipartBody6246679586503844259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144243661,"filename":"image_31102025_01_35_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/3/f4489b303272c17215db1a8d7cd55de6.jpg","text":"TemporaryFile(/tmp/multipartBody4352732384010978463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144243661,"filename":"image_31102025_01_35_55_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985164","file1":"1391985152","file0":"1391985150","file4":"1391985169","file5":"1391985171","file3":"1391985167"},"map_files_photo_id_array":[{"photo_id":"1391985171","filename":"file5"},{"photo_id":"1391985164","filename":"file2"},{"photo_id":"1391985169","filename":"file4"},{"photo_id":"1391985152","filename":"file1"},{"photo_id":"1391985150","filename":"file0"},{"photo_id":"1391985167","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985171":["hashtag1","hashtag2"]},{"1391985150":["hashtag1","hashtag2"]},{"1391985167":["hashtag1","hashtag2"]},{"1391985152":["hashtag1","hashtag2"]},{"1391985164":["hashtag1","hashtag2"]},{"1391985169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985171, 1391985150, 1391985167, 1391985152, 1391985164, 1391985169)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.05897283554077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:30:41.874060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_04_3673.jpg', '/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_07_2583.jpg', '/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_10_2788.jpg', '/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_25_2907.jpg', '/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_28_2639.jpg', '/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_31_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_04_3673.jpg
/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_07_2583.jpg
/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_10_2788.jpg
/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_25_2907.jpg
/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_28_2639.jpg
/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_31_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985198","1391985201","1391985196","1391985200","1391985193","1391985202"],"photo_ids_order":["1391985193","1391985196","1391985198","1391985200","1391985201","1391985202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f01bf6f188d9e21f8a95a6429a5d7e1.jpg","text":"TemporaryFile(/tmp/multipartBody446872480150100473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144303000,"filename":"image_31102025_01_36_10_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/3/8fe1edf0674ceaeeae69b88a463495a7.jpg","text":"TemporaryFile(/tmp/multipartBody5657683130932586566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144303000,"filename":"image_31102025_01_36_28_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc4a8216167a0f3a59a2415c6bbfd06c.jpg","text":"TemporaryFile(/tmp/multipartBody6000181829834557373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144303000,"filename":"image_31102025_01_36_07_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c34dfec4a0a634e43e6a15cca94c5d68.jpg","text":"TemporaryFile(/tmp/multipartBody7812973319407604309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144303000,"filename":"image_31102025_01_36_25_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/3/5932a4771bdf0653d114579c3f6d287a.jpg","text":"TemporaryFile(/tmp/multipartBody2263025657539782733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144303000,"filename":"image_31102025_01_36_04_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/3/a740d532065e7a9b93304a686161cba9.jpg","text":"TemporaryFile(/tmp/multipartBody8182194097663863182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144303000,"filename":"image_31102025_01_36_31_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985198","file1":"1391985196","file0":"1391985193","file4":"1391985201","file5":"1391985202","file3":"1391985200"},"map_files_photo_id_array":[{"photo_id":"1391985202","filename":"file5"},{"photo_id":"1391985198","filename":"file2"},{"photo_id":"1391985201","filename":"file4"},{"photo_id":"1391985196","filename":"file1"},{"photo_id":"1391985193","filename":"file0"},{"photo_id":"1391985200","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985198":["hashtag1","hashtag2"]},{"1391985201":["hashtag1","hashtag2"]},{"1391985196":["hashtag1","hashtag2"]},{"1391985200":["hashtag1","hashtag2"]},{"1391985193":["hashtag1","hashtag2"]},{"1391985202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985198, 1391985201, 1391985196, 1391985200, 1391985193, 1391985202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81147623062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:31:22.024622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_40_2642.jpg', '/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_43_2728.jpg', '/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_59_3555.jpg', '/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_08_3766.jpg', '/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_23_3649.jpg', '/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_28_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/15/32/image_30102025_15_32_40_2642.jpg
/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_43_2728.jpg
/home/pi/Desktop/images/30102025/15/32/image_30102025_15_32_59_3555.jpg
/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_08_3766.jpg
/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_23_3649.jpg
/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_28_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985240","1391985252","1391985248","1391985242","1391985245","1391985214"],"photo_ids_order":["1391985214","1391985240","1391985242","1391985245","1391985248","1391985252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f3f98e2fbb5399f6d0ad44f7654c7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4427072423713392044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144344451,"filename":"image_30102025_15_32_43_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/3/209ee6ee324122e2a82bb1dd024c8781.jpg","text":"TemporaryFile(/tmp/multipartBody2544017714375590035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144344451,"filename":"image_30102025_15_33_28_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d9e1b9605f90f67270935b3febe486a0.jpg","text":"TemporaryFile(/tmp/multipartBody8577975680786389659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144344451,"filename":"image_30102025_15_33_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/3/8831f15c4cf67a53562b684236f47b38.jpg","text":"TemporaryFile(/tmp/multipartBody5497045282892894911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144344451,"filename":"image_30102025_15_32_59_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/3/e8ced75ee1aeedaaf3b1d03434eb6c8d.jpg","text":"TemporaryFile(/tmp/multipartBody331767734540650509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144344451,"filename":"image_30102025_15_33_08_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/3/118dd82ede08ba3e0d19ceff43ce0300.jpg","text":"TemporaryFile(/tmp/multipartBody2364339062992727501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144344451,"filename":"image_30102025_15_32_40_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985242","file1":"1391985240","file0":"1391985214","file4":"1391985248","file5":"1391985252","file3":"1391985245"},"map_files_photo_id_array":[{"photo_id":"1391985252","filename":"file5"},{"photo_id":"1391985242","filename":"file2"},{"photo_id":"1391985248","filename":"file4"},{"photo_id":"1391985240","filename":"file1"},{"photo_id":"1391985214","filename":"file0"},{"photo_id":"1391985245","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985240":["hashtag1","hashtag2"]},{"1391985252":["hashtag1","hashtag2"]},{"1391985248":["hashtag1","hashtag2"]},{"1391985242":["hashtag1","hashtag2"]},{"1391985245":["hashtag1","hashtag2"]},{"1391985214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985240, 1391985252, 1391985248, 1391985242, 1391985245, 1391985214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.847900390625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:32:02.789706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_43_2595.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_04_2763.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_08_3592.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_10_2666.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_13_2574.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_20_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_43_2595.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_04_2763.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_08_3592.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_10_2666.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_13_2574.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_20_3764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985272","1391985266","1391985269","1391985260","1391985263","1391985274"],"photo_ids_order":["1391985260","1391985263","1391985266","1391985269","1391985272","1391985274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7987654d4dab33c10a6521b9f0a41925.jpg","text":"TemporaryFile(/tmp/multipartBody5531087295358795624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144384706,"filename":"image_30102025_15_34_13_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/3/e3b5386bea681257c584bf26bf34f4bf.jpg","text":"TemporaryFile(/tmp/multipartBody5510744291968450659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144384706,"filename":"image_30102025_15_34_08_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/3/03de017011c7b6cfa060d8350d973626.jpg","text":"TemporaryFile(/tmp/multipartBody1301781253242872810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144384706,"filename":"image_30102025_15_34_10_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2f13977e67a55f922e241e52c57853a8.jpg","text":"TemporaryFile(/tmp/multipartBody4295235110546684984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144384706,"filename":"image_30102025_15_33_43_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/3/fa0384ded252ac95ef5915204393a9e6.jpg","text":"TemporaryFile(/tmp/multipartBody2239949660948104656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144384706,"filename":"image_30102025_15_34_04_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/3/e90413b9c1ba0146ff23123feb873c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6483528947184116430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144384706,"filename":"image_30102025_15_34_20_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985266","file1":"1391985263","file0":"1391985260","file4":"1391985272","file5":"1391985274","file3":"1391985269"},"map_files_photo_id_array":[{"photo_id":"1391985274","filename":"file5"},{"photo_id":"1391985266","filename":"file2"},{"photo_id":"1391985272","filename":"file4"},{"photo_id":"1391985263","filename":"file1"},{"photo_id":"1391985260","filename":"file0"},{"photo_id":"1391985269","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985272":["hashtag1","hashtag2"]},{"1391985266":["hashtag1","hashtag2"]},{"1391985269":["hashtag1","hashtag2"]},{"1391985260":["hashtag1","hashtag2"]},{"1391985263":["hashtag1","hashtag2"]},{"1391985274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985272, 1391985266, 1391985269, 1391985260, 1391985263, 1391985274)","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 = 1391985266 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_08_3592.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391985266 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_08_3592.jpg";
uploaded 6 photos
time to upload: 61.97118401527405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:33:08.341889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 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-03 05:33:27.894046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_43_2595.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_04_2763.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_08_3592.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_10_2666.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_13_2574.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_20_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/33/image_30102025_15_33_43_2595.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_04_2763.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_08_3592.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_10_2666.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_13_2574.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_20_3764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985324","1391985327","1391985329","1391985320","1391985331","1391985322"],"photo_ids_order":["1391985320","1391985322","1391985324","1391985327","1391985329","1391985331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/54ee2fedbf9d0384cb40f700bb8eb05b.jpg","text":"TemporaryFile(/tmp/multipartBody5240545142969427476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144470254,"filename":"image_30102025_15_34_08_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/3/5d9b1f6fe26350394c63669450e43cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7724983840584127837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144470254,"filename":"image_30102025_15_34_10_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5cf6cc2649ae82fa12f0ce710d4627fc.jpg","text":"TemporaryFile(/tmp/multipartBody5167933562151924382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144470254,"filename":"image_30102025_15_34_13_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/3/659568fda9d48a30e20e733de5f689f7.jpg","text":"TemporaryFile(/tmp/multipartBody8481329119839930973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144470254,"filename":"image_30102025_15_33_43_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/3/9eb6ccdd57f020512f4e09015fd5fdf1.jpg","text":"TemporaryFile(/tmp/multipartBody5340582450469889315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144470254,"filename":"image_30102025_15_34_20_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/3/f1ffc636005a552794c54415c4c4abee.jpg","text":"TemporaryFile(/tmp/multipartBody489513043675331072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144470254,"filename":"image_30102025_15_34_04_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985324","file1":"1391985322","file0":"1391985320","file4":"1391985329","file5":"1391985331","file3":"1391985327"},"map_files_photo_id_array":[{"photo_id":"1391985331","filename":"file5"},{"photo_id":"1391985324","filename":"file2"},{"photo_id":"1391985329","filename":"file4"},{"photo_id":"1391985322","filename":"file1"},{"photo_id":"1391985320","filename":"file0"},{"photo_id":"1391985327","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985324":["hashtag1","hashtag2"]},{"1391985327":["hashtag1","hashtag2"]},{"1391985329":["hashtag1","hashtag2"]},{"1391985320":["hashtag1","hashtag2"]},{"1391985331":["hashtag1","hashtag2"]},{"1391985322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985324, 1391985327, 1391985329, 1391985320, 1391985331, 1391985322)","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 = 1391985324 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_08_3592.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 70.02744317054749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:34:42.140213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_34_3664.jpg', '/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_49_2706.jpg', '/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_52_2899.jpg', '/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_13_2696.jpg', '/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_22_2662.jpg', '/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_25_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_34_3664.jpg
/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_49_2706.jpg
/home/pi/Desktop/images/31102025/01/36/image_31102025_01_36_52_2899.jpg
/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_13_2696.jpg
/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_22_2662.jpg
/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_25_2824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985354","1391985363","1391985353","1391985356","1391985355","1391985358"],"photo_ids_order":["1391985353","1391985354","1391985355","1391985356","1391985358","1391985363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12e7db8e6d76bad0821d67eda215aafa.jpg","text":"TemporaryFile(/tmp/multipartBody1557624044984568339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144543218,"filename":"image_31102025_01_36_49_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/3/d059fab2017096d3a02a17e5bb9389af.jpg","text":"TemporaryFile(/tmp/multipartBody4012428966805507312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144543218,"filename":"image_31102025_01_37_25_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/3/d69501860fcc0630f1692340dfa12c30.jpg","text":"TemporaryFile(/tmp/multipartBody1341247201462373685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144543218,"filename":"image_31102025_01_36_34_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/3/140cdce015b3f6681b38213793610bfe.jpg","text":"TemporaryFile(/tmp/multipartBody1005052392883638960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144543218,"filename":"image_31102025_01_37_13_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/3/c22be600db960bf590a9861a1102066a.jpg","text":"TemporaryFile(/tmp/multipartBody2079891567858343323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144543218,"filename":"image_31102025_01_36_52_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/3/f3bb96f06a6191fdd8e21c15630ea613.jpg","text":"TemporaryFile(/tmp/multipartBody2606817383704566409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144543218,"filename":"image_31102025_01_37_22_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985355","file1":"1391985354","file0":"1391985353","file4":"1391985358","file5":"1391985363","file3":"1391985356"},"map_files_photo_id_array":[{"photo_id":"1391985363","filename":"file5"},{"photo_id":"1391985355","filename":"file2"},{"photo_id":"1391985358","filename":"file4"},{"photo_id":"1391985354","filename":"file1"},{"photo_id":"1391985353","filename":"file0"},{"photo_id":"1391985356","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985354":["hashtag1","hashtag2"]},{"1391985363":["hashtag1","hashtag2"]},{"1391985353":["hashtag1","hashtag2"]},{"1391985356":["hashtag1","hashtag2"]},{"1391985355":["hashtag1","hashtag2"]},{"1391985358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985354, 1391985363, 1391985353, 1391985356, 1391985355, 1391985358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70994234085083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:35:22.383238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_29_3723.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_31_2792.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_34_2669.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_37_2918.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_43_2799.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_46_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_29_3723.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_31_2792.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_34_2669.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_37_2918.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_43_2799.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_46_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985378","1391985398","1391985383","1391985380","1391985382","1391985385"],"photo_ids_order":["1391985378","1391985380","1391985382","1391985383","1391985385","1391985398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c338ddf4cba8cdf5596f8acfa9de65e.jpg","text":"TemporaryFile(/tmp/multipartBody819704444946202257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144584826,"filename":"image_30102025_15_34_29_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/3/151e5083d58c9103a088cbb216ecad7b.jpg","text":"TemporaryFile(/tmp/multipartBody480420899561432874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144584826,"filename":"image_30102025_15_34_46_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/3/175fc4582995ee64681b8dff3f6470ed.jpg","text":"TemporaryFile(/tmp/multipartBody8304598037703316850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144584826,"filename":"image_30102025_15_34_37_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/3/08a157453348615212b557d886459b1b.jpg","text":"TemporaryFile(/tmp/multipartBody5739295013888868380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144584826,"filename":"image_30102025_15_34_31_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/3/830065dcd6d752ce6f63b11c83168690.jpg","text":"TemporaryFile(/tmp/multipartBody2285938942051534200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144584826,"filename":"image_30102025_15_34_34_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7e18f45d86864583eaaa605cf07f93e5.jpg","text":"TemporaryFile(/tmp/multipartBody362495389437326722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144584826,"filename":"image_30102025_15_34_43_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985382","file1":"1391985380","file0":"1391985378","file4":"1391985385","file5":"1391985398","file3":"1391985383"},"map_files_photo_id_array":[{"photo_id":"1391985398","filename":"file5"},{"photo_id":"1391985382","filename":"file2"},{"photo_id":"1391985385","filename":"file4"},{"photo_id":"1391985380","filename":"file1"},{"photo_id":"1391985378","filename":"file0"},{"photo_id":"1391985383","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985378":["hashtag1","hashtag2"]},{"1391985398":["hashtag1","hashtag2"]},{"1391985383":["hashtag1","hashtag2"]},{"1391985380":["hashtag1","hashtag2"]},{"1391985382":["hashtag1","hashtag2"]},{"1391985385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985378, 1391985398, 1391985383, 1391985380, 1391985382, 1391985385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57009959220886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:36:03.028243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_49_2726.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_53_3704.jpg', '/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_55_2653.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_02_3746.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_04_2733.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_07_2902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_49_2726.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_53_3704.jpg
/home/pi/Desktop/images/30102025/15/34/image_30102025_15_34_55_2653.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_02_3746.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_04_2733.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_07_2902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985420","1391985423","1391985417","1391985425","1391985419","1391985418"],"photo_ids_order":["1391985417","1391985418","1391985419","1391985420","1391985423","1391985425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9c69c47acd216a4aaca7ed607ca3d5ba.jpg","text":"TemporaryFile(/tmp/multipartBody7812226191761725703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144629897,"filename":"image_30102025_15_35_02_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/3/85d4a80ac6b3e68fad211ed7c431712c.jpg","text":"TemporaryFile(/tmp/multipartBody8029879996971259930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144629897,"filename":"image_30102025_15_35_04_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/3/231062df51b1afaf71da754961ef5520.jpg","text":"TemporaryFile(/tmp/multipartBody5568587061267595767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144629897,"filename":"image_30102025_15_34_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/3/f99afcb6c5f4930cb5be2b28eae92bce.jpg","text":"TemporaryFile(/tmp/multipartBody1326093343541196381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144629897,"filename":"image_30102025_15_35_07_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/3/d3b23ba57cdd60d7acbdd3145a694aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4749337916688226185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144629897,"filename":"image_30102025_15_34_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/3/42b91f36f9ed95c1f2d3fa822e334af0.jpg","text":"TemporaryFile(/tmp/multipartBody3367855643908427655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144629897,"filename":"image_30102025_15_34_53_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985419","file1":"1391985418","file0":"1391985417","file4":"1391985423","file5":"1391985425","file3":"1391985420"},"map_files_photo_id_array":[{"photo_id":"1391985425","filename":"file5"},{"photo_id":"1391985419","filename":"file2"},{"photo_id":"1391985423","filename":"file4"},{"photo_id":"1391985418","filename":"file1"},{"photo_id":"1391985417","filename":"file0"},{"photo_id":"1391985420","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985420":["hashtag1","hashtag2"]},{"1391985423":["hashtag1","hashtag2"]},{"1391985417":["hashtag1","hashtag2"]},{"1391985425":["hashtag1","hashtag2"]},{"1391985419":["hashtag1","hashtag2"]},{"1391985418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985420, 1391985423, 1391985417, 1391985425, 1391985419, 1391985418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23285913467407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:37:03.433918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_10_2784.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_22_2726.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_28_2557.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_31_2807.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_35_3853.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_37_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_10_2784.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_22_2726.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_28_2557.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_31_2807.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_35_3853.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_37_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985443","1391985452","1391985446","1391985455","1391985440","1391985448"],"photo_ids_order":["1391985440","1391985443","1391985446","1391985448","1391985452","1391985455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b0d65a95c142baf102c9c95394b5a0f.jpg","text":"TemporaryFile(/tmp/multipartBody4032734057090644431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144685322,"filename":"image_30102025_15_35_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/3/75d13d2b19a06dcb00a93bc586a72f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2723463256821266790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144685322,"filename":"image_30102025_15_35_35_3853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c8ce85e1ed482312bc3bf45223375c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7525942916050220092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144685322,"filename":"image_30102025_15_35_28_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/3/7374791016989efa0651fc34026d32fa.jpg","text":"TemporaryFile(/tmp/multipartBody5130865575980863783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144685322,"filename":"image_30102025_15_35_37_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/3/381224d5d450fea90dc48a6c1c544a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3396065502839974503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144685322,"filename":"image_30102025_15_35_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/3/545cb973646cd0edb0760c9a77ae3fde.jpg","text":"TemporaryFile(/tmp/multipartBody6990028921220283361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144685322,"filename":"image_30102025_15_35_31_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985446","file1":"1391985443","file0":"1391985440","file4":"1391985452","file5":"1391985455","file3":"1391985448"},"map_files_photo_id_array":[{"photo_id":"1391985455","filename":"file5"},{"photo_id":"1391985446","filename":"file2"},{"photo_id":"1391985452","filename":"file4"},{"photo_id":"1391985443","filename":"file1"},{"photo_id":"1391985440","filename":"file0"},{"photo_id":"1391985448","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985443":["hashtag1","hashtag2"]},{"1391985452":["hashtag1","hashtag2"]},{"1391985446":["hashtag1","hashtag2"]},{"1391985455":["hashtag1","hashtag2"]},{"1391985440":["hashtag1","hashtag2"]},{"1391985448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985443, 1391985452, 1391985446, 1391985455, 1391985440, 1391985448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32325053215027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:37:42.727631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_31_2634.jpg', '/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_37_2683.jpg', '/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_46_3572.jpg', '/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_49_2695.jpg', '/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_52_2843.jpg', '/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_01_2930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_31_2634.jpg
/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_37_2683.jpg
/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_46_3572.jpg
/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_49_2695.jpg
/home/pi/Desktop/images/31102025/01/37/image_31102025_01_37_52_2843.jpg
/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_01_2930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985468","1391985470","1391985467","1391985472","1391985469","1391985465"],"photo_ids_order":["1391985465","1391985467","1391985468","1391985469","1391985470","1391985472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e1a20fc84f7bd1e3bb60e7728dcce2d9.jpg","text":"TemporaryFile(/tmp/multipartBody8040863562204617463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144723848,"filename":"image_31102025_01_37_46_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/3/e039a20ff2cf5de1f47032b08fe16ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4867733353268852383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144723848,"filename":"image_31102025_01_37_52_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/3/b0aac09c8b7550093dabec34b75c5000.jpg","text":"TemporaryFile(/tmp/multipartBody2039801450559589802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144723848,"filename":"image_31102025_01_37_37_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e56d166483a8840bb1f38ff9e0545041.jpg","text":"TemporaryFile(/tmp/multipartBody8022430865305657891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144723848,"filename":"image_31102025_01_38_01_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/3/77bcf61eff1201ffee84dc1c5b28dc9d.jpg","text":"TemporaryFile(/tmp/multipartBody5759830353345654518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144723848,"filename":"image_31102025_01_37_49_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/3/275eb53d8cbbaac6cdaf47e5ebf6a594.jpg","text":"TemporaryFile(/tmp/multipartBody5586188280255631472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144723848,"filename":"image_31102025_01_37_31_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985468","file1":"1391985467","file0":"1391985465","file4":"1391985470","file5":"1391985472","file3":"1391985469"},"map_files_photo_id_array":[{"photo_id":"1391985472","filename":"file5"},{"photo_id":"1391985468","filename":"file2"},{"photo_id":"1391985470","filename":"file4"},{"photo_id":"1391985467","filename":"file1"},{"photo_id":"1391985465","filename":"file0"},{"photo_id":"1391985469","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985468":["hashtag1","hashtag2"]},{"1391985470":["hashtag1","hashtag2"]},{"1391985467":["hashtag1","hashtag2"]},{"1391985472":["hashtag1","hashtag2"]},{"1391985469":["hashtag1","hashtag2"]},{"1391985465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985468, 1391985470, 1391985467, 1391985472, 1391985469, 1391985465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.170456409454346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:38:21.861922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_40_2665.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_43_2830.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_46_3716.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_49_2726.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_56_3790.jpg', '/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_58_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/15/35/image_30102025_15_35_40_2665.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_43_2830.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_46_3716.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_49_2726.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_56_3790.jpg
/home/pi/Desktop/images/30102025/15/35/image_30102025_15_35_58_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985489","1391985500","1391985499","1391985502","1391985492","1391985486"],"photo_ids_order":["1391985486","1391985489","1391985492","1391985499","1391985500","1391985502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c110d1e02b434cd4a414d774fc3c753d.jpg","text":"TemporaryFile(/tmp/multipartBody465913841472949531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144764365,"filename":"image_30102025_15_35_43_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/3/e5e3c94d0f7473b0f21ba357e49ea1bb.jpg","text":"TemporaryFile(/tmp/multipartBody6019898635942126072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144764365,"filename":"image_30102025_15_35_56_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/3/5e50b3554cee95614901f1da04c4f48b.jpg","text":"TemporaryFile(/tmp/multipartBody6355861421006202878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144764365,"filename":"image_30102025_15_35_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/3/aeaa4d925311c99ab37ccf6544d6a0f3.jpg","text":"TemporaryFile(/tmp/multipartBody8724151808128514532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144764365,"filename":"image_30102025_15_35_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/3/5715ff49e9a4d2a55316f9bf9853bcd4.jpg","text":"TemporaryFile(/tmp/multipartBody4770818844615735842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144764365,"filename":"image_30102025_15_35_46_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/3/a3b224b8354750e4bce8b0aa971c9518.jpg","text":"TemporaryFile(/tmp/multipartBody3677063487161847212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144764365,"filename":"image_30102025_15_35_40_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985492","file1":"1391985489","file0":"1391985486","file4":"1391985500","file5":"1391985502","file3":"1391985499"},"map_files_photo_id_array":[{"photo_id":"1391985502","filename":"file5"},{"photo_id":"1391985492","filename":"file2"},{"photo_id":"1391985500","filename":"file4"},{"photo_id":"1391985489","filename":"file1"},{"photo_id":"1391985486","filename":"file0"},{"photo_id":"1391985499","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985489":["hashtag1","hashtag2"]},{"1391985500":["hashtag1","hashtag2"]},{"1391985499":["hashtag1","hashtag2"]},{"1391985502":["hashtag1","hashtag2"]},{"1391985492":["hashtag1","hashtag2"]},{"1391985486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985489, 1391985500, 1391985499, 1391985502, 1391985492, 1391985486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00694680213928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:39:03.024678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_04_2889.jpg', '/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_08_3778.jpg', '/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_31_2698.jpg', '/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_37_3591.jpg', '/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_40_2647.jpg', '/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_46_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/15/36/image_30102025_15_36_04_2889.jpg
/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_08_3778.jpg
/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_31_2698.jpg
/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_37_3591.jpg
/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_40_2647.jpg
/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_46_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985545","1391985530","1391985524","1391985527","1391985535","1391985547"],"photo_ids_order":["1391985524","1391985527","1391985530","1391985535","1391985545","1391985547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b9c45ec0c4cc36780325751548cf00c9.jpg","text":"TemporaryFile(/tmp/multipartBody8007522996198478375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144805098,"filename":"image_30102025_15_36_40_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd1f8fc768a988661c1ad383a6ac8461.jpg","text":"TemporaryFile(/tmp/multipartBody272594263816334879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144805098,"filename":"image_30102025_15_36_31_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/3/3e1c69e3eeebc469fa20d6a5ab00d213.jpg","text":"TemporaryFile(/tmp/multipartBody8107875449557167643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144805098,"filename":"image_30102025_15_36_04_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/3/f980167c2eca42cd06dd42c8bc916afe.jpg","text":"TemporaryFile(/tmp/multipartBody2737106839783378613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144805098,"filename":"image_30102025_15_36_08_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/3/f177ca97154822330ec04f433344870c.jpg","text":"TemporaryFile(/tmp/multipartBody8800536179254128039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144805098,"filename":"image_30102025_15_36_37_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/3/cff88ca4e6ed85cee9e0d3588b1e3ae0.jpg","text":"TemporaryFile(/tmp/multipartBody2656882429371087143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144805098,"filename":"image_30102025_15_36_46_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985530","file1":"1391985527","file0":"1391985524","file4":"1391985545","file5":"1391985547","file3":"1391985535"},"map_files_photo_id_array":[{"photo_id":"1391985547","filename":"file5"},{"photo_id":"1391985530","filename":"file2"},{"photo_id":"1391985545","filename":"file4"},{"photo_id":"1391985527","filename":"file1"},{"photo_id":"1391985524","filename":"file0"},{"photo_id":"1391985535","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985545":["hashtag1","hashtag2"]},{"1391985530":["hashtag1","hashtag2"]},{"1391985524":["hashtag1","hashtag2"]},{"1391985527":["hashtag1","hashtag2"]},{"1391985535":["hashtag1","hashtag2"]},{"1391985547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985545, 1391985530, 1391985524, 1391985527, 1391985535, 1391985547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.375107288360596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:39:42.078583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_04_2801.jpg', '/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_10_3645.jpg', '/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_22_2635.jpg', '/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_37_2634.jpg', '/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_40_3080.jpg', '/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_42_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_04_2801.jpg
/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_10_3645.jpg
/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_22_2635.jpg
/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_37_2634.jpg
/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_40_3080.jpg
/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_42_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985561","1391985555","1391985557","1391985551","1391985553","1391985559"],"photo_ids_order":["1391985551","1391985553","1391985555","1391985557","1391985559","1391985561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6bdfc31ce9c0a9dd186727b30ef316df.jpg","text":"TemporaryFile(/tmp/multipartBody2620761785547973595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144843196,"filename":"image_31102025_01_38_42_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/3/1b426e4f6d78c0ac84e122080627aeb3.jpg","text":"TemporaryFile(/tmp/multipartBody2888943437439792026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144843196,"filename":"image_31102025_01_38_22_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/3/11a3250807dc8e8155a4baeb92d54b30.jpg","text":"TemporaryFile(/tmp/multipartBody4482351238758036203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144843196,"filename":"image_31102025_01_38_37_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/3/5b1b26e7eed98ac0a2b2cb0d06a356c8.jpg","text":"TemporaryFile(/tmp/multipartBody7285543263620600895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144843196,"filename":"image_31102025_01_38_04_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/3/0627df521ce81f69ac333a55cffa694b.jpg","text":"TemporaryFile(/tmp/multipartBody6628622223421180882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144843196,"filename":"image_31102025_01_38_10_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/3/a83fe79412acf1db027206dfaada7735.jpg","text":"TemporaryFile(/tmp/multipartBody9214273652088213508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144843196,"filename":"image_31102025_01_38_40_3080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985555","file1":"1391985553","file0":"1391985551","file4":"1391985559","file5":"1391985561","file3":"1391985557"},"map_files_photo_id_array":[{"photo_id":"1391985561","filename":"file5"},{"photo_id":"1391985555","filename":"file2"},{"photo_id":"1391985559","filename":"file4"},{"photo_id":"1391985553","filename":"file1"},{"photo_id":"1391985551","filename":"file0"},{"photo_id":"1391985557","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985561":["hashtag1","hashtag2"]},{"1391985555":["hashtag1","hashtag2"]},{"1391985557":["hashtag1","hashtag2"]},{"1391985551":["hashtag1","hashtag2"]},{"1391985553":["hashtag1","hashtag2"]},{"1391985559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985561, 1391985555, 1391985557, 1391985551, 1391985553, 1391985559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03186917304993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:40:22.183236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/36/image_30102025_15_36_49_2615.jpg', '/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_13_3703.jpg', '/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_16_2669.jpg', '/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_19_2770.jpg', '/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_28_2749.jpg', '/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_31_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/15/36/image_30102025_15_36_49_2615.jpg
/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_13_3703.jpg
/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_16_2669.jpg
/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_19_2770.jpg
/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_28_2749.jpg
/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_31_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985573","1391985590","1391985578","1391985592","1391985582","1391985576"],"photo_ids_order":["1391985573","1391985576","1391985578","1391985582","1391985590","1391985592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0a19e97dec5bbeeb8c0f36a03bafd58a.jpg","text":"TemporaryFile(/tmp/multipartBody4246659271874768638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144884598,"filename":"image_30102025_15_36_49_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/3/c55e59348145423d92cc2242ece01b32.jpg","text":"TemporaryFile(/tmp/multipartBody2243466946137353419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144884598,"filename":"image_30102025_15_37_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/3/2b433f32180751194323e3d66dbee5b9.jpg","text":"TemporaryFile(/tmp/multipartBody6814553575801310257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144884598,"filename":"image_30102025_15_37_16_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/3/8a147c24faaa5f03089ddf3997eb09f0.jpg","text":"TemporaryFile(/tmp/multipartBody7839257573402210838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144884598,"filename":"image_30102025_15_37_31_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fad5c683fe60bfa034d330871d93ebea.jpg","text":"TemporaryFile(/tmp/multipartBody2563427008440771818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144884598,"filename":"image_30102025_15_37_19_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/3/1ae4bb1185d7d0929783d177b0feeb90.jpg","text":"TemporaryFile(/tmp/multipartBody2063259901399058238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144884598,"filename":"image_30102025_15_37_13_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985578","file1":"1391985576","file0":"1391985573","file4":"1391985590","file5":"1391985592","file3":"1391985582"},"map_files_photo_id_array":[{"photo_id":"1391985592","filename":"file5"},{"photo_id":"1391985578","filename":"file2"},{"photo_id":"1391985590","filename":"file4"},{"photo_id":"1391985576","filename":"file1"},{"photo_id":"1391985573","filename":"file0"},{"photo_id":"1391985582","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985573":["hashtag1","hashtag2"]},{"1391985590":["hashtag1","hashtag2"]},{"1391985578":["hashtag1","hashtag2"]},{"1391985592":["hashtag1","hashtag2"]},{"1391985582":["hashtag1","hashtag2"]},{"1391985576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985573, 1391985590, 1391985578, 1391985592, 1391985582, 1391985576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08497595787048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:41:03.171808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/37/image_30102025_15_37_55_2691.jpg', '/home/pi/Desktop/images/30102025/15/38/image_30102025_15_38_46_3641.jpg', '/home/pi/Desktop/images/30102025/15/38/image_30102025_15_38_55_3862.jpg', '/home/pi/Desktop/images/30102025/15/38/image_30102025_15_39_00_2637.jpg', '/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_04_3625.jpg', '/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_07_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/15/37/image_30102025_15_37_55_2691.jpg
/home/pi/Desktop/images/30102025/15/38/image_30102025_15_38_46_3641.jpg
/home/pi/Desktop/images/30102025/15/38/image_30102025_15_38_55_3862.jpg
/home/pi/Desktop/images/30102025/15/38/image_30102025_15_39_00_2637.jpg
/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_04_3625.jpg
/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_07_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985615","1391985610","1391985604","1391985613","1391985607","1391985601"],"photo_ids_order":["1391985601","1391985604","1391985607","1391985610","1391985613","1391985615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b25dff41170fe4ca83f1b09f77f9a391.jpg","text":"TemporaryFile(/tmp/multipartBody7377134637992022029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144925176,"filename":"image_30102025_15_39_07_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/3/5a9f2e8f553b0dcbd088bfcbd34fb308.jpg","text":"TemporaryFile(/tmp/multipartBody898173392304301565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144925176,"filename":"image_30102025_15_39_00_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/3/87f61be652c79170e1f901ded75ec7a5.jpg","text":"TemporaryFile(/tmp/multipartBody4154859484016795256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144925176,"filename":"image_30102025_15_38_46_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/3/1a7d92015cbcecfbcc78d049ddf62b2c.jpg","text":"TemporaryFile(/tmp/multipartBody7363898281305450297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144925176,"filename":"image_30102025_15_39_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/3/8e957bbbc437de026d56d0b8ac9d0a05.jpg","text":"TemporaryFile(/tmp/multipartBody5649615644200517325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144925176,"filename":"image_30102025_15_38_55_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/3/896871e9aa35639e7e6df725ce3204d1.jpg","text":"TemporaryFile(/tmp/multipartBody6142950107896859107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144925176,"filename":"image_30102025_15_37_55_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985607","file1":"1391985604","file0":"1391985601","file4":"1391985613","file5":"1391985615","file3":"1391985610"},"map_files_photo_id_array":[{"photo_id":"1391985615","filename":"file5"},{"photo_id":"1391985607","filename":"file2"},{"photo_id":"1391985613","filename":"file4"},{"photo_id":"1391985604","filename":"file1"},{"photo_id":"1391985601","filename":"file0"},{"photo_id":"1391985610","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985615":["hashtag1","hashtag2"]},{"1391985610":["hashtag1","hashtag2"]},{"1391985604":["hashtag1","hashtag2"]},{"1391985613":["hashtag1","hashtag2"]},{"1391985607":["hashtag1","hashtag2"]},{"1391985601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985615, 1391985610, 1391985604, 1391985613, 1391985607, 1391985601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.438456773757935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:41:42.420394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_52_2737.jpg', '/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_58_3594.jpg', '/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_01_2794.jpg', '/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_03_2590.jpg', '/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_07_3660.jpg', '/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_10_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_52_2737.jpg
/home/pi/Desktop/images/31102025/01/38/image_31102025_01_38_58_3594.jpg
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_01_2794.jpg
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_03_2590.jpg
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_07_3660.jpg
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_10_2799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985639","1391985633","1391985636","1391985626","1391985617","1391985631"],"photo_ids_order":["1391985617","1391985626","1391985631","1391985633","1391985636","1391985639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1e7fa1b1ad6322e29048e51d93196b7.jpg","text":"TemporaryFile(/tmp/multipartBody3453214887613536523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144963542,"filename":"image_31102025_01_39_10_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/3/27796dead1253b672eeef87d1b5bda08.jpg","text":"TemporaryFile(/tmp/multipartBody462808871438506797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144963542,"filename":"image_31102025_01_39_03_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8a624278be357db27f9e35987f30fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody1060352883935240915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144963542,"filename":"image_31102025_01_39_07_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2149947eec9809cff015eeb56acc7fd.jpg","text":"TemporaryFile(/tmp/multipartBody6464110614725257067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144963542,"filename":"image_31102025_01_38_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/3/20355590f2ede9f846097d01846664d8.jpg","text":"TemporaryFile(/tmp/multipartBody6158095836272400782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144963542,"filename":"image_31102025_01_38_52_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/3/310ee63d786a5a2ca2f6e729feac650e.jpg","text":"TemporaryFile(/tmp/multipartBody2197594100963109267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762144963542,"filename":"image_31102025_01_39_01_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985631","file1":"1391985626","file0":"1391985617","file4":"1391985636","file5":"1391985639","file3":"1391985633"},"map_files_photo_id_array":[{"photo_id":"1391985639","filename":"file5"},{"photo_id":"1391985631","filename":"file2"},{"photo_id":"1391985636","filename":"file4"},{"photo_id":"1391985626","filename":"file1"},{"photo_id":"1391985617","filename":"file0"},{"photo_id":"1391985633","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985639":["hashtag1","hashtag2"]},{"1391985633":["hashtag1","hashtag2"]},{"1391985636":["hashtag1","hashtag2"]},{"1391985626":["hashtag1","hashtag2"]},{"1391985617":["hashtag1","hashtag2"]},{"1391985631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985639, 1391985633, 1391985636, 1391985626, 1391985617, 1391985631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.673542499542236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:42:24.311821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_22_3622.jpg', '/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_25_2636.jpg', '/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_39_2714.jpg', '/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_49_2744.jpg', '/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_55_3562.jpg', '/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_04_3227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_22_3622.jpg
/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_25_2636.jpg
/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_39_2714.jpg
/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_49_2744.jpg
/home/pi/Desktop/images/30102025/15/39/image_30102025_15_39_55_3562.jpg
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_04_3227.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985654","1391985662","1391985659","1391985644","1391985664","1391985646"],"photo_ids_order":["1391985644","1391985646","1391985654","1391985659","1391985662","1391985664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/05d711805cd56e5410099222f75f1d2e.jpg","text":"TemporaryFile(/tmp/multipartBody7695358657570305527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145006749,"filename":"image_30102025_15_39_39_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/3/923cc9a076cae78aacbbf3c14b3b5f65.jpg","text":"TemporaryFile(/tmp/multipartBody1406628135480982193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145006749,"filename":"image_30102025_15_39_55_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/3/0b00a64943ebe6a420d64cb83efbaabb.jpg","text":"TemporaryFile(/tmp/multipartBody7541126168480723733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145006749,"filename":"image_30102025_15_39_49_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/3/3d303522ed9234afb820490ac93d5e9a.jpg","text":"TemporaryFile(/tmp/multipartBody2252258242172046108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145006749,"filename":"image_30102025_15_39_22_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/3/42691235a6b440e43b6e44bbfe0e504d.jpg","text":"TemporaryFile(/tmp/multipartBody2513636813183319671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145006749,"filename":"image_30102025_15_40_04_3227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be37773f786b74471323a903e7b99184.jpg","text":"TemporaryFile(/tmp/multipartBody9031997638811407466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145006749,"filename":"image_30102025_15_39_25_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985654","file1":"1391985646","file0":"1391985644","file4":"1391985662","file5":"1391985664","file3":"1391985659"},"map_files_photo_id_array":[{"photo_id":"1391985664","filename":"file5"},{"photo_id":"1391985654","filename":"file2"},{"photo_id":"1391985662","filename":"file4"},{"photo_id":"1391985646","filename":"file1"},{"photo_id":"1391985644","filename":"file0"},{"photo_id":"1391985659","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985654":["hashtag1","hashtag2"]},{"1391985662":["hashtag1","hashtag2"]},{"1391985659":["hashtag1","hashtag2"]},{"1391985644":["hashtag1","hashtag2"]},{"1391985664":["hashtag1","hashtag2"]},{"1391985646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985654, 1391985662, 1391985659, 1391985644, 1391985664, 1391985646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71450686454773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:43:03.030759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_10_2736.jpg', '/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_13_2636.jpg', '/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_24_2682.jpg', '/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_28_3712.jpg', '/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_33_2614.jpg', '/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_42_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_10_2736.jpg
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_13_2636.jpg
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_24_2682.jpg
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_28_3712.jpg
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_33_2614.jpg
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_42_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985669","1391985686","1391985671","1391985679","1391985673","1391985667"],"photo_ids_order":["1391985667","1391985669","1391985671","1391985673","1391985679","1391985686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c55e205c5b2265159b73b28b2a50ba6f.jpg","text":"TemporaryFile(/tmp/multipartBody2967575434426727288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145044935,"filename":"image_30102025_15_40_13_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c643982e5850ebcf38b4d28619df9946.jpg","text":"TemporaryFile(/tmp/multipartBody1253716796366046666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145044935,"filename":"image_30102025_15_40_42_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/61af2914fa180bb618e1b89faf5ba0e5.jpg","text":"TemporaryFile(/tmp/multipartBody14479740398408809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145044935,"filename":"image_30102025_15_40_24_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/3/ec7b8d7a1c9a840232025d0143176742.jpg","text":"TemporaryFile(/tmp/multipartBody6271102235008299706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145044935,"filename":"image_30102025_15_40_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/3/e313d009f96cae6c2343154166916f46.jpg","text":"TemporaryFile(/tmp/multipartBody3489608107044334235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145044935,"filename":"image_30102025_15_40_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/3/628a87ed536dd92b87098fae4d572437.jpg","text":"TemporaryFile(/tmp/multipartBody1556749908428283487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145044935,"filename":"image_30102025_15_40_10_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985671","file1":"1391985669","file0":"1391985667","file4":"1391985679","file5":"1391985686","file3":"1391985673"},"map_files_photo_id_array":[{"photo_id":"1391985686","filename":"file5"},{"photo_id":"1391985671","filename":"file2"},{"photo_id":"1391985679","filename":"file4"},{"photo_id":"1391985669","filename":"file1"},{"photo_id":"1391985667","filename":"file0"},{"photo_id":"1391985673","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985669":["hashtag1","hashtag2"]},{"1391985686":["hashtag1","hashtag2"]},{"1391985671":["hashtag1","hashtag2"]},{"1391985679":["hashtag1","hashtag2"]},{"1391985673":["hashtag1","hashtag2"]},{"1391985667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985669, 1391985686, 1391985671, 1391985679, 1391985673, 1391985667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6577250957489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:43:42.309654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_22_2537.jpg', '/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_31_2834.jpg', '/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_36_2558.jpg', '/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_40_3636.jpg', '/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_48_2598.jpg', '/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_55_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_22_2537.jpg
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_31_2834.jpg
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_36_2558.jpg
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_40_3636.jpg
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_48_2598.jpg
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_39_55_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985708","1391985702","1391985705","1391985696","1391985700","1391985699"],"photo_ids_order":["1391985696","1391985699","1391985700","1391985702","1391985705","1391985708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2ae2d7ce2ef73ac700969139d9f63365.jpg","text":"TemporaryFile(/tmp/multipartBody157427965527330195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145083470,"filename":"image_31102025_01_39_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/3/9c7cf831f8b991829d0a732be21fd827.jpg","text":"TemporaryFile(/tmp/multipartBody2484031340829839987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145083470,"filename":"image_31102025_01_39_40_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/3/0b7b9a5f458324c3321906dc97c70a83.jpg","text":"TemporaryFile(/tmp/multipartBody899361089459564514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145083470,"filename":"image_31102025_01_39_48_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/3/096ff80854d52950fe3c3917d21d028d.jpg","text":"TemporaryFile(/tmp/multipartBody2521835597265924975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145083470,"filename":"image_31102025_01_39_22_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/3/dd44eeca975a2339c670b11fcac30148.jpg","text":"TemporaryFile(/tmp/multipartBody5686420182719843987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145083470,"filename":"image_31102025_01_39_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/3/9cf0c9ab2b22104f91f0c1d39e4e220a.jpg","text":"TemporaryFile(/tmp/multipartBody3875379737992291306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145083470,"filename":"image_31102025_01_39_31_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985700","file1":"1391985699","file0":"1391985696","file4":"1391985705","file5":"1391985708","file3":"1391985702"},"map_files_photo_id_array":[{"photo_id":"1391985708","filename":"file5"},{"photo_id":"1391985700","filename":"file2"},{"photo_id":"1391985705","filename":"file4"},{"photo_id":"1391985699","filename":"file1"},{"photo_id":"1391985696","filename":"file0"},{"photo_id":"1391985702","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985708":["hashtag1","hashtag2"]},{"1391985702":["hashtag1","hashtag2"]},{"1391985705":["hashtag1","hashtag2"]},{"1391985696":["hashtag1","hashtag2"]},{"1391985700":["hashtag1","hashtag2"]},{"1391985699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985708, 1391985702, 1391985705, 1391985696, 1391985700, 1391985699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.964041233062744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:44:22.545681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_45_2809.jpg', '/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_49_3682.jpg', '/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_52_2892.jpg', '/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_57_2866.jpg', '/home/pi/Desktop/images/30102025/15/41/image_30102025_15_41_04_2691.jpg', '/home/pi/Desktop/images/30102025/15/41/image_30102025_15_41_10_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_45_2809.jpg
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_49_3682.jpg
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_52_2892.jpg
/home/pi/Desktop/images/30102025/15/40/image_30102025_15_40_57_2866.jpg
/home/pi/Desktop/images/30102025/15/41/image_30102025_15_41_04_2691.jpg
/home/pi/Desktop/images/30102025/15/41/image_30102025_15_41_10_3549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985722","1391985746","1391985731","1391985725","1391985742","1391985718"],"photo_ids_order":["1391985718","1391985722","1391985725","1391985731","1391985742","1391985746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d03b1ddda260c0e8103d5d69d554d413.jpg","text":"TemporaryFile(/tmp/multipartBody6762019520814990979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145125046,"filename":"image_30102025_15_40_49_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/3/f64903f6c3a46cc1c29f9facead3f1b3.jpg","text":"TemporaryFile(/tmp/multipartBody7006190940965101841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145125046,"filename":"image_30102025_15_41_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/3/e385d498a975e6606b9fdaf9c433e657.jpg","text":"TemporaryFile(/tmp/multipartBody2000229226675418896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145125046,"filename":"image_30102025_15_40_57_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/595e6b2cd41d53c10ca17a8c145e9e42.jpg","text":"TemporaryFile(/tmp/multipartBody4063355536246827689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145125046,"filename":"image_30102025_15_40_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/3/794d5b351cfcc4d6a4374dd3f7a50a62.jpg","text":"TemporaryFile(/tmp/multipartBody3647238828017208465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145125046,"filename":"image_30102025_15_41_04_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/3/391924cf30a8a6c7ab3644556f47ee63.jpg","text":"TemporaryFile(/tmp/multipartBody6448562358529610704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145125046,"filename":"image_30102025_15_40_45_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985725","file1":"1391985722","file0":"1391985718","file4":"1391985742","file5":"1391985746","file3":"1391985731"},"map_files_photo_id_array":[{"photo_id":"1391985746","filename":"file5"},{"photo_id":"1391985725","filename":"file2"},{"photo_id":"1391985742","filename":"file4"},{"photo_id":"1391985722","filename":"file1"},{"photo_id":"1391985718","filename":"file0"},{"photo_id":"1391985731","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985722":["hashtag1","hashtag2"]},{"1391985746":["hashtag1","hashtag2"]},{"1391985731":["hashtag1","hashtag2"]},{"1391985725":["hashtag1","hashtag2"]},{"1391985742":["hashtag1","hashtag2"]},{"1391985718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985722, 1391985746, 1391985731, 1391985725, 1391985742, 1391985718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.627108097076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:45:03.253330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/41/image_30102025_15_41_24_2608.jpg', '/home/pi/Desktop/images/30102025/15/41/image_30102025_15_41_34_3649.jpg', '/home/pi/Desktop/images/30102025/15/41/image_30102025_15_41_46_2528.jpg', '/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_16_2610.jpg', '/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_25_2672.jpg', '/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_27_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/15/41/image_30102025_15_41_24_2608.jpg
/home/pi/Desktop/images/30102025/15/41/image_30102025_15_41_34_3649.jpg
/home/pi/Desktop/images/30102025/15/41/image_30102025_15_41_46_2528.jpg
/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_16_2610.jpg
/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_25_2672.jpg
/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_27_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985768","1391985776","1391985778","1391985772","1391985781","1391985783"],"photo_ids_order":["1391985768","1391985772","1391985776","1391985778","1391985781","1391985783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/27c2fe5e381c2e53dbac85dc400c508d.jpg","text":"TemporaryFile(/tmp/multipartBody6043538792722444379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145165139,"filename":"image_30102025_15_41_24_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/3/2ddd3c8528aceab3eddc70a314bc0ab5.jpg","text":"TemporaryFile(/tmp/multipartBody6355719094355403840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145165139,"filename":"image_30102025_15_41_46_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/3/a76853e9f550a1e0568befc856b7ebb7.jpg","text":"TemporaryFile(/tmp/multipartBody1683726969286085074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145165139,"filename":"image_30102025_15_42_16_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/3/dfb1ff1e2368b139ad1fc1a21dce5dd8.jpg","text":"TemporaryFile(/tmp/multipartBody6119229855168059379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145165139,"filename":"image_30102025_15_41_34_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/96a7dac723cd6b6bd93aaed641df5fd6.jpg","text":"TemporaryFile(/tmp/multipartBody1943158271480010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145165139,"filename":"image_30102025_15_42_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/3/7b1ddb0dfbec11cd12d42458c65e0f77.jpg","text":"TemporaryFile(/tmp/multipartBody6231805132024436954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145165139,"filename":"image_30102025_15_42_27_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985776","file1":"1391985772","file0":"1391985768","file4":"1391985781","file5":"1391985783","file3":"1391985778"},"map_files_photo_id_array":[{"photo_id":"1391985783","filename":"file5"},{"photo_id":"1391985776","filename":"file2"},{"photo_id":"1391985781","filename":"file4"},{"photo_id":"1391985772","filename":"file1"},{"photo_id":"1391985768","filename":"file0"},{"photo_id":"1391985778","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985768":["hashtag1","hashtag2"]},{"1391985776":["hashtag1","hashtag2"]},{"1391985778":["hashtag1","hashtag2"]},{"1391985772":["hashtag1","hashtag2"]},{"1391985781":["hashtag1","hashtag2"]},{"1391985783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985768, 1391985776, 1391985778, 1391985772, 1391985781, 1391985783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99591946601868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:45:42.414533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/39/image_31102025_01_40_01_3556.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_10_3687.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_13_2681.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_18_2885.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_22_3776.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_27_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/39/image_31102025_01_40_01_3556.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_10_3687.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_13_2681.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_18_2885.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_22_3776.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_27_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985801","1391985791","1391985794","1391985797","1391985800","1391985799"],"photo_ids_order":["1391985791","1391985794","1391985797","1391985799","1391985800","1391985801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1555e9b3b074a69de6173341be07138b.jpg","text":"TemporaryFile(/tmp/multipartBody5983888982088444108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145205336,"filename":"image_31102025_01_40_27_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/3/68dd577f192a05bf788a9e667a381d0e.jpg","text":"TemporaryFile(/tmp/multipartBody4409300187252357134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145205336,"filename":"image_31102025_01_40_01_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/3/8c3fb1441bffe1f6632c32403bc82dc8.jpg","text":"TemporaryFile(/tmp/multipartBody7939544840894642833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145205336,"filename":"image_31102025_01_40_10_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/3/0ef69cf1ceb650c3ca17d5fb570d8be0.jpg","text":"TemporaryFile(/tmp/multipartBody2287634988427473776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145205336,"filename":"image_31102025_01_40_13_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/3/563b799cb3915d64a733a980c55d8f92.jpg","text":"TemporaryFile(/tmp/multipartBody8462811102238412569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145205336,"filename":"image_31102025_01_40_22_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/3/f643cdb05be4506ddd71d8779574a6dd.jpg","text":"TemporaryFile(/tmp/multipartBody7517697392420571452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145205336,"filename":"image_31102025_01_40_18_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985797","file1":"1391985794","file0":"1391985791","file4":"1391985800","file5":"1391985801","file3":"1391985799"},"map_files_photo_id_array":[{"photo_id":"1391985801","filename":"file5"},{"photo_id":"1391985797","filename":"file2"},{"photo_id":"1391985800","filename":"file4"},{"photo_id":"1391985794","filename":"file1"},{"photo_id":"1391985791","filename":"file0"},{"photo_id":"1391985799","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985801":["hashtag1","hashtag2"]},{"1391985791":["hashtag1","hashtag2"]},{"1391985794":["hashtag1","hashtag2"]},{"1391985797":["hashtag1","hashtag2"]},{"1391985800":["hashtag1","hashtag2"]},{"1391985799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985801, 1391985791, 1391985794, 1391985797, 1391985800, 1391985799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23461127281189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:46:22.570734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_40_3643.jpg', '/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_42_2546.jpg', '/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_45_2622.jpg', '/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_49_3631.jpg', '/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_51_2648.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_03_2875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_40_3643.jpg
/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_42_2546.jpg
/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_45_2622.jpg
/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_49_3631.jpg
/home/pi/Desktop/images/30102025/15/42/image_30102025_15_42_51_2648.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_03_2875.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985816","1391985821","1391985818","1391985820","1391985814","1391985811"],"photo_ids_order":["1391985811","1391985814","1391985816","1391985818","1391985820","1391985821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/938df6b5ba055736788acb59add33bc8.jpg","text":"TemporaryFile(/tmp/multipartBody1904358615250435880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145244978,"filename":"image_30102025_15_42_45_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d4bbc4fee610460b64e5a3f1d4ca7ec2.jpg","text":"TemporaryFile(/tmp/multipartBody7629668274093501169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145244978,"filename":"image_30102025_15_43_03_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/3/edcd89304bfaafb03b071dff70e4694c.jpg","text":"TemporaryFile(/tmp/multipartBody1268006705972587989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145244978,"filename":"image_30102025_15_42_49_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/3/9ca15867587afd9f4f77a3b0d1c94e04.jpg","text":"TemporaryFile(/tmp/multipartBody2021035835077293679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145244978,"filename":"image_30102025_15_42_51_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/3/dcdb059cbefe9738849066cc93bebf3c.jpg","text":"TemporaryFile(/tmp/multipartBody5355465830798052215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145244978,"filename":"image_30102025_15_42_42_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/3/48064954a511a29e14d26b759aadb90d.jpg","text":"TemporaryFile(/tmp/multipartBody2095939719786354812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145244978,"filename":"image_30102025_15_42_40_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985816","file1":"1391985814","file0":"1391985811","file4":"1391985820","file5":"1391985821","file3":"1391985818"},"map_files_photo_id_array":[{"photo_id":"1391985821","filename":"file5"},{"photo_id":"1391985816","filename":"file2"},{"photo_id":"1391985820","filename":"file4"},{"photo_id":"1391985814","filename":"file1"},{"photo_id":"1391985811","filename":"file0"},{"photo_id":"1391985818","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985816":["hashtag1","hashtag2"]},{"1391985821":["hashtag1","hashtag2"]},{"1391985818":["hashtag1","hashtag2"]},{"1391985820":["hashtag1","hashtag2"]},{"1391985814":["hashtag1","hashtag2"]},{"1391985811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985816, 1391985821, 1391985818, 1391985820, 1391985814, 1391985811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50909423828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:47:03.346035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_07_3547.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_12_2603.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_16_3713.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_19_2607.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_21_2630.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_28_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/15/43/image_30102025_15_43_07_3547.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_12_2603.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_16_3713.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_19_2607.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_21_2630.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_28_2831.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985846","1391985854","1391985842","1391985851","1391985839","1391985832"],"photo_ids_order":["1391985832","1391985839","1391985842","1391985846","1391985851","1391985854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d1882864f16fc46cb564f5f1e5b25d21.jpg","text":"TemporaryFile(/tmp/multipartBody4136789488493255748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145285239,"filename":"image_30102025_15_43_19_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c1a0ebb1612c80f25ed46c8c3a04b07f.jpg","text":"TemporaryFile(/tmp/multipartBody5199738226625552023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145285239,"filename":"image_30102025_15_43_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/3/f0234f89d3d5eb69cbce873eca845e21.jpg","text":"TemporaryFile(/tmp/multipartBody4562965258062214925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145285239,"filename":"image_30102025_15_43_16_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/3/a2dde24685ee816b9e042c4579c9a8be.jpg","text":"TemporaryFile(/tmp/multipartBody7043530087440164545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145285239,"filename":"image_30102025_15_43_21_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/3/598dc58346ff7d2af4b1a8598223066c.jpg","text":"TemporaryFile(/tmp/multipartBody2012352304157767984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145285239,"filename":"image_30102025_15_43_12_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/3/4be48f2874009020ae927c7e0e1f673b.jpg","text":"TemporaryFile(/tmp/multipartBody5533860639026956300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145285239,"filename":"image_30102025_15_43_07_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985842","file1":"1391985839","file0":"1391985832","file4":"1391985851","file5":"1391985854","file3":"1391985846"},"map_files_photo_id_array":[{"photo_id":"1391985854","filename":"file5"},{"photo_id":"1391985842","filename":"file2"},{"photo_id":"1391985851","filename":"file4"},{"photo_id":"1391985839","filename":"file1"},{"photo_id":"1391985832","filename":"file0"},{"photo_id":"1391985846","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985846":["hashtag1","hashtag2"]},{"1391985854":["hashtag1","hashtag2"]},{"1391985842":["hashtag1","hashtag2"]},{"1391985851":["hashtag1","hashtag2"]},{"1391985839":["hashtag1","hashtag2"]},{"1391985832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985846, 1391985854, 1391985842, 1391985851, 1391985839, 1391985832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85849690437317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:47:42.684692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_37_2970.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_39_2628.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_48_2593.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_51_2710.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_55_3610.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_41_00_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_37_2970.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_39_2628.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_48_2593.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_51_2710.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_55_3610.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_41_00_2711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0393593311309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:48:02.372024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_30_2596.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_33_2664.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_37_3809.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_39_2693.jpg', '/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_48_2697.jpg', '/home/pi/Desktop/images/30102025/15/44/image_30102025_15_44_23_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_30_2596.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_33_2664.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_37_3809.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_39_2693.jpg
/home/pi/Desktop/images/30102025/15/43/image_30102025_15_43_48_2697.jpg
/home/pi/Desktop/images/30102025/15/44/image_30102025_15_44_23_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985884","1391985875","1391985880","1391985877","1391985886","1391985882"],"photo_ids_order":["1391985875","1391985877","1391985880","1391985882","1391985884","1391985886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/885b6a086be7a95278d3778527823aa4.jpg","text":"TemporaryFile(/tmp/multipartBody6488280223896363659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145344229,"filename":"image_30102025_15_43_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/3/d8e2b2f82f87857824e90130190a19f6.jpg","text":"TemporaryFile(/tmp/multipartBody3515310019897954895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145344229,"filename":"image_30102025_15_43_30_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/3/81dd6092de8a11246ca3a4461aadf27a.jpg","text":"TemporaryFile(/tmp/multipartBody6850470709924333833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145344229,"filename":"image_30102025_15_43_37_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f02c76670e064ad5aaab428057cad768.jpg","text":"TemporaryFile(/tmp/multipartBody57939766035273981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145344229,"filename":"image_30102025_15_43_33_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/3/aaf6ebfb328c1062650dc81deb33313b.jpg","text":"TemporaryFile(/tmp/multipartBody993978022041824950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145344229,"filename":"image_30102025_15_44_23_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/86190ac80c39cae522ad4e620f974740.jpg","text":"TemporaryFile(/tmp/multipartBody1757663430321429981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145344229,"filename":"image_30102025_15_43_39_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985880","file1":"1391985877","file0":"1391985875","file4":"1391985884","file5":"1391985886","file3":"1391985882"},"map_files_photo_id_array":[{"photo_id":"1391985886","filename":"file5"},{"photo_id":"1391985880","filename":"file2"},{"photo_id":"1391985884","filename":"file4"},{"photo_id":"1391985877","filename":"file1"},{"photo_id":"1391985875","filename":"file0"},{"photo_id":"1391985882","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985884":["hashtag1","hashtag2"]},{"1391985875":["hashtag1","hashtag2"]},{"1391985880":["hashtag1","hashtag2"]},{"1391985877":["hashtag1","hashtag2"]},{"1391985886":["hashtag1","hashtag2"]},{"1391985882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985884, 1391985875, 1391985880, 1391985877, 1391985886, 1391985882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14495086669922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:48:41.852031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_37_2970.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_39_2628.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_48_2593.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_51_2710.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_55_3610.jpg', '/home/pi/Desktop/images/31102025/01/40/image_31102025_01_41_00_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_37_2970.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_39_2628.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_48_2593.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_51_2710.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_40_55_3610.jpg
/home/pi/Desktop/images/31102025/01/40/image_31102025_01_41_00_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985903","1391985893","1391985911","1391985895","1391985901","1391985897"],"photo_ids_order":["1391985893","1391985895","1391985897","1391985901","1391985903","1391985911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/108b212cfcd31134e6a3047d605728ca.jpg","text":"TemporaryFile(/tmp/multipartBody4999746283300533762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145382823,"filename":"image_31102025_01_40_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/3/993a3f1c2881d1ba22023c82e9d42c71.jpg","text":"TemporaryFile(/tmp/multipartBody2162738744640919862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145382823,"filename":"image_31102025_01_40_37_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/3/edbad1d2ad33cc2cb2f9eaf85e462d2f.jpg","text":"TemporaryFile(/tmp/multipartBody3999680702981485331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145382823,"filename":"image_31102025_01_41_00_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9a8e0ae04b7491066557a164abc16d82.jpg","text":"TemporaryFile(/tmp/multipartBody2566559112034415989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145382823,"filename":"image_31102025_01_40_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/3/1c1911d9f553562f4a10294b85711888.jpg","text":"TemporaryFile(/tmp/multipartBody4523029091353352471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145382823,"filename":"image_31102025_01_40_51_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/3/26be50e0a946950a6737495565445d1e.jpg","text":"TemporaryFile(/tmp/multipartBody8730410813373191382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145382823,"filename":"image_31102025_01_40_48_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985897","file1":"1391985895","file0":"1391985893","file4":"1391985903","file5":"1391985911","file3":"1391985901"},"map_files_photo_id_array":[{"photo_id":"1391985911","filename":"file5"},{"photo_id":"1391985897","filename":"file2"},{"photo_id":"1391985903","filename":"file4"},{"photo_id":"1391985895","filename":"file1"},{"photo_id":"1391985893","filename":"file0"},{"photo_id":"1391985901","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985903":["hashtag1","hashtag2"]},{"1391985893":["hashtag1","hashtag2"]},{"1391985911":["hashtag1","hashtag2"]},{"1391985895":["hashtag1","hashtag2"]},{"1391985901":["hashtag1","hashtag2"]},{"1391985897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985903, 1391985893, 1391985911, 1391985895, 1391985901, 1391985897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93227672576904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:49:22.079601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/44/image_30102025_15_44_26_1656.jpg', '/home/pi/Desktop/images/30102025/15/44/image_30102025_15_44_29_1680.jpg', '/home/pi/Desktop/images/30102025/15/44/image_30102025_15_44_34_3455.jpg', '/home/pi/Desktop/images/30102025/15/44/image_30102025_15_45_00_2790.jpg', '/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_03_2963.jpg', '/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_33_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/44/image_30102025_15_44_26_1656.jpg
/home/pi/Desktop/images/30102025/15/44/image_30102025_15_44_29_1680.jpg
/home/pi/Desktop/images/30102025/15/44/image_30102025_15_44_34_3455.jpg
/home/pi/Desktop/images/30102025/15/44/image_30102025_15_45_00_2790.jpg
/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_03_2963.jpg
/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_33_1596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985924","1391985927","1391985929","1391985920","1391985917","1391985931"],"photo_ids_order":["1391985917","1391985920","1391985924","1391985927","1391985929","1391985931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9fd1ce75325037bd054ea1287aa8cbfe.jpg","text":"TemporaryFile(/tmp/multipartBody2980238762401715308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145424475,"filename":"image_30102025_15_44_34_3455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7d604c749408831cec035dd51c28a5f0.jpg","text":"TemporaryFile(/tmp/multipartBody9209839970410755685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145424475,"filename":"image_30102025_15_45_00_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c329e04ffca1059539f6b4c82a3a7e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6503104798746188639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145424475,"filename":"image_30102025_15_45_03_2963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/35e72317b03a1b31ef74cadca06a81b7.jpg","text":"TemporaryFile(/tmp/multipartBody3646352195929497226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145424475,"filename":"image_30102025_15_44_29_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/3/c97ac6c96b6a69aba54b71333ad94982.jpg","text":"TemporaryFile(/tmp/multipartBody7997760726724121529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145424475,"filename":"image_30102025_15_44_26_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/3/f0149f0f19c908f9455eac8ab558c075.jpg","text":"TemporaryFile(/tmp/multipartBody2779487694850215652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145424475,"filename":"image_30102025_15_45_33_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985924","file1":"1391985920","file0":"1391985917","file4":"1391985929","file5":"1391985931","file3":"1391985927"},"map_files_photo_id_array":[{"photo_id":"1391985931","filename":"file5"},{"photo_id":"1391985924","filename":"file2"},{"photo_id":"1391985929","filename":"file4"},{"photo_id":"1391985920","filename":"file1"},{"photo_id":"1391985917","filename":"file0"},{"photo_id":"1391985927","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985924":["hashtag1","hashtag2"]},{"1391985927":["hashtag1","hashtag2"]},{"1391985929":["hashtag1","hashtag2"]},{"1391985920":["hashtag1","hashtag2"]},{"1391985917":["hashtag1","hashtag2"]},{"1391985931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985924, 1391985927, 1391985929, 1391985920, 1391985917, 1391985931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24074935913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:50:02.743636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_37_2578.jpg', '/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_40_2691.jpg', '/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_45_5071.jpg', '/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_02_1688.jpg', '/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_03_1724.jpg', '/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_10_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_37_2578.jpg
/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_40_2691.jpg
/home/pi/Desktop/images/30102025/15/45/image_30102025_15_45_45_5071.jpg
/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_02_1688.jpg
/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_03_1724.jpg
/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_10_1666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985945","1391985948","1391985943","1391985952","1391985940","1391985937"],"photo_ids_order":["1391985937","1391985940","1391985943","1391985945","1391985948","1391985952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/74ab5ee4af251e6c94914ceab574711b.jpg","text":"TemporaryFile(/tmp/multipartBody3946430881199396729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145464583,"filename":"image_30102025_15_46_02_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/3/f9478e01eb0b177472b70d130b97eb26.jpg","text":"TemporaryFile(/tmp/multipartBody4028312236091805421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145464583,"filename":"image_30102025_15_46_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/3/fc85abdc729c56a804b3083a5023547c.jpg","text":"TemporaryFile(/tmp/multipartBody330935557573257780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145464583,"filename":"image_30102025_15_45_45_5071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/790da6594a95e6791737735bb10ec0f9.jpg","text":"TemporaryFile(/tmp/multipartBody7426698631344701426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145464583,"filename":"image_30102025_15_46_10_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/feb381c22efd8b5aeef4c277c84e32bf.jpg","text":"TemporaryFile(/tmp/multipartBody2345834000947875780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145464583,"filename":"image_30102025_15_45_40_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/3/3675c288d51319c5a4e4d540228ad11c.jpg","text":"TemporaryFile(/tmp/multipartBody1334315329536685725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145464583,"filename":"image_30102025_15_45_37_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985943","file1":"1391985940","file0":"1391985937","file4":"1391985948","file5":"1391985952","file3":"1391985945"},"map_files_photo_id_array":[{"photo_id":"1391985952","filename":"file5"},{"photo_id":"1391985943","filename":"file2"},{"photo_id":"1391985948","filename":"file4"},{"photo_id":"1391985940","filename":"file1"},{"photo_id":"1391985937","filename":"file0"},{"photo_id":"1391985945","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391985945":["hashtag1","hashtag2"]},{"1391985948":["hashtag1","hashtag2"]},{"1391985943":["hashtag1","hashtag2"]},{"1391985952":["hashtag1","hashtag2"]},{"1391985940":["hashtag1","hashtag2"]},{"1391985937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391985945, 1391985948, 1391985943, 1391985952, 1391985940, 1391985937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68726992607117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:50:42.276122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_04_3681.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_12_2835.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_15_2858.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_18_2807.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_22_3750.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_24_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_04_3681.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_12_2835.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_15_2858.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_18_2807.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_22_3750.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_24_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391985986","1391985989","1391985974","1391985994","1391985991","1391985990"],"photo_ids_order":["1391985974","1391985986","1391985989","1391985990","1391985991","1391985994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/94bcf2311c058c8a7bea53f7bbeb26d1.jpg","text":"TemporaryFile(/tmp/multipartBody6942308349518120272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145503404,"filename":"image_31102025_01_41_12_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/3/f20a55dd6e980c4b62f11c9881e7ef95.jpg","text":"TemporaryFile(/tmp/multipartBody5902920751415290861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145503404,"filename":"image_31102025_01_41_15_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/3/ff49a13f392212a9b877700777c3fb92.jpg","text":"TemporaryFile(/tmp/multipartBody6346681752963285038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145503404,"filename":"image_31102025_01_41_04_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/3/1c3c904371bdfa7b3c326843072348a4.jpg","text":"TemporaryFile(/tmp/multipartBody5471020541529777517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145503404,"filename":"image_31102025_01_41_24_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/808e37a8327d3d285a5c2a905632afda.jpg","text":"TemporaryFile(/tmp/multipartBody6177590037445955546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145503404,"filename":"image_31102025_01_41_22_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/3/7b92301dc3c950881b1c4e361c16d54a.jpg","text":"TemporaryFile(/tmp/multipartBody1794750009085184101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145503404,"filename":"image_31102025_01_41_18_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391985989","file1":"1391985986","file0":"1391985974","file4":"1391985991","file5":"1391985994","file3":"1391985990"},"map_files_photo_id_array":[{"photo_id":"1391985994","filename":"file5"},{"photo_id":"1391985989","filename":"file2"},{"photo_id":"1391985991","filename":"file4"},{"photo_id":"1391985986","filename":"file1"},{"photo_id":"1391985974","filename":"file0"},{"photo_id":"1391985990","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391985986":["hashtag1","hashtag2"]},{"1391985989":["hashtag1","hashtag2"]},{"1391985974":["hashtag1","hashtag2"]},{"1391985994":["hashtag1","hashtag2"]},{"1391985991":["hashtag1","hashtag2"]},{"1391985990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391985986, 1391985989, 1391985974, 1391985994, 1391985991, 1391985990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31729578971863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:51:22.492915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_12_1561.jpg', '/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_15_2802.jpg', '/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_18_3638.jpg', '/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_42_2681.jpg', '/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_48_3558.jpg', '/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_51_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_12_1561.jpg
/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_15_2802.jpg
/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_18_3638.jpg
/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_42_2681.jpg
/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_48_3558.jpg
/home/pi/Desktop/images/30102025/15/46/image_30102025_15_46_51_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986020","1391986028","1391986019","1391986010","1391986021","1391986023"],"photo_ids_order":["1391986010","1391986019","1391986020","1391986021","1391986023","1391986028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1219fe6d21fb4509080342f9c98cb03b.jpg","text":"TemporaryFile(/tmp/multipartBody921728508698468510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145544891,"filename":"image_30102025_15_46_18_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/3/cfc2ab1f91146a9874a128b2e583a4d6.jpg","text":"TemporaryFile(/tmp/multipartBody7088391685801250917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145544891,"filename":"image_30102025_15_46_51_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f29030f459bd095c1d8af56beab16232.jpg","text":"TemporaryFile(/tmp/multipartBody8431370909257874959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145544891,"filename":"image_30102025_15_46_15_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/3/da78641a328e17ba7b396912f524cebf.jpg","text":"TemporaryFile(/tmp/multipartBody633675242009408264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145544891,"filename":"image_30102025_15_46_12_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ebf86c6a29c60bae880b4e2bf251ddb0.jpg","text":"TemporaryFile(/tmp/multipartBody3119702732963803046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145544891,"filename":"image_30102025_15_46_42_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d5581363fcc408c4b687c9b97c0e0d7f.jpg","text":"TemporaryFile(/tmp/multipartBody196061274889886372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145544891,"filename":"image_30102025_15_46_48_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986020","file1":"1391986019","file0":"1391986010","file4":"1391986023","file5":"1391986028","file3":"1391986021"},"map_files_photo_id_array":[{"photo_id":"1391986028","filename":"file5"},{"photo_id":"1391986020","filename":"file2"},{"photo_id":"1391986023","filename":"file4"},{"photo_id":"1391986019","filename":"file1"},{"photo_id":"1391986010","filename":"file0"},{"photo_id":"1391986021","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391986020":["hashtag1","hashtag2"]},{"1391986028":["hashtag1","hashtag2"]},{"1391986019":["hashtag1","hashtag2"]},{"1391986010":["hashtag1","hashtag2"]},{"1391986021":["hashtag1","hashtag2"]},{"1391986023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391986020, 1391986028, 1391986019, 1391986010, 1391986021, 1391986023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50353741645813 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-03 05:52:23.659887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_03_2599.jpg', '/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_18_2620.jpg', '/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_21_2650.jpg', '/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_24_3583.jpg', '/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_42_3015.jpg', '/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_56_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_03_2599.jpg
/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_18_2620.jpg
/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_21_2650.jpg
/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_24_3583.jpg
/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_42_3015.jpg
/home/pi/Desktop/images/30102025/15/47/image_30102025_15_47_56_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986061","1391986049","1391986051","1391986048","1391986053","1391986059"],"photo_ids_order":["1391986048","1391986049","1391986051","1391986053","1391986059","1391986061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ce290e0d22d361e15ac12a1ff210de5b.jpg","text":"TemporaryFile(/tmp/multipartBody725364931571488500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145605974,"filename":"image_30102025_15_47_56_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/3/db87f5f258c07b1396b39ec1dc6ecd50.jpg","text":"TemporaryFile(/tmp/multipartBody2755726240326910092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145605974,"filename":"image_30102025_15_47_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/3/d49ce0585a483306db195d304b3ea5b8.jpg","text":"TemporaryFile(/tmp/multipartBody6024343542235836779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145605974,"filename":"image_30102025_15_47_21_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/3/671f6523ad3865f628424de6de046faa.jpg","text":"TemporaryFile(/tmp/multipartBody8669711974655212775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145605974,"filename":"image_30102025_15_47_03_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/3/856577d566b012c715ecb5985bfb892e.jpg","text":"TemporaryFile(/tmp/multipartBody659186860619431114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145605974,"filename":"image_30102025_15_47_24_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/3/9749a6ad5d5177057bd00114e93f8d56.jpg","text":"TemporaryFile(/tmp/multipartBody5565787156277358356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145605974,"filename":"image_30102025_15_47_42_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986051","file1":"1391986049","file0":"1391986048","file4":"1391986059","file5":"1391986061","file3":"1391986053"},"map_files_photo_id_array":[{"photo_id":"1391986061","filename":"file5"},{"photo_id":"1391986051","filename":"file2"},{"photo_id":"1391986059","filename":"file4"},{"photo_id":"1391986049","filename":"file1"},{"photo_id":"1391986048","filename":"file0"},{"photo_id":"1391986053","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391986061":["hashtag1","hashtag2"]},{"1391986049":["hashtag1","hashtag2"]},{"1391986051":["hashtag1","hashtag2"]},{"1391986048":["hashtag1","hashtag2"]},{"1391986053":["hashtag1","hashtag2"]},{"1391986059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391986061, 1391986049, 1391986051, 1391986048, 1391986053, 1391986059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.792468547821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:53:02.497635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/48/image_30102025_15_48_48_3767.jpg', '/home/pi/Desktop/images/30102025/15/48/image_30102025_15_48_51_2577.jpg', '/home/pi/Desktop/images/30102025/15/48/image_30102025_15_48_53_2595.jpg', '/home/pi/Desktop/images/30102025/15/48/image_30102025_15_48_57_3839.jpg', '/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_18_3753.jpg', '/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_21_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/15/48/image_30102025_15_48_48_3767.jpg
/home/pi/Desktop/images/30102025/15/48/image_30102025_15_48_51_2577.jpg
/home/pi/Desktop/images/30102025/15/48/image_30102025_15_48_53_2595.jpg
/home/pi/Desktop/images/30102025/15/48/image_30102025_15_48_57_3839.jpg
/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_18_3753.jpg
/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_21_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986082","1391986087","1391986075","1391986069","1391986078","1391986072"],"photo_ids_order":["1391986069","1391986072","1391986075","1391986078","1391986082","1391986087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/577273aaf96b1da409d92b7ccf9ffeea.jpg","text":"TemporaryFile(/tmp/multipartBody1495202084521713583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145644535,"filename":"image_30102025_15_49_18_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/3/4dec90efc881d692f71595d05b4a5485.jpg","text":"TemporaryFile(/tmp/multipartBody340841001331765958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145644535,"filename":"image_30102025_15_49_21_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/3/7ffa3e0fdb9d11daddec31dedc231a14.jpg","text":"TemporaryFile(/tmp/multipartBody3457676243781443037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145644535,"filename":"image_30102025_15_48_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/3/b8afbe9a1a4392a6c4aa50b4841923e8.jpg","text":"TemporaryFile(/tmp/multipartBody5030805250239097213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145644535,"filename":"image_30102025_15_48_48_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/3/56f8e818af4c7addfabf777e333c1497.jpg","text":"TemporaryFile(/tmp/multipartBody2667244418869071074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145644535,"filename":"image_30102025_15_48_57_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/344afcf95935d1ce6c15f2fd9c76eba0.jpg","text":"TemporaryFile(/tmp/multipartBody4612461725045954496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145644535,"filename":"image_30102025_15_48_51_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986075","file1":"1391986072","file0":"1391986069","file4":"1391986082","file5":"1391986087","file3":"1391986078"},"map_files_photo_id_array":[{"photo_id":"1391986087","filename":"file5"},{"photo_id":"1391986075","filename":"file2"},{"photo_id":"1391986082","filename":"file4"},{"photo_id":"1391986072","filename":"file1"},{"photo_id":"1391986069","filename":"file0"},{"photo_id":"1391986078","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391986082":["hashtag1","hashtag2"]},{"1391986087":["hashtag1","hashtag2"]},{"1391986075":["hashtag1","hashtag2"]},{"1391986069":["hashtag1","hashtag2"]},{"1391986078":["hashtag1","hashtag2"]},{"1391986072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391986082, 1391986087, 1391986075, 1391986069, 1391986078, 1391986072)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.20483422279358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:54:03.047826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_30_3643.jpg', '/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_36_2879.jpg', '/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_39_3575.jpg', '/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_47_2656.jpg', '/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_51_3618.jpg', '/home/pi/Desktop/images/30102025/15/49/image_30102025_15_50_00_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/15/49/image_30102025_15_49_30_3643.jpg
/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_36_2879.jpg
/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_39_3575.jpg
/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_47_2656.jpg
/home/pi/Desktop/images/30102025/15/49/image_30102025_15_49_51_3618.jpg
/home/pi/Desktop/images/30102025/15/49/image_30102025_15_50_00_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986106","1391986111","1391986120","1391986114","1391986117","1391986122"],"photo_ids_order":["1391986106","1391986111","1391986114","1391986117","1391986120","1391986122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/354b683264d3561968525ed7d082e80b.jpg","text":"TemporaryFile(/tmp/multipartBody7318143987124201067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145704900,"filename":"image_30102025_15_49_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/3/9105bcef111739091970537e1c3988b2.jpg","text":"TemporaryFile(/tmp/multipartBody8758401438047491883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145704900,"filename":"image_30102025_15_49_36_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/3/5a4c7dae21e864214f361e52f632fb2a.jpg","text":"TemporaryFile(/tmp/multipartBody4102801106146748146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145704900,"filename":"image_30102025_15_49_51_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/3/7a4098ab3aa9a8587b584fd5a253c013.jpg","text":"TemporaryFile(/tmp/multipartBody2261995663393757394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145704900,"filename":"image_30102025_15_49_39_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/3/79fad736d37ddff1a82b7df1c20df045.jpg","text":"TemporaryFile(/tmp/multipartBody5850882453633808819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145704900,"filename":"image_30102025_15_49_47_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9caf5d063a05c75a76364e17d8bd6156.jpg","text":"TemporaryFile(/tmp/multipartBody7276130705685993518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145704900,"filename":"image_30102025_15_50_00_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986114","file1":"1391986111","file0":"1391986106","file4":"1391986120","file5":"1391986122","file3":"1391986117"},"map_files_photo_id_array":[{"photo_id":"1391986122","filename":"file5"},{"photo_id":"1391986114","filename":"file2"},{"photo_id":"1391986120","filename":"file4"},{"photo_id":"1391986111","filename":"file1"},{"photo_id":"1391986106","filename":"file0"},{"photo_id":"1391986117","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391986106":["hashtag1","hashtag2"]},{"1391986111":["hashtag1","hashtag2"]},{"1391986120":["hashtag1","hashtag2"]},{"1391986114":["hashtag1","hashtag2"]},{"1391986117":["hashtag1","hashtag2"]},{"1391986122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391986106, 1391986111, 1391986120, 1391986114, 1391986117, 1391986122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.586607217788696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:54:42.271049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_27_2781.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_34_2688.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_43_3723.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_45_2699.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_48_2623.jpg', '/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_55_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_27_2781.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_34_2688.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_43_3723.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_45_2699.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_48_2623.jpg
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_41_55_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986131","1391986141","1391986144","1391986138","1391986132","1391986135"],"photo_ids_order":["1391986131","1391986132","1391986135","1391986138","1391986141","1391986144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0bbfe5885547ad1ed5b605348b4dc812.jpg","text":"TemporaryFile(/tmp/multipartBody3258575223804982111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145743403,"filename":"image_31102025_01_41_27_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/3/f7a8b53ce95cfa40c0d8a8cf759bf738.jpg","text":"TemporaryFile(/tmp/multipartBody6040246918643199846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145743403,"filename":"image_31102025_01_41_48_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/3/aabd4fe6c61b117038209e2a604650f8.jpg","text":"TemporaryFile(/tmp/multipartBody5279142796017202369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145743403,"filename":"image_31102025_01_41_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/3/16e8e9140d881c40dc24b6bea2033adc.jpg","text":"TemporaryFile(/tmp/multipartBody7053546990223220060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145743403,"filename":"image_31102025_01_41_45_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/3/2f8c0ea072d9c1f9b3f7d54fec58cd5f.jpg","text":"TemporaryFile(/tmp/multipartBody5786423262531632674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145743403,"filename":"image_31102025_01_41_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/3/7e2a3c8ee98c056181067335fbfbe5c7.jpg","text":"TemporaryFile(/tmp/multipartBody7842904892556623559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145743403,"filename":"image_31102025_01_41_43_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986135","file1":"1391986132","file0":"1391986131","file4":"1391986141","file5":"1391986144","file3":"1391986138"},"map_files_photo_id_array":[{"photo_id":"1391986144","filename":"file5"},{"photo_id":"1391986135","filename":"file2"},{"photo_id":"1391986141","filename":"file4"},{"photo_id":"1391986132","filename":"file1"},{"photo_id":"1391986131","filename":"file0"},{"photo_id":"1391986138","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391986131":["hashtag1","hashtag2"]},{"1391986141":["hashtag1","hashtag2"]},{"1391986144":["hashtag1","hashtag2"]},{"1391986138":["hashtag1","hashtag2"]},{"1391986132":["hashtag1","hashtag2"]},{"1391986135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391986131, 1391986141, 1391986144, 1391986138, 1391986132, 1391986135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84385848045349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 05:55:22.392877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/50/image_30102025_15_50_05_2704.jpg', '/home/pi/Desktop/images/30102025/15/50/image_30102025_15_50_09_3654.jpg', '/home/pi/Desktop/images/30102025/15/50/image_30102025_15_50_56_2657.jpg', '/home/pi/Desktop/images/30102025/15/50/image_30102025_15_51_00_3676.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_05_2572.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_09_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/50/image_30102025_15_50_05_2704.jpg
/home/pi/Desktop/images/30102025/15/50/image_30102025_15_50_09_3654.jpg
/home/pi/Desktop/images/30102025/15/50/image_30102025_15_50_56_2657.jpg
/home/pi/Desktop/images/30102025/15/50/image_30102025_15_51_00_3676.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_05_2572.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_09_3655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986154","1391986168","1391986156","1391986161","1391986164","1391986158"],"photo_ids_order":["1391986154","1391986156","1391986158","1391986161","1391986164","1391986168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fd08afa8aff24b0361f35546fdb9f85f.jpg","text":"TemporaryFile(/tmp/multipartBody7343178820830707488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145784824,"filename":"image_30102025_15_50_05_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/3/7b10b8c1b2edd33a45ef574a00feaf16.jpg","text":"TemporaryFile(/tmp/multipartBody6898924067845347728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145784824,"filename":"image_30102025_15_51_09_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/3/ec8be14ad534e2934b6f46345d4c9a46.jpg","text":"TemporaryFile(/tmp/multipartBody362895136203241570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145784824,"filename":"image_30102025_15_50_09_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/3/a3e546c19a569f2181417371d74f718a.jpg","text":"TemporaryFile(/tmp/multipartBody122588043715676064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145784824,"filename":"image_30102025_15_51_00_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/3/683669bfcfd6a1d1e649ef9d8ef65224.jpg","text":"TemporaryFile(/tmp/multipartBody7679472875641650346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145784824,"filename":"image_30102025_15_51_05_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d508e97289a6da8580d387e8f9ddd759.jpg","text":"TemporaryFile(/tmp/multipartBody6942563570194469899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145784824,"filename":"image_30102025_15_50_56_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986158","file1":"1391986156","file0":"1391986154","file4":"1391986164","file5":"1391986168","file3":"1391986161"},"map_files_photo_id_array":[{"photo_id":"1391986168","filename":"file5"},{"photo_id":"1391986158","filename":"file2"},{"photo_id":"1391986164","filename":"file4"},{"photo_id":"1391986156","filename":"file1"},{"photo_id":"1391986154","filename":"file0"},{"photo_id":"1391986161","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391986154":["hashtag1","hashtag2"]},{"1391986168":["hashtag1","hashtag2"]},{"1391986156":["hashtag1","hashtag2"]},{"1391986161":["hashtag1","hashtag2"]},{"1391986164":["hashtag1","hashtag2"]},{"1391986158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391986154, 1391986168, 1391986156, 1391986161, 1391986164, 1391986158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48976755142212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:56:02.972204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_18_3672.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_23_2564.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_30_2729.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_32_2589.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_36_3682.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_38_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/15/51/image_30102025_15_51_18_3672.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_23_2564.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_30_2729.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_32_2589.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_36_3682.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_38_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986175","1391986180","1391986183","1391986177","1391986171","1391986173"],"photo_ids_order":["1391986171","1391986173","1391986175","1391986177","1391986180","1391986183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e01fa3176c387ec643af7f56c00be47d.jpg","text":"TemporaryFile(/tmp/multipartBody2580020828005610520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145824840,"filename":"image_30102025_15_51_30_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c2e79a19cbcfe1d22011224fdb43ee52.jpg","text":"TemporaryFile(/tmp/multipartBody4085865201813948931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145824840,"filename":"image_30102025_15_51_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/3/4090d87c6752761fcde9e7917075c157.jpg","text":"TemporaryFile(/tmp/multipartBody273050274762910187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145824840,"filename":"image_30102025_15_51_38_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/3/84af29decc9337afa9da9c3b3b7b76ae.jpg","text":"TemporaryFile(/tmp/multipartBody6328657758188764463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145824840,"filename":"image_30102025_15_51_32_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/3/025135914d0e9913f8396bd9b64c2dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4413603309876817188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145824840,"filename":"image_30102025_15_51_18_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1faa4eacd1e82e21c5465e155377fea0.jpg","text":"TemporaryFile(/tmp/multipartBody4626253618252013139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145824840,"filename":"image_30102025_15_51_23_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986175","file1":"1391986173","file0":"1391986171","file4":"1391986180","file5":"1391986183","file3":"1391986177"},"map_files_photo_id_array":[{"photo_id":"1391986183","filename":"file5"},{"photo_id":"1391986175","filename":"file2"},{"photo_id":"1391986180","filename":"file4"},{"photo_id":"1391986173","filename":"file1"},{"photo_id":"1391986171","filename":"file0"},{"photo_id":"1391986177","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391986175":["hashtag1","hashtag2"]},{"1391986180":["hashtag1","hashtag2"]},{"1391986183":["hashtag1","hashtag2"]},{"1391986177":["hashtag1","hashtag2"]},{"1391986171":["hashtag1","hashtag2"]},{"1391986173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391986175, 1391986180, 1391986183, 1391986177, 1391986171, 1391986173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.728487730026245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:56:42.528246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/41/image_31102025_01_42_00_2735.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_04_3683.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_10_2952.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_15_2692.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_19_3635.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_24_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/41/image_31102025_01_42_00_2735.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_04_3683.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_10_2952.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_15_2692.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_19_3635.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_24_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986218","1391986200","1391986217","1391986213","1391986216","1391986215"],"photo_ids_order":["1391986200","1391986213","1391986215","1391986216","1391986217","1391986218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bca1d937f76a0b08ac527a7928a63171.jpg","text":"TemporaryFile(/tmp/multipartBody3885989183502063408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145865456,"filename":"image_31102025_01_42_24_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/3/b23e49a2767b91e1955e271cd054136e.jpg","text":"TemporaryFile(/tmp/multipartBody6535204068837840730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145865456,"filename":"image_31102025_01_42_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/3/40e504a76a6f9a9423ff7bb7f43d4c01.jpg","text":"TemporaryFile(/tmp/multipartBody2788464373249987813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145865456,"filename":"image_31102025_01_42_19_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40908ac2690c1d4bdaf5f642b6fbb69e.jpg","text":"TemporaryFile(/tmp/multipartBody5048059108792996724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145865456,"filename":"image_31102025_01_42_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/3/3bc675a12e24626e58b9862b49d20d22.jpg","text":"TemporaryFile(/tmp/multipartBody2813371338888135030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145865456,"filename":"image_31102025_01_42_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/3/d04376ea9d888c187548a642fbae3d7b.jpg","text":"TemporaryFile(/tmp/multipartBody6454197854478632917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145865456,"filename":"image_31102025_01_42_10_2952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986215","file1":"1391986213","file0":"1391986200","file4":"1391986217","file5":"1391986218","file3":"1391986216"},"map_files_photo_id_array":[{"photo_id":"1391986218","filename":"file5"},{"photo_id":"1391986215","filename":"file2"},{"photo_id":"1391986217","filename":"file4"},{"photo_id":"1391986213","filename":"file1"},{"photo_id":"1391986200","filename":"file0"},{"photo_id":"1391986216","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391986218":["hashtag1","hashtag2"]},{"1391986200":["hashtag1","hashtag2"]},{"1391986217":["hashtag1","hashtag2"]},{"1391986213":["hashtag1","hashtag2"]},{"1391986216":["hashtag1","hashtag2"]},{"1391986215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391986218, 1391986200, 1391986217, 1391986213, 1391986216, 1391986215)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.23706603050232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 05:57:42.640863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_33_2659.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_36_2779.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_42_2611.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_46_3584.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_51_2686.jpg', '/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_54_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_33_2659.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_36_2779.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_42_2611.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_46_3584.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_51_2686.jpg
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_54_2687.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986245","1391986238","1391986241","1391986243","1391986246","1391986248"],"photo_ids_order":["1391986238","1391986241","1391986243","1391986245","1391986246","1391986248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3bad44e73f9da4c1f90724f935ab8221.jpg","text":"TemporaryFile(/tmp/multipartBody2461229767461495538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145923677,"filename":"image_31102025_01_42_46_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/3/ca0d8cb1d3766917f527e2cc6de1b583.jpg","text":"TemporaryFile(/tmp/multipartBody8891672193183007301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145923677,"filename":"image_31102025_01_42_33_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/3/563a28cddffaadb062ede3142ffdc4b9.jpg","text":"TemporaryFile(/tmp/multipartBody5833585121424618477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145923677,"filename":"image_31102025_01_42_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/3/f4c402b7881ff5f3b232b7175f6fa532.jpg","text":"TemporaryFile(/tmp/multipartBody6776309919459956405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145923677,"filename":"image_31102025_01_42_42_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/3/4212cbd448624cc07ff1738561e1b26d.jpg","text":"TemporaryFile(/tmp/multipartBody7813881483866830288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145923677,"filename":"image_31102025_01_42_51_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/3/5fba0c3fa4c11f9a32bcc8f2dfeec399.jpg","text":"TemporaryFile(/tmp/multipartBody8538676538750363596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762145923677,"filename":"image_31102025_01_42_54_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986243","file1":"1391986241","file0":"1391986238","file4":"1391986246","file5":"1391986248","file3":"1391986245"},"map_files_photo_id_array":[{"photo_id":"1391986248","filename":"file5"},{"photo_id":"1391986243","filename":"file2"},{"photo_id":"1391986246","filename":"file4"},{"photo_id":"1391986241","filename":"file1"},{"photo_id":"1391986238","filename":"file0"},{"photo_id":"1391986245","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391986245":["hashtag1","hashtag2"]},{"1391986238":["hashtag1","hashtag2"]},{"1391986241":["hashtag1","hashtag2"]},{"1391986243":["hashtag1","hashtag2"]},{"1391986246":["hashtag1","hashtag2"]},{"1391986248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391986245, 1391986238, 1391986241, 1391986243, 1391986246, 1391986248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4448459148407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 05:59:02.930607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_41_2757.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_45_3702.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_48_2592.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_50_2794.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_56_2579.jpg', '/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_59_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/15/51/image_30102025_15_51_41_2757.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_45_3702.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_48_2592.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_50_2794.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_56_2579.jpg
/home/pi/Desktop/images/30102025/15/51/image_30102025_15_51_59_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":["1391986292","1391986286","1391986271","1391986282","1391986279","1391986290"],"photo_ids_order":["1391986271","1391986279","1391986282","1391986286","1391986290","1391986292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aef5d960443a3536f474212014f37638.jpg","text":"TemporaryFile(/tmp/multipartBody4876231484607579712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146005008,"filename":"image_30102025_15_51_59_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/3/0aaab03b482b4d65bcf9465111aeb779.jpg","text":"TemporaryFile(/tmp/multipartBody692598193631509994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146005008,"filename":"image_30102025_15_51_50_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/3/5c85524554054cd03732d960de33d270.jpg","text":"TemporaryFile(/tmp/multipartBody4087951016547814002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146005008,"filename":"image_30102025_15_51_41_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/3/974aff45184427a025dffdae88fbab6b.jpg","text":"TemporaryFile(/tmp/multipartBody4042571878908619478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146005008,"filename":"image_30102025_15_51_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/3/0e897ff4f66072d2041b0c83da6c14a2.jpg","text":"TemporaryFile(/tmp/multipartBody5617845826140060442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146005008,"filename":"image_30102025_15_51_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/3/626e14126feff10d2a5fa26b5d271b25.jpg","text":"TemporaryFile(/tmp/multipartBody5488843396092546319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146005008,"filename":"image_30102025_15_51_56_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986282","file1":"1391986279","file0":"1391986271","file4":"1391986290","file5":"1391986292","file3":"1391986286"},"map_files_photo_id_array":[{"photo_id":"1391986292","filename":"file5"},{"photo_id":"1391986282","filename":"file2"},{"photo_id":"1391986290","filename":"file4"},{"photo_id":"1391986279","filename":"file1"},{"photo_id":"1391986271","filename":"file0"},{"photo_id":"1391986286","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391986292":["hashtag1","hashtag2"]},{"1391986286":["hashtag1","hashtag2"]},{"1391986271":["hashtag1","hashtag2"]},{"1391986282":["hashtag1","hashtag2"]},{"1391986279":["hashtag1","hashtag2"]},{"1391986290":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391986292, 1391986286, 1391986271, 1391986282, 1391986279, 1391986290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.040550231933594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:00:02.795680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_02_2763.jpg', '/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_06_3621.jpg', '/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_08_2782.jpg', '/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_20_2813.jpg', '/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_23_2625.jpg', '/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_36_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/15/52/image_30102025_15_52_02_2763.jpg
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_06_3621.jpg
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_08_2782.jpg
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_20_2813.jpg
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_23_2625.jpg
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_36_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986311","1391986319","1391986313","1391986316","1391986306","1391986308"],"photo_ids_order":["1391986306","1391986308","1391986311","1391986313","1391986316","1391986319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/779e28b2c00d46048878150b35b220a9.jpg","text":"TemporaryFile(/tmp/multipartBody6622530535212487057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146064652,"filename":"image_30102025_15_52_08_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/3/d440b5d513818c0616f18674f2574a04.jpg","text":"TemporaryFile(/tmp/multipartBody1504224049566457137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146064652,"filename":"image_30102025_15_52_36_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/3/ec90d266070f446693d904f6f94c7ea1.jpg","text":"TemporaryFile(/tmp/multipartBody5550703525858337132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146064652,"filename":"image_30102025_15_52_20_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/3/16fae2366236b9fbd6309eda09f555b7.jpg","text":"TemporaryFile(/tmp/multipartBody1707828430563497329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146064652,"filename":"image_30102025_15_52_23_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/216bc3e60b84b06bae431c503c642a92.jpg","text":"TemporaryFile(/tmp/multipartBody7465493315942134694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146064652,"filename":"image_30102025_15_52_02_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/3/a2250b9306c0b00463fe0c0fc8baec5d.jpg","text":"TemporaryFile(/tmp/multipartBody643969589476092634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146064652,"filename":"image_30102025_15_52_06_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986311","file1":"1391986308","file0":"1391986306","file4":"1391986316","file5":"1391986319","file3":"1391986313"},"map_files_photo_id_array":[{"photo_id":"1391986319","filename":"file5"},{"photo_id":"1391986311","filename":"file2"},{"photo_id":"1391986316","filename":"file4"},{"photo_id":"1391986308","filename":"file1"},{"photo_id":"1391986306","filename":"file0"},{"photo_id":"1391986313","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391986311":["hashtag1","hashtag2"]},{"1391986319":["hashtag1","hashtag2"]},{"1391986313":["hashtag1","hashtag2"]},{"1391986316":["hashtag1","hashtag2"]},{"1391986306":["hashtag1","hashtag2"]},{"1391986308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391986311, 1391986319, 1391986313, 1391986316, 1391986306, 1391986308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.155253410339355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:00:42.163492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_57_3631.jpg', '/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_30_2569.jpg', '/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_45_2878.jpg', '/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_48_3121.jpg', '/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_52_3701.jpg', '/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_57_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/42/image_31102025_01_42_57_3631.jpg
/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_30_2569.jpg
/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_45_2878.jpg
/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_48_3121.jpg
/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_52_3701.jpg
/home/pi/Desktop/images/31102025/01/43/image_31102025_01_43_57_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391986331","1391986360","1391986327","1391986398","1391986440","1391986329"],"photo_ids_order":["1391986327","1391986329","1391986331","1391986360","1391986398","1391986440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5456d1ab86ad35f32d710fb3f4dbbb9a.jpg","text":"TemporaryFile(/tmp/multipartBody4437683422080296903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146103238,"filename":"image_31102025_01_43_45_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/3/a3986b2157a8f10d162c94e059434c46.jpg","text":"TemporaryFile(/tmp/multipartBody236923579558409534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146103238,"filename":"image_31102025_01_43_48_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/3/e0f2c25158c8f4c4761054c5e5c796d2.jpg","text":"TemporaryFile(/tmp/multipartBody1889294351977219166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146103238,"filename":"image_31102025_01_42_57_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/3/05fa2017486c62329b7046c267533658.jpg","text":"TemporaryFile(/tmp/multipartBody374936117223437876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146103238,"filename":"image_31102025_01_43_52_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/3/19b6b19e66ded362195b4b5ed08ac528.jpg","text":"TemporaryFile(/tmp/multipartBody7180672305201053208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146103238,"filename":"image_31102025_01_43_57_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/3/6b1c0d702dce263aa7cb887d3012ca04.jpg","text":"TemporaryFile(/tmp/multipartBody133869174118029653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146103238,"filename":"image_31102025_01_43_30_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391986331","file1":"1391986329","file0":"1391986327","file4":"1391986398","file5":"1391986440","file3":"1391986360"},"map_files_photo_id_array":[{"photo_id":"1391986440","filename":"file5"},{"photo_id":"1391986331","filename":"file2"},{"photo_id":"1391986398","filename":"file4"},{"photo_id":"1391986329","filename":"file1"},{"photo_id":"1391986327","filename":"file0"},{"photo_id":"1391986360","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391986331":["hashtag1","hashtag2"]},{"1391986360":["hashtag1","hashtag2"]},{"1391986327":["hashtag1","hashtag2"]},{"1391986398":["hashtag1","hashtag2"]},{"1391986440":["hashtag1","hashtag2"]},{"1391986329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391986331, 1391986360, 1391986327, 1391986398, 1391986440, 1391986329)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.66709804534912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:01:47.197097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_03_2600.jpg', '/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_06_2628.jpg', '/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_21_2705.jpg', '/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_27_2755.jpg', '/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_33_2739.jpg', '/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_39_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_03_2600.jpg
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_06_2628.jpg
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_21_2705.jpg
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_27_2755.jpg
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_33_2739.jpg
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_39_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":["1391987231","1391987092","1391987275","1391987143","1391987022","1391987192"],"photo_ids_order":["1391987022","1391987092","1391987143","1391987192","1391987231","1391987275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26d067d00f9f489abe896be87dfce3a5.jpg","text":"TemporaryFile(/tmp/multipartBody6122519931076498658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146168309,"filename":"image_31102025_01_44_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/3/86b1492bbc04cd4ed5affcf5910aa6d6.jpg","text":"TemporaryFile(/tmp/multipartBody3868235684379720764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146168309,"filename":"image_31102025_01_44_06_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/77bb8390e0dfa2f23e21a315c35606cd.jpg","text":"TemporaryFile(/tmp/multipartBody2820282149367931406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146168309,"filename":"image_31102025_01_44_39_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/3/b9c553746ef3cda71afd024b60bb5592.jpg","text":"TemporaryFile(/tmp/multipartBody6092662065876174758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146168309,"filename":"image_31102025_01_44_21_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/3/34932c350c477ec59ea64767ebdef533.jpg","text":"TemporaryFile(/tmp/multipartBody2166931003909380598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146168309,"filename":"image_31102025_01_44_03_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/3/280d1f7629d41afa225c7590f779916c.jpg","text":"TemporaryFile(/tmp/multipartBody966363273696009644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146168309,"filename":"image_31102025_01_44_27_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391987143","file1":"1391987092","file0":"1391987022","file4":"1391987231","file5":"1391987275","file3":"1391987192"},"map_files_photo_id_array":[{"photo_id":"1391987275","filename":"file5"},{"photo_id":"1391987143","filename":"file2"},{"photo_id":"1391987231","filename":"file4"},{"photo_id":"1391987092","filename":"file1"},{"photo_id":"1391987022","filename":"file0"},{"photo_id":"1391987192","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391987231":["hashtag1","hashtag2"]},{"1391987092":["hashtag1","hashtag2"]},{"1391987275":["hashtag1","hashtag2"]},{"1391987143":["hashtag1","hashtag2"]},{"1391987022":["hashtag1","hashtag2"]},{"1391987192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391987231, 1391987092, 1391987275, 1391987143, 1391987022, 1391987192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36142158508301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:02:42.573433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_42_2619.jpg', '/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_48_3727.jpg', '/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_51_2700.jpg', '/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_58_3726.jpg', '/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_06_2999.jpg', '/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_09_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_42_2619.jpg
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_48_3727.jpg
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_51_2700.jpg
/home/pi/Desktop/images/31102025/01/44/image_31102025_01_44_58_3726.jpg
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_06_2999.jpg
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_09_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391987561","1391987758","1391987719","1391987595","1391987628","1391987663"],"photo_ids_order":["1391987561","1391987595","1391987628","1391987663","1391987719","1391987758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d79be99e43a01af625595b6682594e1c.jpg","text":"TemporaryFile(/tmp/multipartBody1393436279584320960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146225504,"filename":"image_31102025_01_44_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/3/05a7dec65b9d2cd8c00af1c93cf59410.jpg","text":"TemporaryFile(/tmp/multipartBody2643668764847407333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146225504,"filename":"image_31102025_01_45_09_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/3/b6ca317d09da13d3dd96e86c66adb5c6.jpg","text":"TemporaryFile(/tmp/multipartBody6961683253669615658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146225504,"filename":"image_31102025_01_45_06_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/32b1982d2514a3f829ecf9d4da39ce00.jpg","text":"TemporaryFile(/tmp/multipartBody4257102969271916080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146225504,"filename":"image_31102025_01_44_48_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/3/a498380b47e480e91864d9f081108151.jpg","text":"TemporaryFile(/tmp/multipartBody5235205182426182528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146225504,"filename":"image_31102025_01_44_51_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/3/ce9c2d625080a64f65bdb43ebe3bfc48.jpg","text":"TemporaryFile(/tmp/multipartBody6372629558437948603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146225504,"filename":"image_31102025_01_44_58_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391987628","file1":"1391987595","file0":"1391987561","file4":"1391987719","file5":"1391987758","file3":"1391987663"},"map_files_photo_id_array":[{"photo_id":"1391987758","filename":"file5"},{"photo_id":"1391987628","filename":"file2"},{"photo_id":"1391987719","filename":"file4"},{"photo_id":"1391987595","filename":"file1"},{"photo_id":"1391987561","filename":"file0"},{"photo_id":"1391987663","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391987561":["hashtag1","hashtag2"]},{"1391987758":["hashtag1","hashtag2"]},{"1391987719":["hashtag1","hashtag2"]},{"1391987595":["hashtag1","hashtag2"]},{"1391987628":["hashtag1","hashtag2"]},{"1391987663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391987561, 1391987758, 1391987719, 1391987595, 1391987628, 1391987663)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.37899041175842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:03:41.740362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_12_2786.jpg', '/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_15_3714.jpg', '/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_18_2840.jpg', '/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_24_3604.jpg', '/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_33_3687.jpg', '/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_39_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_12_2786.jpg
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_15_3714.jpg
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_18_2840.jpg
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_24_3604.jpg
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_33_3687.jpg
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_39_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391987813","1391987804","1391987815","1391987809","1391987814","1391987811"],"photo_ids_order":["1391987804","1391987809","1391987811","1391987813","1391987814","1391987815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c60ea1e8dc5a3b8d64f25ff2787bb3bc.jpg","text":"TemporaryFile(/tmp/multipartBody2398769027891294886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146282835,"filename":"image_31102025_01_45_24_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/3/39c2107b81e8072806ce9491d8f38c86.jpg","text":"TemporaryFile(/tmp/multipartBody2636774747919479491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146282835,"filename":"image_31102025_01_45_12_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/3/504a37e40eae4491975466e909cff3a8.jpg","text":"TemporaryFile(/tmp/multipartBody1330952419268900269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146282835,"filename":"image_31102025_01_45_39_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/3/a06e1e3c17f815a91fa2fb8b32ccffec.jpg","text":"TemporaryFile(/tmp/multipartBody5925219425283590346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146282835,"filename":"image_31102025_01_45_15_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/3/ea2ecd5241b8764ccba03c954ad92a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6675306174470419127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146282835,"filename":"image_31102025_01_45_33_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/3/eb6430409195c554aa78bd8932514d61.jpg","text":"TemporaryFile(/tmp/multipartBody6706898482783958504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146282835,"filename":"image_31102025_01_45_18_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391987811","file1":"1391987809","file0":"1391987804","file4":"1391987814","file5":"1391987815","file3":"1391987813"},"map_files_photo_id_array":[{"photo_id":"1391987815","filename":"file5"},{"photo_id":"1391987811","filename":"file2"},{"photo_id":"1391987814","filename":"file4"},{"photo_id":"1391987809","filename":"file1"},{"photo_id":"1391987804","filename":"file0"},{"photo_id":"1391987813","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391987813":["hashtag1","hashtag2"]},{"1391987804":["hashtag1","hashtag2"]},{"1391987815":["hashtag1","hashtag2"]},{"1391987809":["hashtag1","hashtag2"]},{"1391987814":["hashtag1","hashtag2"]},{"1391987811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391987813, 1391987804, 1391987815, 1391987809, 1391987814, 1391987811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47160029411316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:04:22.018816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_38_2696.jpg', '/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_41_2603.jpg', '/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_54_3691.jpg', '/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_56_2735.jpg', '/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_59_2646.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_08_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_38_2696.jpg
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_41_2603.jpg
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_54_3691.jpg
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_56_2735.jpg
/home/pi/Desktop/images/30102025/15/52/image_30102025_15_52_59_2646.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_08_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391987846","1391987828","1391987824","1391987832","1391987841","1391987849"],"photo_ids_order":["1391987824","1391987828","1391987832","1391987841","1391987846","1391987849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c46a012fa23e5da5333138068db959e7.jpg","text":"TemporaryFile(/tmp/multipartBody6335973605244961692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146324468,"filename":"image_30102025_15_52_59_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/3/d91428e9e56940520371f52ebb703567.jpg","text":"TemporaryFile(/tmp/multipartBody7362491129548068518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146324468,"filename":"image_30102025_15_52_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/3/f4f0815ab2562eec3e13dd8097c9ee6d.jpg","text":"TemporaryFile(/tmp/multipartBody4272647949715986918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146324468,"filename":"image_30102025_15_52_38_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/3/38be0068b1aadf149cabed01b64fd251.jpg","text":"TemporaryFile(/tmp/multipartBody1625218159642611169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146324468,"filename":"image_30102025_15_52_54_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/3/c6a4d604f3c2d937345e2313e18aaa66.jpg","text":"TemporaryFile(/tmp/multipartBody6250086047362939623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146324468,"filename":"image_30102025_15_52_56_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/3/fd860b0024a3496ac7f055316cc8e26d.jpg","text":"TemporaryFile(/tmp/multipartBody1587235856973817990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146324468,"filename":"image_30102025_15_53_08_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391987832","file1":"1391987828","file0":"1391987824","file4":"1391987846","file5":"1391987849","file3":"1391987841"},"map_files_photo_id_array":[{"photo_id":"1391987849","filename":"file5"},{"photo_id":"1391987832","filename":"file2"},{"photo_id":"1391987846","filename":"file4"},{"photo_id":"1391987828","filename":"file1"},{"photo_id":"1391987824","filename":"file0"},{"photo_id":"1391987841","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391987846":["hashtag1","hashtag2"]},{"1391987828":["hashtag1","hashtag2"]},{"1391987824":["hashtag1","hashtag2"]},{"1391987832":["hashtag1","hashtag2"]},{"1391987841":["hashtag1","hashtag2"]},{"1391987849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391987846, 1391987828, 1391987824, 1391987832, 1391987841, 1391987849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.745683431625366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:05:02.954605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_12_3701.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_14_2589.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_17_2781.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_21_3544.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_24_2785.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_33_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_12_3701.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_14_2589.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_17_2781.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_21_3544.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_24_2785.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_33_2825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391987986","1391988103","1391987944","1391988063","1391988027","1391987904"],"photo_ids_order":["1391987904","1391987944","1391987986","1391988027","1391988063","1391988103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/233d943f7e06f355cdd20cfb0f7e2420.jpg","text":"TemporaryFile(/tmp/multipartBody904209168755989850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146364848,"filename":"image_30102025_15_53_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/3/e6aa4a2a284e3f3ed5402d1fcd461fca.jpg","text":"TemporaryFile(/tmp/multipartBody8475050067205043541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146364848,"filename":"image_30102025_15_53_33_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71eba3c118d9ac539120062f79168d02.jpg","text":"TemporaryFile(/tmp/multipartBody7767898676633053444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146364848,"filename":"image_30102025_15_53_14_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/3/7e3ce3ad8be0b089402db29e611ad37a.jpg","text":"TemporaryFile(/tmp/multipartBody3757227387005929813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146364848,"filename":"image_30102025_15_53_24_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e4d9f9b34264a1024c98fd583e4ab2a1.jpg","text":"TemporaryFile(/tmp/multipartBody3070257043327042999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146364848,"filename":"image_30102025_15_53_21_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa4a3d9e8a662cad917ae576557634e9.jpg","text":"TemporaryFile(/tmp/multipartBody7448458860410174856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146364848,"filename":"image_30102025_15_53_12_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391987986","file1":"1391987944","file0":"1391987904","file4":"1391988063","file5":"1391988103","file3":"1391988027"},"map_files_photo_id_array":[{"photo_id":"1391988103","filename":"file5"},{"photo_id":"1391987986","filename":"file2"},{"photo_id":"1391988063","filename":"file4"},{"photo_id":"1391987944","filename":"file1"},{"photo_id":"1391987904","filename":"file0"},{"photo_id":"1391988027","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391987986":["hashtag1","hashtag2"]},{"1391988103":["hashtag1","hashtag2"]},{"1391987944":["hashtag1","hashtag2"]},{"1391988063":["hashtag1","hashtag2"]},{"1391988027":["hashtag1","hashtag2"]},{"1391987904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391987986, 1391988103, 1391987944, 1391988063, 1391988027, 1391987904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.308502435684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:05:42.336621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_51_2895.jpg', '/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_54_3802.jpg', '/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_57_2686.jpg', '/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_09_2691.jpg', '/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_12_2835.jpg', '/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_15_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_51_2895.jpg
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_54_3802.jpg
/home/pi/Desktop/images/31102025/01/45/image_31102025_01_45_57_2686.jpg
/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_09_2691.jpg
/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_12_2835.jpg
/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_15_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988292","1391988394","1391988331","1391988396","1391988255","1391988371"],"photo_ids_order":["1391988255","1391988292","1391988331","1391988371","1391988394","1391988396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/98a4b61bc1a4f5bc35295bbb9ada089d.jpg","text":"TemporaryFile(/tmp/multipartBody155578921453902392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146403464,"filename":"image_31102025_01_45_54_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/3/6093dd58d6d33c615be79df5db048603.jpg","text":"TemporaryFile(/tmp/multipartBody8064878492995415288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146403464,"filename":"image_31102025_01_46_12_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/3/22ef8a438a2fa1d43d1a7f0592b74d4d.jpg","text":"TemporaryFile(/tmp/multipartBody8134796881137891622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146403464,"filename":"image_31102025_01_45_57_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aa81617f5c584ef89f98d196fcd4c4fa.jpg","text":"TemporaryFile(/tmp/multipartBody604041614556985835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146403464,"filename":"image_31102025_01_46_15_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/3/5a288b5bfbabd21d482be756bc219688.jpg","text":"TemporaryFile(/tmp/multipartBody2423509914009299502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146403464,"filename":"image_31102025_01_45_51_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/3/e8138dd6ac79a529f34a91887bcba898.jpg","text":"TemporaryFile(/tmp/multipartBody2216167921634639303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146403464,"filename":"image_31102025_01_46_09_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988331","file1":"1391988292","file0":"1391988255","file4":"1391988394","file5":"1391988396","file3":"1391988371"},"map_files_photo_id_array":[{"photo_id":"1391988396","filename":"file5"},{"photo_id":"1391988331","filename":"file2"},{"photo_id":"1391988394","filename":"file4"},{"photo_id":"1391988292","filename":"file1"},{"photo_id":"1391988255","filename":"file0"},{"photo_id":"1391988371","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391988292":["hashtag1","hashtag2"]},{"1391988394":["hashtag1","hashtag2"]},{"1391988331":["hashtag1","hashtag2"]},{"1391988396":["hashtag1","hashtag2"]},{"1391988255":["hashtag1","hashtag2"]},{"1391988371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391988292, 1391988394, 1391988331, 1391988396, 1391988255, 1391988371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66647219657898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:06:22.554306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_35_2574.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_41_2656.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_44_2576.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_57_3717.jpg', '/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_59_2664.jpg', '/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_02_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/15/53/image_30102025_15_53_35_2574.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_41_2656.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_44_2576.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_57_3717.jpg
/home/pi/Desktop/images/30102025/15/53/image_30102025_15_53_59_2664.jpg
/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_02_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988535","1391988529","1391988552","1391988537","1391988557","1391988533"],"photo_ids_order":["1391988529","1391988533","1391988535","1391988537","1391988552","1391988557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/51feaf3bff9ec77aa52bd1a6791f4d2b.jpg","text":"TemporaryFile(/tmp/multipartBody8232564061857262850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146463285,"filename":"image_30102025_15_53_44_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/3/a3d2870d881df6ce698ba6df95ef9e91.jpg","text":"TemporaryFile(/tmp/multipartBody4203763192607063693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146463285,"filename":"image_30102025_15_53_35_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/3/ef51eea5486116a9d158a0211ef21691.jpg","text":"TemporaryFile(/tmp/multipartBody4744618996098428092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146463285,"filename":"image_30102025_15_53_59_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/3/afe691a647e06ae2bcfc8c550b383f5b.jpg","text":"TemporaryFile(/tmp/multipartBody9076137837079112987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146463285,"filename":"image_30102025_15_53_57_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/3/1334c8c26e29fe9795efbc12a15b07c7.jpg","text":"TemporaryFile(/tmp/multipartBody798439751512335405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146463285,"filename":"image_30102025_15_54_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/3/b1ba0090978f616b1bbfa08fe6d34d55.jpg","text":"TemporaryFile(/tmp/multipartBody2654868175280416640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146463285,"filename":"image_30102025_15_53_41_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988535","file1":"1391988533","file0":"1391988529","file4":"1391988552","file5":"1391988557","file3":"1391988537"},"map_files_photo_id_array":[{"photo_id":"1391988557","filename":"file5"},{"photo_id":"1391988535","filename":"file2"},{"photo_id":"1391988552","filename":"file4"},{"photo_id":"1391988533","filename":"file1"},{"photo_id":"1391988529","filename":"file0"},{"photo_id":"1391988537","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391988535":["hashtag1","hashtag2"]},{"1391988529":["hashtag1","hashtag2"]},{"1391988552":["hashtag1","hashtag2"]},{"1391988537":["hashtag1","hashtag2"]},{"1391988557":["hashtag1","hashtag2"]},{"1391988533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391988535, 1391988529, 1391988552, 1391988537, 1391988557, 1391988533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.682685136795044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:07:22.570922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_06_3659.jpg', '/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_15_2909.jpg', '/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_24_3619.jpg', '/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_26_2676.jpg', '/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_29_2639.jpg', '/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_33_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/15/54/image_30102025_15_54_06_3659.jpg
/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_15_2909.jpg
/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_24_3619.jpg
/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_26_2676.jpg
/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_29_2639.jpg
/home/pi/Desktop/images/30102025/15/54/image_30102025_15_54_33_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988571","1391988565","1391988574","1391988568","1391988577","1391988581"],"photo_ids_order":["1391988565","1391988568","1391988571","1391988574","1391988577","1391988581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/51d1539e61beda9c9326138f5580fe80.jpg","text":"TemporaryFile(/tmp/multipartBody2287471187307220521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146504978,"filename":"image_30102025_15_54_24_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/3/348b30693fe5eb137d57893b4ba9c48d.jpg","text":"TemporaryFile(/tmp/multipartBody2430691719080194334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146504978,"filename":"image_30102025_15_54_06_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/3/30f3488364803609c4f501f438d3430d.jpg","text":"TemporaryFile(/tmp/multipartBody3147843751067497149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146504978,"filename":"image_30102025_15_54_26_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/3/b096ec35efe9d8a65599f64c15865b95.jpg","text":"TemporaryFile(/tmp/multipartBody7320315761120391715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146504978,"filename":"image_30102025_15_54_15_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/3/dfffa77f13fb6e1d0b7f0749b725047f.jpg","text":"TemporaryFile(/tmp/multipartBody3329934754461045260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146504978,"filename":"image_30102025_15_54_29_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/3/3d9a04acad8e0725471a9bd3bc0bac86.jpg","text":"TemporaryFile(/tmp/multipartBody2259738262197964773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146504978,"filename":"image_30102025_15_54_33_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988571","file1":"1391988568","file0":"1391988565","file4":"1391988577","file5":"1391988581","file3":"1391988574"},"map_files_photo_id_array":[{"photo_id":"1391988581","filename":"file5"},{"photo_id":"1391988571","filename":"file2"},{"photo_id":"1391988577","filename":"file4"},{"photo_id":"1391988568","filename":"file1"},{"photo_id":"1391988565","filename":"file0"},{"photo_id":"1391988574","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391988571":["hashtag1","hashtag2"]},{"1391988565":["hashtag1","hashtag2"]},{"1391988574":["hashtag1","hashtag2"]},{"1391988568":["hashtag1","hashtag2"]},{"1391988577":["hashtag1","hashtag2"]},{"1391988581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391988571, 1391988565, 1391988574, 1391988568, 1391988577, 1391988581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00813126564026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:08:03.086542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 06:08:22.686302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 06:08:42.658076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_57_2925.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_03_2841.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_12_2694.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_14_2546.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_27_3253.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_32_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_57_2925.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_03_2841.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_12_2694.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_14_2546.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_27_3253.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_32_2579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.572526216506958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:09:02.755114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 06:09:23.077226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_05_2684.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_08_2653.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_14_2704.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_17_2868.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_23_3595.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_30_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_05_2684.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_08_2653.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_14_2704.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_17_2868.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_23_3595.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_30_3684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988661","1391988658","1391988651","1391988645","1391988654","1391988648"],"photo_ids_order":["1391988645","1391988648","1391988651","1391988654","1391988658","1391988661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/58ec6a67f33eef92b19d5a1b111af92c.jpg","text":"TemporaryFile(/tmp/multipartBody8967238339060356787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146625647,"filename":"image_30102025_15_56_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/3/ba9560beb5efad3f2dec849d1ad360d4.jpg","text":"TemporaryFile(/tmp/multipartBody8747362155602637498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146625647,"filename":"image_30102025_15_56_23_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/3/0a10c3acf4d5272dacbb074f42716995.jpg","text":"TemporaryFile(/tmp/multipartBody956009155166161393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146625647,"filename":"image_30102025_15_56_14_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/3/f879aef5888102ba4b301557ac32cc1b.jpg","text":"TemporaryFile(/tmp/multipartBody3498220899587537129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146625647,"filename":"image_30102025_15_56_05_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/3/4eb1a2df9bae8e1088f6edead41adbf5.jpg","text":"TemporaryFile(/tmp/multipartBody7359315456685020102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146625647,"filename":"image_30102025_15_56_17_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/3/1ad3c04e59f4b915742d1b71436dc96d.jpg","text":"TemporaryFile(/tmp/multipartBody3745052591614563981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146625647,"filename":"image_30102025_15_56_08_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988651","file1":"1391988648","file0":"1391988645","file4":"1391988658","file5":"1391988661","file3":"1391988654"},"map_files_photo_id_array":[{"photo_id":"1391988661","filename":"file5"},{"photo_id":"1391988651","filename":"file2"},{"photo_id":"1391988658","filename":"file4"},{"photo_id":"1391988648","filename":"file1"},{"photo_id":"1391988645","filename":"file0"},{"photo_id":"1391988654","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391988661":["hashtag1","hashtag2"]},{"1391988658":["hashtag1","hashtag2"]},{"1391988651":["hashtag1","hashtag2"]},{"1391988645":["hashtag1","hashtag2"]},{"1391988654":["hashtag1","hashtag2"]},{"1391988648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391988661, 1391988658, 1391988651, 1391988645, 1391988654, 1391988648)","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.85007905960083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:10:45.156496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_57_2925.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_03_2841.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_12_2694.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_14_2546.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_27_3253.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_32_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/46/image_31102025_01_46_57_2925.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_03_2841.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_12_2694.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_14_2546.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_27_3253.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_32_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988694","1391988700","1391988693","1391988690","1391988692","1391988695"],"photo_ids_order":["1391988690","1391988692","1391988693","1391988694","1391988695","1391988700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73499d11b209b970a697d669bced0a07.jpg","text":"TemporaryFile(/tmp/multipartBody7827711285751450574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146706082,"filename":"image_31102025_01_47_14_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9af4025534158388ed8f19a4ffe913aa.jpg","text":"TemporaryFile(/tmp/multipartBody9097299489780917195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146706082,"filename":"image_31102025_01_47_32_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/3/ebe61d7d6ca6bc29b2b5207cb423b9bf.jpg","text":"TemporaryFile(/tmp/multipartBody1041049866123582383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146706082,"filename":"image_31102025_01_47_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/3/de26ec14407d060cef0c0171a6f7db25.jpg","text":"TemporaryFile(/tmp/multipartBody4537920319903618344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146706082,"filename":"image_31102025_01_46_57_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5dfbd53c0fddf68e326d22a796166848.jpg","text":"TemporaryFile(/tmp/multipartBody4260454703972390767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146706082,"filename":"image_31102025_01_47_03_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/3/3a4aeb8caa3f7ebdee33276b8d2758b8.jpg","text":"TemporaryFile(/tmp/multipartBody4924517051422476363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146706082,"filename":"image_31102025_01_47_27_3253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988693","file1":"1391988692","file0":"1391988690","file4":"1391988695","file5":"1391988700","file3":"1391988694"},"map_files_photo_id_array":[{"photo_id":"1391988700","filename":"file5"},{"photo_id":"1391988693","filename":"file2"},{"photo_id":"1391988695","filename":"file4"},{"photo_id":"1391988692","filename":"file1"},{"photo_id":"1391988690","filename":"file0"},{"photo_id":"1391988694","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391988694":["hashtag1","hashtag2"]},{"1391988700":["hashtag1","hashtag2"]},{"1391988693":["hashtag1","hashtag2"]},{"1391988690":["hashtag1","hashtag2"]},{"1391988692":["hashtag1","hashtag2"]},{"1391988695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391988694, 1391988700, 1391988693, 1391988690, 1391988692, 1391988695)","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: 103.0561408996582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:12:31.804037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_32_2693.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_35_2747.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_38_2614.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_41_3669.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_44_2698.jpg', '/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_50_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_32_2693.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_35_2747.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_38_2614.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_41_3669.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_44_2698.jpg
/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_50_2815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988760","1391988768","1391988765","1391988773","1391988776","1391988758"],"photo_ids_order":["1391988758","1391988760","1391988765","1391988768","1391988773","1391988776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b9e409e5995cee59e9d51e94fe5253d.jpg","text":"TemporaryFile(/tmp/multipartBody2052765121978330550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146816060,"filename":"image_30102025_15_56_35_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6efcf0d92f92ab899ea8f0fb2a4afded.jpg","text":"TemporaryFile(/tmp/multipartBody2983254115574152572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146816060,"filename":"image_30102025_15_56_41_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/3/c3bd862cb65ae2cea8e39f48f07d35f5.jpg","text":"TemporaryFile(/tmp/multipartBody4606303772765584997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146816060,"filename":"image_30102025_15_56_38_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9e0087df5f90e07ed364546c1945c0b1.jpg","text":"TemporaryFile(/tmp/multipartBody5030688992603437528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146816060,"filename":"image_30102025_15_56_44_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/3/a3697a9e628e5d3262c7a1ee4e24f83c.jpg","text":"TemporaryFile(/tmp/multipartBody7931883095364443863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146816060,"filename":"image_30102025_15_56_50_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/3/d7e58165560485dab5b29c376092226e.jpg","text":"TemporaryFile(/tmp/multipartBody6874110872194257493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146816060,"filename":"image_30102025_15_56_32_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988765","file1":"1391988760","file0":"1391988758","file4":"1391988773","file5":"1391988776","file3":"1391988768"},"map_files_photo_id_array":[{"photo_id":"1391988776","filename":"file5"},{"photo_id":"1391988765","filename":"file2"},{"photo_id":"1391988773","filename":"file4"},{"photo_id":"1391988760","filename":"file1"},{"photo_id":"1391988758","filename":"file0"},{"photo_id":"1391988768","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391988760":["hashtag1","hashtag2"]},{"1391988768":["hashtag1","hashtag2"]},{"1391988765":["hashtag1","hashtag2"]},{"1391988773":["hashtag1","hashtag2"]},{"1391988776":["hashtag1","hashtag2"]},{"1391988758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391988760, 1391988768, 1391988765, 1391988773, 1391988776, 1391988758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71127009391785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:13:26.526403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/56/image_30102025_15_56_53_2790.jpg', '/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_02_3735.jpg', '/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_11_2804.jpg', '/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_14_2664.jpg', '/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_17_2696.jpg', '/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_20_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/15/56/image_30102025_15_56_53_2790.jpg
/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_02_3735.jpg
/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_11_2804.jpg
/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_14_2664.jpg
/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_17_2696.jpg
/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_20_3579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988835","1391988829","1391988838","1391988840","1391988825","1391988819"],"photo_ids_order":["1391988819","1391988825","1391988829","1391988835","1391988838","1391988840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ed2f4acaf01b2e7f054810c2d70301f0.jpg","text":"TemporaryFile(/tmp/multipartBody3024674077075383684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146869071,"filename":"image_30102025_15_57_14_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/91285a4ea3fd146ab60e0caa97d5224d.jpg","text":"TemporaryFile(/tmp/multipartBody2346681822962486490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146869071,"filename":"image_30102025_15_57_11_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/3/6165bce1769709294fa71d2a435cd635.jpg","text":"TemporaryFile(/tmp/multipartBody6006577097643046536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146869071,"filename":"image_30102025_15_57_17_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/3/95aa64e3e59e217ccb92d6629f9c9f97.jpg","text":"TemporaryFile(/tmp/multipartBody2652115206264196722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146869071,"filename":"image_30102025_15_57_20_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/3/548b88b1fe12f73509722e75de9c75a6.jpg","text":"TemporaryFile(/tmp/multipartBody334462323330766070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146869071,"filename":"image_30102025_15_57_02_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/3/57ba08db16450c057a29c76600fc89e2.jpg","text":"TemporaryFile(/tmp/multipartBody6309147391274039135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146869071,"filename":"image_30102025_15_56_53_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988829","file1":"1391988825","file0":"1391988819","file4":"1391988838","file5":"1391988840","file3":"1391988835"},"map_files_photo_id_array":[{"photo_id":"1391988840","filename":"file5"},{"photo_id":"1391988829","filename":"file2"},{"photo_id":"1391988838","filename":"file4"},{"photo_id":"1391988825","filename":"file1"},{"photo_id":"1391988819","filename":"file0"},{"photo_id":"1391988835","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391988835":["hashtag1","hashtag2"]},{"1391988829":["hashtag1","hashtag2"]},{"1391988838":["hashtag1","hashtag2"]},{"1391988840":["hashtag1","hashtag2"]},{"1391988825":["hashtag1","hashtag2"]},{"1391988819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391988835, 1391988829, 1391988838, 1391988840, 1391988825, 1391988819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72294783592224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:14:22.641885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_23_2659.jpg', '/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_26_3665.jpg', '/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_29_2702.jpg', '/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_32_2693.jpg', '/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_11_2647.jpg', '/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_14_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/15/57/image_30102025_15_57_23_2659.jpg
/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_26_3665.jpg
/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_29_2702.jpg
/home/pi/Desktop/images/30102025/15/57/image_30102025_15_57_32_2693.jpg
/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_11_2647.jpg
/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_14_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988868","1391988853","1391988876","1391988879","1391988860","1391988857"],"photo_ids_order":["1391988853","1391988857","1391988860","1391988868","1391988876","1391988879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ee5fad447aa024c83a65a0e7ec5e92a.jpg","text":"TemporaryFile(/tmp/multipartBody5529620676258053918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146924848,"filename":"image_30102025_15_57_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/3/b2c18bdfbb1fd9cb7541e8ea822e8771.jpg","text":"TemporaryFile(/tmp/multipartBody6549004471015962731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146924848,"filename":"image_30102025_15_57_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/3/cdea24d5c8d5a9d6afef6d1c39fc2e93.jpg","text":"TemporaryFile(/tmp/multipartBody3082563456538128603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146924848,"filename":"image_30102025_15_58_11_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/3/ba6137c3567d78a56e79366b56d4f24c.jpg","text":"TemporaryFile(/tmp/multipartBody5203284012814761992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146924848,"filename":"image_30102025_15_58_14_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/3/f50354efac67b86f2539e9f1824d1555.jpg","text":"TemporaryFile(/tmp/multipartBody7272422522521432752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146924848,"filename":"image_30102025_15_57_29_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c98561d4fa28185942d105844bf00c04.jpg","text":"TemporaryFile(/tmp/multipartBody7405900790586692774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146924848,"filename":"image_30102025_15_57_26_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988860","file1":"1391988857","file0":"1391988853","file4":"1391988876","file5":"1391988879","file3":"1391988868"},"map_files_photo_id_array":[{"photo_id":"1391988879","filename":"file5"},{"photo_id":"1391988860","filename":"file2"},{"photo_id":"1391988876","filename":"file4"},{"photo_id":"1391988857","filename":"file1"},{"photo_id":"1391988853","filename":"file0"},{"photo_id":"1391988868","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391988868":["hashtag1","hashtag2"]},{"1391988853":["hashtag1","hashtag2"]},{"1391988876":["hashtag1","hashtag2"]},{"1391988879":["hashtag1","hashtag2"]},{"1391988860":["hashtag1","hashtag2"]},{"1391988857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391988868, 1391988853, 1391988876, 1391988879, 1391988860, 1391988857)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.18153381347656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:15:22.820334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_25_2766.jpg', '/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_38_3611.jpg', '/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_53_3568.jpg', '/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_56_2669.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_02_3591.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_10_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/15/58/image_30102025_15_58_25_2766.jpg
/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_38_3611.jpg
/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_53_3568.jpg
/home/pi/Desktop/images/30102025/15/58/image_30102025_15_58_56_2669.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_02_3591.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_10_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":["1391988925","1391988919","1391988913","1391988907","1391988922","1391988901"],"photo_ids_order":["1391988901","1391988907","1391988913","1391988919","1391988922","1391988925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/16339f53d9955c199e528d3a88d7bc62.jpg","text":"TemporaryFile(/tmp/multipartBody7428948574028062235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146993166,"filename":"image_30102025_15_59_10_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/3/836acfb16771063a37383a0edad1a697.jpg","text":"TemporaryFile(/tmp/multipartBody7942780923059831683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146993166,"filename":"image_30102025_15_58_56_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8ee9f65fe57fd6a3beafddd25f567268.jpg","text":"TemporaryFile(/tmp/multipartBody5358270921416893944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146993166,"filename":"image_30102025_15_58_53_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/3/6bb6313cdf67f9c96b39737795fc5618.jpg","text":"TemporaryFile(/tmp/multipartBody1813323570983039811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146993166,"filename":"image_30102025_15_58_38_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/3/3f6fe57e08f2ca09de7a6863cfb12e6a.jpg","text":"TemporaryFile(/tmp/multipartBody8952084277168549192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146993166,"filename":"image_30102025_15_59_02_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/3/294e6f53e8546a728e064601a3b8c95e.jpg","text":"TemporaryFile(/tmp/multipartBody2240003296956304028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762146993166,"filename":"image_30102025_15_58_25_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988913","file1":"1391988907","file0":"1391988901","file4":"1391988922","file5":"1391988925","file3":"1391988919"},"map_files_photo_id_array":[{"photo_id":"1391988925","filename":"file5"},{"photo_id":"1391988913","filename":"file2"},{"photo_id":"1391988922","filename":"file4"},{"photo_id":"1391988907","filename":"file1"},{"photo_id":"1391988901","filename":"file0"},{"photo_id":"1391988919","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391988925":["hashtag1","hashtag2"]},{"1391988919":["hashtag1","hashtag2"]},{"1391988913":["hashtag1","hashtag2"]},{"1391988907":["hashtag1","hashtag2"]},{"1391988922":["hashtag1","hashtag2"]},{"1391988901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391988925, 1391988919, 1391988913, 1391988907, 1391988922, 1391988901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.86397361755371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:16:21.921796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_17_2680.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_23_3624.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_26_2558.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_28_2653.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_32_3680.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_35_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_17_2680.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_23_3624.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_26_2558.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_28_2653.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_32_3680.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_35_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988958","1391988943","1391988946","1391988940","1391988957","1391988951"],"photo_ids_order":["1391988940","1391988943","1391988946","1391988951","1391988957","1391988958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b6fe4c35a26e19fe953da1d28ede8fb.jpg","text":"TemporaryFile(/tmp/multipartBody1669516697581113866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147044342,"filename":"image_30102025_15_59_35_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/3/01a87a031cad4c6ce5176abee9bb4672.jpg","text":"TemporaryFile(/tmp/multipartBody8005638585470510959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147044342,"filename":"image_30102025_15_59_23_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26ceaad7539c6dd528bcdb9c0c3fca14.jpg","text":"TemporaryFile(/tmp/multipartBody141762187774870163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147044342,"filename":"image_30102025_15_59_26_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/3/64a0dae1432e17b32b174fbf9f763ada.jpg","text":"TemporaryFile(/tmp/multipartBody5663471145374900731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147044342,"filename":"image_30102025_15_59_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/3/3740b50299b8700f1d32936369ffdca3.jpg","text":"TemporaryFile(/tmp/multipartBody3007897946719667453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147044342,"filename":"image_30102025_15_59_32_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1943f35dcff874aba937c6cc6560b89d.jpg","text":"TemporaryFile(/tmp/multipartBody2791807518893568959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147044342,"filename":"image_30102025_15_59_28_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988946","file1":"1391988943","file0":"1391988940","file4":"1391988957","file5":"1391988958","file3":"1391988951"},"map_files_photo_id_array":[{"photo_id":"1391988958","filename":"file5"},{"photo_id":"1391988946","filename":"file2"},{"photo_id":"1391988957","filename":"file4"},{"photo_id":"1391988943","filename":"file1"},{"photo_id":"1391988940","filename":"file0"},{"photo_id":"1391988951","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391988958":["hashtag1","hashtag2"]},{"1391988943":["hashtag1","hashtag2"]},{"1391988946":["hashtag1","hashtag2"]},{"1391988940":["hashtag1","hashtag2"]},{"1391988957":["hashtag1","hashtag2"]},{"1391988951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391988958, 1391988943, 1391988946, 1391988940, 1391988957, 1391988951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02816605567932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:17:02.906147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_38_2745.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_41_2865.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_56_2644.jpg', '/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_59_2814.jpg', '/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_12_2715.jpg', '/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_21_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/15/59/image_30102025_15_59_38_2745.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_41_2865.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_56_2644.jpg
/home/pi/Desktop/images/30102025/15/59/image_30102025_15_59_59_2814.jpg
/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_12_2715.jpg
/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_21_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391988994","1391988964","1391988998","1391988983","1391988968","1391988991"],"photo_ids_order":["1391988964","1391988968","1391988983","1391988991","1391988994","1391988998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d0a033f22ded20fb8b9356148927dd3d.jpg","text":"TemporaryFile(/tmp/multipartBody1736904333697018603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147084811,"filename":"image_30102025_16_00_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/3/c996ca7173153e0a590c5a8b106c4bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8527698650514490637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147084811,"filename":"image_30102025_15_59_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/3/3985959276567178d6def24fdd45cb4f.jpg","text":"TemporaryFile(/tmp/multipartBody1904686952850906377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147084811,"filename":"image_30102025_16_00_21_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/3/11c3a06716cbedca6a9e4e798a896c3d.jpg","text":"TemporaryFile(/tmp/multipartBody154533074029073630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147084811,"filename":"image_30102025_15_59_56_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f20e0306845021e0d42f330ad7449da.jpg","text":"TemporaryFile(/tmp/multipartBody1979953553253542642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147084811,"filename":"image_30102025_15_59_41_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/3/dbb40575fec4e3527ada89a440fec01c.jpg","text":"TemporaryFile(/tmp/multipartBody2538020217296674380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147084811,"filename":"image_30102025_15_59_59_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391988983","file1":"1391988968","file0":"1391988964","file4":"1391988994","file5":"1391988998","file3":"1391988991"},"map_files_photo_id_array":[{"photo_id":"1391988998","filename":"file5"},{"photo_id":"1391988983","filename":"file2"},{"photo_id":"1391988994","filename":"file4"},{"photo_id":"1391988968","filename":"file1"},{"photo_id":"1391988964","filename":"file0"},{"photo_id":"1391988991","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391988994":["hashtag1","hashtag2"]},{"1391988964":["hashtag1","hashtag2"]},{"1391988998":["hashtag1","hashtag2"]},{"1391988983":["hashtag1","hashtag2"]},{"1391988968":["hashtag1","hashtag2"]},{"1391988991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391988994, 1391988964, 1391988998, 1391988983, 1391988968, 1391988991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.367920875549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:17:42.205315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_39_2845.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_44_2658.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_48_3607.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_54_3561.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_57_2842.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_48_00_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_39_2845.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_44_2658.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_48_3607.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_54_3561.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_57_2842.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_48_00_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: 1.0422382354736328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:18:02.900712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_29_2678.jpg', '/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_32_3600.jpg', '/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_42_3756.jpg', '/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_44_2617.jpg', '/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_47_2770.jpg', '/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_51_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_29_2678.jpg
/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_32_3600.jpg
/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_42_3756.jpg
/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_44_2617.jpg
/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_47_2770.jpg
/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_51_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989030","1391989024","1391989033","1391989026","1391989028","1391989022"],"photo_ids_order":["1391989022","1391989024","1391989026","1391989028","1391989030","1391989033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2ed780cd7ea1b84f90fc5b18ee6dd72c.jpg","text":"TemporaryFile(/tmp/multipartBody1973191584652571569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147144706,"filename":"image_30102025_16_00_47_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/3/3c9b563b2c2f37f586d8f0809e5a8d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4560727079065430219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147144706,"filename":"image_30102025_16_00_32_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/3/0a14db7fa834ef17775a25005489dd77.jpg","text":"TemporaryFile(/tmp/multipartBody5609363018543935689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147144706,"filename":"image_30102025_16_00_51_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/3/f2d177b87dcd91474c0cbffda62e8b0b.jpg","text":"TemporaryFile(/tmp/multipartBody2190455325015475277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147144706,"filename":"image_30102025_16_00_42_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/3/8b6706712bf1ea6085066faf434850c8.jpg","text":"TemporaryFile(/tmp/multipartBody5309473165090041643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147144706,"filename":"image_30102025_16_00_44_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0ca9744ceacce0afdef4596c61f41f8e.jpg","text":"TemporaryFile(/tmp/multipartBody4564133972065394606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147144706,"filename":"image_30102025_16_00_29_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989026","file1":"1391989024","file0":"1391989022","file4":"1391989030","file5":"1391989033","file3":"1391989028"},"map_files_photo_id_array":[{"photo_id":"1391989033","filename":"file5"},{"photo_id":"1391989026","filename":"file2"},{"photo_id":"1391989030","filename":"file4"},{"photo_id":"1391989024","filename":"file1"},{"photo_id":"1391989022","filename":"file0"},{"photo_id":"1391989028","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989030":["hashtag1","hashtag2"]},{"1391989024":["hashtag1","hashtag2"]},{"1391989033":["hashtag1","hashtag2"]},{"1391989026":["hashtag1","hashtag2"]},{"1391989028":["hashtag1","hashtag2"]},{"1391989022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989030, 1391989024, 1391989033, 1391989026, 1391989028, 1391989022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.568798780441284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:18:42.451825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_39_2845.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_44_2658.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_48_3607.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_54_3561.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_57_2842.jpg', '/home/pi/Desktop/images/31102025/01/47/image_31102025_01_48_00_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_39_2845.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_44_2658.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_48_3607.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_54_3561.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_47_57_2842.jpg
/home/pi/Desktop/images/31102025/01/47/image_31102025_01_48_00_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989051","1391989048","1391989065","1391989062","1391989059","1391989054"],"photo_ids_order":["1391989048","1391989051","1391989054","1391989059","1391989062","1391989065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da35def4c0c61399f207939450a641b8.jpg","text":"TemporaryFile(/tmp/multipartBody8234513966895659397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147183427,"filename":"image_31102025_01_47_44_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/3/532a3905e093a2ef59b2af08bd84066b.jpg","text":"TemporaryFile(/tmp/multipartBody3622499378331083522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147183427,"filename":"image_31102025_01_47_39_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7ca218d654d7738ce798b739721da026.jpg","text":"TemporaryFile(/tmp/multipartBody2197220928665274404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147183427,"filename":"image_31102025_01_48_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/3/6527b83b82bd6d59c57a8738ad2aa7d5.jpg","text":"TemporaryFile(/tmp/multipartBody6292076896961760330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147183427,"filename":"image_31102025_01_47_57_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/3/b947e4cb3454438be94fbac75bb4aebd.jpg","text":"TemporaryFile(/tmp/multipartBody5073835489412219464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147183427,"filename":"image_31102025_01_47_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/3/e1d92d4d23a56b49678f76bbc7e5ddec.jpg","text":"TemporaryFile(/tmp/multipartBody5284976235289039191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147183427,"filename":"image_31102025_01_47_48_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989054","file1":"1391989051","file0":"1391989048","file4":"1391989062","file5":"1391989065","file3":"1391989059"},"map_files_photo_id_array":[{"photo_id":"1391989065","filename":"file5"},{"photo_id":"1391989054","filename":"file2"},{"photo_id":"1391989062","filename":"file4"},{"photo_id":"1391989051","filename":"file1"},{"photo_id":"1391989048","filename":"file0"},{"photo_id":"1391989059","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391989051":["hashtag1","hashtag2"]},{"1391989048":["hashtag1","hashtag2"]},{"1391989065":["hashtag1","hashtag2"]},{"1391989062":["hashtag1","hashtag2"]},{"1391989059":["hashtag1","hashtag2"]},{"1391989054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391989051, 1391989048, 1391989065, 1391989062, 1391989059, 1391989054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76699733734131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:19:22.575775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/00/image_30102025_16_00_59_6004.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_01_1584.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_03_1788.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_08_2690.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_17_2644.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_23_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/16/00/image_30102025_16_00_59_6004.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_01_1584.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_03_1788.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_08_2690.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_17_2644.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_23_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989078","1391989086","1391989095","1391989097","1391989073","1391989090"],"photo_ids_order":["1391989073","1391989078","1391989086","1391989090","1391989095","1391989097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6e9ad53cc43f6b4a2382def4b1ee9456.jpg","text":"TemporaryFile(/tmp/multipartBody3205373664039569673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147225004,"filename":"image_30102025_16_01_01_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/3/dc55469c779ad990e943363cc0c751dd.jpg","text":"TemporaryFile(/tmp/multipartBody8935479700996758850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147225004,"filename":"image_30102025_16_01_03_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/3/067590a1d94a6c32af12e31d3b11c7a2.jpg","text":"TemporaryFile(/tmp/multipartBody127472603160178483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147225004,"filename":"image_30102025_16_01_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/3/0eedd52bf293df4f681abc40b72ba651.jpg","text":"TemporaryFile(/tmp/multipartBody1466160588541243540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147225004,"filename":"image_30102025_16_01_23_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/3/1558130a5be9dfe56a38199838c30b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6646679292325221757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147225004,"filename":"image_30102025_16_00_59_6004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b65d41288327bf6a953f7bb1b0297aca.jpg","text":"TemporaryFile(/tmp/multipartBody6658122657220472078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147225004,"filename":"image_30102025_16_01_08_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989086","file1":"1391989078","file0":"1391989073","file4":"1391989095","file5":"1391989097","file3":"1391989090"},"map_files_photo_id_array":[{"photo_id":"1391989097","filename":"file5"},{"photo_id":"1391989086","filename":"file2"},{"photo_id":"1391989095","filename":"file4"},{"photo_id":"1391989078","filename":"file1"},{"photo_id":"1391989073","filename":"file0"},{"photo_id":"1391989090","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989078":["hashtag1","hashtag2"]},{"1391989086":["hashtag1","hashtag2"]},{"1391989095":["hashtag1","hashtag2"]},{"1391989097":["hashtag1","hashtag2"]},{"1391989073":["hashtag1","hashtag2"]},{"1391989090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989078, 1391989086, 1391989095, 1391989097, 1391989073, 1391989090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39873695373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:20:22.815613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_26_3631.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_35_2663.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_38_2713.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_47_2620.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_51_3707.jpg', '/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_59_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_26_3631.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_35_2663.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_38_2713.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_47_2620.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_51_3707.jpg
/home/pi/Desktop/images/30102025/16/01/image_30102025_16_01_59_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989126","1391989116","1391989119","1391989113","1391989121","1391989124"],"photo_ids_order":["1391989113","1391989116","1391989119","1391989121","1391989124","1391989126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/634a630097c983a2567903b1d5e3d86e.jpg","text":"TemporaryFile(/tmp/multipartBody998433437206337215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147288705,"filename":"image_30102025_16_01_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/3/00712fff85e31deb6cdf9d6b400853ea.jpg","text":"TemporaryFile(/tmp/multipartBody4635226987077363343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147288705,"filename":"image_30102025_16_01_35_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/30740dff026f1d199c985dfb32c0a9b5.jpg","text":"TemporaryFile(/tmp/multipartBody1580798751293430684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147288705,"filename":"image_30102025_16_01_38_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/3/0c88cfdb5509038d259feb12ce07075a.jpg","text":"TemporaryFile(/tmp/multipartBody2467110063605221355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147288705,"filename":"image_30102025_16_01_26_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/3/39ce2ce645bf6763d8e5124be64485ca.jpg","text":"TemporaryFile(/tmp/multipartBody1328643054119075538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147288705,"filename":"image_30102025_16_01_47_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/3/319bbeaecd8aaa3208f232675acb7c11.jpg","text":"TemporaryFile(/tmp/multipartBody6978461800030368748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147288705,"filename":"image_30102025_16_01_51_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989119","file1":"1391989116","file0":"1391989113","file4":"1391989124","file5":"1391989126","file3":"1391989121"},"map_files_photo_id_array":[{"photo_id":"1391989126","filename":"file5"},{"photo_id":"1391989119","filename":"file2"},{"photo_id":"1391989124","filename":"file4"},{"photo_id":"1391989116","filename":"file1"},{"photo_id":"1391989113","filename":"file0"},{"photo_id":"1391989121","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989126":["hashtag1","hashtag2"]},{"1391989116":["hashtag1","hashtag2"]},{"1391989119":["hashtag1","hashtag2"]},{"1391989113":["hashtag1","hashtag2"]},{"1391989121":["hashtag1","hashtag2"]},{"1391989124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989126, 1391989116, 1391989119, 1391989113, 1391989121, 1391989124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81941366195679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:21:22.318796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/02/image_30102025_16_02_11_2786.jpg', '/home/pi/Desktop/images/30102025/16/02/image_30102025_16_02_17_2689.jpg', '/home/pi/Desktop/images/30102025/16/02/image_30102025_16_02_20_3704.jpg', '/home/pi/Desktop/images/30102025/16/02/image_30102025_16_02_32_2720.jpg', '/home/pi/Desktop/images/30102025/16/02/image_30102025_16_02_47_2727.jpg', '/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_29_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/16/02/image_30102025_16_02_11_2786.jpg
/home/pi/Desktop/images/30102025/16/02/image_30102025_16_02_17_2689.jpg
/home/pi/Desktop/images/30102025/16/02/image_30102025_16_02_20_3704.jpg
/home/pi/Desktop/images/30102025/16/02/image_30102025_16_02_32_2720.jpg
/home/pi/Desktop/images/30102025/16/02/image_30102025_16_02_47_2727.jpg
/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_29_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989162","1391989165","1391989167","1391989175","1391989178","1391989171"],"photo_ids_order":["1391989162","1391989165","1391989167","1391989171","1391989175","1391989178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c0d30165a5c3fe7b43acad2e9054b3d6.jpg","text":"TemporaryFile(/tmp/multipartBody1607119723960977763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147344513,"filename":"image_30102025_16_02_11_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/3/31b507375d63af55a5d7a61d219da10a.jpg","text":"TemporaryFile(/tmp/multipartBody5400245602964689121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147344513,"filename":"image_30102025_16_02_17_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/3/c346a53c225ebfa43ddb7de2253c4d5f.jpg","text":"TemporaryFile(/tmp/multipartBody867595108128020285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147344513,"filename":"image_30102025_16_02_20_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/3/af7468e0622a241ea9d3d0a35ddbc979.jpg","text":"TemporaryFile(/tmp/multipartBody2513340835565375441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147344513,"filename":"image_30102025_16_02_47_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0861c45d8863bbae940077ad73fae612.jpg","text":"TemporaryFile(/tmp/multipartBody8308171507612385664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147344513,"filename":"image_30102025_16_03_29_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/3/2f52e225bcce8b8e93b8abe1215e4b89.jpg","text":"TemporaryFile(/tmp/multipartBody8888870468065161296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147344513,"filename":"image_30102025_16_02_32_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989167","file1":"1391989165","file0":"1391989162","file4":"1391989175","file5":"1391989178","file3":"1391989171"},"map_files_photo_id_array":[{"photo_id":"1391989178","filename":"file5"},{"photo_id":"1391989167","filename":"file2"},{"photo_id":"1391989175","filename":"file4"},{"photo_id":"1391989165","filename":"file1"},{"photo_id":"1391989162","filename":"file0"},{"photo_id":"1391989171","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989162":["hashtag1","hashtag2"]},{"1391989165":["hashtag1","hashtag2"]},{"1391989167":["hashtag1","hashtag2"]},{"1391989175":["hashtag1","hashtag2"]},{"1391989178":["hashtag1","hashtag2"]},{"1391989171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989162, 1391989165, 1391989167, 1391989175, 1391989178, 1391989171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.742918491363525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:22:02.476869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 06:22:25.733923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_32_2670.jpg', '/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_47_3763.jpg', '/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_53_2699.jpg', '/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_56_3728.jpg', '/home/pi/Desktop/images/30102025/16/04/image_30102025_16_04_14_3517.jpg', '/home/pi/Desktop/images/30102025/16/04/image_30102025_16_04_23_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/16/03/image_30102025_16_03_32_2670.jpg
/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_47_3763.jpg
/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_53_2699.jpg
/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_56_3728.jpg
/home/pi/Desktop/images/30102025/16/04/image_30102025_16_04_14_3517.jpg
/home/pi/Desktop/images/30102025/16/04/image_30102025_16_04_23_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989216","1391989210","1391989204","1391989201","1391989215","1391989198"],"photo_ids_order":["1391989198","1391989201","1391989204","1391989210","1391989215","1391989216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/82e7e5eade2872e5f4ea86b479c8b6b5.jpg","text":"TemporaryFile(/tmp/multipartBody7788873807411481253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147408152,"filename":"image_30102025_16_04_23_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/3/3807d9ce34d7b253c417d3f0a2d4a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody5937114737554882459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147408152,"filename":"image_30102025_16_03_56_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/3/8da63d44bcb4303bb0da8b54a664b801.jpg","text":"TemporaryFile(/tmp/multipartBody5798324766201427761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147408152,"filename":"image_30102025_16_03_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/3/eb7026bb09abdbdb87895b0ef8021e3b.jpg","text":"TemporaryFile(/tmp/multipartBody6121111401774634789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147408152,"filename":"image_30102025_16_03_47_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/3/7e9311137c78cd057a3a0c939c6c2f16.jpg","text":"TemporaryFile(/tmp/multipartBody7054830129224190290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147408152,"filename":"image_30102025_16_04_14_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/3/8b280a0e03a1bd8de1fe140c4e0eb060.jpg","text":"TemporaryFile(/tmp/multipartBody470519407074725460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147408152,"filename":"image_30102025_16_03_32_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989204","file1":"1391989201","file0":"1391989198","file4":"1391989215","file5":"1391989216","file3":"1391989210"},"map_files_photo_id_array":[{"photo_id":"1391989216","filename":"file5"},{"photo_id":"1391989204","filename":"file2"},{"photo_id":"1391989215","filename":"file4"},{"photo_id":"1391989201","filename":"file1"},{"photo_id":"1391989198","filename":"file0"},{"photo_id":"1391989210","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989216":["hashtag1","hashtag2"]},{"1391989210":["hashtag1","hashtag2"]},{"1391989204":["hashtag1","hashtag2"]},{"1391989201":["hashtag1","hashtag2"]},{"1391989215":["hashtag1","hashtag2"]},{"1391989198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989216, 1391989210, 1391989204, 1391989201, 1391989215, 1391989198)","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 = 1391989204 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/16/03/image_30102025_16_03_53_2699.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.1419038772583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:23:43.016767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_03_2818.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_09_3588.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_15_2633.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_18_2822.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_21_2739.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_32_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_03_2818.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_09_3588.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_15_2633.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_18_2822.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_21_2739.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_32_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989249","1391989243","1391989239","1391989256","1391989247","1391989252"],"photo_ids_order":["1391989239","1391989243","1391989247","1391989249","1391989252","1391989256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ffb246379e05943b6a0936d837a9cd10.jpg","text":"TemporaryFile(/tmp/multipartBody4403328347414075822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147484019,"filename":"image_31102025_01_48_18_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/3/f97b7b629af83b914b6e19105e706e3a.jpg","text":"TemporaryFile(/tmp/multipartBody340057140372608260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147484019,"filename":"image_31102025_01_48_09_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/3/bebdf662a886ba604e7f01572a96f13d.jpg","text":"TemporaryFile(/tmp/multipartBody5471486569654075771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147484019,"filename":"image_31102025_01_48_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/3/9cacf058ea92ef806d70e01fa60b266e.jpg","text":"TemporaryFile(/tmp/multipartBody8281772007438953401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147484019,"filename":"image_31102025_01_48_32_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/35d4c17bbac4616fca4501463e0eb9ea.jpg","text":"TemporaryFile(/tmp/multipartBody6289440351727575822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147484019,"filename":"image_31102025_01_48_15_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/82325d663f3ed4d23eeb8a0e86424f2f.jpg","text":"TemporaryFile(/tmp/multipartBody9178911217748974663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147484019,"filename":"image_31102025_01_48_21_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989247","file1":"1391989243","file0":"1391989239","file4":"1391989252","file5":"1391989256","file3":"1391989249"},"map_files_photo_id_array":[{"photo_id":"1391989256","filename":"file5"},{"photo_id":"1391989247","filename":"file2"},{"photo_id":"1391989252","filename":"file4"},{"photo_id":"1391989243","filename":"file1"},{"photo_id":"1391989239","filename":"file0"},{"photo_id":"1391989249","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391989249":["hashtag1","hashtag2"]},{"1391989243":["hashtag1","hashtag2"]},{"1391989239":["hashtag1","hashtag2"]},{"1391989256":["hashtag1","hashtag2"]},{"1391989247":["hashtag1","hashtag2"]},{"1391989252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391989249, 1391989243, 1391989239, 1391989256, 1391989247, 1391989252)","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 = 1391989247 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_15_2633.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391989247 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_15_2633.jpg";
uploaded 6 photos
time to upload: 69.39896249771118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:25:06.204404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/04/image_30102025_16_04_26_2783.jpg', '/home/pi/Desktop/images/30102025/16/05/image_30102025_16_05_11_3660.jpg', '/home/pi/Desktop/images/30102025/16/05/image_30102025_16_05_23_2669.jpg', '/home/pi/Desktop/images/30102025/16/05/image_30102025_16_05_50_2687.jpg', '/home/pi/Desktop/images/30102025/16/05/image_30102025_16_05_53_2728.jpg', '/home/pi/Desktop/images/30102025/16/06/image_30102025_16_06_08_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/16/04/image_30102025_16_04_26_2783.jpg
/home/pi/Desktop/images/30102025/16/05/image_30102025_16_05_11_3660.jpg
/home/pi/Desktop/images/30102025/16/05/image_30102025_16_05_23_2669.jpg
/home/pi/Desktop/images/30102025/16/05/image_30102025_16_05_50_2687.jpg
/home/pi/Desktop/images/30102025/16/05/image_30102025_16_05_53_2728.jpg
/home/pi/Desktop/images/30102025/16/06/image_30102025_16_06_08_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989308","1391989302","1391989311","1391989289","1391989283","1391989291"],"photo_ids_order":["1391989283","1391989289","1391989291","1391989302","1391989308","1391989311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e66b283ee09956d5f967be193fa87e35.jpg","text":"TemporaryFile(/tmp/multipartBody5592393415449033883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147568588,"filename":"image_30102025_16_05_53_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/3/094e5fe2e76b4278a3c407a280c0e9cf.jpg","text":"TemporaryFile(/tmp/multipartBody7759564541390081794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147568588,"filename":"image_30102025_16_05_50_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/3/d15ca6bae0d95242d8b1818a3551388e.jpg","text":"TemporaryFile(/tmp/multipartBody6104869529739979328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147568588,"filename":"image_30102025_16_06_08_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d398862738aff08dbb4f3ae9d8bcf24.jpg","text":"TemporaryFile(/tmp/multipartBody5380389356397024131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147568588,"filename":"image_30102025_16_05_11_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/84245b8671561206f67f16f8d7578f08.jpg","text":"TemporaryFile(/tmp/multipartBody3668218122995636577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147568588,"filename":"image_30102025_16_04_26_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bcdf8b8f9aca2346ce4be2d679c2e9b2.jpg","text":"TemporaryFile(/tmp/multipartBody1374684439683709986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147568588,"filename":"image_30102025_16_05_23_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989291","file1":"1391989289","file0":"1391989283","file4":"1391989308","file5":"1391989311","file3":"1391989302"},"map_files_photo_id_array":[{"photo_id":"1391989311","filename":"file5"},{"photo_id":"1391989291","filename":"file2"},{"photo_id":"1391989308","filename":"file4"},{"photo_id":"1391989289","filename":"file1"},{"photo_id":"1391989283","filename":"file0"},{"photo_id":"1391989302","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989308":["hashtag1","hashtag2"]},{"1391989302":["hashtag1","hashtag2"]},{"1391989311":["hashtag1","hashtag2"]},{"1391989289":["hashtag1","hashtag2"]},{"1391989283":["hashtag1","hashtag2"]},{"1391989291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989308, 1391989302, 1391989311, 1391989289, 1391989283, 1391989291)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.30697989463806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:26:02.261627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/06/image_30102025_16_06_17_2603.jpg', '/home/pi/Desktop/images/30102025/16/06/image_30102025_16_06_20_2738.jpg', '/home/pi/Desktop/images/30102025/16/07/image_30102025_16_07_32_2605.jpg', '/home/pi/Desktop/images/30102025/16/07/image_30102025_16_07_35_3630.jpg', '/home/pi/Desktop/images/30102025/16/08/image_30102025_16_08_25_2639.jpg', '/home/pi/Desktop/images/30102025/16/08/image_30102025_16_08_34_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/16/06/image_30102025_16_06_17_2603.jpg
/home/pi/Desktop/images/30102025/16/06/image_30102025_16_06_20_2738.jpg
/home/pi/Desktop/images/30102025/16/07/image_30102025_16_07_32_2605.jpg
/home/pi/Desktop/images/30102025/16/07/image_30102025_16_07_35_3630.jpg
/home/pi/Desktop/images/30102025/16/08/image_30102025_16_08_25_2639.jpg
/home/pi/Desktop/images/30102025/16/08/image_30102025_16_08_34_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989336","1391989324","1391989332","1391989341","1391989322","1391989328"],"photo_ids_order":["1391989322","1391989324","1391989328","1391989332","1391989336","1391989341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7ac618c70d43231f7b8f4fc09a27171b.jpg","text":"TemporaryFile(/tmp/multipartBody3201617670921493737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147624087,"filename":"image_30102025_16_08_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/3/e0d1a380ed679db17d81f85686abdf6d.jpg","text":"TemporaryFile(/tmp/multipartBody7927832956067886161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147624087,"filename":"image_30102025_16_06_20_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/3/3191ffaf22c7ebc9fbabd465f8802f1a.jpg","text":"TemporaryFile(/tmp/multipartBody3069849924073064312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147624087,"filename":"image_30102025_16_07_35_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/3/a93f8731116d28cb1b3c14bbc7a3257d.jpg","text":"TemporaryFile(/tmp/multipartBody2463186000289655608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147624087,"filename":"image_30102025_16_08_34_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/3/9c3908e5b260350ad018c23a5d628cae.jpg","text":"TemporaryFile(/tmp/multipartBody4121366980918175797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147624087,"filename":"image_30102025_16_06_17_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/3/c866401b1ff98c4db840977d325d20c2.jpg","text":"TemporaryFile(/tmp/multipartBody8492500741410983739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147624087,"filename":"image_30102025_16_07_32_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989328","file1":"1391989324","file0":"1391989322","file4":"1391989336","file5":"1391989341","file3":"1391989332"},"map_files_photo_id_array":[{"photo_id":"1391989341","filename":"file5"},{"photo_id":"1391989328","filename":"file2"},{"photo_id":"1391989336","filename":"file4"},{"photo_id":"1391989324","filename":"file1"},{"photo_id":"1391989322","filename":"file0"},{"photo_id":"1391989332","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989336":["hashtag1","hashtag2"]},{"1391989324":["hashtag1","hashtag2"]},{"1391989332":["hashtag1","hashtag2"]},{"1391989341":["hashtag1","hashtag2"]},{"1391989322":["hashtag1","hashtag2"]},{"1391989328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989336, 1391989324, 1391989332, 1391989341, 1391989322, 1391989328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79183220863342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:26:41.871515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_03_2818.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_09_3588.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_15_2633.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_18_2822.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_21_2739.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_32_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_03_2818.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_09_3588.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_15_2633.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_18_2822.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_21_2739.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_32_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989354","1391989357","1391989383","1391989359","1391989350","1391989367"],"photo_ids_order":["1391989350","1391989354","1391989357","1391989359","1391989367","1391989383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73c92b7d568716d60ff840b70c4c1a46.jpg","text":"TemporaryFile(/tmp/multipartBody6086274467852155627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147662910,"filename":"image_31102025_01_48_09_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/3/9b4df8bab1afd45b1a21f070046b11b7.jpg","text":"TemporaryFile(/tmp/multipartBody2430174082626506158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147662910,"filename":"image_31102025_01_48_15_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4563f4981ff7944fc01b00d5c706ecbd.jpg","text":"TemporaryFile(/tmp/multipartBody7716908319247080469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147662910,"filename":"image_31102025_01_48_32_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/271f55f7540c619701a3a20785af69ca.jpg","text":"TemporaryFile(/tmp/multipartBody567152426856730427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147662910,"filename":"image_31102025_01_48_18_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/3/eb1eb1b5378328442965c4305f3b67a1.jpg","text":"TemporaryFile(/tmp/multipartBody5612956451137591339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147662910,"filename":"image_31102025_01_48_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/3/93406b6c169603e1793613fca25a751c.jpg","text":"TemporaryFile(/tmp/multipartBody7854405766482913662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147662910,"filename":"image_31102025_01_48_21_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989357","file1":"1391989354","file0":"1391989350","file4":"1391989367","file5":"1391989383","file3":"1391989359"},"map_files_photo_id_array":[{"photo_id":"1391989383","filename":"file5"},{"photo_id":"1391989357","filename":"file2"},{"photo_id":"1391989367","filename":"file4"},{"photo_id":"1391989354","filename":"file1"},{"photo_id":"1391989350","filename":"file0"},{"photo_id":"1391989359","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391989354":["hashtag1","hashtag2"]},{"1391989357":["hashtag1","hashtag2"]},{"1391989383":["hashtag1","hashtag2"]},{"1391989359":["hashtag1","hashtag2"]},{"1391989350":["hashtag1","hashtag2"]},{"1391989367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391989354, 1391989357, 1391989383, 1391989359, 1391989350, 1391989367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87204170227051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:27:21.998132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/08/image_30102025_16_08_46_1713.jpg', '/home/pi/Desktop/images/30102025/16/08/image_30102025_16_08_51_1789.jpg', '/home/pi/Desktop/images/30102025/16/08/image_30102025_16_08_56_2733.jpg', '/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_11_2553.jpg', '/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_17_3549.jpg', '/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_28_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/16/08/image_30102025_16_08_46_1713.jpg
/home/pi/Desktop/images/30102025/16/08/image_30102025_16_08_51_1789.jpg
/home/pi/Desktop/images/30102025/16/08/image_30102025_16_08_56_2733.jpg
/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_11_2553.jpg
/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_17_3549.jpg
/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_28_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989414","1391989402","1391989406","1391989396","1391989409","1391989399"],"photo_ids_order":["1391989396","1391989399","1391989402","1391989406","1391989409","1391989414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7d4525130a5216107e483e2eb9f2c0de.jpg","text":"TemporaryFile(/tmp/multipartBody6134256403962010371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147704197,"filename":"image_30102025_16_09_28_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e585e91d7c69d4c998955f2f0d32ceac.jpg","text":"TemporaryFile(/tmp/multipartBody1772901490873181239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147704197,"filename":"image_30102025_16_08_56_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/3/e5ce779cc031c11c908e4a516b2a2231.jpg","text":"TemporaryFile(/tmp/multipartBody1777605078728608053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147704197,"filename":"image_30102025_16_09_11_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/056753e2feeeeb1b6bfd0054c4a1743f.jpg","text":"TemporaryFile(/tmp/multipartBody2703036739102606221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147704197,"filename":"image_30102025_16_08_46_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/3/2dd6ea7c4f11be4bf6a55d1678c8e842.jpg","text":"TemporaryFile(/tmp/multipartBody4297569030439779703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147704197,"filename":"image_30102025_16_09_17_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/3/8608066e4f327b226942c211d9026141.jpg","text":"TemporaryFile(/tmp/multipartBody6368048458521841484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147704197,"filename":"image_30102025_16_08_51_1789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989402","file1":"1391989399","file0":"1391989396","file4":"1391989409","file5":"1391989414","file3":"1391989406"},"map_files_photo_id_array":[{"photo_id":"1391989414","filename":"file5"},{"photo_id":"1391989402","filename":"file2"},{"photo_id":"1391989409","filename":"file4"},{"photo_id":"1391989399","filename":"file1"},{"photo_id":"1391989396","filename":"file0"},{"photo_id":"1391989406","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989414":["hashtag1","hashtag2"]},{"1391989402":["hashtag1","hashtag2"]},{"1391989406":["hashtag1","hashtag2"]},{"1391989396":["hashtag1","hashtag2"]},{"1391989409":["hashtag1","hashtag2"]},{"1391989399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989414, 1391989402, 1391989406, 1391989396, 1391989409, 1391989399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64021110534668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:28:02.748120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_31_2754.jpg', '/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_44_3632.jpg', '/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_58_2656.jpg', '/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_35_2833.jpg', '/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_42_3558.jpg', '/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_54_3003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_31_2754.jpg
/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_44_3632.jpg
/home/pi/Desktop/images/30102025/16/09/image_30102025_16_09_58_2656.jpg
/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_35_2833.jpg
/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_42_3558.jpg
/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_54_3003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989435","1391989423","1391989425","1391989422","1391989421","1391989430"],"photo_ids_order":["1391989421","1391989422","1391989423","1391989425","1391989430","1391989435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b3ec7ac1bedad7f97abf9e66c93ee750.jpg","text":"TemporaryFile(/tmp/multipartBody4398953329298342199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147744594,"filename":"image_30102025_16_10_54_3003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d02cfd0fe6bcc2bf880cd1df12d7cd63.jpg","text":"TemporaryFile(/tmp/multipartBody3160644009940582772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147744594,"filename":"image_30102025_16_09_58_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/3/d05e6e19d4ae499cba34d24059e500b9.jpg","text":"TemporaryFile(/tmp/multipartBody8255252762126899326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147744594,"filename":"image_30102025_16_10_35_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/3/4fbeedde4c13be0744cd5a312cc3f464.jpg","text":"TemporaryFile(/tmp/multipartBody6105653314132833919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147744594,"filename":"image_30102025_16_09_44_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/3/965dece9950581dba2179ebf55a3da9c.jpg","text":"TemporaryFile(/tmp/multipartBody7767779531865897070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147744594,"filename":"image_30102025_16_09_31_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/3/eef35c9cf744ed7a16ec2e8307e723f2.jpg","text":"TemporaryFile(/tmp/multipartBody7868476048436837138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147744594,"filename":"image_30102025_16_10_42_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989423","file1":"1391989422","file0":"1391989421","file4":"1391989430","file5":"1391989435","file3":"1391989425"},"map_files_photo_id_array":[{"photo_id":"1391989435","filename":"file5"},{"photo_id":"1391989423","filename":"file2"},{"photo_id":"1391989430","filename":"file4"},{"photo_id":"1391989422","filename":"file1"},{"photo_id":"1391989421","filename":"file0"},{"photo_id":"1391989425","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989435":["hashtag1","hashtag2"]},{"1391989423":["hashtag1","hashtag2"]},{"1391989425":["hashtag1","hashtag2"]},{"1391989422":["hashtag1","hashtag2"]},{"1391989421":["hashtag1","hashtag2"]},{"1391989430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989435, 1391989423, 1391989425, 1391989422, 1391989421, 1391989430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.696327686309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:28:42.308758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_39_2684.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_50_2740.jpg', '/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_57_2958.jpg', '/home/pi/Desktop/images/31102025/01/49/image_31102025_01_49_02_2643.jpg', '/home/pi/Desktop/images/31102025/01/49/image_31102025_01_49_12_2803.jpg', '/home/pi/Desktop/images/31102025/01/49/image_31102025_01_49_18_3877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_39_2684.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_50_2740.jpg
/home/pi/Desktop/images/31102025/01/48/image_31102025_01_48_57_2958.jpg
/home/pi/Desktop/images/31102025/01/49/image_31102025_01_49_02_2643.jpg
/home/pi/Desktop/images/31102025/01/49/image_31102025_01_49_12_2803.jpg
/home/pi/Desktop/images/31102025/01/49/image_31102025_01_49_18_3877.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989453","1391989456","1391989452","1391989466","1391989463","1391989450"],"photo_ids_order":["1391989450","1391989452","1391989453","1391989456","1391989463","1391989466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b3c850c8804fc3a550382e4b09c5a6b.jpg","text":"TemporaryFile(/tmp/multipartBody8003467620306560952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147783417,"filename":"image_31102025_01_48_57_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d15b6555a1fb36242c89fb72db6566b.jpg","text":"TemporaryFile(/tmp/multipartBody8537562078114027511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147783417,"filename":"image_31102025_01_49_02_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/3/c0d30fa48e23d95cd82ca4a872cd7e19.jpg","text":"TemporaryFile(/tmp/multipartBody8645068000099373828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147783417,"filename":"image_31102025_01_48_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/3/6fad8c1d666c3709733da83bee2b82f4.jpg","text":"TemporaryFile(/tmp/multipartBody9118217271874728029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147783417,"filename":"image_31102025_01_49_18_3877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0583aede0e8c51a75b4b9f61ef5c5c72.jpg","text":"TemporaryFile(/tmp/multipartBody6918273883385875725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147783417,"filename":"image_31102025_01_49_12_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/3/bd3d6936c6c72ae30a3945700345c064.jpg","text":"TemporaryFile(/tmp/multipartBody4933737586963584660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147783417,"filename":"image_31102025_01_48_39_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989453","file1":"1391989452","file0":"1391989450","file4":"1391989463","file5":"1391989466","file3":"1391989456"},"map_files_photo_id_array":[{"photo_id":"1391989466","filename":"file5"},{"photo_id":"1391989453","filename":"file2"},{"photo_id":"1391989463","filename":"file4"},{"photo_id":"1391989452","filename":"file1"},{"photo_id":"1391989450","filename":"file0"},{"photo_id":"1391989456","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391989453":["hashtag1","hashtag2"]},{"1391989456":["hashtag1","hashtag2"]},{"1391989452":["hashtag1","hashtag2"]},{"1391989466":["hashtag1","hashtag2"]},{"1391989463":["hashtag1","hashtag2"]},{"1391989450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391989453, 1391989456, 1391989452, 1391989466, 1391989463, 1391989450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.757484674453735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:29:22.609423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_56_2607.jpg', '/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_59_2612.jpg', '/home/pi/Desktop/images/30102025/16/11/image_30102025_16_11_26_2747.jpg', '/home/pi/Desktop/images/30102025/16/11/image_30102025_16_11_32_2816.jpg', '/home/pi/Desktop/images/30102025/16/11/image_30102025_16_11_59_2687.jpg', '/home/pi/Desktop/images/30102025/16/12/image_30102025_16_12_53_3022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_56_2607.jpg
/home/pi/Desktop/images/30102025/16/10/image_30102025_16_10_59_2612.jpg
/home/pi/Desktop/images/30102025/16/11/image_30102025_16_11_26_2747.jpg
/home/pi/Desktop/images/30102025/16/11/image_30102025_16_11_32_2816.jpg
/home/pi/Desktop/images/30102025/16/11/image_30102025_16_11_59_2687.jpg
/home/pi/Desktop/images/30102025/16/12/image_30102025_16_12_53_3022.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989513","1391989504","1391989506","1391989509","1391989500","1391989495"],"photo_ids_order":["1391989495","1391989500","1391989504","1391989506","1391989509","1391989513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4cc1011f574ac5b621f4737df8c2ff3a.jpg","text":"TemporaryFile(/tmp/multipartBody665333598407141078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147825040,"filename":"image_30102025_16_12_53_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/3/2dae48a52327fdae858523dd17503ac7.jpg","text":"TemporaryFile(/tmp/multipartBody3861144879116608493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147825040,"filename":"image_30102025_16_11_26_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/3/7323fde635d795adb190550da2b33ccb.jpg","text":"TemporaryFile(/tmp/multipartBody3502336583771885113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147825040,"filename":"image_30102025_16_11_32_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/3/4fbe67b011b2d65e24339abad7409ec3.jpg","text":"TemporaryFile(/tmp/multipartBody1025506935704112891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147825040,"filename":"image_30102025_16_11_59_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/3/40966d1536ccc02b7ffb7679f305f618.jpg","text":"TemporaryFile(/tmp/multipartBody8143212551634966801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147825040,"filename":"image_30102025_16_10_59_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/3/d43335ad877e72341e8a46e98d28ae64.jpg","text":"TemporaryFile(/tmp/multipartBody4582433489398477057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147825040,"filename":"image_30102025_16_10_56_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989504","file1":"1391989500","file0":"1391989495","file4":"1391989509","file5":"1391989513","file3":"1391989506"},"map_files_photo_id_array":[{"photo_id":"1391989513","filename":"file5"},{"photo_id":"1391989504","filename":"file2"},{"photo_id":"1391989509","filename":"file4"},{"photo_id":"1391989500","filename":"file1"},{"photo_id":"1391989495","filename":"file0"},{"photo_id":"1391989506","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989513":["hashtag1","hashtag2"]},{"1391989504":["hashtag1","hashtag2"]},{"1391989506":["hashtag1","hashtag2"]},{"1391989509":["hashtag1","hashtag2"]},{"1391989500":["hashtag1","hashtag2"]},{"1391989495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989513, 1391989504, 1391989506, 1391989509, 1391989500, 1391989495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20375347137451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:30:21.770632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/12/image_30102025_16_12_56_2645.jpg', '/home/pi/Desktop/images/30102025/16/13/image_30102025_16_13_05_2669.jpg', '/home/pi/Desktop/images/30102025/16/13/image_30102025_16_13_20_3761.jpg', '/home/pi/Desktop/images/30102025/16/13/image_30102025_16_13_53_2873.jpg', '/home/pi/Desktop/images/30102025/16/14/image_30102025_16_14_11_2576.jpg', '/home/pi/Desktop/images/30102025/16/14/image_30102025_16_14_47_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/16/12/image_30102025_16_12_56_2645.jpg
/home/pi/Desktop/images/30102025/16/13/image_30102025_16_13_05_2669.jpg
/home/pi/Desktop/images/30102025/16/13/image_30102025_16_13_20_3761.jpg
/home/pi/Desktop/images/30102025/16/13/image_30102025_16_13_53_2873.jpg
/home/pi/Desktop/images/30102025/16/14/image_30102025_16_14_11_2576.jpg
/home/pi/Desktop/images/30102025/16/14/image_30102025_16_14_47_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989534","1391989554","1391989545","1391989530","1391989550","1391989538"],"photo_ids_order":["1391989530","1391989534","1391989538","1391989545","1391989550","1391989554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf38797c8ae56896f3db58e6b5794534.jpg","text":"TemporaryFile(/tmp/multipartBody5372817265690160227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147884934,"filename":"image_30102025_16_13_05_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/3/c50f85424fdce1c32a95e6fc58956573.jpg","text":"TemporaryFile(/tmp/multipartBody6263397038425783671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147884934,"filename":"image_30102025_16_14_47_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1a186a3d1ef6631fcd2a2658b15be741.jpg","text":"TemporaryFile(/tmp/multipartBody8796137774855061596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147884934,"filename":"image_30102025_16_13_53_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/3/699d7a3644b6d6bb9bb2488cbafd1b39.jpg","text":"TemporaryFile(/tmp/multipartBody4299661907668876926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147884934,"filename":"image_30102025_16_12_56_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/3/de126db57e010e3f39d5b66cc8a2127d.jpg","text":"TemporaryFile(/tmp/multipartBody7478626039582830333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147884934,"filename":"image_30102025_16_14_11_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/3/9a2f2ea939449d5a0acd6138e9ada202.jpg","text":"TemporaryFile(/tmp/multipartBody3942589951455982459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147884934,"filename":"image_30102025_16_13_20_3761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989538","file1":"1391989534","file0":"1391989530","file4":"1391989550","file5":"1391989554","file3":"1391989545"},"map_files_photo_id_array":[{"photo_id":"1391989554","filename":"file5"},{"photo_id":"1391989538","filename":"file2"},{"photo_id":"1391989550","filename":"file4"},{"photo_id":"1391989534","filename":"file1"},{"photo_id":"1391989530","filename":"file0"},{"photo_id":"1391989545","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989534":["hashtag1","hashtag2"]},{"1391989554":["hashtag1","hashtag2"]},{"1391989545":["hashtag1","hashtag2"]},{"1391989530":["hashtag1","hashtag2"]},{"1391989550":["hashtag1","hashtag2"]},{"1391989538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989534, 1391989554, 1391989545, 1391989530, 1391989550, 1391989538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68030881881714 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-03 06:31:21.945940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/14/image_30102025_16_14_50_2584.jpg', '/home/pi/Desktop/images/30102025/16/14/image_30102025_16_14_53_3546.jpg', '/home/pi/Desktop/images/30102025/16/15/image_30102025_16_15_59_3575.jpg', '/home/pi/Desktop/images/30102025/16/16/image_30102025_16_16_13_2573.jpg', '/home/pi/Desktop/images/30102025/16/16/image_30102025_16_16_29_3642.jpg', '/home/pi/Desktop/images/30102025/16/16/image_30102025_16_16_38_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/16/14/image_30102025_16_14_50_2584.jpg
/home/pi/Desktop/images/30102025/16/14/image_30102025_16_14_53_3546.jpg
/home/pi/Desktop/images/30102025/16/15/image_30102025_16_15_59_3575.jpg
/home/pi/Desktop/images/30102025/16/16/image_30102025_16_16_13_2573.jpg
/home/pi/Desktop/images/30102025/16/16/image_30102025_16_16_29_3642.jpg
/home/pi/Desktop/images/30102025/16/16/image_30102025_16_16_38_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989587","1391989581","1391989584","1391989592","1391989589","1391989577"],"photo_ids_order":["1391989577","1391989581","1391989584","1391989587","1391989589","1391989592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b413e0a41e8f98e8e99b957db9e7946b.jpg","text":"TemporaryFile(/tmp/multipartBody3324357401291524231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147944074,"filename":"image_30102025_16_16_13_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1d7f68faa60be6383aea49d84354d9ca.jpg","text":"TemporaryFile(/tmp/multipartBody1084043232594507732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147944074,"filename":"image_30102025_16_14_53_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/3/a6f3a3ae30c54d3f80e52cae35490c38.jpg","text":"TemporaryFile(/tmp/multipartBody2120519564486921322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147944074,"filename":"image_30102025_16_15_59_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/3/e32dabfc067db75e0e6e7fcb20068f6d.jpg","text":"TemporaryFile(/tmp/multipartBody2270331061568517837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147944074,"filename":"image_30102025_16_16_38_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/3/6ba2cd00ef899550db044733bdc1c313.jpg","text":"TemporaryFile(/tmp/multipartBody7637955819330469632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147944074,"filename":"image_30102025_16_16_29_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/3/6aee889921fc86f04b632881b7423f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7961981703892070224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147944074,"filename":"image_30102025_16_14_50_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989584","file1":"1391989581","file0":"1391989577","file4":"1391989589","file5":"1391989592","file3":"1391989587"},"map_files_photo_id_array":[{"photo_id":"1391989592","filename":"file5"},{"photo_id":"1391989584","filename":"file2"},{"photo_id":"1391989589","filename":"file4"},{"photo_id":"1391989581","filename":"file1"},{"photo_id":"1391989577","filename":"file0"},{"photo_id":"1391989587","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989587":["hashtag1","hashtag2"]},{"1391989581":["hashtag1","hashtag2"]},{"1391989584":["hashtag1","hashtag2"]},{"1391989592":["hashtag1","hashtag2"]},{"1391989589":["hashtag1","hashtag2"]},{"1391989577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989587, 1391989581, 1391989584, 1391989592, 1391989589, 1391989577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66194224357605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:32:02.745235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_13_2713.jpg', '/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_16_2845.jpg', '/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_20_3695.jpg', '/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_22_2779.jpg', '/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_32_3668.jpg', '/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_37_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/16/17/image_30102025_16_17_13_2713.jpg
/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_16_2845.jpg
/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_20_3695.jpg
/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_22_2779.jpg
/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_32_3668.jpg
/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_37_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989609","1391989599","1391989606","1391989602","1391989613","1391989597"],"photo_ids_order":["1391989597","1391989599","1391989602","1391989606","1391989609","1391989613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf4aba2f3fdd22d43df0acc811643849.jpg","text":"TemporaryFile(/tmp/multipartBody5537657470012173103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147984605,"filename":"image_30102025_16_17_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/3/60d13f1bc6c81e4ce0719ae118bf7d42.jpg","text":"TemporaryFile(/tmp/multipartBody8719701600986664632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147984605,"filename":"image_30102025_16_17_16_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/3/5e42ec3a33cb413a9712c12711fd8cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7462207953166858654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147984605,"filename":"image_30102025_16_17_22_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/3/4d2ed171d1c5c73efd6c7e82869c91b5.jpg","text":"TemporaryFile(/tmp/multipartBody4307955286775624459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147984605,"filename":"image_30102025_16_17_20_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/3/07714e30997f176e0d6994a5e0ba0b2e.jpg","text":"TemporaryFile(/tmp/multipartBody8821438270830787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147984605,"filename":"image_30102025_16_17_37_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/3/cf150feab27298405a5fc2ca1f044ce5.jpg","text":"TemporaryFile(/tmp/multipartBody3024323129664741106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762147984605,"filename":"image_30102025_16_17_13_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989602","file1":"1391989599","file0":"1391989597","file4":"1391989609","file5":"1391989613","file3":"1391989606"},"map_files_photo_id_array":[{"photo_id":"1391989613","filename":"file5"},{"photo_id":"1391989602","filename":"file2"},{"photo_id":"1391989609","filename":"file4"},{"photo_id":"1391989599","filename":"file1"},{"photo_id":"1391989597","filename":"file0"},{"photo_id":"1391989606","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989609":["hashtag1","hashtag2"]},{"1391989599":["hashtag1","hashtag2"]},{"1391989606":["hashtag1","hashtag2"]},{"1391989602":["hashtag1","hashtag2"]},{"1391989613":["hashtag1","hashtag2"]},{"1391989597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989609, 1391989599, 1391989606, 1391989602, 1391989613, 1391989597)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.230292558670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:33:03.222901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_49_2712.jpg', '/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_59_3621.jpg', '/home/pi/Desktop/images/30102025/16/18/image_30102025_16_18_01_2503.jpg', '/home/pi/Desktop/images/30102025/16/18/image_30102025_16_18_17_3792.jpg', '/home/pi/Desktop/images/30102025/16/18/image_30102025_16_18_22_2629.jpg', '/home/pi/Desktop/images/30102025/16/18/image_30102025_16_18_49_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/16/17/image_30102025_16_17_49_2712.jpg
/home/pi/Desktop/images/30102025/16/17/image_30102025_16_17_59_3621.jpg
/home/pi/Desktop/images/30102025/16/18/image_30102025_16_18_01_2503.jpg
/home/pi/Desktop/images/30102025/16/18/image_30102025_16_18_17_3792.jpg
/home/pi/Desktop/images/30102025/16/18/image_30102025_16_18_22_2629.jpg
/home/pi/Desktop/images/30102025/16/18/image_30102025_16_18_49_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":["1391989648","1391989635","1391989650","1391989638","1391989646","1391989643"],"photo_ids_order":["1391989635","1391989638","1391989643","1391989646","1391989648","1391989650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf351a8ad0750afd5cd5ad6a271eec7f.jpg","text":"TemporaryFile(/tmp/multipartBody1338320392737882610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148055742,"filename":"image_30102025_16_18_22_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/703049b88cff243f503bb16fbce20acf.jpg","text":"TemporaryFile(/tmp/multipartBody7533147750627710911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148055742,"filename":"image_30102025_16_17_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/3/092b13e45a28bf9782efcd7a7bb88efc.jpg","text":"TemporaryFile(/tmp/multipartBody8349602508628587122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148055742,"filename":"image_30102025_16_18_49_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/3/b43c858f9167a286063ce2e545c4e6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1768290959883269439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148055742,"filename":"image_30102025_16_17_59_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/3/e4a0d4facf5ad989c80b8e26bc9274db.jpg","text":"TemporaryFile(/tmp/multipartBody9204837843131514835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148055742,"filename":"image_30102025_16_18_17_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/3/a78aa31486d08dc3a1bc01c1b2a79696.jpg","text":"TemporaryFile(/tmp/multipartBody3608971379634044682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148055742,"filename":"image_30102025_16_18_01_2503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989643","file1":"1391989638","file0":"1391989635","file4":"1391989648","file5":"1391989650","file3":"1391989646"},"map_files_photo_id_array":[{"photo_id":"1391989650","filename":"file5"},{"photo_id":"1391989643","filename":"file2"},{"photo_id":"1391989648","filename":"file4"},{"photo_id":"1391989638","filename":"file1"},{"photo_id":"1391989635","filename":"file0"},{"photo_id":"1391989646","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989648":["hashtag1","hashtag2"]},{"1391989635":["hashtag1","hashtag2"]},{"1391989650":["hashtag1","hashtag2"]},{"1391989638":["hashtag1","hashtag2"]},{"1391989646":["hashtag1","hashtag2"]},{"1391989643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989648, 1391989635, 1391989650, 1391989638, 1391989646, 1391989643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.83357548713684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:34:10.237170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/18/image_30102025_16_18_59_3351.jpg', '/home/pi/Desktop/images/30102025/16/19/image_30102025_16_19_39_3521.jpg', '/home/pi/Desktop/images/30102025/16/19/image_30102025_16_19_47_3472.jpg', '/home/pi/Desktop/images/30102025/16/19/image_30102025_16_19_49_2573.jpg', '/home/pi/Desktop/images/30102025/16/19/image_30102025_16_19_58_2694.jpg', '/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_17_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/16/18/image_30102025_16_18_59_3351.jpg
/home/pi/Desktop/images/30102025/16/19/image_30102025_16_19_39_3521.jpg
/home/pi/Desktop/images/30102025/16/19/image_30102025_16_19_47_3472.jpg
/home/pi/Desktop/images/30102025/16/19/image_30102025_16_19_49_2573.jpg
/home/pi/Desktop/images/30102025/16/19/image_30102025_16_19_58_2694.jpg
/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_17_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":["1391989671","1391989680","1391989668","1391989683","1391989665","1391989675"],"photo_ids_order":["1391989665","1391989668","1391989671","1391989675","1391989680","1391989683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e281a1881c832c13b4459a3ac459f27c.jpg","text":"TemporaryFile(/tmp/multipartBody3058401520441885481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148112075,"filename":"image_30102025_16_19_47_3472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33a1a5bd578b550a912bafe9845deebb.jpg","text":"TemporaryFile(/tmp/multipartBody6117508954233396464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148112075,"filename":"image_30102025_16_19_58_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/3/33a33397acded8f4c2a72db38030cb68.jpg","text":"TemporaryFile(/tmp/multipartBody1633199999594443229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148112075,"filename":"image_30102025_16_19_39_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/3/059cd97bf2eee2d8c15689112bee967f.jpg","text":"TemporaryFile(/tmp/multipartBody605292714349538419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148112075,"filename":"image_30102025_16_20_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/3/5ed62c97915176e0b8d6ed439cce3012.jpg","text":"TemporaryFile(/tmp/multipartBody7202884811930770471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148112075,"filename":"image_30102025_16_18_59_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/3/a9cbcc1b38d498ebde2787aefc9dc4a6.jpg","text":"TemporaryFile(/tmp/multipartBody7783655546564151232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148112075,"filename":"image_30102025_16_19_49_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989671","file1":"1391989668","file0":"1391989665","file4":"1391989680","file5":"1391989683","file3":"1391989675"},"map_files_photo_id_array":[{"photo_id":"1391989683","filename":"file5"},{"photo_id":"1391989671","filename":"file2"},{"photo_id":"1391989680","filename":"file4"},{"photo_id":"1391989668","filename":"file1"},{"photo_id":"1391989665","filename":"file0"},{"photo_id":"1391989675","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989671":["hashtag1","hashtag2"]},{"1391989680":["hashtag1","hashtag2"]},{"1391989668":["hashtag1","hashtag2"]},{"1391989683":["hashtag1","hashtag2"]},{"1391989665":["hashtag1","hashtag2"]},{"1391989675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989671, 1391989680, 1391989668, 1391989683, 1391989665, 1391989675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.645129442214966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:35:03.425350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_20_3739.jpg', '/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_23_2707.jpg', '/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_26_2524.jpg', '/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_32_2741.jpg', '/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_35_2734.jpg', '/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_44_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/16/20/image_30102025_16_20_20_3739.jpg
/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_23_2707.jpg
/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_26_2524.jpg
/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_32_2741.jpg
/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_35_2734.jpg
/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_44_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989714","1391989710","1391989701","1391989703","1391989706","1391989699"],"photo_ids_order":["1391989699","1391989701","1391989703","1391989706","1391989710","1391989714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/83e560521e4cb49387accd4b9c88175b.jpg","text":"TemporaryFile(/tmp/multipartBody4610933846584561430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148165404,"filename":"image_30102025_16_20_44_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/3/6fd87692fc96600a6e33a45ab0e1c95a.jpg","text":"TemporaryFile(/tmp/multipartBody3912180409901018679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148165404,"filename":"image_30102025_16_20_35_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa91db0487d5f9d785a8de651ab3c94f.jpg","text":"TemporaryFile(/tmp/multipartBody1462210292728533034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148165404,"filename":"image_30102025_16_20_23_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3dbf863470c373c883c744e7c4e1453d.jpg","text":"TemporaryFile(/tmp/multipartBody8664949261820300651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148165404,"filename":"image_30102025_16_20_26_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/3/28ce638acad33418aa6bd988f205ed76.jpg","text":"TemporaryFile(/tmp/multipartBody8293204150793420784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148165404,"filename":"image_30102025_16_20_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/3/5419df94825df9641e1ac6b102e977e3.jpg","text":"TemporaryFile(/tmp/multipartBody2288913796491136874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148165404,"filename":"image_30102025_16_20_20_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989703","file1":"1391989701","file0":"1391989699","file4":"1391989710","file5":"1391989714","file3":"1391989706"},"map_files_photo_id_array":[{"photo_id":"1391989714","filename":"file5"},{"photo_id":"1391989703","filename":"file2"},{"photo_id":"1391989710","filename":"file4"},{"photo_id":"1391989701","filename":"file1"},{"photo_id":"1391989699","filename":"file0"},{"photo_id":"1391989706","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989714":["hashtag1","hashtag2"]},{"1391989710":["hashtag1","hashtag2"]},{"1391989701":["hashtag1","hashtag2"]},{"1391989703":["hashtag1","hashtag2"]},{"1391989706":["hashtag1","hashtag2"]},{"1391989699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989714, 1391989710, 1391989701, 1391989703, 1391989706, 1391989699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46056771278381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:35:42.804042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/49/image_31102025_01_49_21_2731.jpg', '/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_08_2621.jpg', '/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_17_2677.jpg', '/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_29_2740.jpg', '/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_32_2898.jpg', '/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_41_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/49/image_31102025_01_49_21_2731.jpg
/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_08_2621.jpg
/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_17_2677.jpg
/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_29_2740.jpg
/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_32_2898.jpg
/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_41_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989732","1391989720","1391989725","1391989728","1391989730","1391989724"],"photo_ids_order":["1391989720","1391989724","1391989725","1391989728","1391989730","1391989732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6337031f57cc21294997500d9e259176.jpg","text":"TemporaryFile(/tmp/multipartBody6659203237816295845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148205139,"filename":"image_31102025_01_50_41_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/3/7388decb24f66142d6bd1a2d1808b373.jpg","text":"TemporaryFile(/tmp/multipartBody8071432432819243790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148205139,"filename":"image_31102025_01_49_21_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f8a2eb1bbe927d6662dda48cceb624a9.jpg","text":"TemporaryFile(/tmp/multipartBody4169641595085469492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148205139,"filename":"image_31102025_01_50_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/3/c83279b8c9e71aa9c58c99b6c9988ad3.jpg","text":"TemporaryFile(/tmp/multipartBody8263989547438359507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148205139,"filename":"image_31102025_01_50_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/3/0fa945e0e48a5d63b0d98177c6c17e36.jpg","text":"TemporaryFile(/tmp/multipartBody1089690409605549211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148205139,"filename":"image_31102025_01_50_32_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/3/b2e3669279b495496231ea14de2aca6a.jpg","text":"TemporaryFile(/tmp/multipartBody5882522335069469935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148205139,"filename":"image_31102025_01_50_08_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989725","file1":"1391989724","file0":"1391989720","file4":"1391989730","file5":"1391989732","file3":"1391989728"},"map_files_photo_id_array":[{"photo_id":"1391989732","filename":"file5"},{"photo_id":"1391989725","filename":"file2"},{"photo_id":"1391989730","filename":"file4"},{"photo_id":"1391989724","filename":"file1"},{"photo_id":"1391989720","filename":"file0"},{"photo_id":"1391989728","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391989732":["hashtag1","hashtag2"]},{"1391989720":["hashtag1","hashtag2"]},{"1391989725":["hashtag1","hashtag2"]},{"1391989728":["hashtag1","hashtag2"]},{"1391989730":["hashtag1","hashtag2"]},{"1391989724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391989732, 1391989720, 1391989725, 1391989728, 1391989730, 1391989724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.976213216781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:36:21.880084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_53_2655.jpg', '/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_56_2644.jpg', '/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_02_2699.jpg', '/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_17_2739.jpg', '/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_22_2685.jpg', '/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_32_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/16/20/image_30102025_16_20_53_2655.jpg
/home/pi/Desktop/images/30102025/16/20/image_30102025_16_20_56_2644.jpg
/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_02_2699.jpg
/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_17_2739.jpg
/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_22_2685.jpg
/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_32_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989750","1391989753","1391989746","1391989760","1391989742","1391989756"],"photo_ids_order":["1391989742","1391989746","1391989750","1391989753","1391989756","1391989760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bdb18aa967cb48b67887a6712d4ac8f5.jpg","text":"TemporaryFile(/tmp/multipartBody6871669148690741075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148244327,"filename":"image_30102025_16_21_02_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b47b12a8f024904b2f541c6786d66e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4031270018975243646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148244327,"filename":"image_30102025_16_21_17_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/3/0ebdb52aa898aaafb43261257845135f.jpg","text":"TemporaryFile(/tmp/multipartBody7030699803439910303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148244327,"filename":"image_30102025_16_20_56_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc657f7edd0d6b531e0078cf7afd78a0.jpg","text":"TemporaryFile(/tmp/multipartBody8266869714402691944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148244327,"filename":"image_30102025_16_21_32_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/3/eadeb3287c27d4b86e1c877ae6141e6a.jpg","text":"TemporaryFile(/tmp/multipartBody5116077111260217835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148244327,"filename":"image_30102025_16_20_53_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9bd6a550c83386e435ec0062eaecd839.jpg","text":"TemporaryFile(/tmp/multipartBody1078321391776235078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148244327,"filename":"image_30102025_16_21_22_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989750","file1":"1391989746","file0":"1391989742","file4":"1391989756","file5":"1391989760","file3":"1391989753"},"map_files_photo_id_array":[{"photo_id":"1391989760","filename":"file5"},{"photo_id":"1391989750","filename":"file2"},{"photo_id":"1391989756","filename":"file4"},{"photo_id":"1391989746","filename":"file1"},{"photo_id":"1391989742","filename":"file0"},{"photo_id":"1391989753","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989750":["hashtag1","hashtag2"]},{"1391989753":["hashtag1","hashtag2"]},{"1391989746":["hashtag1","hashtag2"]},{"1391989760":["hashtag1","hashtag2"]},{"1391989742":["hashtag1","hashtag2"]},{"1391989756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989750, 1391989753, 1391989746, 1391989760, 1391989742, 1391989756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26492404937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:37:02.907823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_38_2705.jpg', '/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_35_3615.jpg', '/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_38_2641.jpg', '/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_40_2636.jpg', '/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_44_3720.jpg', '/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_47_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/21/image_30102025_16_21_38_2705.jpg
/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_35_3615.jpg
/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_38_2641.jpg
/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_40_2636.jpg
/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_44_3720.jpg
/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_47_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989791","1391989785","1391989778","1391989787","1391989769","1391989783"],"photo_ids_order":["1391989769","1391989778","1391989783","1391989785","1391989787","1391989791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb342fc5e95680cba4d2e68e97a3f286.jpg","text":"TemporaryFile(/tmp/multipartBody4384758559457483218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148284883,"filename":"image_30102025_16_22_47_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/731aee956acd59bcf20d4476884d893c.jpg","text":"TemporaryFile(/tmp/multipartBody2464673090717742265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148284883,"filename":"image_30102025_16_22_40_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/3/381e7a28a880c92b2fc5ef94596bec60.jpg","text":"TemporaryFile(/tmp/multipartBody7820375301067753608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148284883,"filename":"image_30102025_16_22_35_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/083b99c7b4dd39a74ae8716a2007ad67.jpg","text":"TemporaryFile(/tmp/multipartBody2237718347587230476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148284883,"filename":"image_30102025_16_22_44_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/3/648fcc467fa7078462c6259699d352bd.jpg","text":"TemporaryFile(/tmp/multipartBody1854505498815829920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148284883,"filename":"image_30102025_16_21_38_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/620508569fb2d877141766f4214f6506.jpg","text":"TemporaryFile(/tmp/multipartBody2793178503397154150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148284883,"filename":"image_30102025_16_22_38_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989783","file1":"1391989778","file0":"1391989769","file4":"1391989787","file5":"1391989791","file3":"1391989785"},"map_files_photo_id_array":[{"photo_id":"1391989791","filename":"file5"},{"photo_id":"1391989783","filename":"file2"},{"photo_id":"1391989787","filename":"file4"},{"photo_id":"1391989778","filename":"file1"},{"photo_id":"1391989769","filename":"file0"},{"photo_id":"1391989785","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989791":["hashtag1","hashtag2"]},{"1391989785":["hashtag1","hashtag2"]},{"1391989778":["hashtag1","hashtag2"]},{"1391989787":["hashtag1","hashtag2"]},{"1391989769":["hashtag1","hashtag2"]},{"1391989783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989791, 1391989785, 1391989778, 1391989787, 1391989769, 1391989783)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.58950614929199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:38:02.492780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_49_2680.jpg', '/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_53_3791.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_07_2567.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_11_3788.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_14_2670.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_16_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/16/22/image_30102025_16_22_49_2680.jpg
/home/pi/Desktop/images/30102025/16/22/image_30102025_16_22_53_3791.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_07_2567.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_11_3788.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_14_2670.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_16_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989816","1391989801","1391989803","1391989812","1391989809","1391989820"],"photo_ids_order":["1391989801","1391989803","1391989809","1391989812","1391989816","1391989820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6033016cd91eb44eedd4d23a427f2656.jpg","text":"TemporaryFile(/tmp/multipartBody7113291876189745555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148344446,"filename":"image_30102025_16_23_14_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/3/7483d1b45b72ab8c9a4d5a0d529c3253.jpg","text":"TemporaryFile(/tmp/multipartBody2556286992902035681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148344446,"filename":"image_30102025_16_22_49_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/3/d5796a92c4b66621c40984414ce407b8.jpg","text":"TemporaryFile(/tmp/multipartBody5486908081711087191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148344446,"filename":"image_30102025_16_22_53_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/3/fc3076a7a6d6b24863cc29e259ae7b72.jpg","text":"TemporaryFile(/tmp/multipartBody4251106439031546376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148344446,"filename":"image_30102025_16_23_11_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/3/77f2ca9e0c212b9a911a2c4db2715e6a.jpg","text":"TemporaryFile(/tmp/multipartBody2042269735492319114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148344446,"filename":"image_30102025_16_23_07_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/3/b1c4a2e6a5775f91f51f8dd019d53c8a.jpg","text":"TemporaryFile(/tmp/multipartBody4761245848391611622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148344446,"filename":"image_30102025_16_23_16_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989809","file1":"1391989803","file0":"1391989801","file4":"1391989816","file5":"1391989820","file3":"1391989812"},"map_files_photo_id_array":[{"photo_id":"1391989820","filename":"file5"},{"photo_id":"1391989809","filename":"file2"},{"photo_id":"1391989816","filename":"file4"},{"photo_id":"1391989803","filename":"file1"},{"photo_id":"1391989801","filename":"file0"},{"photo_id":"1391989812","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989816":["hashtag1","hashtag2"]},{"1391989801":["hashtag1","hashtag2"]},{"1391989803":["hashtag1","hashtag2"]},{"1391989812":["hashtag1","hashtag2"]},{"1391989809":["hashtag1","hashtag2"]},{"1391989820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989816, 1391989801, 1391989803, 1391989812, 1391989809, 1391989820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9373459815979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:38:42.113600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_59_2816.jpg', '/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_12_3708.jpg', '/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_17_2586.jpg', '/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_36_3200.jpg', '/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_38_2891.jpg', '/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_41_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/50/image_31102025_01_50_59_2816.jpg
/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_12_3708.jpg
/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_17_2586.jpg
/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_36_3200.jpg
/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_38_2891.jpg
/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_41_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989837","1391989834","1391989845","1391989838","1391989832","1391989835"],"photo_ids_order":["1391989832","1391989834","1391989835","1391989837","1391989838","1391989845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4e7c1a3847450859fc51a71142ea9e89.jpg","text":"TemporaryFile(/tmp/multipartBody7788343068617770613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148383294,"filename":"image_31102025_01_51_36_3200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/53e08cdef5874b554b2b5d27be563c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1507205230974024313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148383294,"filename":"image_31102025_01_51_12_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/3/c53d67c7e63a1c32bf5f40e41a8983be.jpg","text":"TemporaryFile(/tmp/multipartBody6324073755970848343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148383294,"filename":"image_31102025_01_51_41_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/3/421b1267f39fe39372724c8028c99188.jpg","text":"TemporaryFile(/tmp/multipartBody6202007442889546856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148383294,"filename":"image_31102025_01_51_38_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da82e4849136caab094c3f1546f9b9f4.jpg","text":"TemporaryFile(/tmp/multipartBody8585743479087825504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148383294,"filename":"image_31102025_01_50_59_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/3/f8ced3414fabc04c647d6c9c8ee523b3.jpg","text":"TemporaryFile(/tmp/multipartBody8616653365123406552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148383294,"filename":"image_31102025_01_51_17_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989835","file1":"1391989834","file0":"1391989832","file4":"1391989838","file5":"1391989845","file3":"1391989837"},"map_files_photo_id_array":[{"photo_id":"1391989845","filename":"file5"},{"photo_id":"1391989835","filename":"file2"},{"photo_id":"1391989838","filename":"file4"},{"photo_id":"1391989834","filename":"file1"},{"photo_id":"1391989832","filename":"file0"},{"photo_id":"1391989837","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391989837":["hashtag1","hashtag2"]},{"1391989834":["hashtag1","hashtag2"]},{"1391989845":["hashtag1","hashtag2"]},{"1391989838":["hashtag1","hashtag2"]},{"1391989832":["hashtag1","hashtag2"]},{"1391989835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391989837, 1391989834, 1391989845, 1391989838, 1391989832, 1391989835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.409523248672485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:39:22.381167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_23_2616.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_34_2615.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_38_3651.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_41_2709.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_43_2618.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_47_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/16/23/image_30102025_16_23_23_2616.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_34_2615.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_38_3651.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_41_2709.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_43_2618.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_47_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989878","1391989872","1391989880","1391989874","1391989883","1391989876"],"photo_ids_order":["1391989872","1391989874","1391989876","1391989878","1391989880","1391989883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97225366278dfac4f02d89a62c9e2b01.jpg","text":"TemporaryFile(/tmp/multipartBody620956361399269430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148425058,"filename":"image_30102025_16_23_41_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/3/f4624891e0f9d5ef60281cc4d5a93533.jpg","text":"TemporaryFile(/tmp/multipartBody8356285172967291785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148425058,"filename":"image_30102025_16_23_23_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93081fc356fa0f102cab9d00ccfb6623.jpg","text":"TemporaryFile(/tmp/multipartBody8740216977893730557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148425058,"filename":"image_30102025_16_23_43_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/3/b37097e638533cfaa91434b5ef4ab296.jpg","text":"TemporaryFile(/tmp/multipartBody4239375877996684323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148425058,"filename":"image_30102025_16_23_34_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/3/80bcd2e1711278d5ec2826930df61d72.jpg","text":"TemporaryFile(/tmp/multipartBody4754295764612578490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148425058,"filename":"image_30102025_16_23_47_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/3/d793378ca9fe457a35e651ade90a8792.jpg","text":"TemporaryFile(/tmp/multipartBody4303266177297629564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148425058,"filename":"image_30102025_16_23_38_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989876","file1":"1391989874","file0":"1391989872","file4":"1391989880","file5":"1391989883","file3":"1391989878"},"map_files_photo_id_array":[{"photo_id":"1391989883","filename":"file5"},{"photo_id":"1391989876","filename":"file2"},{"photo_id":"1391989880","filename":"file4"},{"photo_id":"1391989874","filename":"file1"},{"photo_id":"1391989872","filename":"file0"},{"photo_id":"1391989878","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989878":["hashtag1","hashtag2"]},{"1391989872":["hashtag1","hashtag2"]},{"1391989880":["hashtag1","hashtag2"]},{"1391989874":["hashtag1","hashtag2"]},{"1391989883":["hashtag1","hashtag2"]},{"1391989876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989878, 1391989872, 1391989880, 1391989874, 1391989883, 1391989876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.418150424957275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:40:02.931900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_56_3616.jpg', '/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_59_2698.jpg', '/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_01_2741.jpg', '/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_08_3569.jpg', '/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_40_11865.jpg', '/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_44_1755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_56_3616.jpg
/home/pi/Desktop/images/30102025/16/23/image_30102025_16_23_59_2698.jpg
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_01_2741.jpg
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_08_3569.jpg
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_40_11865.jpg
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_44_1755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989903","1391989906","1391989900","1391989893","1391989907","1391989897"],"photo_ids_order":["1391989893","1391989897","1391989900","1391989903","1391989906","1391989907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5391b923469068e4e78d9e36a7f2b772.jpg","text":"TemporaryFile(/tmp/multipartBody3426119711473740782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148464758,"filename":"image_30102025_16_24_08_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/3/1b7c9a2a8263a1b4eed5109f20cc7efc.jpg","text":"TemporaryFile(/tmp/multipartBody7243126322540997786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148464758,"filename":"image_30102025_16_24_40_11865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/017de7c0f0d8a08cfc825bb07552711b.jpg","text":"TemporaryFile(/tmp/multipartBody8896865069272339563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148464758,"filename":"image_30102025_16_24_01_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ec3272cf8d9795331c6ac9b514a56ce8.jpg","text":"TemporaryFile(/tmp/multipartBody6052994599158304228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148464758,"filename":"image_30102025_16_23_56_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/3/d4146009ef8414af90e645537b5d85c5.jpg","text":"TemporaryFile(/tmp/multipartBody3105471477535876907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148464758,"filename":"image_30102025_16_24_44_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/3/ab2dfd4f4f596471038d01e49b69030d.jpg","text":"TemporaryFile(/tmp/multipartBody6493596577773411384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148464758,"filename":"image_30102025_16_23_59_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989900","file1":"1391989897","file0":"1391989893","file4":"1391989906","file5":"1391989907","file3":"1391989903"},"map_files_photo_id_array":[{"photo_id":"1391989907","filename":"file5"},{"photo_id":"1391989900","filename":"file2"},{"photo_id":"1391989906","filename":"file4"},{"photo_id":"1391989897","filename":"file1"},{"photo_id":"1391989893","filename":"file0"},{"photo_id":"1391989903","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989903":["hashtag1","hashtag2"]},{"1391989906":["hashtag1","hashtag2"]},{"1391989900":["hashtag1","hashtag2"]},{"1391989893":["hashtag1","hashtag2"]},{"1391989907":["hashtag1","hashtag2"]},{"1391989897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989903, 1391989906, 1391989900, 1391989893, 1391989907, 1391989897)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.59365892410278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:41:03.062943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_47_1725.jpg', '/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_51_1764.jpg', '/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_55_1615.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_07_3014.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_11_3820.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_16_5293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_47_1725.jpg
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_51_1764.jpg
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_55_1615.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_07_3014.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_11_3820.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_16_5293.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.863266944885254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:41:22.172877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_47_1725.jpg', '/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_51_1764.jpg', '/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_55_1615.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_07_3014.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_11_3820.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_16_5293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_47_1725.jpg
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_51_1764.jpg
/home/pi/Desktop/images/30102025/16/24/image_30102025_16_24_55_1615.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_07_3014.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_11_3820.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_16_5293.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989963","1391989961","1391989955","1391989958","1391989952","1391989966"],"photo_ids_order":["1391989952","1391989955","1391989958","1391989961","1391989963","1391989966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/389c4b77eb569c49983bbeff89d7234c.jpg","text":"TemporaryFile(/tmp/multipartBody5610426304430990893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148544425,"filename":"image_30102025_16_26_11_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/3/a6c170048306571405011bd5d714fe05.jpg","text":"TemporaryFile(/tmp/multipartBody4170110807303210076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148544425,"filename":"image_30102025_16_26_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/3/59e0feffef7b620c00c36cc2677fae8e.jpg","text":"TemporaryFile(/tmp/multipartBody1549705271352229209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148544425,"filename":"image_30102025_16_24_51_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/3/f0bfec79092ec193bd2cf275ec6c618b.jpg","text":"TemporaryFile(/tmp/multipartBody6707668766063650563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148544425,"filename":"image_30102025_16_24_55_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/3/e89ce8cfdcb0e85d908aa349989dc8a5.jpg","text":"TemporaryFile(/tmp/multipartBody3544569872618820157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148544425,"filename":"image_30102025_16_24_47_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/3/0bf94ad90061a0d62fe694098bda50af.jpg","text":"TemporaryFile(/tmp/multipartBody1718942658079737758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148544425,"filename":"image_30102025_16_26_16_5293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989958","file1":"1391989955","file0":"1391989952","file4":"1391989963","file5":"1391989966","file3":"1391989961"},"map_files_photo_id_array":[{"photo_id":"1391989966","filename":"file5"},{"photo_id":"1391989958","filename":"file2"},{"photo_id":"1391989963","filename":"file4"},{"photo_id":"1391989955","filename":"file1"},{"photo_id":"1391989952","filename":"file0"},{"photo_id":"1391989961","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989963":["hashtag1","hashtag2"]},{"1391989961":["hashtag1","hashtag2"]},{"1391989955":["hashtag1","hashtag2"]},{"1391989958":["hashtag1","hashtag2"]},{"1391989952":["hashtag1","hashtag2"]},{"1391989966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989963, 1391989961, 1391989955, 1391989958, 1391989952, 1391989966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01003313064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:42:02.848377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_18_1597.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_20_1628.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_23_3562.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_32_3682.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_38_2702.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_40_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/16/26/image_30102025_16_26_18_1597.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_20_1628.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_23_3562.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_32_3682.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_38_2702.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_40_2558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391989978","1391989983","1391989968","1391989987","1391989972","1391989975"],"photo_ids_order":["1391989968","1391989972","1391989975","1391989978","1391989983","1391989987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/27f4273dcb9ee19e056e41820a79a4bc.jpg","text":"TemporaryFile(/tmp/multipartBody8805881364177818861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148584666,"filename":"image_30102025_16_26_32_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/3/74ea7dca557f3a3b3ed260bd2cf556ca.jpg","text":"TemporaryFile(/tmp/multipartBody7646593999310025306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148584666,"filename":"image_30102025_16_26_38_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/3/5b06a8d6fe093bf3a0dacd69b373e994.jpg","text":"TemporaryFile(/tmp/multipartBody1272104212924137101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148584666,"filename":"image_30102025_16_26_18_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/3/360630c9c9f054fc1b0d5ca4c5b7b11b.jpg","text":"TemporaryFile(/tmp/multipartBody2677836199349181963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148584666,"filename":"image_30102025_16_26_40_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/3/880b32b51f2ad5c079ee528b4fdbc755.jpg","text":"TemporaryFile(/tmp/multipartBody2061223518703810406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148584666,"filename":"image_30102025_16_26_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/3/676fb5f2e8bccc1191ee1c86e3fe5aba.jpg","text":"TemporaryFile(/tmp/multipartBody2657062909317397127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148584666,"filename":"image_30102025_16_26_23_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391989975","file1":"1391989972","file0":"1391989968","file4":"1391989983","file5":"1391989987","file3":"1391989978"},"map_files_photo_id_array":[{"photo_id":"1391989987","filename":"file5"},{"photo_id":"1391989975","filename":"file2"},{"photo_id":"1391989983","filename":"file4"},{"photo_id":"1391989972","filename":"file1"},{"photo_id":"1391989968","filename":"file0"},{"photo_id":"1391989978","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391989978":["hashtag1","hashtag2"]},{"1391989983":["hashtag1","hashtag2"]},{"1391989968":["hashtag1","hashtag2"]},{"1391989987":["hashtag1","hashtag2"]},{"1391989972":["hashtag1","hashtag2"]},{"1391989975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391989978, 1391989983, 1391989968, 1391989987, 1391989972, 1391989975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51479935646057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:42:42.518047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_44_2702.jpg', '/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_48_3828.jpg', '/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_53_2632.jpg', '/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_03_3313.jpg', '/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_05_2659.jpg', '/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_15_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_44_2702.jpg
/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_48_3828.jpg
/home/pi/Desktop/images/31102025/01/51/image_31102025_01_51_53_2632.jpg
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_03_3313.jpg
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_05_2659.jpg
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_15_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990000","1391990003","1391990002","1391989997","1391990001","1391990013"],"photo_ids_order":["1391989997","1391990000","1391990001","1391990002","1391990003","1391990013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/19bea47d4e5fda159941a5f3bc8a3abf.jpg","text":"TemporaryFile(/tmp/multipartBody1733374892167254184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148623641,"filename":"image_31102025_01_51_48_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/3/39cb6674ca98e1d04851ab07025e2598.jpg","text":"TemporaryFile(/tmp/multipartBody8713733324684860679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148623641,"filename":"image_31102025_01_52_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/3/38a503c16a1ac3b806290f8ae2237640.jpg","text":"TemporaryFile(/tmp/multipartBody305717868497738516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148623641,"filename":"image_31102025_01_52_03_3313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5b08caf22018a028ced1b8fd3da7e93.jpg","text":"TemporaryFile(/tmp/multipartBody3863350119006303649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148623641,"filename":"image_31102025_01_51_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/3/955abe5e5da870319fdb5feea689b947.jpg","text":"TemporaryFile(/tmp/multipartBody5108117051872629045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148623641,"filename":"image_31102025_01_51_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/3/677442967886cae601ae72c258b9f58e.jpg","text":"TemporaryFile(/tmp/multipartBody4600331748528921154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148623641,"filename":"image_31102025_01_52_15_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990001","file1":"1391990000","file0":"1391989997","file4":"1391990003","file5":"1391990013","file3":"1391990002"},"map_files_photo_id_array":[{"photo_id":"1391990013","filename":"file5"},{"photo_id":"1391990001","filename":"file2"},{"photo_id":"1391990003","filename":"file4"},{"photo_id":"1391990000","filename":"file1"},{"photo_id":"1391989997","filename":"file0"},{"photo_id":"1391990002","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391990000":["hashtag1","hashtag2"]},{"1391990003":["hashtag1","hashtag2"]},{"1391990002":["hashtag1","hashtag2"]},{"1391989997":["hashtag1","hashtag2"]},{"1391990001":["hashtag1","hashtag2"]},{"1391990013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391990000, 1391990003, 1391990002, 1391989997, 1391990001, 1391990013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.262871980667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:43:22.535600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_47_2601.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_53_2682.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_56_2721.jpg', '/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_58_2709.jpg', '/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_11_3672.jpg', '/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_17_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/16/26/image_30102025_16_26_47_2601.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_53_2682.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_56_2721.jpg
/home/pi/Desktop/images/30102025/16/26/image_30102025_16_26_58_2709.jpg
/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_11_3672.jpg
/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_17_2576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990036","1391990038","1391990026","1391990028","1391990030","1391990033"],"photo_ids_order":["1391990026","1391990028","1391990030","1391990033","1391990036","1391990038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b5c99edefb09ab8ab66f64f31889458f.jpg","text":"TemporaryFile(/tmp/multipartBody4314684855437892913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148670540,"filename":"image_30102025_16_27_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/3/9033e877cc09482a60b0e065cd2d2ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2209074401482369547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148670540,"filename":"image_30102025_16_27_17_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/3/4a70da2d0a5c50dfa9ebfab3ba8ebdd1.jpg","text":"TemporaryFile(/tmp/multipartBody2957157080776775991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148670540,"filename":"image_30102025_16_26_47_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/3/183d08ef1d8231b348cb9e4513e24d46.jpg","text":"TemporaryFile(/tmp/multipartBody588474088357561672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148670540,"filename":"image_30102025_16_26_53_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/45ec8eeadb80de4ba48e215dff44883e.jpg","text":"TemporaryFile(/tmp/multipartBody8855205411797473140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148670540,"filename":"image_30102025_16_26_56_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/3/6ce7173afa2fdedb64d78da7559fd059.jpg","text":"TemporaryFile(/tmp/multipartBody5035956032422466313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148670540,"filename":"image_30102025_16_26_58_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990030","file1":"1391990028","file0":"1391990026","file4":"1391990036","file5":"1391990038","file3":"1391990033"},"map_files_photo_id_array":[{"photo_id":"1391990038","filename":"file5"},{"photo_id":"1391990030","filename":"file2"},{"photo_id":"1391990036","filename":"file4"},{"photo_id":"1391990028","filename":"file1"},{"photo_id":"1391990026","filename":"file0"},{"photo_id":"1391990033","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990036":["hashtag1","hashtag2"]},{"1391990038":["hashtag1","hashtag2"]},{"1391990026":["hashtag1","hashtag2"]},{"1391990028":["hashtag1","hashtag2"]},{"1391990030":["hashtag1","hashtag2"]},{"1391990033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990036, 1391990038, 1391990026, 1391990028, 1391990030, 1391990033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.13092064857483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:44:22.711818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_23_3749.jpg', '/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_26_2645.jpg', '/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_31_2677.jpg', '/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_40_2632.jpg', '/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_44_3731.jpg', '/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_49_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/16/27/image_30102025_16_27_23_3749.jpg
/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_26_2645.jpg
/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_31_2677.jpg
/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_40_2632.jpg
/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_44_3731.jpg
/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_49_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990062","1391990044","1391990047","1391990055","1391990060","1391990051"],"photo_ids_order":["1391990044","1391990047","1391990051","1391990055","1391990060","1391990062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d8d92dfc5aa406a57b4a8c886c476d7.jpg","text":"TemporaryFile(/tmp/multipartBody6463199302967009183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148724822,"filename":"image_30102025_16_27_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/3/5f6c018bb8a98a71c3c9640e22329ca3.jpg","text":"TemporaryFile(/tmp/multipartBody258745431794680651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148724822,"filename":"image_30102025_16_27_23_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/3/90472317db8942364cbeec08a7d10d26.jpg","text":"TemporaryFile(/tmp/multipartBody1220168900330945205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148724822,"filename":"image_30102025_16_27_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/3/75128ded083e33ad0d92b377bcc3922e.jpg","text":"TemporaryFile(/tmp/multipartBody2173981127903180338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148724822,"filename":"image_30102025_16_27_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/3/676b2ee535b9b529a31a16a2dbe4c5a8.jpg","text":"TemporaryFile(/tmp/multipartBody1838256508934771069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148724822,"filename":"image_30102025_16_27_44_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/3/143b94e16c1edebb10ec26bd0070d2ce.jpg","text":"TemporaryFile(/tmp/multipartBody3010660678502995995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148724822,"filename":"image_30102025_16_27_31_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990051","file1":"1391990047","file0":"1391990044","file4":"1391990060","file5":"1391990062","file3":"1391990055"},"map_files_photo_id_array":[{"photo_id":"1391990062","filename":"file5"},{"photo_id":"1391990051","filename":"file2"},{"photo_id":"1391990060","filename":"file4"},{"photo_id":"1391990047","filename":"file1"},{"photo_id":"1391990044","filename":"file0"},{"photo_id":"1391990055","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990062":["hashtag1","hashtag2"]},{"1391990044":["hashtag1","hashtag2"]},{"1391990047":["hashtag1","hashtag2"]},{"1391990055":["hashtag1","hashtag2"]},{"1391990060":["hashtag1","hashtag2"]},{"1391990051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990062, 1391990044, 1391990047, 1391990055, 1391990060, 1391990051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.735554456710815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:45:02.651824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_53_3757.jpg', '/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_56_2665.jpg', '/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_58_2706.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_02_3576.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_05_2658.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_07_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/16/27/image_30102025_16_27_53_3757.jpg
/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_56_2665.jpg
/home/pi/Desktop/images/30102025/16/27/image_30102025_16_27_58_2706.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_02_3576.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_05_2658.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_07_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990095","1391990083","1391990097","1391990091","1391990093","1391990069"],"photo_ids_order":["1391990069","1391990083","1391990091","1391990093","1391990095","1391990097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f63cc1e8d4986edb9309307613cccad9.jpg","text":"TemporaryFile(/tmp/multipartBody8789916917768660572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148764537,"filename":"image_30102025_16_28_05_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/3/8c64853ab91addb7d91643f01e04ecd1.jpg","text":"TemporaryFile(/tmp/multipartBody8933550242946581819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148764537,"filename":"image_30102025_16_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/3/2b981c702baf309c077d80624d9e64ac.jpg","text":"TemporaryFile(/tmp/multipartBody5704314028486472342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148764537,"filename":"image_30102025_16_28_07_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/3/edcd4afd89548af5da7fa0f9909758df.jpg","text":"TemporaryFile(/tmp/multipartBody9186907077888741816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148764537,"filename":"image_30102025_16_27_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/3/8a73602ec387bdf08bd7b7ccbec313b7.jpg","text":"TemporaryFile(/tmp/multipartBody1845561121671100967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148764537,"filename":"image_30102025_16_28_02_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/3/1ce83eb6418905c9924f705991c00037.jpg","text":"TemporaryFile(/tmp/multipartBody5052412018615244369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148764537,"filename":"image_30102025_16_27_53_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990091","file1":"1391990083","file0":"1391990069","file4":"1391990095","file5":"1391990097","file3":"1391990093"},"map_files_photo_id_array":[{"photo_id":"1391990097","filename":"file5"},{"photo_id":"1391990091","filename":"file2"},{"photo_id":"1391990095","filename":"file4"},{"photo_id":"1391990083","filename":"file1"},{"photo_id":"1391990069","filename":"file0"},{"photo_id":"1391990093","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990095":["hashtag1","hashtag2"]},{"1391990083":["hashtag1","hashtag2"]},{"1391990097":["hashtag1","hashtag2"]},{"1391990091":["hashtag1","hashtag2"]},{"1391990093":["hashtag1","hashtag2"]},{"1391990069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990095, 1391990083, 1391990097, 1391990091, 1391990093, 1391990069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03788661956787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:45:41.899736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_17_2635.jpg', '/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_30_3629.jpg', '/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_33_2850.jpg', '/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_35_2596.jpg', '/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_38_2792.jpg', '/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_41_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_17_2635.jpg
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_30_3629.jpg
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_33_2850.jpg
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_35_2596.jpg
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_38_2792.jpg
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_41_2864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990102","1391990116","1391990119","1391990113","1391990106","1391990111"],"photo_ids_order":["1391990102","1391990106","1391990111","1391990113","1391990116","1391990119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/987ae4c864803281a97fa08b569d1ef8.jpg","text":"TemporaryFile(/tmp/multipartBody430333836842937405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148803019,"filename":"image_31102025_01_52_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/3/344bfe11397f0f9e8c5adb8891a99187.jpg","text":"TemporaryFile(/tmp/multipartBody8239903530784747837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148803019,"filename":"image_31102025_01_52_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/3/76858a6d4d3d4a6daf7858ec032ec766.jpg","text":"TemporaryFile(/tmp/multipartBody2292163190735350168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148803019,"filename":"image_31102025_01_52_41_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/3/52f506aaf468b91d1c3e5eb226197494.jpg","text":"TemporaryFile(/tmp/multipartBody1571314354291140982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148803019,"filename":"image_31102025_01_52_35_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3fed40070da6e3746a812999a1abba15.jpg","text":"TemporaryFile(/tmp/multipartBody6198043080122489737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148803019,"filename":"image_31102025_01_52_30_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/39a94870f3371c6f74660976bf631fa8.jpg","text":"TemporaryFile(/tmp/multipartBody2073956866633361007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148803019,"filename":"image_31102025_01_52_33_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990111","file1":"1391990106","file0":"1391990102","file4":"1391990116","file5":"1391990119","file3":"1391990113"},"map_files_photo_id_array":[{"photo_id":"1391990119","filename":"file5"},{"photo_id":"1391990111","filename":"file2"},{"photo_id":"1391990116","filename":"file4"},{"photo_id":"1391990106","filename":"file1"},{"photo_id":"1391990102","filename":"file0"},{"photo_id":"1391990113","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391990102":["hashtag1","hashtag2"]},{"1391990116":["hashtag1","hashtag2"]},{"1391990119":["hashtag1","hashtag2"]},{"1391990113":["hashtag1","hashtag2"]},{"1391990106":["hashtag1","hashtag2"]},{"1391990111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391990102, 1391990116, 1391990119, 1391990113, 1391990106, 1391990111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2718186378479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:46:22.049910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_11_3566.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_13_2587.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_18_4342.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_19_1648.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_36_16394.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_38_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_11_3566.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_13_2587.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_18_4342.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_19_1648.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_36_16394.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_38_1692.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.314436435699463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:46:42.086151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_47_2588.jpg', '/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_03_3629.jpg', '/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_05_2690.jpg', '/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_26_3722.jpg', '/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_29_2612.jpg', '/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_38_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/52/image_31102025_01_52_47_2588.jpg
/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_03_3629.jpg
/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_05_2690.jpg
/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_26_3722.jpg
/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_29_2612.jpg
/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_38_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990163","1391990160","1391990148","1391990156","1391990150","1391990144"],"photo_ids_order":["1391990144","1391990148","1391990150","1391990156","1391990160","1391990163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2046fce96dd9c99319dce1605243bdc1.jpg","text":"TemporaryFile(/tmp/multipartBody1427829353622553919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148863220,"filename":"image_31102025_01_53_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/3/0f14f53e9a286304d11b0486e747653d.jpg","text":"TemporaryFile(/tmp/multipartBody6011758508172382061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148863220,"filename":"image_31102025_01_53_29_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/3/08b442ab5fa5b7b2d74926aa919d97ee.jpg","text":"TemporaryFile(/tmp/multipartBody6361300221971458758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148863220,"filename":"image_31102025_01_53_03_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/3/52b133b9ae4b91c176fe58247a198a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4312405276750641907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148863220,"filename":"image_31102025_01_53_26_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e4d89d03a0e178afd4dcdc5d389fc412.jpg","text":"TemporaryFile(/tmp/multipartBody1422465703584737155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148863220,"filename":"image_31102025_01_53_05_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/3/3ecc62d6a63e123300759363675e6ec8.jpg","text":"TemporaryFile(/tmp/multipartBody8837502595009539431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148863220,"filename":"image_31102025_01_52_47_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990150","file1":"1391990148","file0":"1391990144","file4":"1391990160","file5":"1391990163","file3":"1391990156"},"map_files_photo_id_array":[{"photo_id":"1391990163","filename":"file5"},{"photo_id":"1391990150","filename":"file2"},{"photo_id":"1391990160","filename":"file4"},{"photo_id":"1391990148","filename":"file1"},{"photo_id":"1391990144","filename":"file0"},{"photo_id":"1391990156","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391990163":["hashtag1","hashtag2"]},{"1391990160":["hashtag1","hashtag2"]},{"1391990148":["hashtag1","hashtag2"]},{"1391990156":["hashtag1","hashtag2"]},{"1391990150":["hashtag1","hashtag2"]},{"1391990144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391990163, 1391990160, 1391990148, 1391990156, 1391990150, 1391990144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63691067695618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:47:22.199453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_11_3566.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_13_2587.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_18_4342.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_19_1648.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_36_16394.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_38_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_11_3566.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_13_2587.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_18_4342.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_19_1648.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_36_16394.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_38_1692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990185","1391990179","1391990175","1391990189","1391990168","1391990171"],"photo_ids_order":["1391990168","1391990171","1391990175","1391990179","1391990185","1391990189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f37eac41713a0b5e4b572351ad5bc7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1146777834145256286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148904600,"filename":"image_30102025_16_28_36_16394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8965848868342424be7e0ce8aaf67312.jpg","text":"TemporaryFile(/tmp/multipartBody3513578310340596624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148904600,"filename":"image_30102025_16_28_19_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/3/2327d08cedf42d3409c1b08f6fd5bb15.jpg","text":"TemporaryFile(/tmp/multipartBody931168042832525957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148904600,"filename":"image_30102025_16_28_18_4342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/20b9e96456918f03998048a479700c88.jpg","text":"TemporaryFile(/tmp/multipartBody8471704266835633241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148904600,"filename":"image_30102025_16_28_38_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/3/eb1267be13fb4484dfc6f7f97b1a0f7a.jpg","text":"TemporaryFile(/tmp/multipartBody120116524498286271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148904600,"filename":"image_30102025_16_28_11_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/3/0713b96b51ecf70527b0e4f369f26409.jpg","text":"TemporaryFile(/tmp/multipartBody7397708317978299815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148904600,"filename":"image_30102025_16_28_13_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990175","file1":"1391990171","file0":"1391990168","file4":"1391990185","file5":"1391990189","file3":"1391990179"},"map_files_photo_id_array":[{"photo_id":"1391990189","filename":"file5"},{"photo_id":"1391990175","filename":"file2"},{"photo_id":"1391990185","filename":"file4"},{"photo_id":"1391990171","filename":"file1"},{"photo_id":"1391990168","filename":"file0"},{"photo_id":"1391990179","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990185":["hashtag1","hashtag2"]},{"1391990179":["hashtag1","hashtag2"]},{"1391990175":["hashtag1","hashtag2"]},{"1391990189":["hashtag1","hashtag2"]},{"1391990168":["hashtag1","hashtag2"]},{"1391990171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990185, 1391990179, 1391990175, 1391990189, 1391990168, 1391990171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29318118095398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:48:02.706786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_39_1794.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_41_1592.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_43_1745.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_44_1707.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_46_1692.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_48_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_39_1794.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_41_1592.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_43_1745.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_44_1707.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_46_1692.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_48_1721.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":["1391990201","1391990209","1391990212","1391990195","1391990198","1391990204"],"photo_ids_order":["1391990195","1391990198","1391990201","1391990204","1391990209","1391990212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d85d858ef3b49446d94e18df95560964.jpg","text":"TemporaryFile(/tmp/multipartBody4703491595986233524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148944530,"filename":"image_30102025_16_28_43_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/3/eba289d381aa71de469edf3898da4fff.jpg","text":"TemporaryFile(/tmp/multipartBody5574404563120363293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148944530,"filename":"image_30102025_16_28_46_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/3/7d2fb2831bf93a2993190677051a77b6.jpg","text":"TemporaryFile(/tmp/multipartBody6496202256317467008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148944530,"filename":"image_30102025_16_28_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/3/59dd518e75bf74dd0a9cb3c9d1359235.jpg","text":"TemporaryFile(/tmp/multipartBody4477266781976940491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148944530,"filename":"image_30102025_16_28_39_1794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9614fe14139c21a2a9416db0adc252c5.jpg","text":"TemporaryFile(/tmp/multipartBody993524157932248187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148944530,"filename":"image_30102025_16_28_41_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/3/0759930e1a2aff742db2e12da1a2b954.jpg","text":"TemporaryFile(/tmp/multipartBody3141384964195437849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762148944530,"filename":"image_30102025_16_28_44_1707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990201","file1":"1391990198","file0":"1391990195","file4":"1391990209","file5":"1391990212","file3":"1391990204"},"map_files_photo_id_array":[{"photo_id":"1391990212","filename":"file5"},{"photo_id":"1391990201","filename":"file2"},{"photo_id":"1391990209","filename":"file4"},{"photo_id":"1391990198","filename":"file1"},{"photo_id":"1391990195","filename":"file0"},{"photo_id":"1391990204","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990201":["hashtag1","hashtag2"]},{"1391990209":["hashtag1","hashtag2"]},{"1391990212":["hashtag1","hashtag2"]},{"1391990195":["hashtag1","hashtag2"]},{"1391990198":["hashtag1","hashtag2"]},{"1391990204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990201, 1391990209, 1391990212, 1391990195, 1391990198, 1391990204)","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 = 1391990201 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_43_1745.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.434168577194214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:49:23.766047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_49_1537.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_51_1824.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_53_1727.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_56_2691.jpg', '/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_58_2734.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_02_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_49_1537.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_51_1824.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_53_1727.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_56_2691.jpg
/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_58_2734.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_02_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":["1391990234","1391990245","1391990248","1391990242","1391990239","1391990237"],"photo_ids_order":["1391990234","1391990237","1391990239","1391990242","1391990245","1391990248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93f8013d37ad7276c31885097f9cfdd9.jpg","text":"TemporaryFile(/tmp/multipartBody9001752083546722467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149026365,"filename":"image_30102025_16_28_49_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c779664261d31431a2760b376b515605.jpg","text":"TemporaryFile(/tmp/multipartBody48461226075248545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149026365,"filename":"image_30102025_16_28_58_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/3/47666ff811aed69405611b64d233ede1.jpg","text":"TemporaryFile(/tmp/multipartBody3415668286358250263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149026365,"filename":"image_30102025_16_29_02_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2cebf2112ab3b109f99185bfcd5d99fb.jpg","text":"TemporaryFile(/tmp/multipartBody1409218894870192979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149026365,"filename":"image_30102025_16_28_56_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/3/07a6ab60ef0d4bbca9d9880c48bedcdd.jpg","text":"TemporaryFile(/tmp/multipartBody6013295920860639381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149026365,"filename":"image_30102025_16_28_53_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/3/8a61022e03973b61be9ef9c857cfd5e8.jpg","text":"TemporaryFile(/tmp/multipartBody741740200889075378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149026365,"filename":"image_30102025_16_28_51_1824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990239","file1":"1391990237","file0":"1391990234","file4":"1391990245","file5":"1391990248","file3":"1391990242"},"map_files_photo_id_array":[{"photo_id":"1391990248","filename":"file5"},{"photo_id":"1391990239","filename":"file2"},{"photo_id":"1391990245","filename":"file4"},{"photo_id":"1391990237","filename":"file1"},{"photo_id":"1391990234","filename":"file0"},{"photo_id":"1391990242","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990234":["hashtag1","hashtag2"]},{"1391990245":["hashtag1","hashtag2"]},{"1391990248":["hashtag1","hashtag2"]},{"1391990242":["hashtag1","hashtag2"]},{"1391990239":["hashtag1","hashtag2"]},{"1391990237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990234, 1391990245, 1391990248, 1391990242, 1391990239, 1391990237)","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 = 1391990239 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/16/28/image_30102025_16_28_53_1727.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 86.29162335395813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:51:02.471976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_06_4320.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_08_1781.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_13_2751.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_26_12444.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_28_1667.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_29_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_06_4320.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_08_1781.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_13_2751.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_26_12444.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_28_1667.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_29_1713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990327","1391990315","1391990308","1391990323","1391990311","1391990319"],"photo_ids_order":["1391990308","1391990311","1391990315","1391990319","1391990323","1391990327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/68ff552bcb3923ec9c2000aced90d503.jpg","text":"TemporaryFile(/tmp/multipartBody2086348014330122013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149129554,"filename":"image_30102025_16_29_29_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/3/10908d6a02397c4c6a82000e468ea433.jpg","text":"TemporaryFile(/tmp/multipartBody3003634340485660848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149129554,"filename":"image_30102025_16_29_13_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/3/9f0c8bea686ac92362b05b7253740c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2382603688067897374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149129554,"filename":"image_30102025_16_29_06_4320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f47ad82c9c3b324317f3b70a3b07b6d9.jpg","text":"TemporaryFile(/tmp/multipartBody4847313626847390297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149129554,"filename":"image_30102025_16_29_28_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/3/f35dbabf86217577c5e0b8dd9106b60d.jpg","text":"TemporaryFile(/tmp/multipartBody6752742506288592158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149129554,"filename":"image_30102025_16_29_08_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/3/b471d64b68afe555d60faa8b5a7155e5.jpg","text":"TemporaryFile(/tmp/multipartBody8083350748720375982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149129554,"filename":"image_30102025_16_29_26_12444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990315","file1":"1391990311","file0":"1391990308","file4":"1391990323","file5":"1391990327","file3":"1391990319"},"map_files_photo_id_array":[{"photo_id":"1391990327","filename":"file5"},{"photo_id":"1391990315","filename":"file2"},{"photo_id":"1391990323","filename":"file4"},{"photo_id":"1391990311","filename":"file1"},{"photo_id":"1391990308","filename":"file0"},{"photo_id":"1391990319","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990327":["hashtag1","hashtag2"]},{"1391990315":["hashtag1","hashtag2"]},{"1391990308":["hashtag1","hashtag2"]},{"1391990323":["hashtag1","hashtag2"]},{"1391990311":["hashtag1","hashtag2"]},{"1391990319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990327, 1391990315, 1391990308, 1391990323, 1391990311, 1391990319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.7667076587677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:52:03.240709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 06:52:26.332642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_31_1655.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_33_1668.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_37_1689.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_40_2611.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_44_3555.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_47_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/16/29/image_30102025_16_29_31_1655.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_33_1668.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_37_1689.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_40_2611.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_44_3555.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_47_2914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990362","1391990365","1391990358","1391990367","1391990366","1391990354"],"photo_ids_order":["1391990354","1391990358","1391990362","1391990365","1391990366","1391990367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e2d2ccb933597eac6ab6de5497a37397.jpg","text":"TemporaryFile(/tmp/multipartBody1515934064220845245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149215290,"filename":"image_30102025_16_29_37_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/3/ae766eeb649c32b9dd683276470f8893.jpg","text":"TemporaryFile(/tmp/multipartBody7595301120403804428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149215290,"filename":"image_30102025_16_29_40_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/3/8e9e6d38b0e6c51cb55b59ecf2a85bcf.jpg","text":"TemporaryFile(/tmp/multipartBody4339582319298465807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149215290,"filename":"image_30102025_16_29_33_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/3/03b32dc340cf2a49e552b79e5967753d.jpg","text":"TemporaryFile(/tmp/multipartBody7887399467240409972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149215290,"filename":"image_30102025_16_29_47_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/3/536ed380fcdd6a1f1ff7a9921711f449.jpg","text":"TemporaryFile(/tmp/multipartBody2939199608675664308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149215290,"filename":"image_30102025_16_29_44_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/3/c849bb1f74717f07174e55b1448cb364.jpg","text":"TemporaryFile(/tmp/multipartBody271326501086386881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149215290,"filename":"image_30102025_16_29_31_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990362","file1":"1391990358","file0":"1391990354","file4":"1391990366","file5":"1391990367","file3":"1391990365"},"map_files_photo_id_array":[{"photo_id":"1391990367","filename":"file5"},{"photo_id":"1391990362","filename":"file2"},{"photo_id":"1391990366","filename":"file4"},{"photo_id":"1391990358","filename":"file1"},{"photo_id":"1391990354","filename":"file0"},{"photo_id":"1391990365","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990362":["hashtag1","hashtag2"]},{"1391990365":["hashtag1","hashtag2"]},{"1391990358":["hashtag1","hashtag2"]},{"1391990367":["hashtag1","hashtag2"]},{"1391990366":["hashtag1","hashtag2"]},{"1391990354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990362, 1391990365, 1391990358, 1391990367, 1391990366, 1391990354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.75095868110657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:53:22.527924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_49_2574.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_56_2678.jpg', '/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_58_2585.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_08_3016.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_14_2599.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_20_6260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_49_2574.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_56_2678.jpg
/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_58_2585.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_08_3016.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_14_2599.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_20_6260.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990411","1391990413","1391990407","1391990421","1391990415","1391990417"],"photo_ids_order":["1391990407","1391990411","1391990413","1391990415","1391990417","1391990421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/adddfe03179cb4486df2753b93c980f8.jpg","text":"TemporaryFile(/tmp/multipartBody8956008783943979026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149264824,"filename":"image_30102025_16_29_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/3/64781660d9f3badd44f9919d403b8d35.jpg","text":"TemporaryFile(/tmp/multipartBody7435834498899271528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149264824,"filename":"image_30102025_16_29_58_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/3/ed85ce701f0a40026c31e73f59b08fd8.jpg","text":"TemporaryFile(/tmp/multipartBody196157792805816680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149264824,"filename":"image_30102025_16_29_49_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/3/08e79f7fa44181a7c739416c31fea5b1.jpg","text":"TemporaryFile(/tmp/multipartBody2402082494798985061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149264824,"filename":"image_30102025_16_30_20_6260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e960f41ab7b6336dbfb79482cb8027a3.jpg","text":"TemporaryFile(/tmp/multipartBody3982100124878170285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149264824,"filename":"image_30102025_16_30_08_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/3/338b6db16964c2d48562b25a2cd5b4bd.jpg","text":"TemporaryFile(/tmp/multipartBody6873411371571733658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149264824,"filename":"image_30102025_16_30_14_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990413","file1":"1391990411","file0":"1391990407","file4":"1391990417","file5":"1391990421","file3":"1391990415"},"map_files_photo_id_array":[{"photo_id":"1391990421","filename":"file5"},{"photo_id":"1391990413","filename":"file2"},{"photo_id":"1391990417","filename":"file4"},{"photo_id":"1391990411","filename":"file1"},{"photo_id":"1391990407","filename":"file0"},{"photo_id":"1391990415","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990411":["hashtag1","hashtag2"]},{"1391990413":["hashtag1","hashtag2"]},{"1391990407":["hashtag1","hashtag2"]},{"1391990421":["hashtag1","hashtag2"]},{"1391990415":["hashtag1","hashtag2"]},{"1391990417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990411, 1391990413, 1391990407, 1391990421, 1391990415, 1391990417)","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 = 1391990413 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/16/29/image_30102025_16_29_58_2585.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.01076602935791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:54:22.793680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_23_3198.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_31_1646.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_33_2569.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_41_3646.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_44_2657.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_47_3127.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_23_3198.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_31_1646.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_33_2569.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_41_3646.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_44_2657.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_47_3127.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990458","1391990446","1391990449","1391990453","1391990456","1391990441"],"photo_ids_order":["1391990441","1391990446","1391990449","1391990453","1391990456","1391990458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b82c3aee8508a860dacea6a70d8c2a09.jpg","text":"TemporaryFile(/tmp/multipartBody6120366079521212051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149325369,"filename":"image_30102025_16_30_47_3127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/47fb01be293e78ce04e24a5497645617.jpg","text":"TemporaryFile(/tmp/multipartBody2494984437670736752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149325369,"filename":"image_30102025_16_30_31_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/3/5eed140759e94920286451faeb431b5b.jpg","text":"TemporaryFile(/tmp/multipartBody4104806382022377756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149325369,"filename":"image_30102025_16_30_33_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/3/137c8a61d7c6433a434f1a0a4c5c7f47.jpg","text":"TemporaryFile(/tmp/multipartBody2604224723112644278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149325369,"filename":"image_30102025_16_30_41_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/3/004b4013eb08575c703da57eeec494ab.jpg","text":"TemporaryFile(/tmp/multipartBody1328581250881210276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149325369,"filename":"image_30102025_16_30_44_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9e6d4f7710d35878d9b1c01b7d3e970d.jpg","text":"TemporaryFile(/tmp/multipartBody9037467055225990755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149325369,"filename":"image_30102025_16_30_23_3198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990449","file1":"1391990446","file0":"1391990441","file4":"1391990456","file5":"1391990458","file3":"1391990453"},"map_files_photo_id_array":[{"photo_id":"1391990458","filename":"file5"},{"photo_id":"1391990449","filename":"file2"},{"photo_id":"1391990456","filename":"file4"},{"photo_id":"1391990446","filename":"file1"},{"photo_id":"1391990441","filename":"file0"},{"photo_id":"1391990453","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990458":["hashtag1","hashtag2"]},{"1391990446":["hashtag1","hashtag2"]},{"1391990449":["hashtag1","hashtag2"]},{"1391990453":["hashtag1","hashtag2"]},{"1391990456":["hashtag1","hashtag2"]},{"1391990441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990458, 1391990446, 1391990449, 1391990453, 1391990456, 1391990441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62604522705078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:55:02.731064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_53_1662.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_56_2798.jpg', '/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_59_3652.jpg', '/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_02_2832.jpg', '/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_05_2760.jpg', '/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_26_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/16/30/image_30102025_16_30_53_1662.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_56_2798.jpg
/home/pi/Desktop/images/30102025/16/30/image_30102025_16_30_59_3652.jpg
/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_02_2832.jpg
/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_05_2760.jpg
/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_26_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990467","1391990481","1391990475","1391990478","1391990483","1391990471"],"photo_ids_order":["1391990467","1391990471","1391990475","1391990478","1391990481","1391990483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae3aadfcf21397c71a7c4418d1e4a2f8.jpg","text":"TemporaryFile(/tmp/multipartBody7936134797923931011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149364798,"filename":"image_30102025_16_30_53_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/3/2a2b2b461b1cc6bdacd0366e30f8490b.jpg","text":"TemporaryFile(/tmp/multipartBody5990958360673683419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149364798,"filename":"image_30102025_16_31_05_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/67476580eba2a8b8697af81bcf490774.jpg","text":"TemporaryFile(/tmp/multipartBody6845837142486174683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149364798,"filename":"image_30102025_16_30_59_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/3/f822d324c84745596078b5c49a3fe1e9.jpg","text":"TemporaryFile(/tmp/multipartBody3886981492267456435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149364798,"filename":"image_30102025_16_31_02_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/3/9e6ab049228ca9cc5c56ede67e40da08.jpg","text":"TemporaryFile(/tmp/multipartBody5947579706677953487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149364798,"filename":"image_30102025_16_31_26_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/3/ff80dca4f29930db1fae6200a8067a14.jpg","text":"TemporaryFile(/tmp/multipartBody5059840489205963979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149364798,"filename":"image_30102025_16_30_56_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990475","file1":"1391990471","file0":"1391990467","file4":"1391990481","file5":"1391990483","file3":"1391990478"},"map_files_photo_id_array":[{"photo_id":"1391990483","filename":"file5"},{"photo_id":"1391990475","filename":"file2"},{"photo_id":"1391990481","filename":"file4"},{"photo_id":"1391990471","filename":"file1"},{"photo_id":"1391990467","filename":"file0"},{"photo_id":"1391990478","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990467":["hashtag1","hashtag2"]},{"1391990481":["hashtag1","hashtag2"]},{"1391990475":["hashtag1","hashtag2"]},{"1391990478":["hashtag1","hashtag2"]},{"1391990483":["hashtag1","hashtag2"]},{"1391990471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990467, 1391990481, 1391990475, 1391990478, 1391990483, 1391990471)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.31276559829712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:56:03.200201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_32_2686.jpg', '/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_35_3650.jpg', '/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_38_2598.jpg', '/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_41_2722.jpg', '/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_44_3641.jpg', '/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_59_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/16/31/image_30102025_16_31_32_2686.jpg
/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_35_3650.jpg
/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_38_2598.jpg
/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_41_2722.jpg
/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_44_3641.jpg
/home/pi/Desktop/images/30102025/16/31/image_30102025_16_31_59_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990504","1391990507","1391990512","1391990500","1391990498","1391990502"],"photo_ids_order":["1391990498","1391990500","1391990502","1391990504","1391990507","1391990512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d79884f2ab5fbada12fd27da5c8ce409.jpg","text":"TemporaryFile(/tmp/multipartBody324122532304630506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149425119,"filename":"image_30102025_16_31_41_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/3/9736b2d027bc5da8f95f8546196235e9.jpg","text":"TemporaryFile(/tmp/multipartBody5302740628963256641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149425119,"filename":"image_30102025_16_31_44_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/3/4354cd9591c547c599bf5d24a052490f.jpg","text":"TemporaryFile(/tmp/multipartBody7074849105071784449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149425119,"filename":"image_30102025_16_31_59_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/3/da6502ca6e1f9b00256c4b2d86958b81.jpg","text":"TemporaryFile(/tmp/multipartBody4248988810185873058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149425119,"filename":"image_30102025_16_31_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/3/7d892a3db352eee4c8c10c70d88a9a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3145680205131776431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149425119,"filename":"image_30102025_16_31_32_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/3/c1594a1d3274ac5e4c6cf9a9a9085492.jpg","text":"TemporaryFile(/tmp/multipartBody6683347943236381175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149425119,"filename":"image_30102025_16_31_38_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990502","file1":"1391990500","file0":"1391990498","file4":"1391990507","file5":"1391990512","file3":"1391990504"},"map_files_photo_id_array":[{"photo_id":"1391990512","filename":"file5"},{"photo_id":"1391990502","filename":"file2"},{"photo_id":"1391990507","filename":"file4"},{"photo_id":"1391990500","filename":"file1"},{"photo_id":"1391990498","filename":"file0"},{"photo_id":"1391990504","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990504":["hashtag1","hashtag2"]},{"1391990507":["hashtag1","hashtag2"]},{"1391990512":["hashtag1","hashtag2"]},{"1391990500":["hashtag1","hashtag2"]},{"1391990498":["hashtag1","hashtag2"]},{"1391990502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990504, 1391990507, 1391990512, 1391990500, 1391990498, 1391990502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3189160823822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 06:56:42.759132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_42_3639.jpg', '/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_44_2705.jpg', '/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_08_2951.jpg', '/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_11_2577.jpg', '/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_20_2604.jpg', '/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_24_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_42_3639.jpg
/home/pi/Desktop/images/31102025/01/53/image_31102025_01_53_44_2705.jpg
/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_08_2951.jpg
/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_11_2577.jpg
/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_20_2604.jpg
/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_24_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990524","1391990527","1391990526","1391990529","1391990531","1391990528"],"photo_ids_order":["1391990524","1391990526","1391990527","1391990528","1391990529","1391990531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/06e228313f3663640b61f85b4777ac8f.jpg","text":"TemporaryFile(/tmp/multipartBody2906797642681969492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149463879,"filename":"image_31102025_01_53_42_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa5fe66284670dfb93b3a5415b9a3fb2.jpg","text":"TemporaryFile(/tmp/multipartBody2781208697433190944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149463879,"filename":"image_31102025_01_54_08_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/3/fdbbff86a2f40a9a51b3fb7db22e4221.jpg","text":"TemporaryFile(/tmp/multipartBody298428615173108393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149463879,"filename":"image_31102025_01_53_44_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/3/2fcd4d4175a457a95a35bef526460c78.jpg","text":"TemporaryFile(/tmp/multipartBody1316488103643451246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149463879,"filename":"image_31102025_01_54_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/3/05ac9c7d77f4bb52bdbb846226b944d6.jpg","text":"TemporaryFile(/tmp/multipartBody8061720373857899622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149463879,"filename":"image_31102025_01_54_24_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/3/bc74b6237d2fdffd4a03393121dd118a.jpg","text":"TemporaryFile(/tmp/multipartBody2533772031857973956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149463879,"filename":"image_31102025_01_54_11_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990527","file1":"1391990526","file0":"1391990524","file4":"1391990529","file5":"1391990531","file3":"1391990528"},"map_files_photo_id_array":[{"photo_id":"1391990531","filename":"file5"},{"photo_id":"1391990527","filename":"file2"},{"photo_id":"1391990529","filename":"file4"},{"photo_id":"1391990526","filename":"file1"},{"photo_id":"1391990524","filename":"file0"},{"photo_id":"1391990528","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391990524":["hashtag1","hashtag2"]},{"1391990527":["hashtag1","hashtag2"]},{"1391990526":["hashtag1","hashtag2"]},{"1391990529":["hashtag1","hashtag2"]},{"1391990531":["hashtag1","hashtag2"]},{"1391990528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391990524, 1391990527, 1391990526, 1391990529, 1391990531, 1391990528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.590073347091675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 06:57:21.944425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_02_3711.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_05_2680.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_08_2568.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_11_3602.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_14_2879.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_17_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/16/32/image_30102025_16_32_02_3711.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_05_2680.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_08_2568.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_11_3602.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_14_2879.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_17_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391990562","1391990544","1391990558","1391990552","1391990555","1391990549"],"photo_ids_order":["1391990544","1391990549","1391990552","1391990555","1391990558","1391990562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eed2171ff0f11226b071fb0e98af7ebe.jpg","text":"TemporaryFile(/tmp/multipartBody6657939864199878434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149504493,"filename":"image_30102025_16_32_17_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/3/a7266940d86dfc827988a52235e50554.jpg","text":"TemporaryFile(/tmp/multipartBody4930648078096971510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149504493,"filename":"image_30102025_16_32_02_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/3/1c162811824680c3ca183f04c9758e03.jpg","text":"TemporaryFile(/tmp/multipartBody7366555447238800184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149504493,"filename":"image_30102025_16_32_14_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/3/97579dac03b4a079ab13886cfc78aa77.jpg","text":"TemporaryFile(/tmp/multipartBody3267494154812333658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149504493,"filename":"image_30102025_16_32_08_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ebd5a89cd39ad35c051f38c9ec085fff.jpg","text":"TemporaryFile(/tmp/multipartBody3835734033110882064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149504493,"filename":"image_30102025_16_32_11_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/3/895a2813dabc9a81dc9ba4b6ebc94dd6.jpg","text":"TemporaryFile(/tmp/multipartBody5140274433467680364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149504493,"filename":"image_30102025_16_32_05_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990552","file1":"1391990549","file0":"1391990544","file4":"1391990558","file5":"1391990562","file3":"1391990555"},"map_files_photo_id_array":[{"photo_id":"1391990562","filename":"file5"},{"photo_id":"1391990552","filename":"file2"},{"photo_id":"1391990558","filename":"file4"},{"photo_id":"1391990549","filename":"file1"},{"photo_id":"1391990544","filename":"file0"},{"photo_id":"1391990555","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990562":["hashtag1","hashtag2"]},{"1391990544":["hashtag1","hashtag2"]},{"1391990558":["hashtag1","hashtag2"]},{"1391990552":["hashtag1","hashtag2"]},{"1391990555":["hashtag1","hashtag2"]},{"1391990549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990562, 1391990544, 1391990558, 1391990552, 1391990555, 1391990549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.299747705459595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 06:59:03.441060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_20_3626.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_23_2681.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_26_2732.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_31_2764.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_38_2664.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_40_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/16/32/image_30102025_16_32_20_3626.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_23_2681.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_26_2732.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_31_2764.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_38_2664.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_40_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":["1391990584","1391990704","1391990622","1391990663","1391990588","1391990747"],"photo_ids_order":["1391990584","1391990588","1391990622","1391990663","1391990704","1391990747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/620bebe4b9ce4cbd3e121746b817e061.jpg","text":"TemporaryFile(/tmp/multipartBody4759729235118664234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149605473,"filename":"image_30102025_16_32_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/3/f84db03fdc83aed4cd19c695227243a6.jpg","text":"TemporaryFile(/tmp/multipartBody6352334794027447109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149605473,"filename":"image_30102025_16_32_38_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0383fa401cc805b210e2180bda63519c.jpg","text":"TemporaryFile(/tmp/multipartBody5370183635332432268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149605473,"filename":"image_30102025_16_32_26_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/3/7f3a264c9b884df41df53f08b724505b.jpg","text":"TemporaryFile(/tmp/multipartBody8015658009438491426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149605473,"filename":"image_30102025_16_32_31_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/3/af44db2da02d428f099a36549612f4ca.jpg","text":"TemporaryFile(/tmp/multipartBody321800053944389491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149605473,"filename":"image_30102025_16_32_23_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/3/70770f87faa9bd6187612fdd16dac856.jpg","text":"TemporaryFile(/tmp/multipartBody2372594272474671128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149605473,"filename":"image_30102025_16_32_40_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391990622","file1":"1391990588","file0":"1391990584","file4":"1391990704","file5":"1391990747","file3":"1391990663"},"map_files_photo_id_array":[{"photo_id":"1391990747","filename":"file5"},{"photo_id":"1391990622","filename":"file2"},{"photo_id":"1391990704","filename":"file4"},{"photo_id":"1391990588","filename":"file1"},{"photo_id":"1391990584","filename":"file0"},{"photo_id":"1391990663","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391990584":["hashtag1","hashtag2"]},{"1391990704":["hashtag1","hashtag2"]},{"1391990622":["hashtag1","hashtag2"]},{"1391990663":["hashtag1","hashtag2"]},{"1391990588":["hashtag1","hashtag2"]},{"1391990747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391990584, 1391990704, 1391990622, 1391990663, 1391990588, 1391990747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.21042847633362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:00:03.091139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_44_3551.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_47_2551.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_50_3550.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_53_2801.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_56_2888.jpg', '/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_58_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/16/32/image_30102025_16_32_44_3551.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_47_2551.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_50_3550.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_53_2801.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_56_2888.jpg
/home/pi/Desktop/images/30102025/16/32/image_30102025_16_32_58_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391991238","1391991166","1391991241","1391991208","1391991084","1391991126"],"photo_ids_order":["1391991084","1391991126","1391991166","1391991208","1391991238","1391991241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33537796f68be296f20cede3a4ceacb9.jpg","text":"TemporaryFile(/tmp/multipartBody1484981105803639153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149664957,"filename":"image_30102025_16_32_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/3/0766b5d6a69065e531283dd893718af8.jpg","text":"TemporaryFile(/tmp/multipartBody2918800100914998796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149664957,"filename":"image_30102025_16_32_50_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/3/83ce600e9e1a03468e29d62c49edb5e7.jpg","text":"TemporaryFile(/tmp/multipartBody8800652222134999180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149664957,"filename":"image_30102025_16_32_58_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/3/238321779fdecf7b96994d9ee461d938.jpg","text":"TemporaryFile(/tmp/multipartBody6177508822733159150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149664957,"filename":"image_30102025_16_32_53_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/3/2402be0c581ade0693b31978a1e5729e.jpg","text":"TemporaryFile(/tmp/multipartBody7505054799002972556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149664957,"filename":"image_30102025_16_32_44_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/3/5a3e239e07a3481b1dafcd88f9e86a61.jpg","text":"TemporaryFile(/tmp/multipartBody4665461093465248975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149664957,"filename":"image_30102025_16_32_47_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391991166","file1":"1391991126","file0":"1391991084","file4":"1391991238","file5":"1391991241","file3":"1391991208"},"map_files_photo_id_array":[{"photo_id":"1391991241","filename":"file5"},{"photo_id":"1391991166","filename":"file2"},{"photo_id":"1391991238","filename":"file4"},{"photo_id":"1391991126","filename":"file1"},{"photo_id":"1391991084","filename":"file0"},{"photo_id":"1391991208","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391991238":["hashtag1","hashtag2"]},{"1391991166":["hashtag1","hashtag2"]},{"1391991241":["hashtag1","hashtag2"]},{"1391991208":["hashtag1","hashtag2"]},{"1391991084":["hashtag1","hashtag2"]},{"1391991126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391991238, 1391991166, 1391991241, 1391991208, 1391991084, 1391991126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23896026611328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:00:42.648384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_26_2824.jpg', '/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_53_2641.jpg', '/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_57_3789.jpg', '/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_05_2993.jpg', '/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_11_2642.jpg', '/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_14_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_26_2824.jpg
/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_53_2641.jpg
/home/pi/Desktop/images/31102025/01/54/image_31102025_01_54_57_3789.jpg
/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_05_2993.jpg
/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_11_2642.jpg
/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_14_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391991385","1391991247","1391991249","1391991342","1391991380","1391991292"],"photo_ids_order":["1391991247","1391991249","1391991292","1391991342","1391991380","1391991385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9db73ca61aec520231b54bf23592a078.jpg","text":"TemporaryFile(/tmp/multipartBody3358539809304776898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149703782,"filename":"image_31102025_01_55_14_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/3/e5154e7ca527b7ec4acb6a7548d77886.jpg","text":"TemporaryFile(/tmp/multipartBody6127323206814962474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149703782,"filename":"image_31102025_01_54_26_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/3/404e38d387a1371c2fa9253c03ca21df.jpg","text":"TemporaryFile(/tmp/multipartBody6039103631731783673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149703782,"filename":"image_31102025_01_54_53_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/62c60afa24eebff662a63589ab48f864.jpg","text":"TemporaryFile(/tmp/multipartBody8127763378782563927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149703782,"filename":"image_31102025_01_55_05_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/3/76f0a4507dc0723c981deb1621fee17a.jpg","text":"TemporaryFile(/tmp/multipartBody2560518622103124987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149703782,"filename":"image_31102025_01_55_11_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/3/d1ca9a8fee0b1f255d2c701ca8ddab19.jpg","text":"TemporaryFile(/tmp/multipartBody3361607246488550635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149703782,"filename":"image_31102025_01_54_57_3789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391991292","file1":"1391991249","file0":"1391991247","file4":"1391991380","file5":"1391991385","file3":"1391991342"},"map_files_photo_id_array":[{"photo_id":"1391991385","filename":"file5"},{"photo_id":"1391991292","filename":"file2"},{"photo_id":"1391991380","filename":"file4"},{"photo_id":"1391991249","filename":"file1"},{"photo_id":"1391991247","filename":"file0"},{"photo_id":"1391991342","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391991385":["hashtag1","hashtag2"]},{"1391991247":["hashtag1","hashtag2"]},{"1391991249":["hashtag1","hashtag2"]},{"1391991342":["hashtag1","hashtag2"]},{"1391991380":["hashtag1","hashtag2"]},{"1391991292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391991385, 1391991247, 1391991249, 1391991342, 1391991380, 1391991292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.178539514541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:01:22.788026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_02_3674.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_05_2557.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_07_2793.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_11_3692.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_14_2558.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_17_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/16/33/image_30102025_16_33_02_3674.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_05_2557.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_07_2793.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_11_3692.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_14_2558.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_17_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391991442","1391991439","1391991453","1391991456","1391991446","1391991449"],"photo_ids_order":["1391991439","1391991442","1391991446","1391991449","1391991453","1391991456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1f77babf253d5c9fd06026312947c7bd.jpg","text":"TemporaryFile(/tmp/multipartBody5999685480219243614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149745258,"filename":"image_30102025_16_33_05_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/3/0b82992f45652c9eefd0a9c64db1e765.jpg","text":"TemporaryFile(/tmp/multipartBody4873638108404261426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149745258,"filename":"image_30102025_16_33_02_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/3/054c47dd28f6f6ccbdbd8a88ae604379.jpg","text":"TemporaryFile(/tmp/multipartBody4583817173756458031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149745258,"filename":"image_30102025_16_33_14_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/3/e85ea014c73ddb19a32324a96bfd09fb.jpg","text":"TemporaryFile(/tmp/multipartBody5004800535719235160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149745258,"filename":"image_30102025_16_33_17_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/3/8c9020c3c11aebb01f724bf97ecf1465.jpg","text":"TemporaryFile(/tmp/multipartBody7600242664835750634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149745258,"filename":"image_30102025_16_33_07_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/3/a40ab043b4a302057a9a68b755af91e1.jpg","text":"TemporaryFile(/tmp/multipartBody9033496128568148126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149745258,"filename":"image_30102025_16_33_11_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391991446","file1":"1391991442","file0":"1391991439","file4":"1391991453","file5":"1391991456","file3":"1391991449"},"map_files_photo_id_array":[{"photo_id":"1391991456","filename":"file5"},{"photo_id":"1391991446","filename":"file2"},{"photo_id":"1391991453","filename":"file4"},{"photo_id":"1391991442","filename":"file1"},{"photo_id":"1391991439","filename":"file0"},{"photo_id":"1391991449","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391991442":["hashtag1","hashtag2"]},{"1391991439":["hashtag1","hashtag2"]},{"1391991453":["hashtag1","hashtag2"]},{"1391991456":["hashtag1","hashtag2"]},{"1391991446":["hashtag1","hashtag2"]},{"1391991449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391991442, 1391991439, 1391991453, 1391991456, 1391991446, 1391991449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3290913105011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:02:02.401665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_20_2698.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_23_2750.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_25_2727.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_29_3608.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_32_2746.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_35_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_20_2698.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_23_2750.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_25_2727.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_29_3608.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_32_2746.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_35_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391991478","1391991457","1391991483","1391991461","1391991464","1391991469"],"photo_ids_order":["1391991457","1391991461","1391991464","1391991469","1391991478","1391991483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5bc420c9acbdf2e446ee6e01eb351a6a.jpg","text":"TemporaryFile(/tmp/multipartBody8746027799547540287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149784245,"filename":"image_30102025_16_33_32_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/3/db808cedea9600ea7b27b9b67d8b78a4.jpg","text":"TemporaryFile(/tmp/multipartBody9173626735274794236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149784245,"filename":"image_30102025_16_33_20_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/3/1f70e1fde54742f92d99e8aa7783dc0e.jpg","text":"TemporaryFile(/tmp/multipartBody2631719235737234933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149784245,"filename":"image_30102025_16_33_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/3/83475de3b914fddf001b50726a059ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5384043619964633570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149784245,"filename":"image_30102025_16_33_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/3/d835fcbd49f5839f992a775a4e741888.jpg","text":"TemporaryFile(/tmp/multipartBody1248585394723596905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149784245,"filename":"image_30102025_16_33_25_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2a31e45f8aed517f2e18ef24808c322f.jpg","text":"TemporaryFile(/tmp/multipartBody1985181471428408578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149784245,"filename":"image_30102025_16_33_29_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391991464","file1":"1391991461","file0":"1391991457","file4":"1391991478","file5":"1391991483","file3":"1391991469"},"map_files_photo_id_array":[{"photo_id":"1391991483","filename":"file5"},{"photo_id":"1391991464","filename":"file2"},{"photo_id":"1391991478","filename":"file4"},{"photo_id":"1391991461","filename":"file1"},{"photo_id":"1391991457","filename":"file0"},{"photo_id":"1391991469","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391991478":["hashtag1","hashtag2"]},{"1391991457":["hashtag1","hashtag2"]},{"1391991483":["hashtag1","hashtag2"]},{"1391991461":["hashtag1","hashtag2"]},{"1391991464":["hashtag1","hashtag2"]},{"1391991469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391991478, 1391991457, 1391991483, 1391991461, 1391991464, 1391991469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0408251285553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:02:41.967803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_17_2870.jpg', '/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_23_2794.jpg', '/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_35_2707.jpg', '/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_41_2837.jpg', '/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_47_2709.jpg', '/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_53_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_17_2870.jpg
/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_23_2794.jpg
/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_35_2707.jpg
/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_41_2837.jpg
/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_47_2709.jpg
/home/pi/Desktop/images/31102025/01/55/image_31102025_01_55_53_3566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391991742","1391991669","1391991912","1391991989","1391992069","1391991830"],"photo_ids_order":["1391991669","1391991742","1391991830","1391991912","1391991989","1391992069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc328105667ff42d070442b5df3de485.jpg","text":"TemporaryFile(/tmp/multipartBody974932839603220223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149823158,"filename":"image_31102025_01_55_23_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/3/662ce3c39180fb76ba9e4710a242b316.jpg","text":"TemporaryFile(/tmp/multipartBody2591999019114825483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149823158,"filename":"image_31102025_01_55_17_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/3/3c6155103eb037de783ae623392d8dbf.jpg","text":"TemporaryFile(/tmp/multipartBody5945488661156241635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149823158,"filename":"image_31102025_01_55_41_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/65043114593635c45953c5b387cc049c.jpg","text":"TemporaryFile(/tmp/multipartBody2477979891429947260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149823158,"filename":"image_31102025_01_55_47_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/24d2e5f244ea70eb07382686a969217d.jpg","text":"TemporaryFile(/tmp/multipartBody4351254266494519212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149823158,"filename":"image_31102025_01_55_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/3/9c411fd3059f8b24a527a63481bf405f.jpg","text":"TemporaryFile(/tmp/multipartBody2529020431762670306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149823158,"filename":"image_31102025_01_55_35_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391991830","file1":"1391991742","file0":"1391991669","file4":"1391991989","file5":"1391992069","file3":"1391991912"},"map_files_photo_id_array":[{"photo_id":"1391992069","filename":"file5"},{"photo_id":"1391991830","filename":"file2"},{"photo_id":"1391991989","filename":"file4"},{"photo_id":"1391991742","filename":"file1"},{"photo_id":"1391991669","filename":"file0"},{"photo_id":"1391991912","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391991742":["hashtag1","hashtag2"]},{"1391991669":["hashtag1","hashtag2"]},{"1391991912":["hashtag1","hashtag2"]},{"1391991989":["hashtag1","hashtag2"]},{"1391992069":["hashtag1","hashtag2"]},{"1391991830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391991742, 1391991669, 1391991912, 1391991989, 1391992069, 1391991830)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.56165409088135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:03:42.148361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/56/image_31102025_01_56_26_3537.jpg', '/home/pi/Desktop/images/31102025/01/56/image_31102025_01_56_37_2703.jpg', '/home/pi/Desktop/images/31102025/01/56/image_31102025_01_56_44_2600.jpg', '/home/pi/Desktop/images/31102025/01/57/image_31102025_01_57_17_3578.jpg', '/home/pi/Desktop/images/31102025/01/57/image_31102025_01_57_29_2547.jpg', '/home/pi/Desktop/images/31102025/01/57/image_31102025_01_57_38_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/56/image_31102025_01_56_26_3537.jpg
/home/pi/Desktop/images/31102025/01/56/image_31102025_01_56_37_2703.jpg
/home/pi/Desktop/images/31102025/01/56/image_31102025_01_56_44_2600.jpg
/home/pi/Desktop/images/31102025/01/57/image_31102025_01_57_17_3578.jpg
/home/pi/Desktop/images/31102025/01/57/image_31102025_01_57_29_2547.jpg
/home/pi/Desktop/images/31102025/01/57/image_31102025_01_57_38_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391992773","1391992736","1391992658","1391992619","1391992813","1391992698"],"photo_ids_order":["1391992619","1391992658","1391992698","1391992736","1391992773","1391992813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d7e8b5816f3d210bdfa5aa26609bffd.jpg","text":"TemporaryFile(/tmp/multipartBody8072588362559060642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149883196,"filename":"image_31102025_01_57_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/3/a8e8c740cdb04bad12296c774594bf44.jpg","text":"TemporaryFile(/tmp/multipartBody2009215778395470954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149883196,"filename":"image_31102025_01_57_17_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/3/921f16f43ac10c079a89f348fb2bb34c.jpg","text":"TemporaryFile(/tmp/multipartBody6061717397121899918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149883196,"filename":"image_31102025_01_56_37_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6e76c97fc4822c4ce1dd92c649ad25e1.jpg","text":"TemporaryFile(/tmp/multipartBody532794018243869116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149883196,"filename":"image_31102025_01_56_26_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/3/b6c079b80510aac44d45636ed72c117d.jpg","text":"TemporaryFile(/tmp/multipartBody3890521138251095251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149883196,"filename":"image_31102025_01_57_38_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/3/e454061a38eeb59b7493d420bda1bd07.jpg","text":"TemporaryFile(/tmp/multipartBody2241670732553641232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149883196,"filename":"image_31102025_01_56_44_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391992698","file1":"1391992658","file0":"1391992619","file4":"1391992773","file5":"1391992813","file3":"1391992736"},"map_files_photo_id_array":[{"photo_id":"1391992813","filename":"file5"},{"photo_id":"1391992698","filename":"file2"},{"photo_id":"1391992773","filename":"file4"},{"photo_id":"1391992658","filename":"file1"},{"photo_id":"1391992619","filename":"file0"},{"photo_id":"1391992736","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391992773":["hashtag1","hashtag2"]},{"1391992736":["hashtag1","hashtag2"]},{"1391992658":["hashtag1","hashtag2"]},{"1391992619":["hashtag1","hashtag2"]},{"1391992813":["hashtag1","hashtag2"]},{"1391992698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391992773, 1391992736, 1391992658, 1391992619, 1391992813, 1391992698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48131823539734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:04:22.369470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_37_2833.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_41_3682.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_44_2605.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_46_2680.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_50_3766.jpg', '/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_53_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/16/33/image_30102025_16_33_37_2833.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_41_3682.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_44_2605.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_46_2680.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_50_3766.jpg
/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_53_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391993160","1391993240","1391993312","1391993068","1391993314","1391993286"],"photo_ids_order":["1391993068","1391993160","1391993240","1391993286","1391993312","1391993314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ec6c3e5e44ca7d7d09525ed1eb3b59ff.jpg","text":"TemporaryFile(/tmp/multipartBody3645521461902645084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149924850,"filename":"image_30102025_16_33_41_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d1f329ebb90a6d1f9c7848ddbf419b53.jpg","text":"TemporaryFile(/tmp/multipartBody1051655361026025579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149924850,"filename":"image_30102025_16_33_44_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/3/c45e978b486280c075013807070f8138.jpg","text":"TemporaryFile(/tmp/multipartBody5409772763561415592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149924850,"filename":"image_30102025_16_33_50_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/3/4eda9095bd527128146d00c9c98101fe.jpg","text":"TemporaryFile(/tmp/multipartBody5689841574593952858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149924850,"filename":"image_30102025_16_33_37_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/3/722316935f79089f82d6c79330540482.jpg","text":"TemporaryFile(/tmp/multipartBody2493986774848064077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149924850,"filename":"image_30102025_16_33_53_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d34623968dd8b47941d7e55609e780d8.jpg","text":"TemporaryFile(/tmp/multipartBody4678987634147110509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149924850,"filename":"image_30102025_16_33_46_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391993240","file1":"1391993160","file0":"1391993068","file4":"1391993312","file5":"1391993314","file3":"1391993286"},"map_files_photo_id_array":[{"photo_id":"1391993314","filename":"file5"},{"photo_id":"1391993240","filename":"file2"},{"photo_id":"1391993312","filename":"file4"},{"photo_id":"1391993160","filename":"file1"},{"photo_id":"1391993068","filename":"file0"},{"photo_id":"1391993286","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391993160":["hashtag1","hashtag2"]},{"1391993240":["hashtag1","hashtag2"]},{"1391993312":["hashtag1","hashtag2"]},{"1391993068":["hashtag1","hashtag2"]},{"1391993314":["hashtag1","hashtag2"]},{"1391993286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391993160, 1391993240, 1391993312, 1391993068, 1391993314, 1391993286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78924226760864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:05:03.325986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/33/image_30102025_16_33_58_2685.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_02_3788.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_07_2719.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_11_3643.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_14_2623.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_16_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/16/33/image_30102025_16_33_58_2685.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_02_3788.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_07_2719.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_11_3643.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_14_2623.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_16_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391993381","1391993405","1391993377","1391993391","1391993385","1391993388"],"photo_ids_order":["1391993377","1391993381","1391993385","1391993388","1391993391","1391993405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b748c741f9a0af8e637163fea14c694.jpg","text":"TemporaryFile(/tmp/multipartBody5306388010084143517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149965300,"filename":"image_30102025_16_34_02_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/3/32591fc0241f2665b51f4fe8819bda58.jpg","text":"TemporaryFile(/tmp/multipartBody2773716845092077555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149965300,"filename":"image_30102025_16_34_16_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/3/79b170b2380290e562ae9f9f551529f3.jpg","text":"TemporaryFile(/tmp/multipartBody8476896378475922931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149965300,"filename":"image_30102025_16_33_58_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/3/8e07a741572046f8166f8901b57c07e3.jpg","text":"TemporaryFile(/tmp/multipartBody4479244335961691213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149965300,"filename":"image_30102025_16_34_14_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/3/38618c868ebf60b8abae1e237258ae57.jpg","text":"TemporaryFile(/tmp/multipartBody171644219561618858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149965300,"filename":"image_30102025_16_34_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/3/40e32c74f7f133cec330b77a3dd8db1b.jpg","text":"TemporaryFile(/tmp/multipartBody6930265356605976428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762149965300,"filename":"image_30102025_16_34_11_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391993385","file1":"1391993381","file0":"1391993377","file4":"1391993391","file5":"1391993405","file3":"1391993388"},"map_files_photo_id_array":[{"photo_id":"1391993405","filename":"file5"},{"photo_id":"1391993385","filename":"file2"},{"photo_id":"1391993391","filename":"file4"},{"photo_id":"1391993381","filename":"file1"},{"photo_id":"1391993377","filename":"file0"},{"photo_id":"1391993388","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391993381":["hashtag1","hashtag2"]},{"1391993405":["hashtag1","hashtag2"]},{"1391993377":["hashtag1","hashtag2"]},{"1391993391":["hashtag1","hashtag2"]},{"1391993385":["hashtag1","hashtag2"]},{"1391993388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391993381, 1391993405, 1391993377, 1391993391, 1391993385, 1391993388)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.327579736709595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:06:03.355838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_20_3797.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_23_2694.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_25_2573.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_29_3667.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_32_2691.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_34_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/16/34/image_30102025_16_34_20_3797.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_23_2694.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_25_2573.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_29_3667.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_32_2691.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_34_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391993478","1391993424","1391993418","1391993429","1391993420","1391993434"],"photo_ids_order":["1391993418","1391993420","1391993424","1391993429","1391993434","1391993478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d874663db375046047fd83c20ea66a47.jpg","text":"TemporaryFile(/tmp/multipartBody7496780301537861792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150025178,"filename":"image_30102025_16_34_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/3/6a86853438073f15053393688b778f85.jpg","text":"TemporaryFile(/tmp/multipartBody641095437825871035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150025178,"filename":"image_30102025_16_34_25_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a2080b0d4578a478ef62fe5c21971dc5.jpg","text":"TemporaryFile(/tmp/multipartBody86276944478734769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150025178,"filename":"image_30102025_16_34_20_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/3/bba623d8886941cee37ca98a597b13f1.jpg","text":"TemporaryFile(/tmp/multipartBody4322744149212337133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150025178,"filename":"image_30102025_16_34_29_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/3/c3eafc66f4c396c07a598b71415db3cd.jpg","text":"TemporaryFile(/tmp/multipartBody3886111321155906403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150025178,"filename":"image_30102025_16_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/3/b372882f8213f09141873d43fd83f16d.jpg","text":"TemporaryFile(/tmp/multipartBody265274208226669264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150025178,"filename":"image_30102025_16_34_32_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391993424","file1":"1391993420","file0":"1391993418","file4":"1391993434","file5":"1391993478","file3":"1391993429"},"map_files_photo_id_array":[{"photo_id":"1391993478","filename":"file5"},{"photo_id":"1391993424","filename":"file2"},{"photo_id":"1391993434","filename":"file4"},{"photo_id":"1391993420","filename":"file1"},{"photo_id":"1391993418","filename":"file0"},{"photo_id":"1391993429","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391993478":["hashtag1","hashtag2"]},{"1391993424":["hashtag1","hashtag2"]},{"1391993418":["hashtag1","hashtag2"]},{"1391993429":["hashtag1","hashtag2"]},{"1391993420":["hashtag1","hashtag2"]},{"1391993434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391993478, 1391993424, 1391993418, 1391993429, 1391993420, 1391993434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.395817279815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:06:42.889821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_26_3617.jpg', '/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_31_2728.jpg', '/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_35_3727.jpg', '/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_43_2718.jpg', '/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_58_2659.jpg', '/home/pi/Desktop/images/31102025/01/59/image_31102025_01_59_20_2911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_26_3617.jpg
/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_31_2728.jpg
/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_35_3727.jpg
/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_43_2718.jpg
/home/pi/Desktop/images/31102025/01/58/image_31102025_01_58_58_2659.jpg
/home/pi/Desktop/images/31102025/01/59/image_31102025_01_59_20_2911.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391993742","1391993705","1391993665","1391993824","1391993626","1391993784"],"photo_ids_order":["1391993626","1391993665","1391993705","1391993742","1391993784","1391993824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/23c68259497285306e048925f5a9ae75.jpg","text":"TemporaryFile(/tmp/multipartBody5153462536445756178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150064058,"filename":"image_31102025_01_58_43_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/3/94a774b3c57e8c4ecfebc7b5e095128b.jpg","text":"TemporaryFile(/tmp/multipartBody7319603531361487774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150064058,"filename":"image_31102025_01_58_35_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/3/631b6a7817934a149d635caf02ccd403.jpg","text":"TemporaryFile(/tmp/multipartBody2197145014568663441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150064058,"filename":"image_31102025_01_58_31_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/3/e6ddbd63814c9e328d4cdc58ef2bc885.jpg","text":"TemporaryFile(/tmp/multipartBody6273009907553319100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150064058,"filename":"image_31102025_01_59_20_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a66bc300701acceb7c1f9a8965983fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3313656453384564206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150064058,"filename":"image_31102025_01_58_26_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/3/3b2c1d5aa62a8234172dd267d6de859b.jpg","text":"TemporaryFile(/tmp/multipartBody2862600107326457841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150064058,"filename":"image_31102025_01_58_58_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391993705","file1":"1391993665","file0":"1391993626","file4":"1391993784","file5":"1391993824","file3":"1391993742"},"map_files_photo_id_array":[{"photo_id":"1391993824","filename":"file5"},{"photo_id":"1391993705","filename":"file2"},{"photo_id":"1391993784","filename":"file4"},{"photo_id":"1391993665","filename":"file1"},{"photo_id":"1391993626","filename":"file0"},{"photo_id":"1391993742","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391993742":["hashtag1","hashtag2"]},{"1391993705":["hashtag1","hashtag2"]},{"1391993665":["hashtag1","hashtag2"]},{"1391993824":["hashtag1","hashtag2"]},{"1391993626":["hashtag1","hashtag2"]},{"1391993784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391993742, 1391993705, 1391993665, 1391993824, 1391993626, 1391993784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30852913856506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:07:22.051488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_38_3838.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_41_2828.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_44_2624.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_46_2698.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_50_3659.jpg', '/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_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/16/34/image_30102025_16_34_38_3838.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_41_2828.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_44_2624.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_46_2698.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_50_3659.jpg
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_53_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391993999","1391994014","1391994064","1391994034","1391994010","1391994069"],"photo_ids_order":["1391993999","1391994010","1391994014","1391994034","1391994064","1391994069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1f7e6ac1590ef512c686e43051684407.jpg","text":"TemporaryFile(/tmp/multipartBody4289805864751632876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150104469,"filename":"image_30102025_16_34_38_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/3/88eef58c2650360979ca2ad9df74c3e6.jpg","text":"TemporaryFile(/tmp/multipartBody8966532688357731567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150104469,"filename":"image_30102025_16_34_44_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/3/a1bed509569605b5f98a2ef569302c4b.jpg","text":"TemporaryFile(/tmp/multipartBody3092541477948264662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150104469,"filename":"image_30102025_16_34_50_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/3/9e713112f9da16d5ace55aad05dc1484.jpg","text":"TemporaryFile(/tmp/multipartBody4516466415764347917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150104469,"filename":"image_30102025_16_34_46_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1a4006da14bd26b084330984aae61252.jpg","text":"TemporaryFile(/tmp/multipartBody5553845527722923873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150104469,"filename":"image_30102025_16_34_41_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/3/0579eb46d321f8c02fee5476fa530392.jpg","text":"TemporaryFile(/tmp/multipartBody3147396560702626117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150104469,"filename":"image_30102025_16_34_53_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994014","file1":"1391994010","file0":"1391993999","file4":"1391994064","file5":"1391994069","file3":"1391994034"},"map_files_photo_id_array":[{"photo_id":"1391994069","filename":"file5"},{"photo_id":"1391994014","filename":"file2"},{"photo_id":"1391994064","filename":"file4"},{"photo_id":"1391994010","filename":"file1"},{"photo_id":"1391993999","filename":"file0"},{"photo_id":"1391994034","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391993999":["hashtag1","hashtag2"]},{"1391994014":["hashtag1","hashtag2"]},{"1391994064":["hashtag1","hashtag2"]},{"1391994034":["hashtag1","hashtag2"]},{"1391994010":["hashtag1","hashtag2"]},{"1391994069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391993999, 1391994014, 1391994064, 1391994034, 1391994010, 1391994069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26066827774048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:08:02.768821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_55_2664.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_14_2707.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_16_2713.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_32_3253.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_34_2683.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_37_3128.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/34/image_30102025_16_34_55_2664.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_14_2707.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_16_2713.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_32_3253.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_34_2683.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_37_3128.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994213","1391994239","1391994234","1391994243","1391994237","1391994231"],"photo_ids_order":["1391994213","1391994231","1391994234","1391994237","1391994239","1391994243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3705f4f8158a48d20ccdc099fdc82324.jpg","text":"TemporaryFile(/tmp/multipartBody3387225726978476938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150144594,"filename":"image_30102025_16_34_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/3/c9d762c16c9c0c9d96fb3ed00238a67e.jpg","text":"TemporaryFile(/tmp/multipartBody4351117493464393943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150144594,"filename":"image_30102025_16_35_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/3/b43e0d4606c15093cec5c5c8b2964e73.jpg","text":"TemporaryFile(/tmp/multipartBody4461393999049324433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150144594,"filename":"image_30102025_16_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/3/d7083086af00314f507c5f693719d27c.jpg","text":"TemporaryFile(/tmp/multipartBody7431815640520600565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150144594,"filename":"image_30102025_16_35_37_3128.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4fdaeec6fb5c58b57bb489bf7adbfac1.jpg","text":"TemporaryFile(/tmp/multipartBody8121971454015997155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150144594,"filename":"image_30102025_16_35_32_3253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2abaca00aa033083e66e414fd304e8bd.jpg","text":"TemporaryFile(/tmp/multipartBody7154998886755627706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150144594,"filename":"image_30102025_16_35_14_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994234","file1":"1391994231","file0":"1391994213","file4":"1391994239","file5":"1391994243","file3":"1391994237"},"map_files_photo_id_array":[{"photo_id":"1391994243","filename":"file5"},{"photo_id":"1391994234","filename":"file2"},{"photo_id":"1391994239","filename":"file4"},{"photo_id":"1391994231","filename":"file1"},{"photo_id":"1391994213","filename":"file0"},{"photo_id":"1391994237","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391994213":["hashtag1","hashtag2"]},{"1391994239":["hashtag1","hashtag2"]},{"1391994234":["hashtag1","hashtag2"]},{"1391994243":["hashtag1","hashtag2"]},{"1391994237":["hashtag1","hashtag2"]},{"1391994231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391994213, 1391994239, 1391994234, 1391994243, 1391994237, 1391994231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.620118141174316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:08:42.264887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/01/59/image_31102025_01_59_22_2707.jpg', '/home/pi/Desktop/images/31102025/01/59/image_31102025_01_59_26_3578.jpg', '/home/pi/Desktop/images/31102025/01/59/image_31102025_02_00_02_3752.jpg', '/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_14_2557.jpg', '/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_28_2772.jpg', '/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_31_3087.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/01/59/image_31102025_01_59_22_2707.jpg
/home/pi/Desktop/images/31102025/01/59/image_31102025_01_59_26_3578.jpg
/home/pi/Desktop/images/31102025/01/59/image_31102025_02_00_02_3752.jpg
/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_14_2557.jpg
/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_28_2772.jpg
/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_31_3087.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994257","1391994272","1391994269","1391994265","1391994267","1391994261"],"photo_ids_order":["1391994257","1391994261","1391994265","1391994267","1391994269","1391994272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12c9456007e6da31b247649944894ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1092577445418256190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150183417,"filename":"image_31102025_01_59_22_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/3/5f40529c74a3f168f16a44109558c2fd.jpg","text":"TemporaryFile(/tmp/multipartBody4019488672563537172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150183417,"filename":"image_31102025_02_00_31_3087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/032d85b53a3f8488c79ec446ae88181b.jpg","text":"TemporaryFile(/tmp/multipartBody7971251966339811336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150183417,"filename":"image_31102025_02_00_28_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/3/3b663643eade6f5f8fe9f5be6613361b.jpg","text":"TemporaryFile(/tmp/multipartBody3229226247069211345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150183417,"filename":"image_31102025_02_00_02_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/3/af7fb992803b40d6352d8f6404b3a39d.jpg","text":"TemporaryFile(/tmp/multipartBody6579496433161556770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150183417,"filename":"image_31102025_02_00_14_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/3/07527ba08e459708ed37244069cad4ed.jpg","text":"TemporaryFile(/tmp/multipartBody2584707611337446815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150183417,"filename":"image_31102025_01_59_26_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994265","file1":"1391994261","file0":"1391994257","file4":"1391994269","file5":"1391994272","file3":"1391994267"},"map_files_photo_id_array":[{"photo_id":"1391994272","filename":"file5"},{"photo_id":"1391994265","filename":"file2"},{"photo_id":"1391994269","filename":"file4"},{"photo_id":"1391994261","filename":"file1"},{"photo_id":"1391994257","filename":"file0"},{"photo_id":"1391994267","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391994257":["hashtag1","hashtag2"]},{"1391994272":["hashtag1","hashtag2"]},{"1391994269":["hashtag1","hashtag2"]},{"1391994265":["hashtag1","hashtag2"]},{"1391994267":["hashtag1","hashtag2"]},{"1391994261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391994257, 1391994272, 1391994269, 1391994265, 1391994267, 1391994261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83175539970398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:09:22.405723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_40_2680.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_44_3709.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_47_2712.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_53_6829.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_55_1711.jpg', '/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_57_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/16/35/image_30102025_16_35_40_2680.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_44_3709.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_47_2712.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_53_6829.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_55_1711.jpg
/home/pi/Desktop/images/30102025/16/35/image_30102025_16_35_57_1700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994306","1391994281","1391994300","1391994284","1391994289","1391994294"],"photo_ids_order":["1391994281","1391994284","1391994289","1391994294","1391994300","1391994306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be49e198a2a8088b25104a01f4fb2cce.jpg","text":"TemporaryFile(/tmp/multipartBody1723152988537879314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150224866,"filename":"image_30102025_16_35_57_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/3/95426f0fc879a22b2facec590efa3f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6039693451336138913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150224866,"filename":"image_30102025_16_35_40_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/3/9fc0cfc668f9f3e38ac1b37b50131116.jpg","text":"TemporaryFile(/tmp/multipartBody1574810499245668835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150224866,"filename":"image_30102025_16_35_55_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/3/d4906271007cb53d0e460b706b0eea24.jpg","text":"TemporaryFile(/tmp/multipartBody6010929368967182288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150224866,"filename":"image_30102025_16_35_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/3/75f672ca2818e7fe89b95f4ddfc900a0.jpg","text":"TemporaryFile(/tmp/multipartBody6097986677626667315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150224866,"filename":"image_30102025_16_35_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/3/ad0a1a16ab374d163263e70fa56b7840.jpg","text":"TemporaryFile(/tmp/multipartBody6905770323025359774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150224866,"filename":"image_30102025_16_35_53_6829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994289","file1":"1391994284","file0":"1391994281","file4":"1391994300","file5":"1391994306","file3":"1391994294"},"map_files_photo_id_array":[{"photo_id":"1391994306","filename":"file5"},{"photo_id":"1391994289","filename":"file2"},{"photo_id":"1391994300","filename":"file4"},{"photo_id":"1391994284","filename":"file1"},{"photo_id":"1391994281","filename":"file0"},{"photo_id":"1391994294","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391994306":["hashtag1","hashtag2"]},{"1391994281":["hashtag1","hashtag2"]},{"1391994300":["hashtag1","hashtag2"]},{"1391994284":["hashtag1","hashtag2"]},{"1391994289":["hashtag1","hashtag2"]},{"1391994294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391994306, 1391994281, 1391994300, 1391994284, 1391994289, 1391994294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19016408920288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:10:03.125762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_03_1806.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_06_3344.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_08_1754.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_10_2009.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_13_2897.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_17_3809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_03_1806.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_06_3344.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_08_1754.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_10_2009.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_13_2897.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_17_3809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994326","1391994391","1391994388","1391994373","1391994396","1391994333"],"photo_ids_order":["1391994326","1391994333","1391994373","1391994388","1391994391","1391994396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d97920a1dd6189db40199d05430c43d.jpg","text":"TemporaryFile(/tmp/multipartBody1382219258766124672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150264943,"filename":"image_30102025_16_36_03_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/3/8e3a7d6360eb325c114886c36e44f3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5573208547042707927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150264943,"filename":"image_30102025_16_36_13_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/3/cc05962bd9d9e5b756315d03634df6b4.jpg","text":"TemporaryFile(/tmp/multipartBody302043246451379008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150264943,"filename":"image_30102025_16_36_10_2009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/63539598b487062068b33b0f9a0d26a9.jpg","text":"TemporaryFile(/tmp/multipartBody8963103847537132943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150264943,"filename":"image_30102025_16_36_08_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/3/b42eb574e5e93814a76192d3adaafed5.jpg","text":"TemporaryFile(/tmp/multipartBody6474904660116825987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150264943,"filename":"image_30102025_16_36_17_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a2b487e29541205f7d6a6b02e1616d3d.jpg","text":"TemporaryFile(/tmp/multipartBody3891103047795864059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150264943,"filename":"image_30102025_16_36_06_3344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994373","file1":"1391994333","file0":"1391994326","file4":"1391994391","file5":"1391994396","file3":"1391994388"},"map_files_photo_id_array":[{"photo_id":"1391994396","filename":"file5"},{"photo_id":"1391994373","filename":"file2"},{"photo_id":"1391994391","filename":"file4"},{"photo_id":"1391994333","filename":"file1"},{"photo_id":"1391994326","filename":"file0"},{"photo_id":"1391994388","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391994326":["hashtag1","hashtag2"]},{"1391994391":["hashtag1","hashtag2"]},{"1391994388":["hashtag1","hashtag2"]},{"1391994373":["hashtag1","hashtag2"]},{"1391994396":["hashtag1","hashtag2"]},{"1391994333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391994326, 1391994391, 1391994388, 1391994373, 1391994396, 1391994333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70748424530029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:10:42.617068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_40_2615.jpg', '/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_43_2684.jpg', '/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_47_3852.jpg', '/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_55_5531.jpg', '/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_23_3610.jpg', '/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_26_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_40_2615.jpg
/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_43_2684.jpg
/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_47_3852.jpg
/home/pi/Desktop/images/31102025/02/00/image_31102025_02_00_55_5531.jpg
/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_23_3610.jpg
/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_26_2840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994587","1391994595","1391994598","1391994616","1391994480","1391994528"],"photo_ids_order":["1391994480","1391994528","1391994587","1391994595","1391994598","1391994616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e5cd1af640f1d6873b4558afed04327.jpg","text":"TemporaryFile(/tmp/multipartBody6791732721204461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150303745,"filename":"image_31102025_02_00_47_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/3/3662718d2495d73ac6b7560731cded55.jpg","text":"TemporaryFile(/tmp/multipartBody1752474251213103131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150303745,"filename":"image_31102025_02_00_55_5531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3a58218f84a6c8bca36119af7919891d.jpg","text":"TemporaryFile(/tmp/multipartBody4776814177307218147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150303745,"filename":"image_31102025_02_01_23_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c5b96e2a9c15442aab9a19df35c0da57.jpg","text":"TemporaryFile(/tmp/multipartBody8037346155683888721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150303745,"filename":"image_31102025_02_01_26_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/3/620323b0e3f8aa0206d622ff0e34bcce.jpg","text":"TemporaryFile(/tmp/multipartBody6358133154442327271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150303745,"filename":"image_31102025_02_00_40_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/3/621635cad95ba5db0c19e1ed11928c57.jpg","text":"TemporaryFile(/tmp/multipartBody4684489461421739545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150303745,"filename":"image_31102025_02_00_43_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994587","file1":"1391994528","file0":"1391994480","file4":"1391994598","file5":"1391994616","file3":"1391994595"},"map_files_photo_id_array":[{"photo_id":"1391994616","filename":"file5"},{"photo_id":"1391994587","filename":"file2"},{"photo_id":"1391994598","filename":"file4"},{"photo_id":"1391994528","filename":"file1"},{"photo_id":"1391994480","filename":"file0"},{"photo_id":"1391994595","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391994587":["hashtag1","hashtag2"]},{"1391994595":["hashtag1","hashtag2"]},{"1391994598":["hashtag1","hashtag2"]},{"1391994616":["hashtag1","hashtag2"]},{"1391994480":["hashtag1","hashtag2"]},{"1391994528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391994587, 1391994595, 1391994598, 1391994616, 1391994480, 1391994528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.531572103500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:11:42.823064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_31_2741.jpg', '/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_40_2830.jpg', '/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_44_3661.jpg', '/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_53_3634.jpg', '/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_58_2567.jpg', '/home/pi/Desktop/images/31102025/02/02/image_31102025_02_02_04_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_31_2741.jpg
/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_40_2830.jpg
/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_44_3661.jpg
/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_53_3634.jpg
/home/pi/Desktop/images/31102025/02/01/image_31102025_02_01_58_2567.jpg
/home/pi/Desktop/images/31102025/02/02/image_31102025_02_02_04_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994671","1391994656","1391994669","1391994660","1391994663","1391994666"],"photo_ids_order":["1391994656","1391994660","1391994663","1391994666","1391994669","1391994671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/87a7812adf2b905f1a939d118f10c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody8128347597463570493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150363951,"filename":"image_31102025_02_02_04_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/3/cef76c42006dd772af2abd267b1c7dce.jpg","text":"TemporaryFile(/tmp/multipartBody3165403132788931921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150363951,"filename":"image_31102025_02_01_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/3/7d60ee6b6ec653e556aad3b6458a94f6.jpg","text":"TemporaryFile(/tmp/multipartBody6415032430706217942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150363951,"filename":"image_31102025_02_01_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/3/821fa84b62ba624b37a96ba4dede5256.jpg","text":"TemporaryFile(/tmp/multipartBody7381216116668937376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150363951,"filename":"image_31102025_02_01_40_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/3/5183931a60dbef9ece3258b9fa108549.jpg","text":"TemporaryFile(/tmp/multipartBody3816470648311404665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150363951,"filename":"image_31102025_02_01_44_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/3/fd450bda4f8caac266f08780907739e7.jpg","text":"TemporaryFile(/tmp/multipartBody9078529911651253101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150363951,"filename":"image_31102025_02_01_53_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994663","file1":"1391994660","file0":"1391994656","file4":"1391994669","file5":"1391994671","file3":"1391994666"},"map_files_photo_id_array":[{"photo_id":"1391994671","filename":"file5"},{"photo_id":"1391994663","filename":"file2"},{"photo_id":"1391994669","filename":"file4"},{"photo_id":"1391994660","filename":"file1"},{"photo_id":"1391994656","filename":"file0"},{"photo_id":"1391994666","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391994671":["hashtag1","hashtag2"]},{"1391994656":["hashtag1","hashtag2"]},{"1391994669":["hashtag1","hashtag2"]},{"1391994660":["hashtag1","hashtag2"]},{"1391994663":["hashtag1","hashtag2"]},{"1391994666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391994671, 1391994656, 1391994669, 1391994660, 1391994663, 1391994666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87083888053894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:12:21.934723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_20_2712.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_22_2627.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_33_11223.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_35_1502.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_40_4579.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_45_5796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_20_2712.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_22_2627.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_33_11223.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_35_1502.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_40_4579.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_45_5796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994689","1391994704","1391994685","1391994681","1391994699","1391994708"],"photo_ids_order":["1391994681","1391994685","1391994689","1391994699","1391994704","1391994708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8dc011f61347f41b7ea07b49a12e1818.jpg","text":"TemporaryFile(/tmp/multipartBody7962959370369840725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150404328,"filename":"image_30102025_16_36_33_11223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/29c8bf61535b7d4839826f234d4910aa.jpg","text":"TemporaryFile(/tmp/multipartBody606124640922686741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150404328,"filename":"image_30102025_16_36_40_4579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4c1ac2381d387d5aa2b603805a671057.jpg","text":"TemporaryFile(/tmp/multipartBody111660225135316180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150404328,"filename":"image_30102025_16_36_22_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bde1ced5171df6f4984a2fbfcfa0517d.jpg","text":"TemporaryFile(/tmp/multipartBody3111636574319624690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150404328,"filename":"image_30102025_16_36_20_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/3/b66308ea102e9410220ae307ea36c79a.jpg","text":"TemporaryFile(/tmp/multipartBody6862916293027642608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150404328,"filename":"image_30102025_16_36_35_1502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a8f498544fa145f8aa7d65b15d2e3a3d.jpg","text":"TemporaryFile(/tmp/multipartBody395856012706569747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150404328,"filename":"image_30102025_16_36_45_5796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994689","file1":"1391994685","file0":"1391994681","file4":"1391994704","file5":"1391994708","file3":"1391994699"},"map_files_photo_id_array":[{"photo_id":"1391994708","filename":"file5"},{"photo_id":"1391994689","filename":"file2"},{"photo_id":"1391994704","filename":"file4"},{"photo_id":"1391994685","filename":"file1"},{"photo_id":"1391994681","filename":"file0"},{"photo_id":"1391994699","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391994689":["hashtag1","hashtag2"]},{"1391994704":["hashtag1","hashtag2"]},{"1391994685":["hashtag1","hashtag2"]},{"1391994681":["hashtag1","hashtag2"]},{"1391994699":["hashtag1","hashtag2"]},{"1391994708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391994689, 1391994704, 1391994685, 1391994681, 1391994699, 1391994708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66866588592529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:13:03.073675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_57_11760.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_59_1643.jpg', '/home/pi/Desktop/images/30102025/16/36/image_30102025_16_37_00_1600.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_05_5158.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_18_12725.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_20_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_57_11760.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_36_59_1643.jpg
/home/pi/Desktop/images/30102025/16/36/image_30102025_16_37_00_1600.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_05_5158.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_18_12725.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_20_1597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994717","1391994821","1391994737","1391994778","1391994723","1391994720"],"photo_ids_order":["1391994717","1391994720","1391994723","1391994737","1391994778","1391994821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2e13adcd28ffb3c24cca4bf952a29840.jpg","text":"TemporaryFile(/tmp/multipartBody8677419262838728740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150444936,"filename":"image_30102025_16_36_57_11760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0153182511cea77b512334baee55fda7.jpg","text":"TemporaryFile(/tmp/multipartBody627495118019687390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150444936,"filename":"image_30102025_16_37_20_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/3/709c12c0b64c480d1ac96e7123956806.jpg","text":"TemporaryFile(/tmp/multipartBody379573585392551808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150444936,"filename":"image_30102025_16_37_05_5158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9802bd6baf0c546aaecf80283beee30b.jpg","text":"TemporaryFile(/tmp/multipartBody2635596500562654476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150444936,"filename":"image_30102025_16_37_18_12725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5e76613e0ee1dc1769ac486eaf7c9319.jpg","text":"TemporaryFile(/tmp/multipartBody870112863329254033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150444936,"filename":"image_30102025_16_37_00_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/3/5e84748f652445362f0059b72091c83b.jpg","text":"TemporaryFile(/tmp/multipartBody4910295526672520905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150444936,"filename":"image_30102025_16_36_59_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994723","file1":"1391994720","file0":"1391994717","file4":"1391994778","file5":"1391994821","file3":"1391994737"},"map_files_photo_id_array":[{"photo_id":"1391994821","filename":"file5"},{"photo_id":"1391994723","filename":"file2"},{"photo_id":"1391994778","filename":"file4"},{"photo_id":"1391994720","filename":"file1"},{"photo_id":"1391994717","filename":"file0"},{"photo_id":"1391994737","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391994717":["hashtag1","hashtag2"]},{"1391994821":["hashtag1","hashtag2"]},{"1391994737":["hashtag1","hashtag2"]},{"1391994778":["hashtag1","hashtag2"]},{"1391994723":["hashtag1","hashtag2"]},{"1391994720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391994717, 1391994821, 1391994737, 1391994778, 1391994723, 1391994720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85880970954895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:13:42.194124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/02/image_31102025_02_02_55_2693.jpg', '/home/pi/Desktop/images/31102025/02/02/image_31102025_02_02_58_2635.jpg', '/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_01_2939.jpg', '/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_05_3587.jpg', '/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_07_2228.jpg', '/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_11_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/02/image_31102025_02_02_55_2693.jpg
/home/pi/Desktop/images/31102025/02/02/image_31102025_02_02_58_2635.jpg
/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_01_2939.jpg
/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_05_3587.jpg
/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_07_2228.jpg
/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_11_3744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994872","1391994866","1391994875","1391994869","1391994862","1391994858"],"photo_ids_order":["1391994858","1391994862","1391994866","1391994869","1391994872","1391994875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/356ba63f37b879615881fab053770177.jpg","text":"TemporaryFile(/tmp/multipartBody6211082873410069941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150483419,"filename":"image_31102025_02_03_07_2228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5ddd67660222d5a14f461de27d3e84d9.jpg","text":"TemporaryFile(/tmp/multipartBody4082491563007178051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150483419,"filename":"image_31102025_02_03_01_2939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/52366fb0a86cea057ac0bd188535c9e2.jpg","text":"TemporaryFile(/tmp/multipartBody3675243756340852670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150483419,"filename":"image_31102025_02_03_11_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/3/f889dd3bbe0fa0a5db3e01b6be51a9a8.jpg","text":"TemporaryFile(/tmp/multipartBody9098956320675899995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150483419,"filename":"image_31102025_02_03_05_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5e641f38efbf738a20e051bf703a2085.jpg","text":"TemporaryFile(/tmp/multipartBody8522856556672491235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150483419,"filename":"image_31102025_02_02_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/3/a9fd077199753a5d4a6208ffe584b67d.jpg","text":"TemporaryFile(/tmp/multipartBody1226960658880816155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150483419,"filename":"image_31102025_02_02_55_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994866","file1":"1391994862","file0":"1391994858","file4":"1391994872","file5":"1391994875","file3":"1391994869"},"map_files_photo_id_array":[{"photo_id":"1391994875","filename":"file5"},{"photo_id":"1391994866","filename":"file2"},{"photo_id":"1391994872","filename":"file4"},{"photo_id":"1391994862","filename":"file1"},{"photo_id":"1391994858","filename":"file0"},{"photo_id":"1391994869","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391994872":["hashtag1","hashtag2"]},{"1391994866":["hashtag1","hashtag2"]},{"1391994875":["hashtag1","hashtag2"]},{"1391994869":["hashtag1","hashtag2"]},{"1391994862":["hashtag1","hashtag2"]},{"1391994858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391994872, 1391994866, 1391994875, 1391994869, 1391994862, 1391994858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.277639865875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:14:22.441744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_21_1556.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_23_1641.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_25_1940.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_27_1632.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_28_1679.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_30_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/16/37/image_30102025_16_37_21_1556.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_23_1641.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_25_1940.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_27_1632.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_28_1679.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_30_1632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994902","1391994895","1391994889","1391994898","1391994891","1391994906"],"photo_ids_order":["1391994889","1391994891","1391994895","1391994898","1391994902","1391994906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/002d952a3be5b500070910cf32edf586.jpg","text":"TemporaryFile(/tmp/multipartBody6885360336709979217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150524847,"filename":"image_30102025_16_37_28_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/3/3fc8984dd741528141b49be07e6ffc4e.jpg","text":"TemporaryFile(/tmp/multipartBody7498750823073607352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150524847,"filename":"image_30102025_16_37_25_1940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/19896bb5bbb684d40ee23bb9d3387bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4500399582842747620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150524847,"filename":"image_30102025_16_37_21_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/3/7d02ebb57be15e66052d1c6edf65ac2b.jpg","text":"TemporaryFile(/tmp/multipartBody3480237410137700110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150524847,"filename":"image_30102025_16_37_27_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/3/acc80a406cec4f804dded487067ebd88.jpg","text":"TemporaryFile(/tmp/multipartBody3957824136029385858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150524847,"filename":"image_30102025_16_37_23_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/3/9b076d1cd477dc88bf504d123c593262.jpg","text":"TemporaryFile(/tmp/multipartBody76709954740148521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150524847,"filename":"image_30102025_16_37_30_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994895","file1":"1391994891","file0":"1391994889","file4":"1391994902","file5":"1391994906","file3":"1391994898"},"map_files_photo_id_array":[{"photo_id":"1391994906","filename":"file5"},{"photo_id":"1391994895","filename":"file2"},{"photo_id":"1391994902","filename":"file4"},{"photo_id":"1391994891","filename":"file1"},{"photo_id":"1391994889","filename":"file0"},{"photo_id":"1391994898","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391994902":["hashtag1","hashtag2"]},{"1391994895":["hashtag1","hashtag2"]},{"1391994889":["hashtag1","hashtag2"]},{"1391994898":["hashtag1","hashtag2"]},{"1391994891":["hashtag1","hashtag2"]},{"1391994906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391994902, 1391994895, 1391994889, 1391994898, 1391994891, 1391994906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59913754463196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:15:03.312253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_31_1628.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_33_1777.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_45_11756.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_57_11573.jpg', '/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_59_1902.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_17_18428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_31_1628.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_33_1777.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_45_11756.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_57_11573.jpg
/home/pi/Desktop/images/30102025/16/37/image_30102025_16_37_59_1902.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_17_18428.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391994935","1391994938","1391994931","1391994928","1391994924","1391994933"],"photo_ids_order":["1391994924","1391994928","1391994931","1391994933","1391994935","1391994938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d504adbf037ddbf8d0f6ef9dbed95439.jpg","text":"TemporaryFile(/tmp/multipartBody896337673248603397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150565221,"filename":"image_30102025_16_37_59_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/3/deb61f0d657e84ea99e8ef229e553a87.jpg","text":"TemporaryFile(/tmp/multipartBody4938366896015877241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150565221,"filename":"image_30102025_16_38_17_18428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f67cad6979718840b892e9150b8495d5.jpg","text":"TemporaryFile(/tmp/multipartBody4420415711569224221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150565221,"filename":"image_30102025_16_37_45_11756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/47e78fa206d9d514514025154a77f5fd.jpg","text":"TemporaryFile(/tmp/multipartBody4743977096528357177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150565221,"filename":"image_30102025_16_37_33_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d406f118a241bd9f4dacb71820d6cad.jpg","text":"TemporaryFile(/tmp/multipartBody3600039610388112122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150565221,"filename":"image_30102025_16_37_31_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/3/c022efcedfa941ce9e5e555bfc142024.jpg","text":"TemporaryFile(/tmp/multipartBody6628061383556069295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150565221,"filename":"image_30102025_16_37_57_11573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994931","file1":"1391994928","file0":"1391994924","file4":"1391994935","file5":"1391994938","file3":"1391994933"},"map_files_photo_id_array":[{"photo_id":"1391994938","filename":"file5"},{"photo_id":"1391994931","filename":"file2"},{"photo_id":"1391994935","filename":"file4"},{"photo_id":"1391994928","filename":"file1"},{"photo_id":"1391994924","filename":"file0"},{"photo_id":"1391994933","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391994935":["hashtag1","hashtag2"]},{"1391994938":["hashtag1","hashtag2"]},{"1391994931":["hashtag1","hashtag2"]},{"1391994928":["hashtag1","hashtag2"]},{"1391994924":["hashtag1","hashtag2"]},{"1391994933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391994935, 1391994938, 1391994931, 1391994928, 1391994924, 1391994933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50974655151367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:15:42.651892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_13_2726.jpg', '/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_43_2644.jpg', '/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_56_3647.jpg', '/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_58_2607.jpg', '/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_04_3565.jpg', '/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_07_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_13_2726.jpg
/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_43_2644.jpg
/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_56_3647.jpg
/home/pi/Desktop/images/31102025/02/03/image_31102025_02_03_58_2607.jpg
/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_04_3565.jpg
/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_07_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":["1391994959","1391994974","1391994968","1391994949","1391994954","1391994957"],"photo_ids_order":["1391994949","1391994954","1391994957","1391994959","1391994968","1391994974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/010401b67901679ca80db29a0c42e83d.jpg","text":"TemporaryFile(/tmp/multipartBody6871685380404608574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150605223,"filename":"image_31102025_02_03_58_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/3/59537475e6b7ac0bbcecd55b146dc295.jpg","text":"TemporaryFile(/tmp/multipartBody753163757213624245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150605223,"filename":"image_31102025_02_04_07_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/3/af371756982e4b8c4f5d407669283662.jpg","text":"TemporaryFile(/tmp/multipartBody3204276878372009952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150605223,"filename":"image_31102025_02_04_04_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f0fb244ddeb54662281720ba441b135.jpg","text":"TemporaryFile(/tmp/multipartBody970677168349076386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150605223,"filename":"image_31102025_02_03_13_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/3/8326e02118e4f5eac4372b224d359aaf.jpg","text":"TemporaryFile(/tmp/multipartBody4441318272133354915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150605223,"filename":"image_31102025_02_03_43_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b5591d55da53da0108220fb22f430321.jpg","text":"TemporaryFile(/tmp/multipartBody2018908712991244537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150605223,"filename":"image_31102025_02_03_56_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391994957","file1":"1391994954","file0":"1391994949","file4":"1391994968","file5":"1391994974","file3":"1391994959"},"map_files_photo_id_array":[{"photo_id":"1391994974","filename":"file5"},{"photo_id":"1391994957","filename":"file2"},{"photo_id":"1391994968","filename":"file4"},{"photo_id":"1391994954","filename":"file1"},{"photo_id":"1391994949","filename":"file0"},{"photo_id":"1391994959","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391994959":["hashtag1","hashtag2"]},{"1391994974":["hashtag1","hashtag2"]},{"1391994968":["hashtag1","hashtag2"]},{"1391994949":["hashtag1","hashtag2"]},{"1391994954":["hashtag1","hashtag2"]},{"1391994957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391994959, 1391994974, 1391994968, 1391994949, 1391994954, 1391994957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.809083700180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:16:41.904923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_10_2626.jpg', '/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_17_3809.jpg', '/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_19_2815.jpg', '/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_31_2675.jpg', '/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_34_2554.jpg', '/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_55_2921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_10_2626.jpg
/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_17_3809.jpg
/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_19_2815.jpg
/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_31_2675.jpg
/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_34_2554.jpg
/home/pi/Desktop/images/31102025/02/04/image_31102025_02_04_55_2921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995007","1391995001","1391995003","1391994999","1391995011","1391995005"],"photo_ids_order":["1391994999","1391995001","1391995003","1391995005","1391995007","1391995011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bd0c8e4800ec8187ffac99b3343a1871.jpg","text":"TemporaryFile(/tmp/multipartBody2075230596080287732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150664193,"filename":"image_31102025_02_04_34_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/3/53f22d398d91089d5c0c51a2ab818b11.jpg","text":"TemporaryFile(/tmp/multipartBody1103755828089651799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150664193,"filename":"image_31102025_02_04_17_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/214d5dd6bf19e6f2b916f26b8c5ecb59.jpg","text":"TemporaryFile(/tmp/multipartBody5900673248163169323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150664193,"filename":"image_31102025_02_04_19_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/deb66529640cb9764dc873118d70934a.jpg","text":"TemporaryFile(/tmp/multipartBody1518406064457634512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150664193,"filename":"image_31102025_02_04_10_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/3/73cc6cc08841ba5deb9621c6734cfadf.jpg","text":"TemporaryFile(/tmp/multipartBody6530722623855037477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150664193,"filename":"image_31102025_02_04_55_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/3/87920af3f1ad83cbedffd3d43e7fd109.jpg","text":"TemporaryFile(/tmp/multipartBody2369617808115827886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150664193,"filename":"image_31102025_02_04_31_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995003","file1":"1391995001","file0":"1391994999","file4":"1391995007","file5":"1391995011","file3":"1391995005"},"map_files_photo_id_array":[{"photo_id":"1391995011","filename":"file5"},{"photo_id":"1391995003","filename":"file2"},{"photo_id":"1391995007","filename":"file4"},{"photo_id":"1391995001","filename":"file1"},{"photo_id":"1391994999","filename":"file0"},{"photo_id":"1391995005","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391995007":["hashtag1","hashtag2"]},{"1391995001":["hashtag1","hashtag2"]},{"1391995003":["hashtag1","hashtag2"]},{"1391994999":["hashtag1","hashtag2"]},{"1391995011":["hashtag1","hashtag2"]},{"1391995005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391995007, 1391995001, 1391995003, 1391994999, 1391995011, 1391995005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15196871757507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:17:22.089094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_19_1647.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_23_4258.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_26_1672.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_28_1633.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_33_4989.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_36_2989.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_19_1647.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_23_4258.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_26_1672.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_28_1633.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_33_4989.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_36_2989.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995031","1391995040","1391995034","1391995037","1391995038","1391995026"],"photo_ids_order":["1391995026","1391995031","1391995034","1391995037","1391995038","1391995040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9d29cf8c911347dd2c8dd04e79675c92.jpg","text":"TemporaryFile(/tmp/multipartBody4254258765734133405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150704491,"filename":"image_30102025_16_38_23_4258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e9f056b300c1702c38df74b1006ab4ce.jpg","text":"TemporaryFile(/tmp/multipartBody5824525053236499707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150704491,"filename":"image_30102025_16_38_36_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/3/2279e8b268b9c84773b4814d92324611.jpg","text":"TemporaryFile(/tmp/multipartBody14870002259826279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150704491,"filename":"image_30102025_16_38_26_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/3/7d5aec69fc1fe378cad4064657e9166e.jpg","text":"TemporaryFile(/tmp/multipartBody3827772241663735815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150704491,"filename":"image_30102025_16_38_28_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/3/77c505f177ce9dbb984a026b5c43b688.jpg","text":"TemporaryFile(/tmp/multipartBody1499364710537233078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150704491,"filename":"image_30102025_16_38_33_4989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a03e33d77e98620fba165013f25820eb.jpg","text":"TemporaryFile(/tmp/multipartBody711342772211580709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150704491,"filename":"image_30102025_16_38_19_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995034","file1":"1391995031","file0":"1391995026","file4":"1391995038","file5":"1391995040","file3":"1391995037"},"map_files_photo_id_array":[{"photo_id":"1391995040","filename":"file5"},{"photo_id":"1391995034","filename":"file2"},{"photo_id":"1391995038","filename":"file4"},{"photo_id":"1391995031","filename":"file1"},{"photo_id":"1391995026","filename":"file0"},{"photo_id":"1391995037","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391995031":["hashtag1","hashtag2"]},{"1391995040":["hashtag1","hashtag2"]},{"1391995034":["hashtag1","hashtag2"]},{"1391995037":["hashtag1","hashtag2"]},{"1391995038":["hashtag1","hashtag2"]},{"1391995026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391995031, 1391995040, 1391995034, 1391995037, 1391995038, 1391995026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.156872272491455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:18:02.815634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_37_1570.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_41_1669.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_42_1677.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_44_1606.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_46_1687.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_47_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_37_1570.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_41_1669.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_42_1677.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_44_1606.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_46_1687.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_47_1694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995052","1391995055","1391995045","1391995048","1391995061","1391995058"],"photo_ids_order":["1391995045","1391995048","1391995052","1391995055","1391995058","1391995061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5767ea4c8cc16d5365a392e417635c47.jpg","text":"TemporaryFile(/tmp/multipartBody4741980754249270875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150744651,"filename":"image_30102025_16_38_42_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/3/7ee8da666b103f38af74c3db71a67773.jpg","text":"TemporaryFile(/tmp/multipartBody8566911281544069982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150744651,"filename":"image_30102025_16_38_44_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/81a1c1c2264bad9759dfef27b32f8773.jpg","text":"TemporaryFile(/tmp/multipartBody7856775044428355712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150744651,"filename":"image_30102025_16_38_37_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/3/13f4873640c96e4afd8c33f22117f591.jpg","text":"TemporaryFile(/tmp/multipartBody495845377459258258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150744651,"filename":"image_30102025_16_38_41_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/3/e3c35a1c8dad4d7f753213748358de55.jpg","text":"TemporaryFile(/tmp/multipartBody612946671634705141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150744651,"filename":"image_30102025_16_38_47_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/3/f0cdbbaca8422a7b525ae5a166432ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6449553935551652213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150744651,"filename":"image_30102025_16_38_46_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995052","file1":"1391995048","file0":"1391995045","file4":"1391995058","file5":"1391995061","file3":"1391995055"},"map_files_photo_id_array":[{"photo_id":"1391995061","filename":"file5"},{"photo_id":"1391995052","filename":"file2"},{"photo_id":"1391995058","filename":"file4"},{"photo_id":"1391995048","filename":"file1"},{"photo_id":"1391995045","filename":"file0"},{"photo_id":"1391995055","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391995052":["hashtag1","hashtag2"]},{"1391995055":["hashtag1","hashtag2"]},{"1391995045":["hashtag1","hashtag2"]},{"1391995048":["hashtag1","hashtag2"]},{"1391995061":["hashtag1","hashtag2"]},{"1391995058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391995052, 1391995055, 1391995045, 1391995048, 1391995061, 1391995058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57881021499634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:18:42.397329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_22_2529.jpg', '/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_28_2521.jpg', '/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_34_3700.jpg', '/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_40_2555.jpg', '/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_46_2394.jpg', '/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_49_3227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_22_2529.jpg
/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_28_2521.jpg
/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_34_3700.jpg
/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_40_2555.jpg
/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_46_2394.jpg
/home/pi/Desktop/images/31102025/02/05/image_31102025_02_05_49_3227.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995090","1391995078","1391995080","1391995088","1391995076","1391995085"],"photo_ids_order":["1391995076","1391995078","1391995080","1391995085","1391995088","1391995090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ea845147761136c74771b8c62876d35b.jpg","text":"TemporaryFile(/tmp/multipartBody6415566410711286042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150783516,"filename":"image_31102025_02_05_49_3227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb4402543f6a1ca3bd7acf2e8fe470c1.jpg","text":"TemporaryFile(/tmp/multipartBody3577824712677655172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150783516,"filename":"image_31102025_02_05_28_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/3/7e02bfe68090afaffff8797ccead4cf3.jpg","text":"TemporaryFile(/tmp/multipartBody8029090457242377139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150783516,"filename":"image_31102025_02_05_34_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/3/2f977657fd2aba422a460a032e3925bf.jpg","text":"TemporaryFile(/tmp/multipartBody8403714116658946371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150783516,"filename":"image_31102025_02_05_46_2394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/92855fac8f92027192bc44d9ffcdd9f3.jpg","text":"TemporaryFile(/tmp/multipartBody5352542707208779281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150783516,"filename":"image_31102025_02_05_22_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/3/61c498446689ab41c2bf67de9e762510.jpg","text":"TemporaryFile(/tmp/multipartBody5667366712448743240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150783516,"filename":"image_31102025_02_05_40_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995080","file1":"1391995078","file0":"1391995076","file4":"1391995088","file5":"1391995090","file3":"1391995085"},"map_files_photo_id_array":[{"photo_id":"1391995090","filename":"file5"},{"photo_id":"1391995080","filename":"file2"},{"photo_id":"1391995088","filename":"file4"},{"photo_id":"1391995078","filename":"file1"},{"photo_id":"1391995076","filename":"file0"},{"photo_id":"1391995085","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391995090":["hashtag1","hashtag2"]},{"1391995078":["hashtag1","hashtag2"]},{"1391995080":["hashtag1","hashtag2"]},{"1391995088":["hashtag1","hashtag2"]},{"1391995076":["hashtag1","hashtag2"]},{"1391995085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391995090, 1391995078, 1391995080, 1391995088, 1391995076, 1391995085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42755174636841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:19:22.614939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_49_1679.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_51_1732.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_54_1546.jpg', '/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_56_1696.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_02_5768.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_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/16/38/image_30102025_16_38_49_1679.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_51_1732.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_54_1546.jpg
/home/pi/Desktop/images/30102025/16/38/image_30102025_16_38_56_1696.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_02_5768.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_03_1727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995124","1391995109","1391995103","1391995120","1391995122","1391995116"],"photo_ids_order":["1391995103","1391995109","1391995116","1391995120","1391995122","1391995124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71eba3ab23a5b84ac1a503d9d2bbd16e.jpg","text":"TemporaryFile(/tmp/multipartBody2147378141508101205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150825076,"filename":"image_30102025_16_39_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/3/a3bdfabfd75a9a66da44896943e6586c.jpg","text":"TemporaryFile(/tmp/multipartBody2296375788086224098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150825076,"filename":"image_30102025_16_38_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/3/bc632946d3a5f26fea533978b86b1cd4.jpg","text":"TemporaryFile(/tmp/multipartBody2014006422271566813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150825076,"filename":"image_30102025_16_38_49_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/3/d90a75807c1bdb3486172ab02445e763.jpg","text":"TemporaryFile(/tmp/multipartBody7430379276778335555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150825076,"filename":"image_30102025_16_38_56_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/69de9b051b31340d84f85ae38c8a2fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7899550791579101054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150825076,"filename":"image_30102025_16_39_02_5768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3a3dd6d3936156b6c8cc192036519328.jpg","text":"TemporaryFile(/tmp/multipartBody3886756360383067901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150825076,"filename":"image_30102025_16_38_54_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995116","file1":"1391995109","file0":"1391995103","file4":"1391995122","file5":"1391995124","file3":"1391995120"},"map_files_photo_id_array":[{"photo_id":"1391995124","filename":"file5"},{"photo_id":"1391995116","filename":"file2"},{"photo_id":"1391995122","filename":"file4"},{"photo_id":"1391995109","filename":"file1"},{"photo_id":"1391995103","filename":"file0"},{"photo_id":"1391995120","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391995124":["hashtag1","hashtag2"]},{"1391995109":["hashtag1","hashtag2"]},{"1391995103":["hashtag1","hashtag2"]},{"1391995120":["hashtag1","hashtag2"]},{"1391995122":["hashtag1","hashtag2"]},{"1391995116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391995124, 1391995109, 1391995103, 1391995120, 1391995122, 1391995116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.855448722839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:20:22.757758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_05_1645.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_07_1604.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_08_1653.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_10_1693.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_12_1578.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_13_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_05_1645.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_07_1604.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_08_1653.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_10_1693.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_12_1578.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_13_1631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995177","1391995210","1391995228","1391995218","1391995203","1391995190"],"photo_ids_order":["1391995177","1391995190","1391995203","1391995210","1391995218","1391995228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3ff8557ea9f9668db4de885e0a0d9f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4921830381788016567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150885046,"filename":"image_30102025_16_39_05_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/3/597831aa874c65ebd24181d9a0e229c3.jpg","text":"TemporaryFile(/tmp/multipartBody680344687413990956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150885046,"filename":"image_30102025_16_39_10_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/3/c5e29fd29d1be047a933049767841c30.jpg","text":"TemporaryFile(/tmp/multipartBody4351478655797281444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150885046,"filename":"image_30102025_16_39_13_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/3/779c738948590e4c246cdc52c4898759.jpg","text":"TemporaryFile(/tmp/multipartBody7068064541379548749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150885046,"filename":"image_30102025_16_39_12_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/3/4b2299bc175da73ecce77c77bebdaa97.jpg","text":"TemporaryFile(/tmp/multipartBody4457162877491044259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150885046,"filename":"image_30102025_16_39_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/3/6cde953819f9119af853cb20a736b72e.jpg","text":"TemporaryFile(/tmp/multipartBody634408521989573439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150885046,"filename":"image_30102025_16_39_07_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995203","file1":"1391995190","file0":"1391995177","file4":"1391995218","file5":"1391995228","file3":"1391995210"},"map_files_photo_id_array":[{"photo_id":"1391995228","filename":"file5"},{"photo_id":"1391995203","filename":"file2"},{"photo_id":"1391995218","filename":"file4"},{"photo_id":"1391995190","filename":"file1"},{"photo_id":"1391995177","filename":"file0"},{"photo_id":"1391995210","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391995177":["hashtag1","hashtag2"]},{"1391995210":["hashtag1","hashtag2"]},{"1391995228":["hashtag1","hashtag2"]},{"1391995218":["hashtag1","hashtag2"]},{"1391995203":["hashtag1","hashtag2"]},{"1391995190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391995177, 1391995210, 1391995228, 1391995218, 1391995203, 1391995190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81954312324524 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-03 07:21:24.061422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_15_1840.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_17_1667.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_18_1623.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_20_1767.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_22_1531.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_25_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_15_1840.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_17_1667.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_18_1623.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_20_1767.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_22_1531.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_25_1640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995307","1391995294","1391995302","1391995305","1391995289","1391995298"],"photo_ids_order":["1391995289","1391995294","1391995298","1391995302","1391995305","1391995307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b0ec7417f9ffb1347b04e75cb434011f.jpg","text":"TemporaryFile(/tmp/multipartBody8542001774602053051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150949245,"filename":"image_30102025_16_39_25_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/3/f3be0cd7be715c155db8ac838c76b330.jpg","text":"TemporaryFile(/tmp/multipartBody9190067214139482342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150949245,"filename":"image_30102025_16_39_17_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/3/f4cd212731be76ffa04b7e4af7f10c0f.jpg","text":"TemporaryFile(/tmp/multipartBody6913032084135626036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150949245,"filename":"image_30102025_16_39_20_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/3/cc776c86dfcbe81d7fa48f8008c93021.jpg","text":"TemporaryFile(/tmp/multipartBody1607077297492534743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150949245,"filename":"image_30102025_16_39_22_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/3/944acfb617711f3e832fffb7996b20f7.jpg","text":"TemporaryFile(/tmp/multipartBody3049542959978223763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150949245,"filename":"image_30102025_16_39_15_1840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/331dfa2ffa4c1e7f9bcce3c216699130.jpg","text":"TemporaryFile(/tmp/multipartBody8233695666379963676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762150949245,"filename":"image_30102025_16_39_18_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995298","file1":"1391995294","file0":"1391995289","file4":"1391995305","file5":"1391995307","file3":"1391995302"},"map_files_photo_id_array":[{"photo_id":"1391995307","filename":"file5"},{"photo_id":"1391995298","filename":"file2"},{"photo_id":"1391995305","filename":"file4"},{"photo_id":"1391995294","filename":"file1"},{"photo_id":"1391995289","filename":"file0"},{"photo_id":"1391995302","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391995307":["hashtag1","hashtag2"]},{"1391995294":["hashtag1","hashtag2"]},{"1391995302":["hashtag1","hashtag2"]},{"1391995305":["hashtag1","hashtag2"]},{"1391995289":["hashtag1","hashtag2"]},{"1391995298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391995307, 1391995294, 1391995302, 1391995305, 1391995289, 1391995298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42788505554199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:22:22.329441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_27_1689.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_28_1700.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_32_1754.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_33_1628.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_35_1550.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_37_1784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_27_1689.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_28_1700.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_32_1754.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_33_1628.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_35_1550.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_37_1784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995337","1391995346","1391995344","1391995332","1391995326","1391995341"],"photo_ids_order":["1391995326","1391995332","1391995337","1391995341","1391995344","1391995346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1191d84088ab9272c452e6ab614366f3.jpg","text":"TemporaryFile(/tmp/multipartBody7482790232763360479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151004745,"filename":"image_30102025_16_39_32_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/3/6a2a4783ea1817150ebd041d00e3d966.jpg","text":"TemporaryFile(/tmp/multipartBody7249329088833752181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151004745,"filename":"image_30102025_16_39_37_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/3/fe8c551dd23c6c824458586b569dad77.jpg","text":"TemporaryFile(/tmp/multipartBody4919240429264657404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151004745,"filename":"image_30102025_16_39_35_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/3/01b8f2f5dcf7fb7551f5f0291d6e191c.jpg","text":"TemporaryFile(/tmp/multipartBody1534121664918456530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151004745,"filename":"image_30102025_16_39_28_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/3/f55cf3d305115087579dfa47c6790d52.jpg","text":"TemporaryFile(/tmp/multipartBody4081759215537176049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151004745,"filename":"image_30102025_16_39_27_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/3/1ba3bdde24d492d454ef0e94da5b755f.jpg","text":"TemporaryFile(/tmp/multipartBody5805933478015955775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151004745,"filename":"image_30102025_16_39_33_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995337","file1":"1391995332","file0":"1391995326","file4":"1391995344","file5":"1391995346","file3":"1391995341"},"map_files_photo_id_array":[{"photo_id":"1391995346","filename":"file5"},{"photo_id":"1391995337","filename":"file2"},{"photo_id":"1391995344","filename":"file4"},{"photo_id":"1391995332","filename":"file1"},{"photo_id":"1391995326","filename":"file0"},{"photo_id":"1391995341","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391995337":["hashtag1","hashtag2"]},{"1391995346":["hashtag1","hashtag2"]},{"1391995344":["hashtag1","hashtag2"]},{"1391995332":["hashtag1","hashtag2"]},{"1391995326":["hashtag1","hashtag2"]},{"1391995341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391995337, 1391995346, 1391995344, 1391995332, 1391995326, 1391995341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81037712097168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:23:03.190061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_38_1593.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_40_1693.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_42_1563.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_43_1628.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_46_2732.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_49_2902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_38_1593.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_40_1693.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_42_1563.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_43_1628.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_46_2732.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_49_2902.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995399","1391995393","1391995369","1391995377","1391995388","1391995382"],"photo_ids_order":["1391995369","1391995377","1391995382","1391995388","1391995393","1391995399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb466353ac67ac48a69e2af383821732.jpg","text":"TemporaryFile(/tmp/multipartBody3541664970300822118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151045187,"filename":"image_30102025_16_39_49_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/3/87c62775272bca4d4a63e0827274d794.jpg","text":"TemporaryFile(/tmp/multipartBody2948362453626437876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151045187,"filename":"image_30102025_16_39_46_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/3/4850d5b0b2655bee9e774a8279cff825.jpg","text":"TemporaryFile(/tmp/multipartBody8412202431178548393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151045187,"filename":"image_30102025_16_39_38_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/3/df3fe6a4e304eb924bea3d08dccff733.jpg","text":"TemporaryFile(/tmp/multipartBody1910839926352486552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151045187,"filename":"image_30102025_16_39_40_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/3/d53e098bef0f2d92b22f3bd1783ab8c6.jpg","text":"TemporaryFile(/tmp/multipartBody8125832488791274427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151045187,"filename":"image_30102025_16_39_43_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/3/796ad6493d1e8751b3ead7ac6c912bdb.jpg","text":"TemporaryFile(/tmp/multipartBody250967159325878042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151045187,"filename":"image_30102025_16_39_42_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995382","file1":"1391995377","file0":"1391995369","file4":"1391995393","file5":"1391995399","file3":"1391995388"},"map_files_photo_id_array":[{"photo_id":"1391995399","filename":"file5"},{"photo_id":"1391995382","filename":"file2"},{"photo_id":"1391995393","filename":"file4"},{"photo_id":"1391995377","filename":"file1"},{"photo_id":"1391995369","filename":"file0"},{"photo_id":"1391995388","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391995399":["hashtag1","hashtag2"]},{"1391995393":["hashtag1","hashtag2"]},{"1391995369":["hashtag1","hashtag2"]},{"1391995377":["hashtag1","hashtag2"]},{"1391995388":["hashtag1","hashtag2"]},{"1391995382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391995399, 1391995393, 1391995369, 1391995377, 1391995388, 1391995382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35824203491211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:23:42.611966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_01_1568.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_04_2697.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_10_3654.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_19_2976.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_22_2835.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_28_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_01_1568.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_04_2697.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_10_3654.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_19_2976.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_22_2835.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_28_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995409","1391995411","1391995405","1391995419","1391995413","1391995422"],"photo_ids_order":["1391995405","1391995409","1391995411","1391995413","1391995419","1391995422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f37df6d5da2c85a191a4a8d9854cafef.jpg","text":"TemporaryFile(/tmp/multipartBody3555806290653782738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151083755,"filename":"image_31102025_02_06_04_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a2148039cd08bc996243b30872e497eb.jpg","text":"TemporaryFile(/tmp/multipartBody3656939161559715943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151083755,"filename":"image_31102025_02_06_10_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/3/6dca7046999ead8f56edb13ff2eb5e63.jpg","text":"TemporaryFile(/tmp/multipartBody5599624921582379205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151083755,"filename":"image_31102025_02_06_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/3/36412abcb677bbab7632485a5097a81f.jpg","text":"TemporaryFile(/tmp/multipartBody458622229525141233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151083755,"filename":"image_31102025_02_06_22_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/3/a8f76b6d79c34c9b876f1b9fe4ef0605.jpg","text":"TemporaryFile(/tmp/multipartBody8708095267062586769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151083755,"filename":"image_31102025_02_06_19_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/3/918dba9386f21c69ba499211a43c18c9.jpg","text":"TemporaryFile(/tmp/multipartBody8218902632568420947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151083755,"filename":"image_31102025_02_06_28_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995411","file1":"1391995409","file0":"1391995405","file4":"1391995419","file5":"1391995422","file3":"1391995413"},"map_files_photo_id_array":[{"photo_id":"1391995422","filename":"file5"},{"photo_id":"1391995411","filename":"file2"},{"photo_id":"1391995419","filename":"file4"},{"photo_id":"1391995409","filename":"file1"},{"photo_id":"1391995405","filename":"file0"},{"photo_id":"1391995413","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391995409":["hashtag1","hashtag2"]},{"1391995411":["hashtag1","hashtag2"]},{"1391995405":["hashtag1","hashtag2"]},{"1391995419":["hashtag1","hashtag2"]},{"1391995413":["hashtag1","hashtag2"]},{"1391995422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391995409, 1391995411, 1391995405, 1391995419, 1391995413, 1391995422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29597568511963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:24:42.824445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_31_2700.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_34_2816.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_37_3646.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_40_2677.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_43_2686.jpg', '/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_48_5529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_31_2700.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_34_2816.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_37_3646.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_40_2677.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_43_2686.jpg
/home/pi/Desktop/images/31102025/02/06/image_31102025_02_06_48_5529.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995442","1391995445","1391995450","1391995453","1391995447","1391995449"],"photo_ids_order":["1391995442","1391995445","1391995447","1391995449","1391995450","1391995453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c1eff240bf2cb3267d7cb4a3aab8a691.jpg","text":"TemporaryFile(/tmp/multipartBody2995567392706247979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151143940,"filename":"image_31102025_02_06_31_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/3/a682e20238727b13d5fe723159f0d018.jpg","text":"TemporaryFile(/tmp/multipartBody3500576955979184907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151143940,"filename":"image_31102025_02_06_34_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d666591730179413ac192cbd5ae5a20.jpg","text":"TemporaryFile(/tmp/multipartBody8993371251237093291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151143940,"filename":"image_31102025_02_06_43_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/3/1970093cef7648b53661ad5e000ba58a.jpg","text":"TemporaryFile(/tmp/multipartBody456004758111881187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151143940,"filename":"image_31102025_02_06_48_5529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/20b74989f32619193b66b751c084bb0a.jpg","text":"TemporaryFile(/tmp/multipartBody3843878492621220925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151143940,"filename":"image_31102025_02_06_37_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/3/5a3d9fbb0f98b716265b33cab5ebb43f.jpg","text":"TemporaryFile(/tmp/multipartBody7854995275090412805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151143940,"filename":"image_31102025_02_06_40_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995447","file1":"1391995445","file0":"1391995442","file4":"1391995450","file5":"1391995453","file3":"1391995449"},"map_files_photo_id_array":[{"photo_id":"1391995453","filename":"file5"},{"photo_id":"1391995447","filename":"file2"},{"photo_id":"1391995450","filename":"file4"},{"photo_id":"1391995445","filename":"file1"},{"photo_id":"1391995442","filename":"file0"},{"photo_id":"1391995449","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391995442":["hashtag1","hashtag2"]},{"1391995445":["hashtag1","hashtag2"]},{"1391995450":["hashtag1","hashtag2"]},{"1391995453":["hashtag1","hashtag2"]},{"1391995447":["hashtag1","hashtag2"]},{"1391995449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391995442, 1391995445, 1391995450, 1391995453, 1391995447, 1391995449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10252285003662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:25:22.053880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_52_3650.jpg', '/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_55_2766.jpg', '/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_07_3014.jpg', '/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_11_3784.jpg', '/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_14_2921.jpg', '/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_16_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/16/39/image_30102025_16_39_52_3650.jpg
/home/pi/Desktop/images/30102025/16/39/image_30102025_16_39_55_2766.jpg
/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_07_3014.jpg
/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_11_3784.jpg
/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_14_2921.jpg
/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_16_2515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995477","1391995488","1391995473","1391995485","1391995481","1391995469"],"photo_ids_order":["1391995469","1391995473","1391995477","1391995481","1391995485","1391995488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9c120598df6e1b944cdbb9fa430af059.jpg","text":"TemporaryFile(/tmp/multipartBody7363148293650810545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151184505,"filename":"image_30102025_16_41_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/3/ce28e52be45eced63dfd890ff2fe16bd.jpg","text":"TemporaryFile(/tmp/multipartBody6896188644639304284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151184505,"filename":"image_30102025_16_41_16_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/3/72d90ad0c8ffe31feb898cbc5799e31f.jpg","text":"TemporaryFile(/tmp/multipartBody514189879065331236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151184505,"filename":"image_30102025_16_39_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/3/5ee2ab6f6c9d6e49cb729c931f477181.jpg","text":"TemporaryFile(/tmp/multipartBody980091402311855877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151184505,"filename":"image_30102025_16_41_14_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/3/fe73bce7a3f91321d83425cc42fcf195.jpg","text":"TemporaryFile(/tmp/multipartBody6842038238268063692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151184505,"filename":"image_30102025_16_41_11_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2ed7b17d88e20f25d77ae5f732d9f2c0.jpg","text":"TemporaryFile(/tmp/multipartBody3309581365739250441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151184505,"filename":"image_30102025_16_39_52_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995477","file1":"1391995473","file0":"1391995469","file4":"1391995485","file5":"1391995488","file3":"1391995481"},"map_files_photo_id_array":[{"photo_id":"1391995488","filename":"file5"},{"photo_id":"1391995477","filename":"file2"},{"photo_id":"1391995485","filename":"file4"},{"photo_id":"1391995473","filename":"file1"},{"photo_id":"1391995469","filename":"file0"},{"photo_id":"1391995481","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391995477":["hashtag1","hashtag2"]},{"1391995488":["hashtag1","hashtag2"]},{"1391995473":["hashtag1","hashtag2"]},{"1391995485":["hashtag1","hashtag2"]},{"1391995481":["hashtag1","hashtag2"]},{"1391995469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391995477, 1391995488, 1391995473, 1391995485, 1391995481, 1391995469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5290789604187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:26:02.769828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_20_3621.jpg', '/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_23_2607.jpg', '/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_25_2633.jpg', '/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_29_3671.jpg', '/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_32_2580.jpg', '/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_34_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/16/41/image_30102025_16_41_20_3621.jpg
/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_23_2607.jpg
/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_25_2633.jpg
/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_29_3671.jpg
/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_32_2580.jpg
/home/pi/Desktop/images/30102025/16/41/image_30102025_16_41_34_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995514","1391995497","1391995542","1391995509","1391995503","1391995493"],"photo_ids_order":["1391995493","1391995497","1391995503","1391995509","1391995514","1391995542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f6d890c9d217b93a0fd8fe4fdd6ca9d.jpg","text":"TemporaryFile(/tmp/multipartBody7747902564489488198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151224597,"filename":"image_30102025_16_41_32_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/3/639804932569919855000f4485f3a5d1.jpg","text":"TemporaryFile(/tmp/multipartBody6801336205665773758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151224597,"filename":"image_30102025_16_41_23_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/3/215358e4f9b9118c31f1d54b357b7c42.jpg","text":"TemporaryFile(/tmp/multipartBody2258561157727535836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151224597,"filename":"image_30102025_16_41_34_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/3/e77a957c8431779722cb11a22b7121d4.jpg","text":"TemporaryFile(/tmp/multipartBody9093332035315287489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151224597,"filename":"image_30102025_16_41_29_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/3/da4c3498e891f4192f16f6ac1bbe10f6.jpg","text":"TemporaryFile(/tmp/multipartBody1350126543496048059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151224597,"filename":"image_30102025_16_41_25_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/3/db2107df756b81b1a7518d6cba87a967.jpg","text":"TemporaryFile(/tmp/multipartBody5318839984615522861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151224597,"filename":"image_30102025_16_41_20_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995503","file1":"1391995497","file0":"1391995493","file4":"1391995514","file5":"1391995542","file3":"1391995509"},"map_files_photo_id_array":[{"photo_id":"1391995542","filename":"file5"},{"photo_id":"1391995503","filename":"file2"},{"photo_id":"1391995514","filename":"file4"},{"photo_id":"1391995497","filename":"file1"},{"photo_id":"1391995493","filename":"file0"},{"photo_id":"1391995509","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391995514":["hashtag1","hashtag2"]},{"1391995497":["hashtag1","hashtag2"]},{"1391995542":["hashtag1","hashtag2"]},{"1391995509":["hashtag1","hashtag2"]},{"1391995503":["hashtag1","hashtag2"]},{"1391995493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391995514, 1391995497, 1391995542, 1391995509, 1391995503, 1391995493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76867461204529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:26:42.469408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_04_5717.jpg', '/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_10_4352.jpg', '/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_19_7199.jpg', '/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_22_1709.jpg', '/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_51_2016.jpg', '/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_55_3984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_04_5717.jpg
/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_10_4352.jpg
/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_19_7199.jpg
/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_22_1709.jpg
/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_51_2016.jpg
/home/pi/Desktop/images/31102025/02/07/image_31102025_02_07_55_3984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995613","1391995619","1391995579","1391995627","1391995590","1391995593"],"photo_ids_order":["1391995579","1391995590","1391995593","1391995613","1391995619","1391995627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa772088914412b1fa9650fa1df09bce.jpg","text":"TemporaryFile(/tmp/multipartBody904742103947790205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151263601,"filename":"image_31102025_02_07_22_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/3/f86e82b435946ed0b0224534755f8337.jpg","text":"TemporaryFile(/tmp/multipartBody3637782389509079449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151263601,"filename":"image_31102025_02_07_51_2016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c618edbc35f64fa9007fcedfcce71374.jpg","text":"TemporaryFile(/tmp/multipartBody5257509623851309699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151263601,"filename":"image_31102025_02_07_04_5717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4558e30cce35365009dd59af3ba3d55f.jpg","text":"TemporaryFile(/tmp/multipartBody2252003505054701432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151263601,"filename":"image_31102025_02_07_55_3984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ea02ea6b4605aa4d692f9c0fdaa079d0.jpg","text":"TemporaryFile(/tmp/multipartBody5222041735221938192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151263601,"filename":"image_31102025_02_07_10_4352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ea16f943d23baf6d7ef8b099f118e76b.jpg","text":"TemporaryFile(/tmp/multipartBody8358857482590115949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151263601,"filename":"image_31102025_02_07_19_7199.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995593","file1":"1391995590","file0":"1391995579","file4":"1391995619","file5":"1391995627","file3":"1391995613"},"map_files_photo_id_array":[{"photo_id":"1391995627","filename":"file5"},{"photo_id":"1391995593","filename":"file2"},{"photo_id":"1391995619","filename":"file4"},{"photo_id":"1391995590","filename":"file1"},{"photo_id":"1391995579","filename":"file0"},{"photo_id":"1391995613","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1391995613":["hashtag1","hashtag2"]},{"1391995619":["hashtag1","hashtag2"]},{"1391995579":["hashtag1","hashtag2"]},{"1391995627":["hashtag1","hashtag2"]},{"1391995590":["hashtag1","hashtag2"]},{"1391995593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1391995613, 1391995619, 1391995579, 1391995627, 1391995590, 1391995593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2715368270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:27:22.616537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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_03112025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 28082735, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1762151303000}
4219
3981661
4219
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_28_10223.jpg', '/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_35_6960.jpg', '/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_36_1770.jpg', '/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_38_1791.jpg', '/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_40_1634.jpg', '/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_42_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_28_10223.jpg
/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_35_6960.jpg
/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_36_1770.jpg
/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_38_1791.jpg
/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_40_1634.jpg
/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_42_1720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995727","1391995681","1391995684","1391995747","1391995691","1391995739"],"photo_ids_order":["1391995681","1391995684","1391995691","1391995727","1391995739","1391995747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/602897dceacffe6bc6e1c8791e518cf6.jpg","text":"TemporaryFile(/tmp/multipartBody2896289356656836617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151304186,"filename":"image_03112025_00_00_38_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/3/f64210a236022c394b545a82ff6a1e38.jpg","text":"TemporaryFile(/tmp/multipartBody5544619092823720617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151304186,"filename":"image_03112025_00_00_28_10223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/066448eae671c6570b478cec3ed1a351.jpg","text":"TemporaryFile(/tmp/multipartBody3520294532941151648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151304186,"filename":"image_03112025_00_00_35_6960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01457040bebb29e13565ecbd9881afba.jpg","text":"TemporaryFile(/tmp/multipartBody3678702516615266793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151304186,"filename":"image_03112025_00_00_42_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/3/0449c14b49fcb617aec9d52b9227a776.jpg","text":"TemporaryFile(/tmp/multipartBody8470157253465019387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151304186,"filename":"image_03112025_00_00_36_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/3/c358830cc8f5d16bd988a7442e6c0522.jpg","text":"TemporaryFile(/tmp/multipartBody3392747863820279165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151304186,"filename":"image_03112025_00_00_40_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995691","file1":"1391995684","file0":"1391995681","file4":"1391995739","file5":"1391995747","file3":"1391995727"},"map_files_photo_id_array":[{"photo_id":"1391995747","filename":"file5"},{"photo_id":"1391995691","filename":"file2"},{"photo_id":"1391995739","filename":"file4"},{"photo_id":"1391995684","filename":"file1"},{"photo_id":"1391995681","filename":"file0"},{"photo_id":"1391995727","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391995727":["hashtag1","hashtag2"]},{"1391995681":["hashtag1","hashtag2"]},{"1391995684":["hashtag1","hashtag2"]},{"1391995747":["hashtag1","hashtag2"]},{"1391995691":["hashtag1","hashtag2"]},{"1391995739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391995727, 1391995681, 1391995684, 1391995747, 1391995691, 1391995739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85591173171997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:28:03.254478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_48_1586.jpg', '/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_50_1686.jpg', '/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_58_2776.jpg', '/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_01_2664.jpg', '/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_10_2860.jpg', '/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_13_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_48_1586.jpg
/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_50_1686.jpg
/home/pi/Desktop/images/03112025/00/00/image_03112025_00_00_58_2776.jpg
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_01_2664.jpg
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_10_2860.jpg
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_13_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995798","1391995789","1391995780","1391995783","1391995777","1391995784"],"photo_ids_order":["1391995777","1391995780","1391995783","1391995784","1391995789","1391995798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bfee5b2423259022fe56bb7ae0f8bce8.jpg","text":"TemporaryFile(/tmp/multipartBody3764517179675334121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151344049,"filename":"image_03112025_00_01_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/3/854c71b3fb0735085a016749b5e3d893.jpg","text":"TemporaryFile(/tmp/multipartBody4343736493633435955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151344049,"filename":"image_03112025_00_01_10_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/3/abbf310c4da0c1ea7afcab11233b8822.jpg","text":"TemporaryFile(/tmp/multipartBody3378406653958359468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151344049,"filename":"image_03112025_00_00_50_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/3/a118622a2788d1eb7503ee09d027bc71.jpg","text":"TemporaryFile(/tmp/multipartBody4159621490668070337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151344049,"filename":"image_03112025_00_00_58_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/3/2bbd54d19a3030a5220503a60a0581a7.jpg","text":"TemporaryFile(/tmp/multipartBody5373270453247524223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151344049,"filename":"image_03112025_00_00_48_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/3/562d4a3b29b2aa0f57a8aaf85ae031da.jpg","text":"TemporaryFile(/tmp/multipartBody1983732077874923328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151344049,"filename":"image_03112025_00_01_01_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995783","file1":"1391995780","file0":"1391995777","file4":"1391995789","file5":"1391995798","file3":"1391995784"},"map_files_photo_id_array":[{"photo_id":"1391995798","filename":"file5"},{"photo_id":"1391995783","filename":"file2"},{"photo_id":"1391995789","filename":"file4"},{"photo_id":"1391995780","filename":"file1"},{"photo_id":"1391995777","filename":"file0"},{"photo_id":"1391995784","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391995798":["hashtag1","hashtag2"]},{"1391995789":["hashtag1","hashtag2"]},{"1391995780":["hashtag1","hashtag2"]},{"1391995783":["hashtag1","hashtag2"]},{"1391995777":["hashtag1","hashtag2"]},{"1391995784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391995798, 1391995789, 1391995780, 1391995783, 1391995777, 1391995784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.941351890563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:28:42.782217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_16_3705.jpg', '/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_30_10431.jpg', '/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_31_1698.jpg', '/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_33_1535.jpg', '/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_35_1752.jpg', '/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_49_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_16_3705.jpg
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_30_10431.jpg
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_31_1698.jpg
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_33_1535.jpg
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_35_1752.jpg
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_49_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995841","1391995843","1391995860","1391995854","1391995842","1391995821"],"photo_ids_order":["1391995821","1391995841","1391995842","1391995843","1391995854","1391995860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7024c50e459e042ced652e3915589c5f.jpg","text":"TemporaryFile(/tmp/multipartBody7942757563418976355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151383559,"filename":"image_03112025_00_01_30_10431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/46a7370dd44e4a711bcb422152c09227.jpg","text":"TemporaryFile(/tmp/multipartBody1765159373376525917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151383559,"filename":"image_03112025_00_01_33_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/3/1085148f9a030ea6a6a1ed326392a279.jpg","text":"TemporaryFile(/tmp/multipartBody1406734598401415095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151383559,"filename":"image_03112025_00_01_49_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/3/7d29407ca9e13297b2e9a3440055e543.jpg","text":"TemporaryFile(/tmp/multipartBody1718451941213882757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151383559,"filename":"image_03112025_00_01_35_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/3/03d05999b9e790be1aca599868cf00af.jpg","text":"TemporaryFile(/tmp/multipartBody4710482728319069416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151383559,"filename":"image_03112025_00_01_31_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/3/29277667cdaa5c7afd4fcdf3419b949a.jpg","text":"TemporaryFile(/tmp/multipartBody7700172426530906781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151383559,"filename":"image_03112025_00_01_16_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995842","file1":"1391995841","file0":"1391995821","file4":"1391995854","file5":"1391995860","file3":"1391995843"},"map_files_photo_id_array":[{"photo_id":"1391995860","filename":"file5"},{"photo_id":"1391995842","filename":"file2"},{"photo_id":"1391995854","filename":"file4"},{"photo_id":"1391995841","filename":"file1"},{"photo_id":"1391995821","filename":"file0"},{"photo_id":"1391995843","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391995841":["hashtag1","hashtag2"]},{"1391995843":["hashtag1","hashtag2"]},{"1391995860":["hashtag1","hashtag2"]},{"1391995854":["hashtag1","hashtag2"]},{"1391995842":["hashtag1","hashtag2"]},{"1391995821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391995841, 1391995843, 1391995860, 1391995854, 1391995842, 1391995821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.448429107666016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:29:21.948780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_52_3633.jpg', '/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_58_2832.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_04_2774.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_07_2557.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_11_3693.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_13_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_52_3633.jpg
/home/pi/Desktop/images/03112025/00/01/image_03112025_00_01_58_2832.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_04_2774.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_07_2557.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_11_3693.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_13_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391995907","1391995903","1391995896","1391995900","1391995914","1391995889"],"photo_ids_order":["1391995889","1391995896","1391995900","1391995903","1391995907","1391995914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f277a2c2054b86cd282eb38dd53cee62.jpg","text":"TemporaryFile(/tmp/multipartBody4458465881162104593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151422715,"filename":"image_03112025_00_02_11_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/3/6aac4ca6c3d739304f624c0b10cc5ce5.jpg","text":"TemporaryFile(/tmp/multipartBody6965287065214802053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151422715,"filename":"image_03112025_00_02_07_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/3/3224ec6fb787abf4cb59b74458f04cd1.jpg","text":"TemporaryFile(/tmp/multipartBody473527128413438012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151422715,"filename":"image_03112025_00_01_58_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/3/f3ef85cabb560357a1f1459b4adcb464.jpg","text":"TemporaryFile(/tmp/multipartBody1789804713545237754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151422715,"filename":"image_03112025_00_02_04_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/49516813a218499173b08528c11fefc1.jpg","text":"TemporaryFile(/tmp/multipartBody3699306885829705501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151422715,"filename":"image_03112025_00_02_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/3/e1099f02629d0b3abaa30e0fbe351a39.jpg","text":"TemporaryFile(/tmp/multipartBody8593270820935111664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151422715,"filename":"image_03112025_00_01_52_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391995900","file1":"1391995896","file0":"1391995889","file4":"1391995907","file5":"1391995914","file3":"1391995903"},"map_files_photo_id_array":[{"photo_id":"1391995914","filename":"file5"},{"photo_id":"1391995900","filename":"file2"},{"photo_id":"1391995907","filename":"file4"},{"photo_id":"1391995896","filename":"file1"},{"photo_id":"1391995889","filename":"file0"},{"photo_id":"1391995903","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391995907":["hashtag1","hashtag2"]},{"1391995903":["hashtag1","hashtag2"]},{"1391995896":["hashtag1","hashtag2"]},{"1391995900":["hashtag1","hashtag2"]},{"1391995914":["hashtag1","hashtag2"]},{"1391995889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391995907, 1391995903, 1391995896, 1391995900, 1391995914, 1391995889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41044735908508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:30:02.641700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_19_2863.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_28_2749.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_32_3669.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_37_2669.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_43_2827.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_46_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_19_2863.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_28_2749.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_32_3669.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_37_2669.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_43_2827.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_46_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996014","1391995972","1391996017","1391996007","1391996018","1391996012"],"photo_ids_order":["1391995972","1391996007","1391996012","1391996014","1391996017","1391996018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7d2eec0122e42d13c74e5ee903909989.jpg","text":"TemporaryFile(/tmp/multipartBody3526444819880288402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151489781,"filename":"image_03112025_00_02_37_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/46a9fe999c2cf0fdf555e89b507a6194.jpg","text":"TemporaryFile(/tmp/multipartBody7141018514351486234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151489781,"filename":"image_03112025_00_02_19_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/3/ea554994ff935b4098705b8acb1f4619.jpg","text":"TemporaryFile(/tmp/multipartBody3712735968803304499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151489781,"filename":"image_03112025_00_02_43_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/3/70be09ffeed4abe1789dc156ea3f2926.jpg","text":"TemporaryFile(/tmp/multipartBody6252794036641799539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151489781,"filename":"image_03112025_00_02_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/3/244eb5a42f9de1e2b7113f6223308bfe.jpg","text":"TemporaryFile(/tmp/multipartBody9080577805844310527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151489781,"filename":"image_03112025_00_02_46_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/3/1e8ef239a0fc0104f09a14a1e8229cba.jpg","text":"TemporaryFile(/tmp/multipartBody5176136747030189238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151489781,"filename":"image_03112025_00_02_32_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996012","file1":"1391996007","file0":"1391995972","file4":"1391996017","file5":"1391996018","file3":"1391996014"},"map_files_photo_id_array":[{"photo_id":"1391996018","filename":"file5"},{"photo_id":"1391996012","filename":"file2"},{"photo_id":"1391996017","filename":"file4"},{"photo_id":"1391996007","filename":"file1"},{"photo_id":"1391995972","filename":"file0"},{"photo_id":"1391996014","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996014":["hashtag1","hashtag2"]},{"1391995972":["hashtag1","hashtag2"]},{"1391996017":["hashtag1","hashtag2"]},{"1391996007":["hashtag1","hashtag2"]},{"1391996018":["hashtag1","hashtag2"]},{"1391996012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996014, 1391995972, 1391996017, 1391996007, 1391996018, 1391996012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.21312189102173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:31:22.387038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_49_2665.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_55_3631.jpg', '/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_58_2859.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_13_3652.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_22_2640.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_25_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_49_2665.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_55_3631.jpg
/home/pi/Desktop/images/03112025/00/02/image_03112025_00_02_58_2859.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_13_3652.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_22_2640.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_25_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996053","1391996056","1391996044","1391996040","1391996060","1391996048"],"photo_ids_order":["1391996040","1391996044","1391996048","1391996053","1391996056","1391996060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4670d1cfd9ccc6eb5e67e6e5ea95a6f2.jpg","text":"TemporaryFile(/tmp/multipartBody7734922793583944434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151543124,"filename":"image_03112025_00_03_13_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/3/d95d6c70cbb8ee16febb2eb3475cf9b2.jpg","text":"TemporaryFile(/tmp/multipartBody7227898509456501593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151543124,"filename":"image_03112025_00_03_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/657a2d01cee6e9c048e468263583ac4c.jpg","text":"TemporaryFile(/tmp/multipartBody6920557003903284960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151543124,"filename":"image_03112025_00_02_55_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/3/4a19e178318c41fab66a7afcd77a91f4.jpg","text":"TemporaryFile(/tmp/multipartBody6610434575163136207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151543124,"filename":"image_03112025_00_02_49_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4d59c3eab696dfbb95c01b4686f40239.jpg","text":"TemporaryFile(/tmp/multipartBody7354591176805658545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151543124,"filename":"image_03112025_00_03_25_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/3/eac12f8117878301882e7294ceaf4d62.jpg","text":"TemporaryFile(/tmp/multipartBody8184043164340195164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151543124,"filename":"image_03112025_00_02_58_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996048","file1":"1391996044","file0":"1391996040","file4":"1391996056","file5":"1391996060","file3":"1391996053"},"map_files_photo_id_array":[{"photo_id":"1391996060","filename":"file5"},{"photo_id":"1391996048","filename":"file2"},{"photo_id":"1391996056","filename":"file4"},{"photo_id":"1391996044","filename":"file1"},{"photo_id":"1391996040","filename":"file0"},{"photo_id":"1391996053","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996053":["hashtag1","hashtag2"]},{"1391996056":["hashtag1","hashtag2"]},{"1391996044":["hashtag1","hashtag2"]},{"1391996040":["hashtag1","hashtag2"]},{"1391996060":["hashtag1","hashtag2"]},{"1391996048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996053, 1391996056, 1391996044, 1391996040, 1391996060, 1391996048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7641122341156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:32:03.077513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_28_2676.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_31_2761.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_34_3565.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_37_2702.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_40_2810.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_43_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_28_2676.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_31_2761.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_34_3565.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_37_2702.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_40_2810.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_43_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996086","1391996082","1391996076","1391996079","1391996070","1391996073"],"photo_ids_order":["1391996070","1391996073","1391996076","1391996079","1391996082","1391996086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/633e2282b357b57c4036e6e71011f0fc.jpg","text":"TemporaryFile(/tmp/multipartBody2206340606237087149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151583885,"filename":"image_03112025_00_03_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/3/2d125b4e17436a7abd2f5d1c33ebb5cb.jpg","text":"TemporaryFile(/tmp/multipartBody2741062007199625491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151583885,"filename":"image_03112025_00_03_40_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/3/fe22a1b8bf4c00e51c7220fc9cf63805.jpg","text":"TemporaryFile(/tmp/multipartBody5227758021384715828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151583885,"filename":"image_03112025_00_03_34_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/3/86599b52cd2e2b63496f0bad7a31e99f.jpg","text":"TemporaryFile(/tmp/multipartBody2735807280813202637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151583885,"filename":"image_03112025_00_03_37_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/3/d2b6554a32135a4cff62486e2f912a62.jpg","text":"TemporaryFile(/tmp/multipartBody8184079062515915176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151583885,"filename":"image_03112025_00_03_28_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aa7b227f1ab86a605f84fb1549f65f3a.jpg","text":"TemporaryFile(/tmp/multipartBody6936498581214858375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151583885,"filename":"image_03112025_00_03_31_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996076","file1":"1391996073","file0":"1391996070","file4":"1391996082","file5":"1391996086","file3":"1391996079"},"map_files_photo_id_array":[{"photo_id":"1391996086","filename":"file5"},{"photo_id":"1391996076","filename":"file2"},{"photo_id":"1391996082","filename":"file4"},{"photo_id":"1391996073","filename":"file1"},{"photo_id":"1391996070","filename":"file0"},{"photo_id":"1391996079","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996086":["hashtag1","hashtag2"]},{"1391996082":["hashtag1","hashtag2"]},{"1391996076":["hashtag1","hashtag2"]},{"1391996079":["hashtag1","hashtag2"]},{"1391996070":["hashtag1","hashtag2"]},{"1391996073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996086, 1391996082, 1391996076, 1391996079, 1391996070, 1391996073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12526202201843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:32:42.567078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_46_3685.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_49_2548.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_52_3613.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_55_2680.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_58_2555.jpg', '/home/pi/Desktop/images/03112025/00/03/image_03112025_00_04_01_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_46_3685.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_49_2548.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_52_3613.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_55_2680.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_03_58_2555.jpg
/home/pi/Desktop/images/03112025/00/03/image_03112025_00_04_01_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996101","1391996104","1391996107","1391996124","1391996129","1391996138"],"photo_ids_order":["1391996101","1391996104","1391996107","1391996124","1391996129","1391996138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d4c20b3d776ecf76723e6e5d6070b55a.jpg","text":"TemporaryFile(/tmp/multipartBody65697050235402255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151623349,"filename":"image_03112025_00_03_46_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3aea2b28bcef97265616aed5cf766f50.jpg","text":"TemporaryFile(/tmp/multipartBody4905602911334919864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151623349,"filename":"image_03112025_00_03_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/3/99e7b2ce2a61f1e923e7b7d5f937ec2d.jpg","text":"TemporaryFile(/tmp/multipartBody730423027195590469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151623349,"filename":"image_03112025_00_03_52_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/3/3c7f58130cec06932f324631f778f82f.jpg","text":"TemporaryFile(/tmp/multipartBody3109934105673219060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151623349,"filename":"image_03112025_00_03_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/3/2623354539c16b651af91884f6d6b11f.jpg","text":"TemporaryFile(/tmp/multipartBody6568204160173615109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151623349,"filename":"image_03112025_00_03_58_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/3/265325b188426ad9b71a743159be8bd8.jpg","text":"TemporaryFile(/tmp/multipartBody4591069557513164363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151623349,"filename":"image_03112025_00_04_01_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996107","file1":"1391996104","file0":"1391996101","file4":"1391996129","file5":"1391996138","file3":"1391996124"},"map_files_photo_id_array":[{"photo_id":"1391996138","filename":"file5"},{"photo_id":"1391996107","filename":"file2"},{"photo_id":"1391996129","filename":"file4"},{"photo_id":"1391996104","filename":"file1"},{"photo_id":"1391996101","filename":"file0"},{"photo_id":"1391996124","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996101":["hashtag1","hashtag2"]},{"1391996104":["hashtag1","hashtag2"]},{"1391996107":["hashtag1","hashtag2"]},{"1391996124":["hashtag1","hashtag2"]},{"1391996129":["hashtag1","hashtag2"]},{"1391996138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996101, 1391996104, 1391996107, 1391996124, 1391996129, 1391996138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90832877159119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:33:22.767848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_12_1661.jpg', '/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_29_1628.jpg', '/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_34_3874.jpg', '/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_37_1580.jpg', '/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_39_1712.jpg', '/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_41_1942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_12_1661.jpg
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_29_1628.jpg
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_34_3874.jpg
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_37_1580.jpg
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_39_1712.jpg
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_41_1942.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996176","1391996179","1391996173","1391996169","1391996163","1391996157"],"photo_ids_order":["1391996157","1391996163","1391996169","1391996173","1391996176","1391996179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2250b943a9a04f6b2225d4c246721ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2671645194533232501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151663504,"filename":"image_03112025_00_04_39_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/3/519585229fbe0f0ace4c41c66b318096.jpg","text":"TemporaryFile(/tmp/multipartBody5554897990012268490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151663504,"filename":"image_03112025_00_04_41_1942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/024e89d36e35bbc95a6b697c35398dac.jpg","text":"TemporaryFile(/tmp/multipartBody6218472226957986486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151663504,"filename":"image_03112025_00_04_37_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/3/c795bfd7873446b35598ea03c1351539.jpg","text":"TemporaryFile(/tmp/multipartBody3866441660805215108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151663504,"filename":"image_03112025_00_04_34_3874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eca60532e4e40b0de2be86ee1df0d950.jpg","text":"TemporaryFile(/tmp/multipartBody6634294508735380107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151663504,"filename":"image_03112025_00_04_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/3/848cbf397ff175bf3aefce80c72d6ec0.jpg","text":"TemporaryFile(/tmp/multipartBody5111784127047179324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151663504,"filename":"image_03112025_00_04_12_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996169","file1":"1391996163","file0":"1391996157","file4":"1391996176","file5":"1391996179","file3":"1391996173"},"map_files_photo_id_array":[{"photo_id":"1391996179","filename":"file5"},{"photo_id":"1391996169","filename":"file2"},{"photo_id":"1391996176","filename":"file4"},{"photo_id":"1391996163","filename":"file1"},{"photo_id":"1391996157","filename":"file0"},{"photo_id":"1391996173","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996176":["hashtag1","hashtag2"]},{"1391996179":["hashtag1","hashtag2"]},{"1391996173":["hashtag1","hashtag2"]},{"1391996169":["hashtag1","hashtag2"]},{"1391996163":["hashtag1","hashtag2"]},{"1391996157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996176, 1391996179, 1391996173, 1391996169, 1391996163, 1391996157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15595722198486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:34:02.557204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 07:34:21.928378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_43_1590.jpg', '/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_49_2806.jpg', '/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_52_2782.jpg', '/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_58_2631.jpg', '/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_04_3701.jpg', '/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_19_3732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_43_1590.jpg
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_49_2806.jpg
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_52_2782.jpg
/home/pi/Desktop/images/03112025/00/04/image_03112025_00_04_58_2631.jpg
/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_04_3701.jpg
/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_19_3732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996213","1391996201","1391996196","1391996211","1391996205","1391996208"],"photo_ids_order":["1391996196","1391996201","1391996205","1391996208","1391996211","1391996213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8bf76ba5796b3e639edd61586d411473.jpg","text":"TemporaryFile(/tmp/multipartBody2735928467750567364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151722732,"filename":"image_03112025_00_05_19_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/3/5a9a9387f6728790369947e92803b39d.jpg","text":"TemporaryFile(/tmp/multipartBody3478818395273941981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151722732,"filename":"image_03112025_00_04_49_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/3/0e3cfb0752ed426eb2e8aca84e2174a3.jpg","text":"TemporaryFile(/tmp/multipartBody8179402422865571351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151722732,"filename":"image_03112025_00_04_43_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/3/292d0224dbe813e2c3e2b8c95bd6accf.jpg","text":"TemporaryFile(/tmp/multipartBody6755913264623340310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151722732,"filename":"image_03112025_00_05_04_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/3/d671706fcc29bc5abca02e9cadd2c287.jpg","text":"TemporaryFile(/tmp/multipartBody4961830636229986234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151722732,"filename":"image_03112025_00_04_52_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/3/9bd6594610cba156e1f0ee5eae784fc2.jpg","text":"TemporaryFile(/tmp/multipartBody4105605943205321494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151722732,"filename":"image_03112025_00_04_58_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996205","file1":"1391996201","file0":"1391996196","file4":"1391996211","file5":"1391996213","file3":"1391996208"},"map_files_photo_id_array":[{"photo_id":"1391996213","filename":"file5"},{"photo_id":"1391996205","filename":"file2"},{"photo_id":"1391996211","filename":"file4"},{"photo_id":"1391996201","filename":"file1"},{"photo_id":"1391996196","filename":"file0"},{"photo_id":"1391996208","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996213":["hashtag1","hashtag2"]},{"1391996201":["hashtag1","hashtag2"]},{"1391996196":["hashtag1","hashtag2"]},{"1391996211":["hashtag1","hashtag2"]},{"1391996205":["hashtag1","hashtag2"]},{"1391996208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996213, 1391996201, 1391996196, 1391996211, 1391996205, 1391996208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.763954639434814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:35:02.755496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_22_2716.jpg', '/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_25_2664.jpg', '/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_27_2643.jpg', '/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_40_3719.jpg', '/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_42_2174.jpg', '/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_23_11978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_22_2716.jpg
/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_25_2664.jpg
/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_27_2643.jpg
/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_40_3719.jpg
/home/pi/Desktop/images/03112025/00/05/image_03112025_00_05_42_2174.jpg
/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_23_11978.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996224","1391996241","1391996232","1391996228","1391996237","1391996219"],"photo_ids_order":["1391996219","1391996224","1391996228","1391996232","1391996237","1391996241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d47c3f1c704beba03a86984eb9f2e8d4.jpg","text":"TemporaryFile(/tmp/multipartBody3930547714088851445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151763637,"filename":"image_03112025_00_05_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/3/f8ba12df4023415d0c3cfd3d250177d6.jpg","text":"TemporaryFile(/tmp/multipartBody3896830354671422151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151763637,"filename":"image_03112025_00_06_23_11978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5886a093c10fbd59eca339b7624c0b3a.jpg","text":"TemporaryFile(/tmp/multipartBody2877501719758769291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151763637,"filename":"image_03112025_00_05_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/3/4fdefebf25ef8ee49541eccf20bd0003.jpg","text":"TemporaryFile(/tmp/multipartBody3741128450303952311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151763637,"filename":"image_03112025_00_05_27_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/41e5ec726a1cefddf0dd8302b122807e.jpg","text":"TemporaryFile(/tmp/multipartBody6485729967261883875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151763637,"filename":"image_03112025_00_05_42_2174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1ac02247ef7b54d0b1c2a201c685d46.jpg","text":"TemporaryFile(/tmp/multipartBody1899124101969437910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151763637,"filename":"image_03112025_00_05_22_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996228","file1":"1391996224","file0":"1391996219","file4":"1391996237","file5":"1391996241","file3":"1391996232"},"map_files_photo_id_array":[{"photo_id":"1391996241","filename":"file5"},{"photo_id":"1391996228","filename":"file2"},{"photo_id":"1391996237","filename":"file4"},{"photo_id":"1391996224","filename":"file1"},{"photo_id":"1391996219","filename":"file0"},{"photo_id":"1391996232","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996224":["hashtag1","hashtag2"]},{"1391996241":["hashtag1","hashtag2"]},{"1391996232":["hashtag1","hashtag2"]},{"1391996228":["hashtag1","hashtag2"]},{"1391996237":["hashtag1","hashtag2"]},{"1391996219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996224, 1391996241, 1391996232, 1391996228, 1391996237, 1391996219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29882884025574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:35:41.982912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_35_6686.jpg', '/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_38_1742.jpg', '/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_46_8326.jpg', '/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_48_1635.jpg', '/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_51_1642.jpg', '/home/pi/Desktop/images/03112025/00/07/image_03112025_00_07_04_1689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_35_6686.jpg
/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_38_1742.jpg
/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_46_8326.jpg
/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_48_1635.jpg
/home/pi/Desktop/images/03112025/00/06/image_03112025_00_06_51_1642.jpg
/home/pi/Desktop/images/03112025/00/07/image_03112025_00_07_04_1689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996251","1391996264","1391996267","1391996261","1391996255","1391996258"],"photo_ids_order":["1391996251","1391996255","1391996258","1391996261","1391996264","1391996267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1f4d82d6004a7096f0969f4dc0d7bd4.jpg","text":"TemporaryFile(/tmp/multipartBody3460540168827893587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151802724,"filename":"image_03112025_00_06_35_6686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c4fe23721cd73d690d737db2c5e91ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7560088870857669974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151802724,"filename":"image_03112025_00_06_51_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/3/378251da315d346c57b7db138fa6c7b6.jpg","text":"TemporaryFile(/tmp/multipartBody3672362467149018282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151802724,"filename":"image_03112025_00_07_04_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/3/5fa8dcfa9cc487ac7f74f9890f6c2fea.jpg","text":"TemporaryFile(/tmp/multipartBody6966356923187282427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151802724,"filename":"image_03112025_00_06_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/3/60a56d61dcf488db46ac8bb5cc7b4b75.jpg","text":"TemporaryFile(/tmp/multipartBody6432099940603648038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151802724,"filename":"image_03112025_00_06_38_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/3/f544b2e5bbe928e684914dc0cf4011cb.jpg","text":"TemporaryFile(/tmp/multipartBody364515319994110346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151802724,"filename":"image_03112025_00_06_46_8326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996258","file1":"1391996255","file0":"1391996251","file4":"1391996264","file5":"1391996267","file3":"1391996261"},"map_files_photo_id_array":[{"photo_id":"1391996267","filename":"file5"},{"photo_id":"1391996258","filename":"file2"},{"photo_id":"1391996264","filename":"file4"},{"photo_id":"1391996255","filename":"file1"},{"photo_id":"1391996251","filename":"file0"},{"photo_id":"1391996261","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996251":["hashtag1","hashtag2"]},{"1391996264":["hashtag1","hashtag2"]},{"1391996267":["hashtag1","hashtag2"]},{"1391996261":["hashtag1","hashtag2"]},{"1391996255":["hashtag1","hashtag2"]},{"1391996258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996251, 1391996264, 1391996267, 1391996261, 1391996255, 1391996258)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.23766231536865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:36:42.189513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/07/image_03112025_00_07_11_5005.jpg', '/home/pi/Desktop/images/03112025/00/07/image_03112025_00_07_19_1738.jpg', '/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_08_11719.jpg', '/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_17_2388.jpg', '/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_27_1983.jpg', '/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_30_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/07/image_03112025_00_07_11_5005.jpg
/home/pi/Desktop/images/03112025/00/07/image_03112025_00_07_19_1738.jpg
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_08_11719.jpg
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_17_2388.jpg
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_27_1983.jpg
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_30_1656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996312","1391996320","1391996314","1391996310","1391996316","1391996300"],"photo_ids_order":["1391996300","1391996310","1391996312","1391996314","1391996316","1391996320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/222ae64a97388441614c2feec9f3884e.jpg","text":"TemporaryFile(/tmp/multipartBody6727845986270423587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151862937,"filename":"image_03112025_00_08_08_11719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7fccfe392c477cff219327b9f6b686c0.jpg","text":"TemporaryFile(/tmp/multipartBody5896112142076731443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151862937,"filename":"image_03112025_00_08_30_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/3/dc2416a28d80be69ad6f90355e774385.jpg","text":"TemporaryFile(/tmp/multipartBody7779933731027444621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151862937,"filename":"image_03112025_00_08_17_2388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8f7db7c6ffd7b1bc0fa4728c488993ab.jpg","text":"TemporaryFile(/tmp/multipartBody3023929181963769986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151862937,"filename":"image_03112025_00_07_19_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/3/002c7d65e949762df28698653861ddb5.jpg","text":"TemporaryFile(/tmp/multipartBody7062161180226281927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151862937,"filename":"image_03112025_00_08_27_1983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/67f2491c19ff631dd183c7e2ea8d0aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2532296524034646265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151862937,"filename":"image_03112025_00_07_11_5005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996312","file1":"1391996310","file0":"1391996300","file4":"1391996316","file5":"1391996320","file3":"1391996314"},"map_files_photo_id_array":[{"photo_id":"1391996320","filename":"file5"},{"photo_id":"1391996312","filename":"file2"},{"photo_id":"1391996316","filename":"file4"},{"photo_id":"1391996310","filename":"file1"},{"photo_id":"1391996300","filename":"file0"},{"photo_id":"1391996314","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996312":["hashtag1","hashtag2"]},{"1391996320":["hashtag1","hashtag2"]},{"1391996314":["hashtag1","hashtag2"]},{"1391996310":["hashtag1","hashtag2"]},{"1391996316":["hashtag1","hashtag2"]},{"1391996300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996312, 1391996320, 1391996314, 1391996310, 1391996316, 1391996300)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.9619665145874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:37:45.179408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_35_1759.jpg', '/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_42_5693.jpg', '/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_49_7138.jpg', '/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_53_3162.jpg', '/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_56_2882.jpg', '/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_59_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_35_1759.jpg
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_42_5693.jpg
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_49_7138.jpg
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_53_3162.jpg
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_56_2882.jpg
/home/pi/Desktop/images/03112025/00/08/image_03112025_00_08_59_1675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996359","1391996361","1391996363","1391996366","1391996354","1391996357"],"photo_ids_order":["1391996354","1391996357","1391996359","1391996361","1391996363","1391996366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ffe9dab3d702d691b8150a6c28faf292.jpg","text":"TemporaryFile(/tmp/multipartBody8403472580309802393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151925928,"filename":"image_03112025_00_08_49_7138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4b49bdb5440bc05844b576e02739d539.jpg","text":"TemporaryFile(/tmp/multipartBody5461056405402971171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151925928,"filename":"image_03112025_00_08_53_3162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fbe7540b12a052d7c8f519367309addd.jpg","text":"TemporaryFile(/tmp/multipartBody7598123279937138184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151925928,"filename":"image_03112025_00_08_56_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/3/78536c6b85d2c6942d89fd07ecc7c4c1.jpg","text":"TemporaryFile(/tmp/multipartBody8193177636972867402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151925928,"filename":"image_03112025_00_08_59_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d91231b67066efec32558bcb097ead5f.jpg","text":"TemporaryFile(/tmp/multipartBody4299316996725834505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151925928,"filename":"image_03112025_00_08_35_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/3/8e4b89a47bc19a2a84ff902f60264386.jpg","text":"TemporaryFile(/tmp/multipartBody4509885463411261990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151925928,"filename":"image_03112025_00_08_42_5693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996359","file1":"1391996357","file0":"1391996354","file4":"1391996363","file5":"1391996366","file3":"1391996361"},"map_files_photo_id_array":[{"photo_id":"1391996366","filename":"file5"},{"photo_id":"1391996359","filename":"file2"},{"photo_id":"1391996363","filename":"file4"},{"photo_id":"1391996357","filename":"file1"},{"photo_id":"1391996354","filename":"file0"},{"photo_id":"1391996361","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996359":["hashtag1","hashtag2"]},{"1391996361":["hashtag1","hashtag2"]},{"1391996363":["hashtag1","hashtag2"]},{"1391996366":["hashtag1","hashtag2"]},{"1391996354":["hashtag1","hashtag2"]},{"1391996357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996359, 1391996361, 1391996363, 1391996366, 1391996354, 1391996357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92253541946411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:38:22.469912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/09/image_03112025_00_09_13_1588.jpg', '/home/pi/Desktop/images/03112025/00/09/image_03112025_00_09_23_9997.jpg', '/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_10_33127.jpg', '/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_16_4397.jpg', '/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_23_1675.jpg', '/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_27_4362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/09/image_03112025_00_09_13_1588.jpg
/home/pi/Desktop/images/03112025/00/09/image_03112025_00_09_23_9997.jpg
/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_10_33127.jpg
/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_16_4397.jpg
/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_23_1675.jpg
/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_27_4362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996389","1391996386","1391996382","1391996378","1391996375","1391996392"],"photo_ids_order":["1391996375","1391996378","1391996382","1391996386","1391996389","1391996392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b07adbec71e1a487fc099e19d12d576e.jpg","text":"TemporaryFile(/tmp/multipartBody3648660332866668617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151963207,"filename":"image_03112025_00_10_23_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bdd61eecb60bb414f91008c0f8fdfb05.jpg","text":"TemporaryFile(/tmp/multipartBody808266809811754305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151963207,"filename":"image_03112025_00_10_16_4397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/463fa7bb711cd40b4d48d5f43466cf7d.jpg","text":"TemporaryFile(/tmp/multipartBody7887537077536420774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151963207,"filename":"image_03112025_00_10_10_33127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/09ad1b2eb56361d029f3d56e152cd70a.jpg","text":"TemporaryFile(/tmp/multipartBody1765133566408783153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151963207,"filename":"image_03112025_00_09_23_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56590178c76e69c198cea25e8981bdeb.jpg","text":"TemporaryFile(/tmp/multipartBody586876303453774499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151963207,"filename":"image_03112025_00_09_13_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/3/b9bf7fac7915f3e653be8f7f872211a5.jpg","text":"TemporaryFile(/tmp/multipartBody8879359572315282886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762151963207,"filename":"image_03112025_00_10_27_4362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996382","file1":"1391996378","file0":"1391996375","file4":"1391996389","file5":"1391996392","file3":"1391996386"},"map_files_photo_id_array":[{"photo_id":"1391996392","filename":"file5"},{"photo_id":"1391996382","filename":"file2"},{"photo_id":"1391996389","filename":"file4"},{"photo_id":"1391996378","filename":"file1"},{"photo_id":"1391996375","filename":"file0"},{"photo_id":"1391996386","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996389":["hashtag1","hashtag2"]},{"1391996386":["hashtag1","hashtag2"]},{"1391996382":["hashtag1","hashtag2"]},{"1391996378":["hashtag1","hashtag2"]},{"1391996375":["hashtag1","hashtag2"]},{"1391996392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996389, 1391996386, 1391996382, 1391996378, 1391996375, 1391996392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64025402069092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:39:03.695109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_42_3191.jpg', '/home/pi/Desktop/images/03112025/00/11/image_03112025_00_11_34_1627.jpg', '/home/pi/Desktop/images/03112025/00/11/image_03112025_00_11_55_1888.jpg', '/home/pi/Desktop/images/03112025/00/11/image_03112025_00_12_00_1655.jpg', '/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_04_1501.jpg', '/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_20_1777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/10/image_03112025_00_10_42_3191.jpg
/home/pi/Desktop/images/03112025/00/11/image_03112025_00_11_34_1627.jpg
/home/pi/Desktop/images/03112025/00/11/image_03112025_00_11_55_1888.jpg
/home/pi/Desktop/images/03112025/00/11/image_03112025_00_12_00_1655.jpg
/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_04_1501.jpg
/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_20_1777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996411","1391996428","1391996416","1391996421","1391996406","1391996408"],"photo_ids_order":["1391996406","1391996408","1391996411","1391996416","1391996421","1391996428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f1edc514daee0ee6cc51292355504615.jpg","text":"TemporaryFile(/tmp/multipartBody156686495297428609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152004677,"filename":"image_03112025_00_11_55_1888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8844a8330269c8d85b29971adf75d5c2.jpg","text":"TemporaryFile(/tmp/multipartBody2960543865065565322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152004677,"filename":"image_03112025_00_12_20_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2f6ac8bd15aa5603d217c24b8a8e6ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4886590367343495176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152004677,"filename":"image_03112025_00_12_00_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/3/0d2b963ff27534078e1b50f1756ed397.jpg","text":"TemporaryFile(/tmp/multipartBody5952747623791479483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152004677,"filename":"image_03112025_00_12_04_1501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/646801454bca6fa142f09cf3ec0f8a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4818675613811665453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152004677,"filename":"image_03112025_00_10_42_3191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf23dd43c1cdce2a5081a39c73d23584.jpg","text":"TemporaryFile(/tmp/multipartBody6781049890927498606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152004677,"filename":"image_03112025_00_11_34_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996411","file1":"1391996408","file0":"1391996406","file4":"1391996421","file5":"1391996428","file3":"1391996416"},"map_files_photo_id_array":[{"photo_id":"1391996428","filename":"file5"},{"photo_id":"1391996411","filename":"file2"},{"photo_id":"1391996421","filename":"file4"},{"photo_id":"1391996408","filename":"file1"},{"photo_id":"1391996406","filename":"file0"},{"photo_id":"1391996416","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996411":["hashtag1","hashtag2"]},{"1391996428":["hashtag1","hashtag2"]},{"1391996416":["hashtag1","hashtag2"]},{"1391996421":["hashtag1","hashtag2"]},{"1391996406":["hashtag1","hashtag2"]},{"1391996408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996411, 1391996428, 1391996416, 1391996421, 1391996406, 1391996408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.135350942611694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:39:42.715826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_30_1788.jpg', '/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_37_1597.jpg', '/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_39_1660.jpg', '/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_41_2000.jpg', '/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_48_1741.jpg', '/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_55_1821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_30_1788.jpg
/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_37_1597.jpg
/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_39_1660.jpg
/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_41_2000.jpg
/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_48_1741.jpg
/home/pi/Desktop/images/03112025/00/12/image_03112025_00_12_55_1821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996449","1391996442","1391996445","1391996459","1391996453","1391996447"],"photo_ids_order":["1391996442","1391996445","1391996447","1391996449","1391996453","1391996459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/612464b4f4312ba12bb96dbc86a3063f.jpg","text":"TemporaryFile(/tmp/multipartBody2511773644474972064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152043496,"filename":"image_03112025_00_12_41_2000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/df9f7a9ffe1d0d3aec6237c0ffc2aadd.jpg","text":"TemporaryFile(/tmp/multipartBody4176995733281532586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152043496,"filename":"image_03112025_00_12_30_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/3/b3898e2f57e97ec06eb9c849c5a83996.jpg","text":"TemporaryFile(/tmp/multipartBody3119992692292162679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152043496,"filename":"image_03112025_00_12_37_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/3/6cdb492a508afd4972946fa5bdc1d788.jpg","text":"TemporaryFile(/tmp/multipartBody7298142559224859278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152043496,"filename":"image_03112025_00_12_55_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/3/0aa55bd410ec7c24334850e06905e9ab.jpg","text":"TemporaryFile(/tmp/multipartBody6536266014708267281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152043496,"filename":"image_03112025_00_12_48_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/3/670e40d00cad553bdb07e821686ba52c.jpg","text":"TemporaryFile(/tmp/multipartBody7440072378322533593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152043496,"filename":"image_03112025_00_12_39_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996447","file1":"1391996445","file0":"1391996442","file4":"1391996453","file5":"1391996459","file3":"1391996449"},"map_files_photo_id_array":[{"photo_id":"1391996459","filename":"file5"},{"photo_id":"1391996447","filename":"file2"},{"photo_id":"1391996453","filename":"file4"},{"photo_id":"1391996445","filename":"file1"},{"photo_id":"1391996442","filename":"file0"},{"photo_id":"1391996449","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996449":["hashtag1","hashtag2"]},{"1391996442":["hashtag1","hashtag2"]},{"1391996445":["hashtag1","hashtag2"]},{"1391996459":["hashtag1","hashtag2"]},{"1391996453":["hashtag1","hashtag2"]},{"1391996447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996449, 1391996442, 1391996445, 1391996459, 1391996453, 1391996447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.341251373291016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:40:21.822662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_07_1742.jpg', '/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_11_1635.jpg', '/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_13_1738.jpg', '/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_14_1690.jpg', '/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_18_3830.jpg', '/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_30_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_07_1742.jpg
/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_11_1635.jpg
/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_13_1738.jpg
/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_14_1690.jpg
/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_18_3830.jpg
/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_30_1743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996494","1391996473","1391996476","1391996490","1391996486","1391996468"],"photo_ids_order":["1391996468","1391996473","1391996476","1391996486","1391996490","1391996494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/52b4a041781a91d9db73fdef2e4d2ced.jpg","text":"TemporaryFile(/tmp/multipartBody7392332805944611218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152082563,"filename":"image_03112025_00_13_30_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/3/89d122f310bf988c9e6d465095acc9d7.jpg","text":"TemporaryFile(/tmp/multipartBody8339755924797695164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152082563,"filename":"image_03112025_00_13_11_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/3/6561757ca2a327fe1b6f8313c7398be5.jpg","text":"TemporaryFile(/tmp/multipartBody2460906721922542327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152082563,"filename":"image_03112025_00_13_13_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/3/bdc4ddff9d7d85bedda0bd88b8c176d5.jpg","text":"TemporaryFile(/tmp/multipartBody6639496590656930315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152082563,"filename":"image_03112025_00_13_18_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/3/ff714e3df5fda46b8726370f3ca1b765.jpg","text":"TemporaryFile(/tmp/multipartBody7338212473582695849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152082563,"filename":"image_03112025_00_13_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/3/e53ea87a717298900824d48876dbc07a.jpg","text":"TemporaryFile(/tmp/multipartBody8376566772120065211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152082563,"filename":"image_03112025_00_13_07_1742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996476","file1":"1391996473","file0":"1391996468","file4":"1391996490","file5":"1391996494","file3":"1391996486"},"map_files_photo_id_array":[{"photo_id":"1391996494","filename":"file5"},{"photo_id":"1391996476","filename":"file2"},{"photo_id":"1391996490","filename":"file4"},{"photo_id":"1391996473","filename":"file1"},{"photo_id":"1391996468","filename":"file0"},{"photo_id":"1391996486","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996494":["hashtag1","hashtag2"]},{"1391996473":["hashtag1","hashtag2"]},{"1391996476":["hashtag1","hashtag2"]},{"1391996490":["hashtag1","hashtag2"]},{"1391996486":["hashtag1","hashtag2"]},{"1391996468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996494, 1391996473, 1391996476, 1391996490, 1391996486, 1391996468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77753949165344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:41:02.679164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_39_1756.jpg', '/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_51_1642.jpg', '/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_56_1678.jpg', '/home/pi/Desktop/images/03112025/00/14/image_03112025_00_14_59_1768.jpg', '/home/pi/Desktop/images/03112025/00/14/image_03112025_00_15_00_1542.jpg', '/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_26_3979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_39_1756.jpg
/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_51_1642.jpg
/home/pi/Desktop/images/03112025/00/13/image_03112025_00_13_56_1678.jpg
/home/pi/Desktop/images/03112025/00/14/image_03112025_00_14_59_1768.jpg
/home/pi/Desktop/images/03112025/00/14/image_03112025_00_15_00_1542.jpg
/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_26_3979.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996509","1391996503","1391996511","1391996507","1391996516","1391996501"],"photo_ids_order":["1391996501","1391996503","1391996507","1391996509","1391996511","1391996516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bfa96ab4f30277d59846621d7da57143.jpg","text":"TemporaryFile(/tmp/multipartBody917468466338070569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152123542,"filename":"image_03112025_00_14_59_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/3/4afb4af5b9a0c9fb551396a3e2aece8d.jpg","text":"TemporaryFile(/tmp/multipartBody8192467298419432223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152123542,"filename":"image_03112025_00_13_51_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/3/e7093e48ab2362e89026052cf18f179d.jpg","text":"TemporaryFile(/tmp/multipartBody1144316976472082087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152123542,"filename":"image_03112025_00_15_00_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d202eafbe24c0703b8dbdeb48d9c3b7.jpg","text":"TemporaryFile(/tmp/multipartBody2288914242369237188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152123542,"filename":"image_03112025_00_13_56_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/3/75ed5aab3fd67d5dde597cf3061303c8.jpg","text":"TemporaryFile(/tmp/multipartBody2510303717604079860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152123542,"filename":"image_03112025_00_16_26_3979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/170336faec196ae9438bdc746ea7e559.jpg","text":"TemporaryFile(/tmp/multipartBody6156065975934574311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152123542,"filename":"image_03112025_00_13_39_1756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996507","file1":"1391996503","file0":"1391996501","file4":"1391996511","file5":"1391996516","file3":"1391996509"},"map_files_photo_id_array":[{"photo_id":"1391996516","filename":"file5"},{"photo_id":"1391996507","filename":"file2"},{"photo_id":"1391996511","filename":"file4"},{"photo_id":"1391996503","filename":"file1"},{"photo_id":"1391996501","filename":"file0"},{"photo_id":"1391996509","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996509":["hashtag1","hashtag2"]},{"1391996503":["hashtag1","hashtag2"]},{"1391996511":["hashtag1","hashtag2"]},{"1391996507":["hashtag1","hashtag2"]},{"1391996516":["hashtag1","hashtag2"]},{"1391996501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996509, 1391996503, 1391996511, 1391996507, 1391996516, 1391996501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.051178216934204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:41:41.993382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_33_2742.jpg', '/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_43_1586.jpg', '/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_45_2645.jpg', '/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_50_4970.jpg', '/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_52_1610.jpg', '/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_57_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_33_2742.jpg
/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_43_1586.jpg
/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_45_2645.jpg
/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_50_4970.jpg
/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_52_1610.jpg
/home/pi/Desktop/images/03112025/00/16/image_03112025_00_16_57_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996530","1391996553","1391996541","1391996544","1391996552","1391996537"],"photo_ids_order":["1391996530","1391996537","1391996541","1391996544","1391996552","1391996553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/911f0daed679c5d6162ce05f9fdc8103.jpg","text":"TemporaryFile(/tmp/multipartBody2659995897849350474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152162776,"filename":"image_03112025_00_16_33_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/3/34c593e2134ea99532e59ff06614c8c5.jpg","text":"TemporaryFile(/tmp/multipartBody2803133926495044572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152162776,"filename":"image_03112025_00_16_57_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/3/c5d03c83e76d9b4de014ee5f417ae11c.jpg","text":"TemporaryFile(/tmp/multipartBody1457737318874435526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152162776,"filename":"image_03112025_00_16_45_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/3/a2b7955e2f0e565c92d47e7bfb0f6063.jpg","text":"TemporaryFile(/tmp/multipartBody4353120064904056825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152162776,"filename":"image_03112025_00_16_50_4970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4072f5d4a9a4c931da09fba9945da4db.jpg","text":"TemporaryFile(/tmp/multipartBody2725585935889352951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152162776,"filename":"image_03112025_00_16_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/3/2b531754f4a4d7d0f53489b7ad028e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5460620971538020186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152162776,"filename":"image_03112025_00_16_43_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996541","file1":"1391996537","file0":"1391996530","file4":"1391996552","file5":"1391996553","file3":"1391996544"},"map_files_photo_id_array":[{"photo_id":"1391996553","filename":"file5"},{"photo_id":"1391996541","filename":"file2"},{"photo_id":"1391996552","filename":"file4"},{"photo_id":"1391996537","filename":"file1"},{"photo_id":"1391996530","filename":"file0"},{"photo_id":"1391996544","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996530":["hashtag1","hashtag2"]},{"1391996553":["hashtag1","hashtag2"]},{"1391996541":["hashtag1","hashtag2"]},{"1391996544":["hashtag1","hashtag2"]},{"1391996552":["hashtag1","hashtag2"]},{"1391996537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996530, 1391996553, 1391996541, 1391996544, 1391996552, 1391996537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93326473236084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:42:22.132496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/16/image_03112025_00_17_00_2693.jpg', '/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_04_3800.jpg', '/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_07_2677.jpg', '/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_13_3554.jpg', '/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_24_2906.jpg', '/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_27_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/16/image_03112025_00_17_00_2693.jpg
/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_04_3800.jpg
/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_07_2677.jpg
/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_13_3554.jpg
/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_24_2906.jpg
/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_27_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996581","1391996578","1391996561","1391996573","1391996567","1391996584"],"photo_ids_order":["1391996561","1391996567","1391996573","1391996578","1391996581","1391996584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/162603a9e0501f8dd3f16f3d80121162.jpg","text":"TemporaryFile(/tmp/multipartBody1723665711452994899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152202879,"filename":"image_03112025_00_17_24_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/3/e09a9e83cbffa3f69167049eab39049a.jpg","text":"TemporaryFile(/tmp/multipartBody8471809574989813333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152202879,"filename":"image_03112025_00_17_13_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/3/efd7386127edf066c2e714558f78e8cd.jpg","text":"TemporaryFile(/tmp/multipartBody9138312084153226298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152202879,"filename":"image_03112025_00_17_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/3/b91f61ea46169b78a1bfe855087c3b6d.jpg","text":"TemporaryFile(/tmp/multipartBody7826549243778936857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152202879,"filename":"image_03112025_00_17_07_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/3/3d7ed3f8b160cc380f953ff1bd99d5ef.jpg","text":"TemporaryFile(/tmp/multipartBody8061205335064438314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152202879,"filename":"image_03112025_00_17_04_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/3/377bf61f2eb6b5f53a146e1b43a1f6db.jpg","text":"TemporaryFile(/tmp/multipartBody2699903469721487005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152202879,"filename":"image_03112025_00_17_27_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996573","file1":"1391996567","file0":"1391996561","file4":"1391996581","file5":"1391996584","file3":"1391996578"},"map_files_photo_id_array":[{"photo_id":"1391996584","filename":"file5"},{"photo_id":"1391996573","filename":"file2"},{"photo_id":"1391996581","filename":"file4"},{"photo_id":"1391996567","filename":"file1"},{"photo_id":"1391996561","filename":"file0"},{"photo_id":"1391996578","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996581":["hashtag1","hashtag2"]},{"1391996578":["hashtag1","hashtag2"]},{"1391996561":["hashtag1","hashtag2"]},{"1391996573":["hashtag1","hashtag2"]},{"1391996567":["hashtag1","hashtag2"]},{"1391996584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996581, 1391996578, 1391996561, 1391996573, 1391996567, 1391996584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13139533996582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:43:03.110514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_52_2692.jpg', '/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_58_3689.jpg', '/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_01_2659.jpg', '/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_03_2631.jpg', '/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_07_3419.jpg', '/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_09_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_52_2692.jpg
/home/pi/Desktop/images/03112025/00/17/image_03112025_00_17_58_3689.jpg
/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_01_2659.jpg
/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_03_2631.jpg
/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_07_3419.jpg
/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_09_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996605","1391996595","1391996602","1391996592","1391996589","1391996599"],"photo_ids_order":["1391996589","1391996592","1391996595","1391996599","1391996602","1391996605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/749bece3d59ad2334e8663e32f2e712e.jpg","text":"TemporaryFile(/tmp/multipartBody3415731763665323041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152243961,"filename":"image_03112025_00_18_09_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/10ad37bb96de125ef3f348c72aa7ec94.jpg","text":"TemporaryFile(/tmp/multipartBody432472707536420476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152243961,"filename":"image_03112025_00_18_01_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/3/4b7eed8d2463f0a97ef325a0c2fcce00.jpg","text":"TemporaryFile(/tmp/multipartBody6668970944333686833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152243961,"filename":"image_03112025_00_18_07_3419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/836e53829f9c3de604c53075cbb3a9eb.jpg","text":"TemporaryFile(/tmp/multipartBody268989856689263957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152243961,"filename":"image_03112025_00_17_58_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/3/42757e42051287651f3d4ac978211f84.jpg","text":"TemporaryFile(/tmp/multipartBody4084214072635520377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152243961,"filename":"image_03112025_00_17_52_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/3/baa93807152e81fe6385eac9184c6486.jpg","text":"TemporaryFile(/tmp/multipartBody9183655330498212399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152243961,"filename":"image_03112025_00_18_03_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996595","file1":"1391996592","file0":"1391996589","file4":"1391996602","file5":"1391996605","file3":"1391996599"},"map_files_photo_id_array":[{"photo_id":"1391996605","filename":"file5"},{"photo_id":"1391996595","filename":"file2"},{"photo_id":"1391996602","filename":"file4"},{"photo_id":"1391996592","filename":"file1"},{"photo_id":"1391996589","filename":"file0"},{"photo_id":"1391996599","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996605":["hashtag1","hashtag2"]},{"1391996595":["hashtag1","hashtag2"]},{"1391996602":["hashtag1","hashtag2"]},{"1391996592":["hashtag1","hashtag2"]},{"1391996589":["hashtag1","hashtag2"]},{"1391996599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996605, 1391996595, 1391996602, 1391996592, 1391996589, 1391996599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.897749185562134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:43:42.399453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_13_3703.jpg', '/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_18_2826.jpg', '/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_36_2589.jpg', '/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_39_2637.jpg', '/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_48_2753.jpg', '/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_16_3876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_13_3703.jpg
/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_18_2826.jpg
/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_36_2589.jpg
/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_39_2637.jpg
/home/pi/Desktop/images/03112025/00/18/image_03112025_00_18_48_2753.jpg
/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_16_3876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996623","1391996632","1391996619","1391996630","1391996627","1391996615"],"photo_ids_order":["1391996615","1391996619","1391996623","1391996627","1391996630","1391996632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/899960d4a46b7cd9930061bf78e5977b.jpg","text":"TemporaryFile(/tmp/multipartBody7587724060422536420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152283175,"filename":"image_03112025_00_18_36_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/3/af7fe239dc1842552c42cf481e8a2676.jpg","text":"TemporaryFile(/tmp/multipartBody7473893881470619659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152283175,"filename":"image_03112025_00_19_16_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/3/d103ba0139f5cdee53af891ecf3b63df.jpg","text":"TemporaryFile(/tmp/multipartBody3112326896167051032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152283175,"filename":"image_03112025_00_18_18_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/3/2935db87be8bd7ba2c331a24127a26d0.jpg","text":"TemporaryFile(/tmp/multipartBody4078628342585603692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152283175,"filename":"image_03112025_00_18_48_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2d0284b158668dcb1e09cf62c70f5dd0.jpg","text":"TemporaryFile(/tmp/multipartBody8724105382579613217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152283175,"filename":"image_03112025_00_18_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/3/433c021592e3c640f00c70a93a519fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5538918145234130981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152283175,"filename":"image_03112025_00_18_13_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996623","file1":"1391996619","file0":"1391996615","file4":"1391996630","file5":"1391996632","file3":"1391996627"},"map_files_photo_id_array":[{"photo_id":"1391996632","filename":"file5"},{"photo_id":"1391996623","filename":"file2"},{"photo_id":"1391996630","filename":"file4"},{"photo_id":"1391996619","filename":"file1"},{"photo_id":"1391996615","filename":"file0"},{"photo_id":"1391996627","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996623":["hashtag1","hashtag2"]},{"1391996632":["hashtag1","hashtag2"]},{"1391996619":["hashtag1","hashtag2"]},{"1391996630":["hashtag1","hashtag2"]},{"1391996627":["hashtag1","hashtag2"]},{"1391996615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996623, 1391996632, 1391996619, 1391996630, 1391996627, 1391996615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.863253355026245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:44:22.588903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_19_2873.jpg', '/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_37_3756.jpg', '/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_42_2681.jpg', '/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_46_3658.jpg', '/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_48_2672.jpg', '/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_55_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_19_2873.jpg
/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_37_3756.jpg
/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_42_2681.jpg
/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_46_3658.jpg
/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_48_2672.jpg
/home/pi/Desktop/images/03112025/00/19/image_03112025_00_19_55_3765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996665","1391996647","1391996662","1391996641","1391996652","1391996657"],"photo_ids_order":["1391996641","1391996647","1391996652","1391996657","1391996662","1391996665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3c9ab89cba62a98cfa33b601b36f09e8.jpg","text":"TemporaryFile(/tmp/multipartBody1305879751025905121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152323328,"filename":"image_03112025_00_19_55_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/3/45c0254cc55957bd63c91f64f68bbc29.jpg","text":"TemporaryFile(/tmp/multipartBody7937661041268579391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152323328,"filename":"image_03112025_00_19_37_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/3/8aaa6f7265966959626ad617b93fd2f1.jpg","text":"TemporaryFile(/tmp/multipartBody3483948338642914232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152323328,"filename":"image_03112025_00_19_48_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/3/4793db76e61ccc70bb74cae4b179fa6c.jpg","text":"TemporaryFile(/tmp/multipartBody5088803709927435859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152323328,"filename":"image_03112025_00_19_19_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/3/838cabcc94f38331a9c9d47629a75558.jpg","text":"TemporaryFile(/tmp/multipartBody9053865169364889767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152323328,"filename":"image_03112025_00_19_42_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/815bd246757c77690a03ab8fb8628b2a.jpg","text":"TemporaryFile(/tmp/multipartBody1334266978065626948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152323328,"filename":"image_03112025_00_19_46_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996652","file1":"1391996647","file0":"1391996641","file4":"1391996662","file5":"1391996665","file3":"1391996657"},"map_files_photo_id_array":[{"photo_id":"1391996665","filename":"file5"},{"photo_id":"1391996652","filename":"file2"},{"photo_id":"1391996662","filename":"file4"},{"photo_id":"1391996647","filename":"file1"},{"photo_id":"1391996641","filename":"file0"},{"photo_id":"1391996657","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996665":["hashtag1","hashtag2"]},{"1391996647":["hashtag1","hashtag2"]},{"1391996662":["hashtag1","hashtag2"]},{"1391996641":["hashtag1","hashtag2"]},{"1391996652":["hashtag1","hashtag2"]},{"1391996657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996665, 1391996647, 1391996662, 1391996641, 1391996652, 1391996657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.401344299316406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:45:03.486433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/19/image_03112025_00_20_00_2735.jpg', '/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_03_2862.jpg', '/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_06_3561.jpg', '/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_12_2602.jpg', '/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_16_3774.jpg', '/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_21_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/19/image_03112025_00_20_00_2735.jpg
/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_03_2862.jpg
/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_06_3561.jpg
/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_12_2602.jpg
/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_16_3774.jpg
/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_21_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996701","1391996694","1391996682","1391996691","1391996688","1391996709"],"photo_ids_order":["1391996682","1391996688","1391996691","1391996694","1391996701","1391996709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa4d3494d14050e49b56c10ba5ef530a.jpg","text":"TemporaryFile(/tmp/multipartBody4762055394079573347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152364319,"filename":"image_03112025_00_20_16_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/3/21c21529b91752ed65ac38ebd75eeba3.jpg","text":"TemporaryFile(/tmp/multipartBody8222444877913355276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152364319,"filename":"image_03112025_00_20_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/3/5af1f8e5651b671c49da5cb23012e124.jpg","text":"TemporaryFile(/tmp/multipartBody1949187823203701046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152364319,"filename":"image_03112025_00_20_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/3/eabf51b8c0122da4dd70be86a1327cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3534256444616620242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152364319,"filename":"image_03112025_00_20_06_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e696589465a036db51fd164e53596be0.jpg","text":"TemporaryFile(/tmp/multipartBody454928876550211364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152364319,"filename":"image_03112025_00_20_03_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/3/8b2d62768187b9d119217c137473992e.jpg","text":"TemporaryFile(/tmp/multipartBody9094538927854866298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152364319,"filename":"image_03112025_00_20_21_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996691","file1":"1391996688","file0":"1391996682","file4":"1391996701","file5":"1391996709","file3":"1391996694"},"map_files_photo_id_array":[{"photo_id":"1391996709","filename":"file5"},{"photo_id":"1391996691","filename":"file2"},{"photo_id":"1391996701","filename":"file4"},{"photo_id":"1391996688","filename":"file1"},{"photo_id":"1391996682","filename":"file0"},{"photo_id":"1391996694","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996701":["hashtag1","hashtag2"]},{"1391996694":["hashtag1","hashtag2"]},{"1391996682":["hashtag1","hashtag2"]},{"1391996691":["hashtag1","hashtag2"]},{"1391996688":["hashtag1","hashtag2"]},{"1391996709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996701, 1391996694, 1391996682, 1391996691, 1391996688, 1391996709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53219938278198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:45:42.860100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_24_2885.jpg', '/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_59_8731.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_05_6040.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_10_1716.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_12_1627.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_17_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_24_2885.jpg
/home/pi/Desktop/images/03112025/00/20/image_03112025_00_20_59_8731.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_05_6040.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_10_1716.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_12_1627.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_17_1703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996728","1391996731","1391996739","1391996733","1391996724","1391996720"],"photo_ids_order":["1391996720","1391996724","1391996728","1391996731","1391996733","1391996739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3af9557e9bb315ddf20cdac12757f9ec.jpg","text":"TemporaryFile(/tmp/multipartBody8534773422913425087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152403643,"filename":"image_03112025_00_21_05_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/3/5178148cf250f5715030d9cb1956c4fa.jpg","text":"TemporaryFile(/tmp/multipartBody1886823379671752308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152403643,"filename":"image_03112025_00_21_10_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/3/fb227d431576c730a510b9256cca5a38.jpg","text":"TemporaryFile(/tmp/multipartBody5499482326880596932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152403643,"filename":"image_03112025_00_21_17_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/3/2282d1a3328f98dee1bf7055bd1b90fc.jpg","text":"TemporaryFile(/tmp/multipartBody4270645285863622477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152403643,"filename":"image_03112025_00_21_12_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/3/250b62d22aa15ee9edc3c527c4efa6a1.jpg","text":"TemporaryFile(/tmp/multipartBody879556875233528246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152403643,"filename":"image_03112025_00_20_59_8731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7585c0f2cc77d20a9d7dceffd4b16fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4370750294526577583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152403643,"filename":"image_03112025_00_20_24_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996728","file1":"1391996724","file0":"1391996720","file4":"1391996733","file5":"1391996739","file3":"1391996731"},"map_files_photo_id_array":[{"photo_id":"1391996739","filename":"file5"},{"photo_id":"1391996728","filename":"file2"},{"photo_id":"1391996733","filename":"file4"},{"photo_id":"1391996724","filename":"file1"},{"photo_id":"1391996720","filename":"file0"},{"photo_id":"1391996731","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996728":["hashtag1","hashtag2"]},{"1391996731":["hashtag1","hashtag2"]},{"1391996739":["hashtag1","hashtag2"]},{"1391996733":["hashtag1","hashtag2"]},{"1391996724":["hashtag1","hashtag2"]},{"1391996720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996728, 1391996731, 1391996739, 1391996733, 1391996724, 1391996720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26370573043823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:46:22.023039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_18_1641.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_20_1602.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_26_5458.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_27_1552.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_29_1667.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_32_1736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_18_1641.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_20_1602.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_26_5458.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_27_1552.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_29_1667.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_32_1736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996779","1391996764","1391996746","1391996749","1391996772","1391996753"],"photo_ids_order":["1391996746","1391996749","1391996753","1391996764","1391996772","1391996779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/27cba74660685f088f74819487fcef00.jpg","text":"TemporaryFile(/tmp/multipartBody4270682912336768896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152442798,"filename":"image_03112025_00_21_32_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/3/b0f5f142f3e680f5b598d7f73a68b2be.jpg","text":"TemporaryFile(/tmp/multipartBody7734014710891256906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152442798,"filename":"image_03112025_00_21_27_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/3/711b5e66bd77b5a4eecf36969489de90.jpg","text":"TemporaryFile(/tmp/multipartBody7861932328387831068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152442798,"filename":"image_03112025_00_21_18_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/3/fdb53b371f28d73af65dd69af8b0486b.jpg","text":"TemporaryFile(/tmp/multipartBody1561698098668675352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152442798,"filename":"image_03112025_00_21_20_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/3/f7161851ff0003d9c785f0279cb8805c.jpg","text":"TemporaryFile(/tmp/multipartBody1818812418292530196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152442798,"filename":"image_03112025_00_21_29_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/3/69ccad17ee1c5a2515caea8e2989cb1c.jpg","text":"TemporaryFile(/tmp/multipartBody8970950475374844482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152442798,"filename":"image_03112025_00_21_26_5458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996753","file1":"1391996749","file0":"1391996746","file4":"1391996772","file5":"1391996779","file3":"1391996764"},"map_files_photo_id_array":[{"photo_id":"1391996779","filename":"file5"},{"photo_id":"1391996753","filename":"file2"},{"photo_id":"1391996772","filename":"file4"},{"photo_id":"1391996749","filename":"file1"},{"photo_id":"1391996746","filename":"file0"},{"photo_id":"1391996764","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996779":["hashtag1","hashtag2"]},{"1391996764":["hashtag1","hashtag2"]},{"1391996746":["hashtag1","hashtag2"]},{"1391996749":["hashtag1","hashtag2"]},{"1391996772":["hashtag1","hashtag2"]},{"1391996753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996779, 1391996764, 1391996746, 1391996749, 1391996772, 1391996753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43569898605347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:47:02.807695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_34_1734.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_35_1621.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_41_5610.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_45_1608.jpg', '/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_59_12483.jpg', '/home/pi/Desktop/images/03112025/00/22/image_03112025_00_22_01_1932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_34_1734.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_35_1621.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_41_5610.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_45_1608.jpg
/home/pi/Desktop/images/03112025/00/21/image_03112025_00_21_59_12483.jpg
/home/pi/Desktop/images/03112025/00/22/image_03112025_00_22_01_1932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996860","1391996827","1391996868","1391996883","1391996843","1391996846"],"photo_ids_order":["1391996827","1391996843","1391996846","1391996860","1391996868","1391996883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4e8f19f189606b517418ea8a29fec369.jpg","text":"TemporaryFile(/tmp/multipartBody5249692922755745157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152483624,"filename":"image_03112025_00_21_45_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/3/85bf25d8ca499fbc30cb4ae31af9fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody685241174846898798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152483624,"filename":"image_03112025_00_21_34_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7936de80c7c93d012ea8e8d0d941eafd.jpg","text":"TemporaryFile(/tmp/multipartBody5773685367426267181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152483624,"filename":"image_03112025_00_21_59_12483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a05a4cce4177fcfdefa7c75145d4c04c.jpg","text":"TemporaryFile(/tmp/multipartBody8242342818364060469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152483624,"filename":"image_03112025_00_22_01_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/3/cecc2542ad72c1023ecc9a1e74f83ad3.jpg","text":"TemporaryFile(/tmp/multipartBody986289817996804962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152483624,"filename":"image_03112025_00_21_35_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/3/83e2474d3b4be641eecf514ab534261f.jpg","text":"TemporaryFile(/tmp/multipartBody1545720938336471324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152483624,"filename":"image_03112025_00_21_41_5610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996846","file1":"1391996843","file0":"1391996827","file4":"1391996868","file5":"1391996883","file3":"1391996860"},"map_files_photo_id_array":[{"photo_id":"1391996883","filename":"file5"},{"photo_id":"1391996846","filename":"file2"},{"photo_id":"1391996868","filename":"file4"},{"photo_id":"1391996843","filename":"file1"},{"photo_id":"1391996827","filename":"file0"},{"photo_id":"1391996860","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996860":["hashtag1","hashtag2"]},{"1391996827":["hashtag1","hashtag2"]},{"1391996868":["hashtag1","hashtag2"]},{"1391996883":["hashtag1","hashtag2"]},{"1391996843":["hashtag1","hashtag2"]},{"1391996846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996860, 1391996827, 1391996868, 1391996883, 1391996843, 1391996846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67361664772034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:47:42.283150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_16_2567.jpg', '/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_22_3549.jpg', '/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_31_2790.jpg', '/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_34_3633.jpg', '/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_40_3601.jpg', '/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_58_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_16_2567.jpg
/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_22_3549.jpg
/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_31_2790.jpg
/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_34_3633.jpg
/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_40_3601.jpg
/home/pi/Desktop/images/03112025/00/25/image_03112025_00_25_58_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996908","1391996917","1391996898","1391996904","1391996915","1391996912"],"photo_ids_order":["1391996898","1391996904","1391996908","1391996912","1391996915","1391996917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d21b38371b332f4430266b6c347cb0d9.jpg","text":"TemporaryFile(/tmp/multipartBody6100114324401570516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152523060,"filename":"image_03112025_00_25_31_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/3/bcc55048cf8513c765d52df30e22edd7.jpg","text":"TemporaryFile(/tmp/multipartBody4920779395945177721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152523060,"filename":"image_03112025_00_25_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/3/ae7bfc50b7ec54a0788cd4e3f647d1a6.jpg","text":"TemporaryFile(/tmp/multipartBody1392343506758997748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152523060,"filename":"image_03112025_00_25_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/3/f6ae4c595fd6c337f1c019404dec5040.jpg","text":"TemporaryFile(/tmp/multipartBody221695886748724048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152523060,"filename":"image_03112025_00_25_22_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9c01fa3cb5fd9b4342713e1dca90ebfd.jpg","text":"TemporaryFile(/tmp/multipartBody5201952772476562268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152523060,"filename":"image_03112025_00_25_40_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/3/b316fa816b34503837c7b450723721b6.jpg","text":"TemporaryFile(/tmp/multipartBody2948927378126282398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152523060,"filename":"image_03112025_00_25_34_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996908","file1":"1391996904","file0":"1391996898","file4":"1391996915","file5":"1391996917","file3":"1391996912"},"map_files_photo_id_array":[{"photo_id":"1391996917","filename":"file5"},{"photo_id":"1391996908","filename":"file2"},{"photo_id":"1391996915","filename":"file4"},{"photo_id":"1391996904","filename":"file1"},{"photo_id":"1391996898","filename":"file0"},{"photo_id":"1391996912","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996908":["hashtag1","hashtag2"]},{"1391996917":["hashtag1","hashtag2"]},{"1391996898":["hashtag1","hashtag2"]},{"1391996904":["hashtag1","hashtag2"]},{"1391996915":["hashtag1","hashtag2"]},{"1391996912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996908, 1391996917, 1391996898, 1391996904, 1391996915, 1391996912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35572385787964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:48:22.410702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_01_2866.jpg', '/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_25_3660.jpg', '/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_31_2787.jpg', '/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_43_2769.jpg', '/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_49_2758.jpg', '/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_52_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_01_2866.jpg
/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_25_3660.jpg
/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_31_2787.jpg
/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_43_2769.jpg
/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_49_2758.jpg
/home/pi/Desktop/images/03112025/00/26/image_03112025_00_26_52_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391996953","1391996935","1391996960","1391996942","1391996939","1391996930"],"photo_ids_order":["1391996930","1391996935","1391996939","1391996942","1391996953","1391996960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b156e34770d1ddd90b3b56bd2ae98774.jpg","text":"TemporaryFile(/tmp/multipartBody6023243801083333788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152563157,"filename":"image_03112025_00_26_49_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/3/1cf619d29d4b0bcc490ae586f1ece578.jpg","text":"TemporaryFile(/tmp/multipartBody938269681550953540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152563157,"filename":"image_03112025_00_26_25_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/3/a3776ac3a53a393374d8e9a07afd30a6.jpg","text":"TemporaryFile(/tmp/multipartBody6963409925544535776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152563157,"filename":"image_03112025_00_26_52_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/3/85244bf4011a16fb82c5128c902481ab.jpg","text":"TemporaryFile(/tmp/multipartBody7554827825805575594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152563157,"filename":"image_03112025_00_26_43_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/3/9db7f3164f5d468b7c5b3bc2682fea3b.jpg","text":"TemporaryFile(/tmp/multipartBody3698953375280223737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152563157,"filename":"image_03112025_00_26_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/3/e536afe24acc6174b3b3370b7655306b.jpg","text":"TemporaryFile(/tmp/multipartBody743814635138922484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152563157,"filename":"image_03112025_00_26_01_2866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996939","file1":"1391996935","file0":"1391996930","file4":"1391996953","file5":"1391996960","file3":"1391996942"},"map_files_photo_id_array":[{"photo_id":"1391996960","filename":"file5"},{"photo_id":"1391996939","filename":"file2"},{"photo_id":"1391996953","filename":"file4"},{"photo_id":"1391996935","filename":"file1"},{"photo_id":"1391996930","filename":"file0"},{"photo_id":"1391996942","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996953":["hashtag1","hashtag2"]},{"1391996935":["hashtag1","hashtag2"]},{"1391996960":["hashtag1","hashtag2"]},{"1391996942":["hashtag1","hashtag2"]},{"1391996939":["hashtag1","hashtag2"]},{"1391996930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996953, 1391996935, 1391996960, 1391996942, 1391996939, 1391996930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.359180212020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:49:03.601686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_36_1836.jpg', '/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_38_1610.jpg', '/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_43_1649.jpg', '/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_44_1620.jpg', '/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_48_1746.jpg', '/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_58_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_36_1836.jpg
/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_38_1610.jpg
/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_43_1649.jpg
/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_44_1620.jpg
/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_48_1746.jpg
/home/pi/Desktop/images/03112025/00/27/image_03112025_00_27_58_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":["1391996983","1391997040","1391996991","1391996994","1391996987","1391997043"],"photo_ids_order":["1391996983","1391996987","1391996991","1391996994","1391997040","1391997043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3fb341006a284881aed3c9afef9e1723.jpg","text":"TemporaryFile(/tmp/multipartBody4687020129458588842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152609293,"filename":"image_03112025_00_27_36_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/3/b39d439ed3e8d3acd3edee1bb0b89f08.jpg","text":"TemporaryFile(/tmp/multipartBody7990137612090800427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152609293,"filename":"image_03112025_00_27_48_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/3/3b92bc23e58f10c48f9c4f4245795e88.jpg","text":"TemporaryFile(/tmp/multipartBody6005100310807572123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152609293,"filename":"image_03112025_00_27_43_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/3/c98b8cac9fcae5b3e880428035af150c.jpg","text":"TemporaryFile(/tmp/multipartBody7500687249145307369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152609293,"filename":"image_03112025_00_27_44_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/3/d50b7c986e5ec26c1e22f248dd41b545.jpg","text":"TemporaryFile(/tmp/multipartBody5382925308982219955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152609293,"filename":"image_03112025_00_27_38_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/3/2469fcf0b573ee99b01ac563dd5cd415.jpg","text":"TemporaryFile(/tmp/multipartBody3011746783785579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152609293,"filename":"image_03112025_00_27_58_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391996991","file1":"1391996987","file0":"1391996983","file4":"1391997040","file5":"1391997043","file3":"1391996994"},"map_files_photo_id_array":[{"photo_id":"1391997043","filename":"file5"},{"photo_id":"1391996991","filename":"file2"},{"photo_id":"1391997040","filename":"file4"},{"photo_id":"1391996987","filename":"file1"},{"photo_id":"1391996983","filename":"file0"},{"photo_id":"1391996994","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391996983":["hashtag1","hashtag2"]},{"1391997040":["hashtag1","hashtag2"]},{"1391996991":["hashtag1","hashtag2"]},{"1391996994":["hashtag1","hashtag2"]},{"1391996987":["hashtag1","hashtag2"]},{"1391997043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391996983, 1391997040, 1391996991, 1391996994, 1391996987, 1391997043)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 66.57817888259888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:50:21.882334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_01_2706.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_19_2659.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_21_2713.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_25_3642.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_30_2697.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_37_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_01_2706.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_19_2659.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_21_2713.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_25_3642.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_30_2697.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_37_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997130","1391997154","1391997148","1391997140","1391997134","1391997137"],"photo_ids_order":["1391997130","1391997134","1391997137","1391997140","1391997148","1391997154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/23459d2b38a681451fa5415c73cf53ea.jpg","text":"TemporaryFile(/tmp/multipartBody7799946074296256834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152682625,"filename":"image_03112025_00_28_01_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93d07a08bda33eb506652670b6376b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3914218148999100227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152682625,"filename":"image_03112025_00_28_37_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ceb3f2e49449c34d5afcf99ba615ae40.jpg","text":"TemporaryFile(/tmp/multipartBody6060372041788178530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152682625,"filename":"image_03112025_00_28_30_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6fd5e502379a74aa12192471d943bade.jpg","text":"TemporaryFile(/tmp/multipartBody6311746878968379653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152682625,"filename":"image_03112025_00_28_25_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/3/187da6b46f97b3d7f23c386f2eaa6424.jpg","text":"TemporaryFile(/tmp/multipartBody2005079469984116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152682625,"filename":"image_03112025_00_28_19_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/3/8af38784d21410f3605f98e6a9613629.jpg","text":"TemporaryFile(/tmp/multipartBody4606789840582091861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152682625,"filename":"image_03112025_00_28_21_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997137","file1":"1391997134","file0":"1391997130","file4":"1391997148","file5":"1391997154","file3":"1391997140"},"map_files_photo_id_array":[{"photo_id":"1391997154","filename":"file5"},{"photo_id":"1391997137","filename":"file2"},{"photo_id":"1391997148","filename":"file4"},{"photo_id":"1391997134","filename":"file1"},{"photo_id":"1391997130","filename":"file0"},{"photo_id":"1391997140","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997130":["hashtag1","hashtag2"]},{"1391997154":["hashtag1","hashtag2"]},{"1391997148":["hashtag1","hashtag2"]},{"1391997140":["hashtag1","hashtag2"]},{"1391997134":["hashtag1","hashtag2"]},{"1391997137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997130, 1391997154, 1391997148, 1391997140, 1391997134, 1391997137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.157121419906616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:51:03.350926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 07:51:25.472516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 07:51:48.905318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 07:52:18.085205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 07:52:35.168177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_40_2722.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_46_3609.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_49_2690.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_51_2630.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_57_2610.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_29_01_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_40_2722.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_46_3609.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_49_2690.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_51_2630.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_57_2610.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_29_01_3663.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6824402809143066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:52:55.291031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_40_2722.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_46_3609.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_49_2690.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_51_2630.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_57_2610.jpg', '/home/pi/Desktop/images/03112025/00/28/image_03112025_00_29_01_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_40_2722.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_46_3609.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_49_2690.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_51_2630.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_28_57_2610.jpg
/home/pi/Desktop/images/03112025/00/28/image_03112025_00_29_01_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997337","1391997313","1391997354","1391997309","1391997323","1391997349"],"photo_ids_order":["1391997309","1391997313","1391997323","1391997337","1391997349","1391997354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0b6d1c5b4a6b95d084f9772c519f7ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6523911436274033220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152838469,"filename":"image_03112025_00_28_51_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/3/161463004b09ddf0e684ac2be24cfdd2.jpg","text":"TemporaryFile(/tmp/multipartBody3028186314970536178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152838469,"filename":"image_03112025_00_28_46_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/3/cf5d7189934908cc9cd9fa9a9e8cffce.jpg","text":"TemporaryFile(/tmp/multipartBody8320024685050788617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152838469,"filename":"image_03112025_00_29_01_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/704c7971f35bf54fd8870eaffe101992.jpg","text":"TemporaryFile(/tmp/multipartBody8757978643050548018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152838469,"filename":"image_03112025_00_28_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/3/806f9337c65cae216e9557a54e99b021.jpg","text":"TemporaryFile(/tmp/multipartBody3879427737347468514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152838469,"filename":"image_03112025_00_28_49_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/3/087ecf7910704684e047b7594dc3d891.jpg","text":"TemporaryFile(/tmp/multipartBody6273649527511212467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152838469,"filename":"image_03112025_00_28_57_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997323","file1":"1391997313","file0":"1391997309","file4":"1391997349","file5":"1391997354","file3":"1391997337"},"map_files_photo_id_array":[{"photo_id":"1391997354","filename":"file5"},{"photo_id":"1391997323","filename":"file2"},{"photo_id":"1391997349","filename":"file4"},{"photo_id":"1391997313","filename":"file1"},{"photo_id":"1391997309","filename":"file0"},{"photo_id":"1391997337","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997337":["hashtag1","hashtag2"]},{"1391997313":["hashtag1","hashtag2"]},{"1391997354":["hashtag1","hashtag2"]},{"1391997309":["hashtag1","hashtag2"]},{"1391997323":["hashtag1","hashtag2"]},{"1391997349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997337, 1391997313, 1391997354, 1391997309, 1391997323, 1391997349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.676928997039795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:53:41.907517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_04_2527.jpg', '/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_22_2638.jpg', '/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_24_2739.jpg', '/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_33_2695.jpg', '/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_36_2689.jpg', '/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_42_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_04_2527.jpg
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_22_2638.jpg
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_24_2739.jpg
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_33_2695.jpg
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_36_2689.jpg
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_42_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997381","1391997374","1391997377","1391997371","1391997365","1391997379"],"photo_ids_order":["1391997365","1391997371","1391997374","1391997377","1391997379","1391997381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ada350813028edb2078d630a427f23b7.jpg","text":"TemporaryFile(/tmp/multipartBody1595023460105697744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152882686,"filename":"image_03112025_00_29_42_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/3/01d9e68b89e289c3409f22adebca9fa3.jpg","text":"TemporaryFile(/tmp/multipartBody673573741401889797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152882686,"filename":"image_03112025_00_29_24_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/3/8091e7f8ce6e69e9b7bc5aa34a2dc069.jpg","text":"TemporaryFile(/tmp/multipartBody8443300220919524931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152882686,"filename":"image_03112025_00_29_33_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/3/ce90e75dd5b71b84b80e9442070977d4.jpg","text":"TemporaryFile(/tmp/multipartBody2881704436024792617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152882686,"filename":"image_03112025_00_29_22_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/3/c4f5878af164756f892ef4e8b97157c0.jpg","text":"TemporaryFile(/tmp/multipartBody7705494500071775046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152882686,"filename":"image_03112025_00_29_04_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/3/f04902e2489c40c4677a85e7e50320a3.jpg","text":"TemporaryFile(/tmp/multipartBody64357105823738132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152882686,"filename":"image_03112025_00_29_36_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997374","file1":"1391997371","file0":"1391997365","file4":"1391997379","file5":"1391997381","file3":"1391997377"},"map_files_photo_id_array":[{"photo_id":"1391997381","filename":"file5"},{"photo_id":"1391997374","filename":"file2"},{"photo_id":"1391997379","filename":"file4"},{"photo_id":"1391997371","filename":"file1"},{"photo_id":"1391997365","filename":"file0"},{"photo_id":"1391997377","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997381":["hashtag1","hashtag2"]},{"1391997374":["hashtag1","hashtag2"]},{"1391997377":["hashtag1","hashtag2"]},{"1391997371":["hashtag1","hashtag2"]},{"1391997365":["hashtag1","hashtag2"]},{"1391997379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997381, 1391997374, 1391997377, 1391997371, 1391997365, 1391997379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67095613479614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 07:54:22.055924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_45_2699.jpg', '/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_49_3542.jpg', '/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_51_2705.jpg', '/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_54_2790.jpg', '/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_58_3733.jpg', '/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_11_4821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_45_2699.jpg
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_49_3542.jpg
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_51_2705.jpg
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_54_2790.jpg
/home/pi/Desktop/images/03112025/00/29/image_03112025_00_29_58_3733.jpg
/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_11_4821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997406","1391997396","1391997399","1391997393","1391997402","1391997389"],"photo_ids_order":["1391997389","1391997393","1391997396","1391997399","1391997402","1391997406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/57c6203c1b1833082d72d1d6ad335994.jpg","text":"TemporaryFile(/tmp/multipartBody3746015507084309045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152922797,"filename":"image_03112025_00_30_11_4821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/08993c3edb299eb9b289e13f473997c7.jpg","text":"TemporaryFile(/tmp/multipartBody938672102636888379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152922797,"filename":"image_03112025_00_29_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/3/7b59fda2a628e9e29f8f00fbc0a58fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8289521279221476035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152922797,"filename":"image_03112025_00_29_54_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b57fdea0199f06b5e2a3e5537bd8b70.jpg","text":"TemporaryFile(/tmp/multipartBody4715975561764803220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152922797,"filename":"image_03112025_00_29_49_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/3/e567ea1b3705f61a01a8d483e8b320f9.jpg","text":"TemporaryFile(/tmp/multipartBody412231309840271486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152922797,"filename":"image_03112025_00_29_58_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/3/9f037fc79fba0bac8473fd10405fa145.jpg","text":"TemporaryFile(/tmp/multipartBody5959740461681894140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152922797,"filename":"image_03112025_00_29_45_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997396","file1":"1391997393","file0":"1391997389","file4":"1391997402","file5":"1391997406","file3":"1391997399"},"map_files_photo_id_array":[{"photo_id":"1391997406","filename":"file5"},{"photo_id":"1391997396","filename":"file2"},{"photo_id":"1391997402","filename":"file4"},{"photo_id":"1391997393","filename":"file1"},{"photo_id":"1391997389","filename":"file0"},{"photo_id":"1391997399","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997406":["hashtag1","hashtag2"]},{"1391997396":["hashtag1","hashtag2"]},{"1391997399":["hashtag1","hashtag2"]},{"1391997393":["hashtag1","hashtag2"]},{"1391997402":["hashtag1","hashtag2"]},{"1391997389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997406, 1391997396, 1391997399, 1391997393, 1391997402, 1391997389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48523497581482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:55:02.769134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_24_8219.jpg', '/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_25_1583.jpg', '/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_27_1595.jpg', '/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_30_1627.jpg', '/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_34_3672.jpg', '/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_36_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_24_8219.jpg
/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_25_1583.jpg
/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_27_1595.jpg
/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_30_1627.jpg
/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_34_3672.jpg
/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_36_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":["1391997421","1391997417","1391997455","1391997449","1391997425","1391997433"],"photo_ids_order":["1391997417","1391997421","1391997425","1391997433","1391997449","1391997455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/129f08b5368bf5a41de1d4671f650a94.jpg","text":"TemporaryFile(/tmp/multipartBody929467231185040424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152966140,"filename":"image_03112025_00_30_25_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/3/26b34d54f9e7dc1c2f8dea26c29bff87.jpg","text":"TemporaryFile(/tmp/multipartBody1598699625042893184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152966140,"filename":"image_03112025_00_30_24_8219.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c02dc461d17c869fa50b6e2ea5711e6d.jpg","text":"TemporaryFile(/tmp/multipartBody1390641510998966456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152966140,"filename":"image_03112025_00_30_36_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/3/3682e8bff9d2c9df494eac3997dead5e.jpg","text":"TemporaryFile(/tmp/multipartBody7620571260023905603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152966140,"filename":"image_03112025_00_30_34_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/3/0870303c8ccc6a4f81c7111e4952fa8e.jpg","text":"TemporaryFile(/tmp/multipartBody948120788273447472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152966140,"filename":"image_03112025_00_30_27_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/3/8934899f80a4cebf2e3a1eabef98a874.jpg","text":"TemporaryFile(/tmp/multipartBody4729562406690576563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762152966140,"filename":"image_03112025_00_30_30_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997425","file1":"1391997421","file0":"1391997417","file4":"1391997449","file5":"1391997455","file3":"1391997433"},"map_files_photo_id_array":[{"photo_id":"1391997455","filename":"file5"},{"photo_id":"1391997425","filename":"file2"},{"photo_id":"1391997449","filename":"file4"},{"photo_id":"1391997421","filename":"file1"},{"photo_id":"1391997417","filename":"file0"},{"photo_id":"1391997433","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997421":["hashtag1","hashtag2"]},{"1391997417":["hashtag1","hashtag2"]},{"1391997455":["hashtag1","hashtag2"]},{"1391997449":["hashtag1","hashtag2"]},{"1391997425":["hashtag1","hashtag2"]},{"1391997433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997421, 1391997417, 1391997455, 1391997449, 1391997425, 1391997433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77341389656067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:56:02.869672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_54_2706.jpg', '/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_57_2668.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_18_2708.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_22_3591.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_24_2652.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_27_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_54_2706.jpg
/home/pi/Desktop/images/03112025/00/30/image_03112025_00_30_57_2668.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_18_2708.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_22_3591.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_24_2652.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_27_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997489","1391997486","1391997491","1391997497","1391997481","1391997475"],"photo_ids_order":["1391997475","1391997481","1391997486","1391997489","1391997491","1391997497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6539c9ae5b16d09d1bab0bbd2c82cace.jpg","text":"TemporaryFile(/tmp/multipartBody2521389452742644530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153023719,"filename":"image_03112025_00_31_22_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/3/e95fda479c3b90365894eb0916f8c12a.jpg","text":"TemporaryFile(/tmp/multipartBody6780709242984597200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153023719,"filename":"image_03112025_00_31_18_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/3/92013131c8fa255388d2e911146a6ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3752305353918542161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153023719,"filename":"image_03112025_00_31_24_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/3/3a53df30dc160fa5901224d610514aa6.jpg","text":"TemporaryFile(/tmp/multipartBody5754605178770614780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153023719,"filename":"image_03112025_00_31_27_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/3/b7aa24e3665e1f3c4ecaef0709f9546d.jpg","text":"TemporaryFile(/tmp/multipartBody8730089562336491398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153023719,"filename":"image_03112025_00_30_57_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe8d3ec1ecd0a212a02d0504571f3d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5975034030028371029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153023719,"filename":"image_03112025_00_30_54_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997486","file1":"1391997481","file0":"1391997475","file4":"1391997491","file5":"1391997497","file3":"1391997489"},"map_files_photo_id_array":[{"photo_id":"1391997497","filename":"file5"},{"photo_id":"1391997486","filename":"file2"},{"photo_id":"1391997491","filename":"file4"},{"photo_id":"1391997481","filename":"file1"},{"photo_id":"1391997475","filename":"file0"},{"photo_id":"1391997489","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997489":["hashtag1","hashtag2"]},{"1391997486":["hashtag1","hashtag2"]},{"1391997491":["hashtag1","hashtag2"]},{"1391997497":["hashtag1","hashtag2"]},{"1391997481":["hashtag1","hashtag2"]},{"1391997475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997489, 1391997486, 1391997491, 1391997497, 1391997481, 1391997475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.172788858413696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:56:42.524273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_31_3706.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_33_2728.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_36_2613.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_40_3815.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_42_2573.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_45_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_31_3706.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_33_2728.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_36_2613.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_40_3815.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_42_2573.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_45_2840.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7105062007904053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:57:03.454138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_31_3706.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_33_2728.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_36_2613.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_40_3815.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_42_2573.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_45_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_31_3706.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_33_2728.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_36_2613.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_40_3815.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_42_2573.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_45_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997562","1391997555","1391997570","1391997566","1391997559","1391997550"],"photo_ids_order":["1391997550","1391997555","1391997559","1391997562","1391997566","1391997570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6fbdb2d934e17823659093daa1e53355.jpg","text":"TemporaryFile(/tmp/multipartBody6743939795871798386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153084309,"filename":"image_03112025_00_31_40_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/3/d38f649454b09d0834a27c701c02f2eb.jpg","text":"TemporaryFile(/tmp/multipartBody6482724038554705764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153084309,"filename":"image_03112025_00_31_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/3/f518fed5dad41f6aafe109bdea27bb4a.jpg","text":"TemporaryFile(/tmp/multipartBody2638457858180626032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153084309,"filename":"image_03112025_00_31_45_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/3/7c171867019cca112e9c7438abe99316.jpg","text":"TemporaryFile(/tmp/multipartBody84946993045897605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153084309,"filename":"image_03112025_00_31_42_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/3/5b2e1ac4325cb0e9ad9082b0d01abd47.jpg","text":"TemporaryFile(/tmp/multipartBody305111498112280994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153084309,"filename":"image_03112025_00_31_36_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f76dc63db68fb62ac7c9869d9eaaebfb.jpg","text":"TemporaryFile(/tmp/multipartBody6313122001921366040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153084309,"filename":"image_03112025_00_31_31_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997559","file1":"1391997555","file0":"1391997550","file4":"1391997566","file5":"1391997570","file3":"1391997562"},"map_files_photo_id_array":[{"photo_id":"1391997570","filename":"file5"},{"photo_id":"1391997559","filename":"file2"},{"photo_id":"1391997566","filename":"file4"},{"photo_id":"1391997555","filename":"file1"},{"photo_id":"1391997550","filename":"file0"},{"photo_id":"1391997562","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997562":["hashtag1","hashtag2"]},{"1391997555":["hashtag1","hashtag2"]},{"1391997570":["hashtag1","hashtag2"]},{"1391997566":["hashtag1","hashtag2"]},{"1391997559":["hashtag1","hashtag2"]},{"1391997550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997562, 1391997555, 1391997570, 1391997566, 1391997559, 1391997550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.299986600875854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:57:42.738139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_52_3702.jpg', '/home/pi/Desktop/images/03112025/00/31/image_03112025_00_32_00_2829.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_06_2656.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_09_2726.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_13_3815.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_15_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_31_52_3702.jpg
/home/pi/Desktop/images/03112025/00/31/image_03112025_00_32_00_2829.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_06_2656.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_09_2726.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_13_3815.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_15_2673.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997582","1391997600","1391997596","1391997617","1391997614","1391997598"],"photo_ids_order":["1391997582","1391997596","1391997598","1391997600","1391997614","1391997617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e67a1d62a51d67d610b76688faa190e.jpg","text":"TemporaryFile(/tmp/multipartBody8272685972369532433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153123537,"filename":"image_03112025_00_31_52_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/3/2d478211be64ef5ecc41e11553d4b640.jpg","text":"TemporaryFile(/tmp/multipartBody5240564547729369243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153123537,"filename":"image_03112025_00_32_09_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/3/9acd8780d91d45c978d6d2d517fe5e94.jpg","text":"TemporaryFile(/tmp/multipartBody3649944223736371582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153123537,"filename":"image_03112025_00_32_00_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/3/5257ade4e7cba18491fa36bc932360ad.jpg","text":"TemporaryFile(/tmp/multipartBody6098479109793333100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153123537,"filename":"image_03112025_00_32_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/3/d66a80a0f52820f192bb7fe034a0f0df.jpg","text":"TemporaryFile(/tmp/multipartBody3135647059394718185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153123537,"filename":"image_03112025_00_32_13_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/3/c3f6d610b78e78badd7d69db84bf5d24.jpg","text":"TemporaryFile(/tmp/multipartBody4039397789427333384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153123537,"filename":"image_03112025_00_32_06_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997598","file1":"1391997596","file0":"1391997582","file4":"1391997614","file5":"1391997617","file3":"1391997600"},"map_files_photo_id_array":[{"photo_id":"1391997617","filename":"file5"},{"photo_id":"1391997598","filename":"file2"},{"photo_id":"1391997614","filename":"file4"},{"photo_id":"1391997596","filename":"file1"},{"photo_id":"1391997582","filename":"file0"},{"photo_id":"1391997600","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997582":["hashtag1","hashtag2"]},{"1391997600":["hashtag1","hashtag2"]},{"1391997596":["hashtag1","hashtag2"]},{"1391997617":["hashtag1","hashtag2"]},{"1391997614":["hashtag1","hashtag2"]},{"1391997598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997582, 1391997600, 1391997596, 1391997617, 1391997614, 1391997598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6800320148468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 07:59:02.812455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_18_2587.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_22_3537.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_24_2810.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_27_2664.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_33_2661.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_40_3808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_18_2587.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_22_3537.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_24_2810.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_27_2664.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_33_2661.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_40_3808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997640","1391997637","1391997651","1391997645","1391997662","1391997656"],"photo_ids_order":["1391997637","1391997640","1391997645","1391997651","1391997656","1391997662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33648c000bc3726ed45e482a6e97b577.jpg","text":"TemporaryFile(/tmp/multipartBody818197644622213746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153203772,"filename":"image_03112025_00_32_22_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/3/d37f95276865eaf97df487b3c2c4e48a.jpg","text":"TemporaryFile(/tmp/multipartBody7001094937557970929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153203772,"filename":"image_03112025_00_32_18_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/3/9b4a6ee6976a1dedd144525542baa4b6.jpg","text":"TemporaryFile(/tmp/multipartBody6488941662115989043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153203772,"filename":"image_03112025_00_32_27_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/27f924abcde65f729efa7cc8893d2c8c.jpg","text":"TemporaryFile(/tmp/multipartBody4769379439074280240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153203772,"filename":"image_03112025_00_32_24_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/3/81cd748486d4ef61600d284363a12882.jpg","text":"TemporaryFile(/tmp/multipartBody8255836776343623675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153203772,"filename":"image_03112025_00_32_40_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/3/b4e43f7914810fd90794027e2f8ee708.jpg","text":"TemporaryFile(/tmp/multipartBody6489522828615887107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153203772,"filename":"image_03112025_00_32_33_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997645","file1":"1391997640","file0":"1391997637","file4":"1391997656","file5":"1391997662","file3":"1391997651"},"map_files_photo_id_array":[{"photo_id":"1391997662","filename":"file5"},{"photo_id":"1391997645","filename":"file2"},{"photo_id":"1391997656","filename":"file4"},{"photo_id":"1391997640","filename":"file1"},{"photo_id":"1391997637","filename":"file0"},{"photo_id":"1391997651","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997640":["hashtag1","hashtag2"]},{"1391997637":["hashtag1","hashtag2"]},{"1391997651":["hashtag1","hashtag2"]},{"1391997645":["hashtag1","hashtag2"]},{"1391997662":["hashtag1","hashtag2"]},{"1391997656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997640, 1391997637, 1391997651, 1391997645, 1391997662, 1391997656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78863978385925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 07:59:42.077093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_49_3624.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_54_2593.jpg', '/home/pi/Desktop/images/03112025/00/32/image_03112025_00_33_00_2708.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_12_2642.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_15_2766.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_21_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_49_3624.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_32_54_2593.jpg
/home/pi/Desktop/images/03112025/00/32/image_03112025_00_33_00_2708.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_12_2642.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_15_2766.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_21_2535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997696","1391997675","1391997692","1391997686","1391997689","1391997680"],"photo_ids_order":["1391997675","1391997680","1391997686","1391997689","1391997692","1391997696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/edb170efbca4932f57a3df9a607f5971.jpg","text":"TemporaryFile(/tmp/multipartBody2262487531629569323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153242865,"filename":"image_03112025_00_33_21_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/3/9431ed1af30c3e4baaeb40f436c59cb6.jpg","text":"TemporaryFile(/tmp/multipartBody1728784585534651049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153242865,"filename":"image_03112025_00_32_49_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/3/3fa9197c493de663beb61fe74d1bcd73.jpg","text":"TemporaryFile(/tmp/multipartBody8553877132054097476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153242865,"filename":"image_03112025_00_33_15_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/3/7b343a1226e29333d3657b9dc5fc6de1.jpg","text":"TemporaryFile(/tmp/multipartBody6261309525444090257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153242865,"filename":"image_03112025_00_33_00_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/3/4b67d333e3a097e5e9ca8d21a9692031.jpg","text":"TemporaryFile(/tmp/multipartBody4766011163029537118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153242865,"filename":"image_03112025_00_33_12_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/3/d249340242f23bd0c01da17eeb5135dc.jpg","text":"TemporaryFile(/tmp/multipartBody1714914971754915506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153242865,"filename":"image_03112025_00_32_54_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997686","file1":"1391997680","file0":"1391997675","file4":"1391997692","file5":"1391997696","file3":"1391997689"},"map_files_photo_id_array":[{"photo_id":"1391997696","filename":"file5"},{"photo_id":"1391997686","filename":"file2"},{"photo_id":"1391997692","filename":"file4"},{"photo_id":"1391997680","filename":"file1"},{"photo_id":"1391997675","filename":"file0"},{"photo_id":"1391997689","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997696":["hashtag1","hashtag2"]},{"1391997675":["hashtag1","hashtag2"]},{"1391997692":["hashtag1","hashtag2"]},{"1391997686":["hashtag1","hashtag2"]},{"1391997689":["hashtag1","hashtag2"]},{"1391997680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997696, 1391997675, 1391997692, 1391997686, 1391997689, 1391997680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.087220430374146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:00:23.036647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_27_3576.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_30_2699.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_36_2638.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_39_2885.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_45_3710.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_48_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_27_3576.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_30_2699.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_36_2638.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_39_2885.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_45_3710.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_48_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997712","1391997715","1391997726","1391997722","1391997719","1391997707"],"photo_ids_order":["1391997707","1391997712","1391997715","1391997719","1391997722","1391997726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7a9e5d4b4c7b9103c52e91b107552930.jpg","text":"TemporaryFile(/tmp/multipartBody6411612447781863906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153283804,"filename":"image_03112025_00_33_30_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/3/5edff943ab59ffad42ea0f264c6a9f27.jpg","text":"TemporaryFile(/tmp/multipartBody5838189434800257894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153283804,"filename":"image_03112025_00_33_36_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/3/c2f548485f78be8928966521d7d73fde.jpg","text":"TemporaryFile(/tmp/multipartBody2458763270409374910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153283804,"filename":"image_03112025_00_33_48_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da74f14bdd5db859ee1337e28f25d3fc.jpg","text":"TemporaryFile(/tmp/multipartBody1435918876740786819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153283804,"filename":"image_03112025_00_33_45_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/3/f6b09dd359183adfdfa6597d6617e949.jpg","text":"TemporaryFile(/tmp/multipartBody2776647579116384294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153283804,"filename":"image_03112025_00_33_39_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/3/22106f99ad5b4136ba736186beb082bc.jpg","text":"TemporaryFile(/tmp/multipartBody102022149358960058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153283804,"filename":"image_03112025_00_33_27_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997715","file1":"1391997712","file0":"1391997707","file4":"1391997722","file5":"1391997726","file3":"1391997719"},"map_files_photo_id_array":[{"photo_id":"1391997726","filename":"file5"},{"photo_id":"1391997715","filename":"file2"},{"photo_id":"1391997722","filename":"file4"},{"photo_id":"1391997712","filename":"file1"},{"photo_id":"1391997707","filename":"file0"},{"photo_id":"1391997719","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997712":["hashtag1","hashtag2"]},{"1391997715":["hashtag1","hashtag2"]},{"1391997726":["hashtag1","hashtag2"]},{"1391997722":["hashtag1","hashtag2"]},{"1391997719":["hashtag1","hashtag2"]},{"1391997707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997712, 1391997715, 1391997726, 1391997722, 1391997719, 1391997707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68895149230957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:01:02.865755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_51_2717.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_55_3756.jpg', '/home/pi/Desktop/images/03112025/00/33/image_03112025_00_34_00_2645.jpg', '/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_03_2716.jpg', '/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_09_2785.jpg', '/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_24_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_51_2717.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_33_55_3756.jpg
/home/pi/Desktop/images/03112025/00/33/image_03112025_00_34_00_2645.jpg
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_03_2716.jpg
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_09_2785.jpg
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_24_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997741","1391997735","1391997747","1391997752","1391997745","1391997739"],"photo_ids_order":["1391997735","1391997739","1391997741","1391997745","1391997747","1391997752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3226c2e50727fd253964d7c2501e940a.jpg","text":"TemporaryFile(/tmp/multipartBody3007495384773460172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153323743,"filename":"image_03112025_00_34_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/3/e696d54e645cf8db9e41604b7624f8b6.jpg","text":"TemporaryFile(/tmp/multipartBody8526394984298099416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153323743,"filename":"image_03112025_00_33_51_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/75125e9fc640ea58f9b110ac823e94ee.jpg","text":"TemporaryFile(/tmp/multipartBody3358014698969516591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153323743,"filename":"image_03112025_00_34_09_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/3/4cc77193bee870b542589a63aedc0ece.jpg","text":"TemporaryFile(/tmp/multipartBody2870242362842370525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153323743,"filename":"image_03112025_00_34_24_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/3/42f5eac71e0fd732eb32af663970d77b.jpg","text":"TemporaryFile(/tmp/multipartBody3797169550073326642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153323743,"filename":"image_03112025_00_34_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/3/f71f871ecab74794bd7786edb7fd79e8.jpg","text":"TemporaryFile(/tmp/multipartBody1521918378286852807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153323743,"filename":"image_03112025_00_33_55_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997741","file1":"1391997739","file0":"1391997735","file4":"1391997747","file5":"1391997752","file3":"1391997745"},"map_files_photo_id_array":[{"photo_id":"1391997752","filename":"file5"},{"photo_id":"1391997741","filename":"file2"},{"photo_id":"1391997747","filename":"file4"},{"photo_id":"1391997739","filename":"file1"},{"photo_id":"1391997735","filename":"file0"},{"photo_id":"1391997745","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997741":["hashtag1","hashtag2"]},{"1391997735":["hashtag1","hashtag2"]},{"1391997747":["hashtag1","hashtag2"]},{"1391997752":["hashtag1","hashtag2"]},{"1391997745":["hashtag1","hashtag2"]},{"1391997739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997741, 1391997735, 1391997747, 1391997752, 1391997745, 1391997739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22340989112854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:01:42.191840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_27_2707.jpg', '/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_34_3592.jpg', '/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_36_2677.jpg', '/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_39_2699.jpg', '/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_43_3597.jpg', '/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_51_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_27_2707.jpg
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_34_3592.jpg
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_36_2677.jpg
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_39_2699.jpg
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_43_3597.jpg
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_51_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997777","1391997765","1391997773","1391997776","1391997769","1391997778"],"photo_ids_order":["1391997765","1391997769","1391997773","1391997776","1391997777","1391997778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/39f6bb9338611c780a8cd77d0cf13f5a.jpg","text":"TemporaryFile(/tmp/multipartBody230744890056154256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153362982,"filename":"image_03112025_00_34_43_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/3/3ded7f4ab150a4bd78f6ed477f393cef.jpg","text":"TemporaryFile(/tmp/multipartBody3625693261123558424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153362982,"filename":"image_03112025_00_34_27_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/3/bc804d4ea37684cb691e79a837f875c1.jpg","text":"TemporaryFile(/tmp/multipartBody3126110715773761012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153362982,"filename":"image_03112025_00_34_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/3/b3eb7c54da4658c02cfa5f125e51357a.jpg","text":"TemporaryFile(/tmp/multipartBody607261398377153536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153362982,"filename":"image_03112025_00_34_39_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d26ae70f47fb9a7e88608c4b0a710b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8452087584796004615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153362982,"filename":"image_03112025_00_34_34_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/3/c1289b2849dd2b035f4bff189666e862.jpg","text":"TemporaryFile(/tmp/multipartBody592986450524087503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153362982,"filename":"image_03112025_00_34_51_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997773","file1":"1391997769","file0":"1391997765","file4":"1391997777","file5":"1391997778","file3":"1391997776"},"map_files_photo_id_array":[{"photo_id":"1391997778","filename":"file5"},{"photo_id":"1391997773","filename":"file2"},{"photo_id":"1391997777","filename":"file4"},{"photo_id":"1391997769","filename":"file1"},{"photo_id":"1391997765","filename":"file0"},{"photo_id":"1391997776","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997777":["hashtag1","hashtag2"]},{"1391997765":["hashtag1","hashtag2"]},{"1391997773":["hashtag1","hashtag2"]},{"1391997776":["hashtag1","hashtag2"]},{"1391997769":["hashtag1","hashtag2"]},{"1391997778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997777, 1391997765, 1391997773, 1391997776, 1391997769, 1391997778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.526894330978394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:02:22.325304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_57_2835.jpg', '/home/pi/Desktop/images/03112025/00/34/image_03112025_00_35_00_2631.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_12_2794.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_15_2542.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_24_2924.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_27_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_34_57_2835.jpg
/home/pi/Desktop/images/03112025/00/34/image_03112025_00_35_00_2631.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_12_2794.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_15_2542.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_24_2924.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_27_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997811","1391997808","1391997802","1391997815","1391997796","1391997790"],"photo_ids_order":["1391997790","1391997796","1391997802","1391997808","1391997811","1391997815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7602d2d32afaeb45f2d52ac723514020.jpg","text":"TemporaryFile(/tmp/multipartBody9194081470497999085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153403071,"filename":"image_03112025_00_35_24_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/3/f6ff3f6a7365c9bfc6067934e2ac2079.jpg","text":"TemporaryFile(/tmp/multipartBody9077568842010222078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153403071,"filename":"image_03112025_00_35_15_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/3/9367da6653bc146f810d7c1aefc3f149.jpg","text":"TemporaryFile(/tmp/multipartBody5918892753817978646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153403071,"filename":"image_03112025_00_35_12_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5a23577e8d21b69edd94036725d5ef3b.jpg","text":"TemporaryFile(/tmp/multipartBody5197159809783897320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153403071,"filename":"image_03112025_00_35_27_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/3/97f4aecafdc0889b2bea5cf01ccd99d1.jpg","text":"TemporaryFile(/tmp/multipartBody1485810518904232966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153403071,"filename":"image_03112025_00_35_00_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/3/9c35672143f7784b6f3fe10c7f076787.jpg","text":"TemporaryFile(/tmp/multipartBody7581478379907150146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153403071,"filename":"image_03112025_00_34_57_2835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997802","file1":"1391997796","file0":"1391997790","file4":"1391997811","file5":"1391997815","file3":"1391997808"},"map_files_photo_id_array":[{"photo_id":"1391997815","filename":"file5"},{"photo_id":"1391997802","filename":"file2"},{"photo_id":"1391997811","filename":"file4"},{"photo_id":"1391997796","filename":"file1"},{"photo_id":"1391997790","filename":"file0"},{"photo_id":"1391997808","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997811":["hashtag1","hashtag2"]},{"1391997808":["hashtag1","hashtag2"]},{"1391997802":["hashtag1","hashtag2"]},{"1391997815":["hashtag1","hashtag2"]},{"1391997796":["hashtag1","hashtag2"]},{"1391997790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997811, 1391997808, 1391997802, 1391997815, 1391997796, 1391997790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.608803033828735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:03:03.502046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_30_3773.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_33_2678.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_39_3707.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_42_2734.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_45_2710.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_47_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_30_3773.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_33_2678.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_39_3707.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_42_2734.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_45_2710.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_47_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391997919","1391998053","1391998005","1391997962","1391997878","1391998106"],"photo_ids_order":["1391997878","1391997919","1391997962","1391998005","1391998053","1391998106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5cd545ab94ea527b59fc7fa0c1fd304c.jpg","text":"TemporaryFile(/tmp/multipartBody2281328704112933508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153444350,"filename":"image_03112025_00_35_33_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/3/0c54f2e55a7eaf690a83000672ef337b.jpg","text":"TemporaryFile(/tmp/multipartBody796667845028379447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153444350,"filename":"image_03112025_00_35_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/3/784cc3b2951b69d424a561e28e2c54ee.jpg","text":"TemporaryFile(/tmp/multipartBody8987895997672467414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153444350,"filename":"image_03112025_00_35_42_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/3/6de6a5c9db306d2b825f20176fcc11f4.jpg","text":"TemporaryFile(/tmp/multipartBody4530293907213970267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153444350,"filename":"image_03112025_00_35_39_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/3/5c151d525a323e2f8a5da03f74649a5a.jpg","text":"TemporaryFile(/tmp/multipartBody2042609985525072144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153444350,"filename":"image_03112025_00_35_30_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/3/d1f66c2fdd7cc94b1b21252b42ff4466.jpg","text":"TemporaryFile(/tmp/multipartBody3881735739106116927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153444350,"filename":"image_03112025_00_35_47_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391997962","file1":"1391997919","file0":"1391997878","file4":"1391998053","file5":"1391998106","file3":"1391998005"},"map_files_photo_id_array":[{"photo_id":"1391998106","filename":"file5"},{"photo_id":"1391997962","filename":"file2"},{"photo_id":"1391998053","filename":"file4"},{"photo_id":"1391997919","filename":"file1"},{"photo_id":"1391997878","filename":"file0"},{"photo_id":"1391998005","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391997919":["hashtag1","hashtag2"]},{"1391998053":["hashtag1","hashtag2"]},{"1391998005":["hashtag1","hashtag2"]},{"1391997962":["hashtag1","hashtag2"]},{"1391997878":["hashtag1","hashtag2"]},{"1391998106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391997919, 1391998053, 1391998005, 1391997962, 1391997878, 1391998106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78213572502136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:03:42.709649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_51_3589.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_54_2778.jpg', '/home/pi/Desktop/images/03112025/00/35/image_03112025_00_36_00_2663.jpg', '/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_09_2797.jpg', '/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_16_7108.jpg', '/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_22_4031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_51_3589.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_35_54_2778.jpg
/home/pi/Desktop/images/03112025/00/35/image_03112025_00_36_00_2663.jpg
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_09_2797.jpg
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_16_7108.jpg
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_22_4031.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391998296","1391998257","1391998379","1391998376","1391998340","1391998354"],"photo_ids_order":["1391998257","1391998296","1391998340","1391998354","1391998376","1391998379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/24afdf7825507077395eceddf3f80a75.jpg","text":"TemporaryFile(/tmp/multipartBody5505701291888688719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153483485,"filename":"image_03112025_00_35_54_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/3/1b8e7ac0c03abb5a456dfba6d5fafe1a.jpg","text":"TemporaryFile(/tmp/multipartBody4235202640588213092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153483485,"filename":"image_03112025_00_35_51_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/3/40c415b7f7b217291fb4b3f7d72b6aaf.jpg","text":"TemporaryFile(/tmp/multipartBody3693312432985372215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153483485,"filename":"image_03112025_00_36_22_4031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/758aa7c4bd009128e8a2d4780aed2bc8.jpg","text":"TemporaryFile(/tmp/multipartBody5500571885986023236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153483485,"filename":"image_03112025_00_36_16_7108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4c3058b39645e537a45922645543229a.jpg","text":"TemporaryFile(/tmp/multipartBody7712952306702154333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153483485,"filename":"image_03112025_00_36_00_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/3/e115e477e9b3bc7db5a571ef12f9453f.jpg","text":"TemporaryFile(/tmp/multipartBody4162848830557178311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153483485,"filename":"image_03112025_00_36_09_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391998340","file1":"1391998296","file0":"1391998257","file4":"1391998376","file5":"1391998379","file3":"1391998354"},"map_files_photo_id_array":[{"photo_id":"1391998379","filename":"file5"},{"photo_id":"1391998340","filename":"file2"},{"photo_id":"1391998376","filename":"file4"},{"photo_id":"1391998296","filename":"file1"},{"photo_id":"1391998257","filename":"file0"},{"photo_id":"1391998354","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391998296":["hashtag1","hashtag2"]},{"1391998257":["hashtag1","hashtag2"]},{"1391998379":["hashtag1","hashtag2"]},{"1391998376":["hashtag1","hashtag2"]},{"1391998340":["hashtag1","hashtag2"]},{"1391998354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391998296, 1391998257, 1391998379, 1391998376, 1391998340, 1391998354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.269466400146484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:04:21.879200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_27_5790.jpg', '/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_35_1712.jpg', '/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_39_2635.jpg', '/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_43_1649.jpg', '/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_46_1810.jpg', '/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_54_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_27_5790.jpg
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_35_1712.jpg
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_39_2635.jpg
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_43_1649.jpg
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_46_1810.jpg
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_54_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391998395","1391998389","1391998413","1391998421","1391998403","1391998393"],"photo_ids_order":["1391998389","1391998393","1391998395","1391998403","1391998413","1391998421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e84781d14dc599cfff76c64f2842bb0c.jpg","text":"TemporaryFile(/tmp/multipartBody9075910945138728534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153522621,"filename":"image_03112025_00_36_39_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d051d692384446fc67cc90cba390131c.jpg","text":"TemporaryFile(/tmp/multipartBody4259866920647287648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153522621,"filename":"image_03112025_00_36_27_5790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d72a6dd0693a54330a16da83d5ba14b0.jpg","text":"TemporaryFile(/tmp/multipartBody196905581567711931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153522621,"filename":"image_03112025_00_36_46_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/3/0fee4a1cb22eb067e241f78e5ae60a94.jpg","text":"TemporaryFile(/tmp/multipartBody3309087606422807770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153522621,"filename":"image_03112025_00_36_54_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/3/27a05864cee2e9866d0512cc9522149e.jpg","text":"TemporaryFile(/tmp/multipartBody192667754690399119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153522621,"filename":"image_03112025_00_36_43_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/3/09770da92c2b311f29407fa4893e686a.jpg","text":"TemporaryFile(/tmp/multipartBody1614458529765519107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153522621,"filename":"image_03112025_00_36_35_1712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391998395","file1":"1391998393","file0":"1391998389","file4":"1391998413","file5":"1391998421","file3":"1391998403"},"map_files_photo_id_array":[{"photo_id":"1391998421","filename":"file5"},{"photo_id":"1391998395","filename":"file2"},{"photo_id":"1391998413","filename":"file4"},{"photo_id":"1391998393","filename":"file1"},{"photo_id":"1391998389","filename":"file0"},{"photo_id":"1391998403","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391998395":["hashtag1","hashtag2"]},{"1391998389":["hashtag1","hashtag2"]},{"1391998413":["hashtag1","hashtag2"]},{"1391998421":["hashtag1","hashtag2"]},{"1391998403":["hashtag1","hashtag2"]},{"1391998393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391998395, 1391998389, 1391998413, 1391998421, 1391998403, 1391998393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42641735076904 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-03 08:05:21.906246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_57_2697.jpg', '/home/pi/Desktop/images/03112025/00/36/image_03112025_00_37_00_2745.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_06_2673.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_09_2693.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_12_3739.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_15_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_36_57_2697.jpg
/home/pi/Desktop/images/03112025/00/36/image_03112025_00_37_00_2745.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_06_2673.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_09_2693.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_12_3739.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_15_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391998801","1391998830","1391998769","1391998805","1391998756","1391998747"],"photo_ids_order":["1391998747","1391998756","1391998769","1391998801","1391998805","1391998830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01c9bbfc1dec92dda5905cb82592423b.jpg","text":"TemporaryFile(/tmp/multipartBody925743523333900596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153582620,"filename":"image_03112025_00_37_09_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/3/37e24725b0828d21a6ffa08f3edeb729.jpg","text":"TemporaryFile(/tmp/multipartBody6023910161613049497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153582620,"filename":"image_03112025_00_37_15_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/3/a41e91707e8e4527a8695d9dbb961c33.jpg","text":"TemporaryFile(/tmp/multipartBody4632381639312604871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153582620,"filename":"image_03112025_00_37_06_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cd803260192dac06eb32e92ec6721c0.jpg","text":"TemporaryFile(/tmp/multipartBody8435171642641956374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153582620,"filename":"image_03112025_00_37_12_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/3/da5ab28d0e8a3352268b22ab614f643e.jpg","text":"TemporaryFile(/tmp/multipartBody6662186848606986755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153582620,"filename":"image_03112025_00_37_00_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/3/1954f5420dfbc03d8890ebb84d5520b7.jpg","text":"TemporaryFile(/tmp/multipartBody4009057679466625668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153582620,"filename":"image_03112025_00_36_57_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391998769","file1":"1391998756","file0":"1391998747","file4":"1391998805","file5":"1391998830","file3":"1391998801"},"map_files_photo_id_array":[{"photo_id":"1391998830","filename":"file5"},{"photo_id":"1391998769","filename":"file2"},{"photo_id":"1391998805","filename":"file4"},{"photo_id":"1391998756","filename":"file1"},{"photo_id":"1391998747","filename":"file0"},{"photo_id":"1391998801","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391998801":["hashtag1","hashtag2"]},{"1391998830":["hashtag1","hashtag2"]},{"1391998769":["hashtag1","hashtag2"]},{"1391998805":["hashtag1","hashtag2"]},{"1391998756":["hashtag1","hashtag2"]},{"1391998747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391998801, 1391998830, 1391998769, 1391998805, 1391998756, 1391998747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55084729194641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:06:02.756916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_27_2787.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_33_3606.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_36_2703.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_42_3675.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_45_2816.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_51_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_27_2787.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_33_3606.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_36_2703.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_42_3675.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_45_2816.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_51_3596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391998890","1391998902","1391998907","1391998897","1391998855","1391998893"],"photo_ids_order":["1391998855","1391998890","1391998893","1391998897","1391998902","1391998907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3e82818238c7eec754c31f0f3edadeaa.jpg","text":"TemporaryFile(/tmp/multipartBody7210495721466069494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153623577,"filename":"image_03112025_00_37_33_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/3/a62e60eb6465eb1a7e3d83ea0b4fffbc.jpg","text":"TemporaryFile(/tmp/multipartBody8280991988528057893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153623577,"filename":"image_03112025_00_37_45_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/3/9e8f13ce2e03efc38c64e19b4065dd4e.jpg","text":"TemporaryFile(/tmp/multipartBody8611285429693947523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153623577,"filename":"image_03112025_00_37_51_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/3/83b225efe909c9952fe88c90b4c2e284.jpg","text":"TemporaryFile(/tmp/multipartBody1350225559505560364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153623577,"filename":"image_03112025_00_37_42_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/3/3f11cfbf6dff182d2292767bc164e2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5722453533609861603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153623577,"filename":"image_03112025_00_37_27_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/3/301a636a662adf4459669bb394264877.jpg","text":"TemporaryFile(/tmp/multipartBody6417851193047692290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153623577,"filename":"image_03112025_00_37_36_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391998893","file1":"1391998890","file0":"1391998855","file4":"1391998902","file5":"1391998907","file3":"1391998897"},"map_files_photo_id_array":[{"photo_id":"1391998907","filename":"file5"},{"photo_id":"1391998893","filename":"file2"},{"photo_id":"1391998902","filename":"file4"},{"photo_id":"1391998890","filename":"file1"},{"photo_id":"1391998855","filename":"file0"},{"photo_id":"1391998897","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391998890":["hashtag1","hashtag2"]},{"1391998902":["hashtag1","hashtag2"]},{"1391998907":["hashtag1","hashtag2"]},{"1391998897":["hashtag1","hashtag2"]},{"1391998855":["hashtag1","hashtag2"]},{"1391998893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391998890, 1391998902, 1391998907, 1391998897, 1391998855, 1391998893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32334232330322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:06:42.309379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_54_2696.jpg', '/home/pi/Desktop/images/03112025/00/37/image_03112025_00_38_00_3546.jpg', '/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_03_2710.jpg', '/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_06_2830.jpg', '/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_08_2674.jpg', '/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_17_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_37_54_2696.jpg
/home/pi/Desktop/images/03112025/00/37/image_03112025_00_38_00_3546.jpg
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_03_2710.jpg
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_06_2830.jpg
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_08_2674.jpg
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_17_2785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391998986","1391998959","1391998991","1391998954","1391998963","1391998989"],"photo_ids_order":["1391998954","1391998959","1391998963","1391998986","1391998989","1391998991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9594ad75187ea9eb40820fc091d25938.jpg","text":"TemporaryFile(/tmp/multipartBody3985885885888152536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153663089,"filename":"image_03112025_00_38_06_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/3/92000917d27fc2f10adba500b5a8e02a.jpg","text":"TemporaryFile(/tmp/multipartBody9169696877979304081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153663089,"filename":"image_03112025_00_38_00_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/3/202e4c63b1d1fa0dfbfbf281adfe9224.jpg","text":"TemporaryFile(/tmp/multipartBody7828841047397592353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153663089,"filename":"image_03112025_00_38_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/3/94af51f141a295d83e394a89abdb61f2.jpg","text":"TemporaryFile(/tmp/multipartBody4539899621986613216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153663089,"filename":"image_03112025_00_37_54_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/3/0e9eb9b891ed508e46f3dcac4548e153.jpg","text":"TemporaryFile(/tmp/multipartBody3152110990594113256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153663089,"filename":"image_03112025_00_38_03_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/3/139d919ba109f1f50eb310007e37b483.jpg","text":"TemporaryFile(/tmp/multipartBody563297883871776425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153663089,"filename":"image_03112025_00_38_08_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391998963","file1":"1391998959","file0":"1391998954","file4":"1391998989","file5":"1391998991","file3":"1391998986"},"map_files_photo_id_array":[{"photo_id":"1391998991","filename":"file5"},{"photo_id":"1391998963","filename":"file2"},{"photo_id":"1391998989","filename":"file4"},{"photo_id":"1391998959","filename":"file1"},{"photo_id":"1391998954","filename":"file0"},{"photo_id":"1391998986","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391998986":["hashtag1","hashtag2"]},{"1391998959":["hashtag1","hashtag2"]},{"1391998991":["hashtag1","hashtag2"]},{"1391998954":["hashtag1","hashtag2"]},{"1391998963":["hashtag1","hashtag2"]},{"1391998989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391998986, 1391998959, 1391998991, 1391998954, 1391998963, 1391998989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20169115066528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:07:22.440823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_24_2849.jpg', '/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_27_2665.jpg', '/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_38_2866.jpg', '/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_45_2698.jpg', '/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_51_3849.jpg', '/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_54_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_24_2849.jpg
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_27_2665.jpg
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_38_2866.jpg
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_45_2698.jpg
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_51_3849.jpg
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_54_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391999400","1391999153","1391999240","1391999194","1391999284","1391999352"],"photo_ids_order":["1391999153","1391999194","1391999240","1391999284","1391999352","1391999400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a4c746e0aa505111f5ea9bdd11987978.jpg","text":"TemporaryFile(/tmp/multipartBody2602090539067682467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153703213,"filename":"image_03112025_00_38_54_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/3/1be22e3be709153cd7c5621bbe01fdae.jpg","text":"TemporaryFile(/tmp/multipartBody5251120649516986947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153703213,"filename":"image_03112025_00_38_24_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/3/ebcb8f916b328784320e9681d821ff74.jpg","text":"TemporaryFile(/tmp/multipartBody7933834724671329855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153703213,"filename":"image_03112025_00_38_38_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aa8125446e466790275a64d73d2a4622.jpg","text":"TemporaryFile(/tmp/multipartBody6642757888791047481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153703213,"filename":"image_03112025_00_38_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/3/8626e8eb0a571c4bcc80b90e6768123d.jpg","text":"TemporaryFile(/tmp/multipartBody6763162885023477407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153703213,"filename":"image_03112025_00_38_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/3/8d069c57e0a925dfad9e39c9e0fc140a.jpg","text":"TemporaryFile(/tmp/multipartBody7789928330792873543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153703213,"filename":"image_03112025_00_38_51_3849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391999240","file1":"1391999194","file0":"1391999153","file4":"1391999352","file5":"1391999400","file3":"1391999284"},"map_files_photo_id_array":[{"photo_id":"1391999400","filename":"file5"},{"photo_id":"1391999240","filename":"file2"},{"photo_id":"1391999352","filename":"file4"},{"photo_id":"1391999194","filename":"file1"},{"photo_id":"1391999153","filename":"file0"},{"photo_id":"1391999284","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391999400":["hashtag1","hashtag2"]},{"1391999153":["hashtag1","hashtag2"]},{"1391999240":["hashtag1","hashtag2"]},{"1391999194":["hashtag1","hashtag2"]},{"1391999284":["hashtag1","hashtag2"]},{"1391999352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391999400, 1391999153, 1391999240, 1391999194, 1391999284, 1391999352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71922206878662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:08:03.142458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_56_2617.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_03_2748.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_12_3619.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_15_2724.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_17_2646.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_30_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/38/image_03112025_00_38_56_2617.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_03_2748.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_12_3619.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_15_2724.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_17_2646.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_30_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391999756","1391999587","1391999629","1391999710","1391999670","1391999550"],"photo_ids_order":["1391999550","1391999587","1391999629","1391999670","1391999710","1391999756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/79d465230d3b3b74939945cb13d21393.jpg","text":"TemporaryFile(/tmp/multipartBody365629004108047623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153743938,"filename":"image_03112025_00_39_30_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/3/64ebba841225ee2c990cac5d3e482ead.jpg","text":"TemporaryFile(/tmp/multipartBody8413213294768899015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153743938,"filename":"image_03112025_00_39_03_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/3/76199dc14a871c129c9e372f01db9209.jpg","text":"TemporaryFile(/tmp/multipartBody2451044546850185384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153743938,"filename":"image_03112025_00_39_12_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/3/cca05da0db6ca72d608cd05347f05829.jpg","text":"TemporaryFile(/tmp/multipartBody930241942550903551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153743938,"filename":"image_03112025_00_39_17_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/3/ec4a456c98a527f5dbdb268a6e4142ab.jpg","text":"TemporaryFile(/tmp/multipartBody1874233426004751649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153743938,"filename":"image_03112025_00_39_15_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/3/419feda5019187f904888d9d639a4257.jpg","text":"TemporaryFile(/tmp/multipartBody1744397865568499631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153743938,"filename":"image_03112025_00_38_56_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391999629","file1":"1391999587","file0":"1391999550","file4":"1391999710","file5":"1391999756","file3":"1391999670"},"map_files_photo_id_array":[{"photo_id":"1391999756","filename":"file5"},{"photo_id":"1391999629","filename":"file2"},{"photo_id":"1391999710","filename":"file4"},{"photo_id":"1391999587","filename":"file1"},{"photo_id":"1391999550","filename":"file0"},{"photo_id":"1391999670","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391999756":["hashtag1","hashtag2"]},{"1391999587":["hashtag1","hashtag2"]},{"1391999629":["hashtag1","hashtag2"]},{"1391999710":["hashtag1","hashtag2"]},{"1391999670":["hashtag1","hashtag2"]},{"1391999550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391999756, 1391999587, 1391999629, 1391999710, 1391999670, 1391999550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.882092237472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:08:42.752312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_32_2655.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_41_2562.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_48_2604.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_50_2803.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_53_2637.jpg', '/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_57_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_32_2655.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_41_2562.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_48_2604.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_50_2803.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_53_2637.jpg
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_57_3619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391999925","1391999910","1391999927","1391999930","1391999920","1391999922"],"photo_ids_order":["1391999910","1391999920","1391999922","1391999925","1391999927","1391999930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93d0529e16fad313a54eff2c0376516b.jpg","text":"TemporaryFile(/tmp/multipartBody4380364574412060717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153783538,"filename":"image_03112025_00_39_50_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/3/e63f02d63d434974763bb305da3e7ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3114707597604540993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153783538,"filename":"image_03112025_00_39_32_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/3/3df13c34ae9696d7464263dc1d16a0b1.jpg","text":"TemporaryFile(/tmp/multipartBody3048838934021756684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153783538,"filename":"image_03112025_00_39_53_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/3/3fbdf0ffe326a1c3a17a289ef97541f9.jpg","text":"TemporaryFile(/tmp/multipartBody7725578693995415591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153783538,"filename":"image_03112025_00_39_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/3/01e68686f4283d9561506cb5f258f076.jpg","text":"TemporaryFile(/tmp/multipartBody6269784226349158136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153783538,"filename":"image_03112025_00_39_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/3/a7865d6261357f5fcfb8e1efde93754b.jpg","text":"TemporaryFile(/tmp/multipartBody551129122701615943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153783538,"filename":"image_03112025_00_39_48_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391999922","file1":"1391999920","file0":"1391999910","file4":"1391999927","file5":"1391999930","file3":"1391999925"},"map_files_photo_id_array":[{"photo_id":"1391999930","filename":"file5"},{"photo_id":"1391999922","filename":"file2"},{"photo_id":"1391999927","filename":"file4"},{"photo_id":"1391999920","filename":"file1"},{"photo_id":"1391999910","filename":"file0"},{"photo_id":"1391999925","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391999925":["hashtag1","hashtag2"]},{"1391999910":["hashtag1","hashtag2"]},{"1391999927":["hashtag1","hashtag2"]},{"1391999930":["hashtag1","hashtag2"]},{"1391999920":["hashtag1","hashtag2"]},{"1391999922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391999925, 1391999910, 1391999927, 1391999930, 1391999920, 1391999922)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.40921711921692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:09:42.042636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_59_2636.jpg', '/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_03_3604.jpg', '/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_05_2143.jpg', '/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_09_3705.jpg', '/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_11_2666.jpg', '/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_14_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/39/image_03112025_00_39_59_2636.jpg
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_03_3604.jpg
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_05_2143.jpg
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_09_3705.jpg
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_11_2666.jpg
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_14_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391999952","1391999993","1392000040","1392000124","1392000084","1392000170"],"photo_ids_order":["1391999952","1391999993","1392000040","1392000084","1392000124","1392000170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee4f22d2b059252be6147d4da8febf86.jpg","text":"TemporaryFile(/tmp/multipartBody7222696147986661308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153842838,"filename":"image_03112025_00_39_59_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/3/9cdbd9841a75ac151e7be04f26cd0907.jpg","text":"TemporaryFile(/tmp/multipartBody8892939475901009506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153842838,"filename":"image_03112025_00_40_03_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/3/409e3763718484cb89b67fbba7ce0190.jpg","text":"TemporaryFile(/tmp/multipartBody5910060524355080288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153842838,"filename":"image_03112025_00_40_05_2143.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/413cb27763d2b7666bdcc3bf831d18a8.jpg","text":"TemporaryFile(/tmp/multipartBody8946764678004587562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153842838,"filename":"image_03112025_00_40_11_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d98f20d4c51be6798b98ca8b51705beb.jpg","text":"TemporaryFile(/tmp/multipartBody119051425515106114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153842838,"filename":"image_03112025_00_40_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/3/1e0326b6340d8a7db6e62c9264b3d8fd.jpg","text":"TemporaryFile(/tmp/multipartBody4533851211062071038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153842838,"filename":"image_03112025_00_40_14_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392000040","file1":"1391999993","file0":"1391999952","file4":"1392000124","file5":"1392000170","file3":"1392000084"},"map_files_photo_id_array":[{"photo_id":"1392000170","filename":"file5"},{"photo_id":"1392000040","filename":"file2"},{"photo_id":"1392000124","filename":"file4"},{"photo_id":"1391999993","filename":"file1"},{"photo_id":"1391999952","filename":"file0"},{"photo_id":"1392000084","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1391999952":["hashtag1","hashtag2"]},{"1391999993":["hashtag1","hashtag2"]},{"1392000040":["hashtag1","hashtag2"]},{"1392000124":["hashtag1","hashtag2"]},{"1392000084":["hashtag1","hashtag2"]},{"1392000170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1391999952, 1391999993, 1392000040, 1392000124, 1392000084, 1392000170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97054195404053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:10:22.151284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_21_2921.jpg', '/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_23_2610.jpg', '/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_30_3654.jpg', '/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_32_2540.jpg', '/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_56_2674.jpg', '/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_05_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_21_2921.jpg
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_23_2610.jpg
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_30_3654.jpg
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_32_2540.jpg
/home/pi/Desktop/images/03112025/00/40/image_03112025_00_40_56_2674.jpg
/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_05_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392000874","1392000509","1392000601","1392000424","1392000783","1392000683"],"photo_ids_order":["1392000424","1392000509","1392000601","1392000683","1392000783","1392000874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0ba9d17b79d7033c43c83230fc2b0462.jpg","text":"TemporaryFile(/tmp/multipartBody2710979496330501295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153884864,"filename":"image_03112025_00_41_05_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7ea0e22e54482fc9c829b2b1f571d19a.jpg","text":"TemporaryFile(/tmp/multipartBody8716047230359490250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153884864,"filename":"image_03112025_00_40_23_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/3/c4941fc82782f8e1096cdb0091813b08.jpg","text":"TemporaryFile(/tmp/multipartBody1956817898774792871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153884864,"filename":"image_03112025_00_40_30_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/3/c2ddc0519f032a91ba826aba36e10f70.jpg","text":"TemporaryFile(/tmp/multipartBody7992942721517025997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153884864,"filename":"image_03112025_00_40_21_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/3/3fb6f0ebeec7b2318ffe4b6cd50fc80d.jpg","text":"TemporaryFile(/tmp/multipartBody232840286446966926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153884864,"filename":"image_03112025_00_40_56_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/3/8c04bef6c433e65f495942202b9928a9.jpg","text":"TemporaryFile(/tmp/multipartBody1054007720722326456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153884864,"filename":"image_03112025_00_40_32_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392000601","file1":"1392000509","file0":"1392000424","file4":"1392000783","file5":"1392000874","file3":"1392000683"},"map_files_photo_id_array":[{"photo_id":"1392000874","filename":"file5"},{"photo_id":"1392000601","filename":"file2"},{"photo_id":"1392000783","filename":"file4"},{"photo_id":"1392000509","filename":"file1"},{"photo_id":"1392000424","filename":"file0"},{"photo_id":"1392000683","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392000874":["hashtag1","hashtag2"]},{"1392000509":["hashtag1","hashtag2"]},{"1392000601":["hashtag1","hashtag2"]},{"1392000424":["hashtag1","hashtag2"]},{"1392000783":["hashtag1","hashtag2"]},{"1392000683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392000874, 1392000509, 1392000601, 1392000424, 1392000783, 1392000683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9630024433136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:11:22.435309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_08_2709.jpg', '/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_12_3693.jpg', '/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_23_2538.jpg', '/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_33_2903.jpg', '/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_35_2669.jpg', '/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_03_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_08_2709.jpg
/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_12_3693.jpg
/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_23_2538.jpg
/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_33_2903.jpg
/home/pi/Desktop/images/03112025/00/41/image_03112025_00_41_35_2669.jpg
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_03_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392001204","1392001224","1392001256","1392001232","1392001226","1392001235"],"photo_ids_order":["1392001204","1392001224","1392001226","1392001232","1392001235","1392001256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9316cc6a6514c71b996b4650c818df87.jpg","text":"TemporaryFile(/tmp/multipartBody5092934699242710509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153943122,"filename":"image_03112025_00_41_08_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/3/5e9472799c694495cce9c557d790831d.jpg","text":"TemporaryFile(/tmp/multipartBody8466744939771680030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153943122,"filename":"image_03112025_00_41_12_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/3/cabb6e84a5fdbe34a95081c55faa5dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2501028128838881349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153943122,"filename":"image_03112025_00_42_03_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/3/5fd5d3817487de700aabab6052ba7ba2.jpg","text":"TemporaryFile(/tmp/multipartBody3359079316155525000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153943122,"filename":"image_03112025_00_41_33_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/3/704fb4f56841c7cff058d7ff3b0b41ff.jpg","text":"TemporaryFile(/tmp/multipartBody4844020652567699751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153943122,"filename":"image_03112025_00_41_23_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/3/ab1547455377475af8091c45e486e519.jpg","text":"TemporaryFile(/tmp/multipartBody5162578482024956595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153943122,"filename":"image_03112025_00_41_35_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001226","file1":"1392001224","file0":"1392001204","file4":"1392001235","file5":"1392001256","file3":"1392001232"},"map_files_photo_id_array":[{"photo_id":"1392001256","filename":"file5"},{"photo_id":"1392001226","filename":"file2"},{"photo_id":"1392001235","filename":"file4"},{"photo_id":"1392001224","filename":"file1"},{"photo_id":"1392001204","filename":"file0"},{"photo_id":"1392001232","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001204":["hashtag1","hashtag2"]},{"1392001224":["hashtag1","hashtag2"]},{"1392001256":["hashtag1","hashtag2"]},{"1392001232":["hashtag1","hashtag2"]},{"1392001226":["hashtag1","hashtag2"]},{"1392001235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001204, 1392001224, 1392001256, 1392001232, 1392001226, 1392001235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07072710990906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:12:03.075817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_05_2704.jpg', '/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_12_3854.jpg', '/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_14_2062.jpg', '/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_20_3623.jpg', '/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_23_2588.jpg', '/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_32_2865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_05_2704.jpg
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_12_3854.jpg
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_14_2062.jpg
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_20_3623.jpg
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_23_2588.jpg
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_32_2865.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392001501","1392001504","1392001419","1392001466","1392001436","1392001439"],"photo_ids_order":["1392001419","1392001436","1392001439","1392001466","1392001501","1392001504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/57e7a72b405318a68a6077d08348292f.jpg","text":"TemporaryFile(/tmp/multipartBody5502946490896556629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153983870,"filename":"image_03112025_00_42_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/3/af583580232a64203c4cd7856c0f9289.jpg","text":"TemporaryFile(/tmp/multipartBody6211911159463310865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153983870,"filename":"image_03112025_00_42_32_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/3/1a9d9bdae0b316ce0173c12419c8e30d.jpg","text":"TemporaryFile(/tmp/multipartBody5135086880211093772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153983870,"filename":"image_03112025_00_42_05_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/3/0ebd9f5f940f113309c8b927dd3e6400.jpg","text":"TemporaryFile(/tmp/multipartBody6483102248744360142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153983870,"filename":"image_03112025_00_42_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/3/0d9dc159cdf9a3ada9aedaca9f443ddc.jpg","text":"TemporaryFile(/tmp/multipartBody4340122618329167614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153983870,"filename":"image_03112025_00_42_12_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/3/5be839548ef55b07f5c9cadd792efcea.jpg","text":"TemporaryFile(/tmp/multipartBody8808947511352354989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762153983870,"filename":"image_03112025_00_42_14_2062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001439","file1":"1392001436","file0":"1392001419","file4":"1392001501","file5":"1392001504","file3":"1392001466"},"map_files_photo_id_array":[{"photo_id":"1392001504","filename":"file5"},{"photo_id":"1392001439","filename":"file2"},{"photo_id":"1392001501","filename":"file4"},{"photo_id":"1392001436","filename":"file1"},{"photo_id":"1392001419","filename":"file0"},{"photo_id":"1392001466","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001501":["hashtag1","hashtag2"]},{"1392001504":["hashtag1","hashtag2"]},{"1392001419":["hashtag1","hashtag2"]},{"1392001466":["hashtag1","hashtag2"]},{"1392001436":["hashtag1","hashtag2"]},{"1392001439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001501, 1392001504, 1392001419, 1392001466, 1392001436, 1392001439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.436338663101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:12:42.597483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_38_3670.jpg', '/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_44_2784.jpg', '/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_48_3573.jpg', '/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_50_2654.jpg', '/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_02_2541.jpg', '/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_05_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_38_3670.jpg
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_44_2784.jpg
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_48_3573.jpg
/home/pi/Desktop/images/03112025/00/42/image_03112025_00_42_50_2654.jpg
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_02_2541.jpg
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_05_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392001560","1392001574","1392001568","1392001556","1392001570","1392001564"],"photo_ids_order":["1392001556","1392001560","1392001564","1392001568","1392001570","1392001574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f80d8c3e253ccd798210b87ca7f3f9e0.jpg","text":"TemporaryFile(/tmp/multipartBody8286674901499237340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154023379,"filename":"image_03112025_00_42_44_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ed49aadbc7fb31d9c4adde1d9509f736.jpg","text":"TemporaryFile(/tmp/multipartBody3423038158903244992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154023379,"filename":"image_03112025_00_43_05_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c2571d4288cb7a923891e1c89a9ceae.jpg","text":"TemporaryFile(/tmp/multipartBody845110518405940680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154023379,"filename":"image_03112025_00_42_50_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb6583c08cba516f2caa602c45ebf9b8.jpg","text":"TemporaryFile(/tmp/multipartBody4388102494955661133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154023379,"filename":"image_03112025_00_42_38_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/3/d6932ba2323e8f70ecefa4484a358e77.jpg","text":"TemporaryFile(/tmp/multipartBody2330883279985440825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154023379,"filename":"image_03112025_00_43_02_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/3/d7259846072df5adf7eb51c77dbeeb50.jpg","text":"TemporaryFile(/tmp/multipartBody2847619931182610057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154023379,"filename":"image_03112025_00_42_48_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001564","file1":"1392001560","file0":"1392001556","file4":"1392001570","file5":"1392001574","file3":"1392001568"},"map_files_photo_id_array":[{"photo_id":"1392001574","filename":"file5"},{"photo_id":"1392001564","filename":"file2"},{"photo_id":"1392001570","filename":"file4"},{"photo_id":"1392001560","filename":"file1"},{"photo_id":"1392001556","filename":"file0"},{"photo_id":"1392001568","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001560":["hashtag1","hashtag2"]},{"1392001574":["hashtag1","hashtag2"]},{"1392001568":["hashtag1","hashtag2"]},{"1392001556":["hashtag1","hashtag2"]},{"1392001570":["hashtag1","hashtag2"]},{"1392001564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001560, 1392001574, 1392001568, 1392001556, 1392001570, 1392001564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10598349571228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:13:22.725713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_21_3568.jpg', '/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_23_2786.jpg', '/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_33_3568.jpg', '/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_38_2965.jpg', '/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_41_2606.jpg', '/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_44_3439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_21_3568.jpg
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_23_2786.jpg
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_33_3568.jpg
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_38_2965.jpg
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_41_2606.jpg
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_44_3439.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392001599","1392001596","1392001605","1392001602","1392001592","1392001610"],"photo_ids_order":["1392001592","1392001596","1392001599","1392001602","1392001605","1392001610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9b3bc2dc0bca537ed95690208c3b4411.jpg","text":"TemporaryFile(/tmp/multipartBody1505533995154762728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154063471,"filename":"image_03112025_00_43_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/3/b84dc9c4e5eff66debc0e24bba0fdebb.jpg","text":"TemporaryFile(/tmp/multipartBody6840391942207526909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154063471,"filename":"image_03112025_00_43_23_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/3/403e19bd5257975f19428218299d60d6.jpg","text":"TemporaryFile(/tmp/multipartBody5379688585136287686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154063471,"filename":"image_03112025_00_43_41_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/3/7272d68dd8caab3946369fce2e98b27d.jpg","text":"TemporaryFile(/tmp/multipartBody7977975176282967397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154063471,"filename":"image_03112025_00_43_38_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/3/6922874c70064fc1af5c3e23970e6de7.jpg","text":"TemporaryFile(/tmp/multipartBody7305824709898745735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154063471,"filename":"image_03112025_00_43_21_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/3/c5a23f0e1772e495719fc36251052fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8426520287911899191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154063471,"filename":"image_03112025_00_43_44_3439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001599","file1":"1392001596","file0":"1392001592","file4":"1392001605","file5":"1392001610","file3":"1392001602"},"map_files_photo_id_array":[{"photo_id":"1392001610","filename":"file5"},{"photo_id":"1392001599","filename":"file2"},{"photo_id":"1392001605","filename":"file4"},{"photo_id":"1392001596","filename":"file1"},{"photo_id":"1392001592","filename":"file0"},{"photo_id":"1392001602","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001599":["hashtag1","hashtag2"]},{"1392001596":["hashtag1","hashtag2"]},{"1392001605":["hashtag1","hashtag2"]},{"1392001602":["hashtag1","hashtag2"]},{"1392001592":["hashtag1","hashtag2"]},{"1392001610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001599, 1392001596, 1392001605, 1392001602, 1392001592, 1392001610)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.1058406829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:14:21.842350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_50_2678.jpg', '/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_53_3645.jpg', '/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_56_2667.jpg', '/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_14_2651.jpg', '/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_17_2706.jpg', '/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_21_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_50_2678.jpg
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_53_3645.jpg
/home/pi/Desktop/images/03112025/00/43/image_03112025_00_43_56_2667.jpg
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_14_2651.jpg
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_17_2706.jpg
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_21_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392001651","1392001653","1392001655","1392001649","1392001669","1392001663"],"photo_ids_order":["1392001649","1392001651","1392001653","1392001655","1392001663","1392001669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d0fad4ad6541ded9f3f58d35ff164741.jpg","text":"TemporaryFile(/tmp/multipartBody2371624065753631435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154122582,"filename":"image_03112025_00_43_53_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/3/291ba9c549374683308082a0fda8e7e1.jpg","text":"TemporaryFile(/tmp/multipartBody869102648414770970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154122582,"filename":"image_03112025_00_43_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/3/cca08e34d4b88c29db503e927c32e032.jpg","text":"TemporaryFile(/tmp/multipartBody2605445326932974820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154122582,"filename":"image_03112025_00_44_14_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/45fb90f326ce63e7b851456605d86746.jpg","text":"TemporaryFile(/tmp/multipartBody2513429313082948179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154122582,"filename":"image_03112025_00_43_50_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe5c931a8b3c9a3e5c18dd58fa80d277.jpg","text":"TemporaryFile(/tmp/multipartBody4422563408762666392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154122582,"filename":"image_03112025_00_44_21_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/3/1368788d81b0ba9b2da539cbe90186d4.jpg","text":"TemporaryFile(/tmp/multipartBody2143381348619277657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154122582,"filename":"image_03112025_00_44_17_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001653","file1":"1392001651","file0":"1392001649","file4":"1392001663","file5":"1392001669","file3":"1392001655"},"map_files_photo_id_array":[{"photo_id":"1392001669","filename":"file5"},{"photo_id":"1392001653","filename":"file2"},{"photo_id":"1392001663","filename":"file4"},{"photo_id":"1392001651","filename":"file1"},{"photo_id":"1392001649","filename":"file0"},{"photo_id":"1392001655","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001651":["hashtag1","hashtag2"]},{"1392001653":["hashtag1","hashtag2"]},{"1392001655":["hashtag1","hashtag2"]},{"1392001649":["hashtag1","hashtag2"]},{"1392001669":["hashtag1","hashtag2"]},{"1392001663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001651, 1392001653, 1392001655, 1392001649, 1392001669, 1392001663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68452048301697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:15:02.819715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_23_2609.jpg', '/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_26_2586.jpg', '/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_29_3661.jpg', '/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_38_3693.jpg', '/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_47_2808.jpg', '/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_50_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_23_2609.jpg
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_26_2586.jpg
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_29_3661.jpg
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_38_3693.jpg
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_47_2808.jpg
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_50_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":["1392001710","1392001704","1392001694","1392001707","1392001715","1392001699"],"photo_ids_order":["1392001694","1392001699","1392001704","1392001707","1392001710","1392001715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/078b4ba4865df4054677047087c40cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4627896871098594900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154163707,"filename":"image_03112025_00_44_47_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/3/0880155f1bb727e4576ddf5df24d59be.jpg","text":"TemporaryFile(/tmp/multipartBody8694859663473467670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154163707,"filename":"image_03112025_00_44_29_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/3/5952130456208e2aa47dad00f4a718de.jpg","text":"TemporaryFile(/tmp/multipartBody2569241229712944072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154163707,"filename":"image_03112025_00_44_23_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e9470cdea932e05d06e843804e7e2771.jpg","text":"TemporaryFile(/tmp/multipartBody9192923946378693527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154163707,"filename":"image_03112025_00_44_38_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/3/23d6141b93687664fe4d75fefed2efc0.jpg","text":"TemporaryFile(/tmp/multipartBody2000624746953483757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154163707,"filename":"image_03112025_00_44_50_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/3/f7254aba2b0eb33869917ef3bfaf2c1a.jpg","text":"TemporaryFile(/tmp/multipartBody6642123970365200892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154163707,"filename":"image_03112025_00_44_26_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001704","file1":"1392001699","file0":"1392001694","file4":"1392001710","file5":"1392001715","file3":"1392001707"},"map_files_photo_id_array":[{"photo_id":"1392001715","filename":"file5"},{"photo_id":"1392001704","filename":"file2"},{"photo_id":"1392001710","filename":"file4"},{"photo_id":"1392001699","filename":"file1"},{"photo_id":"1392001694","filename":"file0"},{"photo_id":"1392001707","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001710":["hashtag1","hashtag2"]},{"1392001704":["hashtag1","hashtag2"]},{"1392001694":["hashtag1","hashtag2"]},{"1392001707":["hashtag1","hashtag2"]},{"1392001715":["hashtag1","hashtag2"]},{"1392001699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001710, 1392001704, 1392001694, 1392001707, 1392001715, 1392001699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.272122621536255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:16:02.832790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_53_2669.jpg', '/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_56_2711.jpg', '/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_02_2881.jpg', '/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_08_2979.jpg', '/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_11_2707.jpg', '/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_14_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_53_2669.jpg
/home/pi/Desktop/images/03112025/00/44/image_03112025_00_44_56_2711.jpg
/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_02_2881.jpg
/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_08_2979.jpg
/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_11_2707.jpg
/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_14_3595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392001765","1392001813","1392001767","1392001761","1392001763","1392001769"],"photo_ids_order":["1392001761","1392001763","1392001765","1392001767","1392001769","1392001813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e831a896e392ebd462c494077e0b704f.jpg","text":"TemporaryFile(/tmp/multipartBody9086018828194585475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154223633,"filename":"image_03112025_00_45_02_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/3/26f16db28aaf7d371c5fb95e883ae7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1830520230044040476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154223633,"filename":"image_03112025_00_45_14_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7983a4e71f7a2b028ecd7cbe827a164b.jpg","text":"TemporaryFile(/tmp/multipartBody2700053348244130176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154223633,"filename":"image_03112025_00_45_08_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/32f5880775c7010e66b11ba4617e90b5.jpg","text":"TemporaryFile(/tmp/multipartBody2468491270333651924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154223633,"filename":"image_03112025_00_44_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/3/fe8c8c994c3fab14ef079f2b9ce3b6b1.jpg","text":"TemporaryFile(/tmp/multipartBody3243401451032852390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154223633,"filename":"image_03112025_00_44_56_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/3/2097016e12b1036bd9cf8db966b4b532.jpg","text":"TemporaryFile(/tmp/multipartBody5296973688813730019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154223633,"filename":"image_03112025_00_45_11_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001765","file1":"1392001763","file0":"1392001761","file4":"1392001769","file5":"1392001813","file3":"1392001767"},"map_files_photo_id_array":[{"photo_id":"1392001813","filename":"file5"},{"photo_id":"1392001765","filename":"file2"},{"photo_id":"1392001769","filename":"file4"},{"photo_id":"1392001763","filename":"file1"},{"photo_id":"1392001761","filename":"file0"},{"photo_id":"1392001767","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001765":["hashtag1","hashtag2"]},{"1392001813":["hashtag1","hashtag2"]},{"1392001767":["hashtag1","hashtag2"]},{"1392001761":["hashtag1","hashtag2"]},{"1392001763":["hashtag1","hashtag2"]},{"1392001769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001765, 1392001813, 1392001767, 1392001761, 1392001763, 1392001769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.299620151519775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:16:42.333856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_20_2577.jpg', '/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_33_4598.jpg', '/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_35_1821.jpg', '/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_41_3717.jpg', '/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_47_3593.jpg', '/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_05_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_20_2577.jpg
/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_33_4598.jpg
/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_35_1821.jpg
/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_41_3717.jpg
/home/pi/Desktop/images/03112025/00/45/image_03112025_00_45_47_3593.jpg
/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_05_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392001837","1392001848","1392001827","1392001829","1392001823","1392001840"],"photo_ids_order":["1392001823","1392001827","1392001829","1392001837","1392001840","1392001848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d42095579e542d41881906d7a1720d3a.jpg","text":"TemporaryFile(/tmp/multipartBody5253186721958728969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154263125,"filename":"image_03112025_00_45_41_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/3/3ef7b12c504e4504d361a056b41c598b.jpg","text":"TemporaryFile(/tmp/multipartBody1369552809520015947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154263125,"filename":"image_03112025_00_46_05_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/3/e65096f032904ed90f2ec8d23be4f80c.jpg","text":"TemporaryFile(/tmp/multipartBody925782837656799572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154263125,"filename":"image_03112025_00_45_33_4598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4252ee3d81c6af8f04cf08b99ebac065.jpg","text":"TemporaryFile(/tmp/multipartBody321244691049175760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154263125,"filename":"image_03112025_00_45_35_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/3/bce7cdba7632fd9109609f15259cca99.jpg","text":"TemporaryFile(/tmp/multipartBody4958701834684235981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154263125,"filename":"image_03112025_00_45_20_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b70d722a8c1edf9758a90d5834b29ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4882498262587602302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154263125,"filename":"image_03112025_00_45_47_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001829","file1":"1392001827","file0":"1392001823","file4":"1392001840","file5":"1392001848","file3":"1392001837"},"map_files_photo_id_array":[{"photo_id":"1392001848","filename":"file5"},{"photo_id":"1392001829","filename":"file2"},{"photo_id":"1392001840","filename":"file4"},{"photo_id":"1392001827","filename":"file1"},{"photo_id":"1392001823","filename":"file0"},{"photo_id":"1392001837","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001837":["hashtag1","hashtag2"]},{"1392001848":["hashtag1","hashtag2"]},{"1392001827":["hashtag1","hashtag2"]},{"1392001829":["hashtag1","hashtag2"]},{"1392001823":["hashtag1","hashtag2"]},{"1392001840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001837, 1392001848, 1392001827, 1392001829, 1392001823, 1392001840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.721559286117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:17:22.425882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_11_2567.jpg', '/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_20_2721.jpg', '/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_26_2811.jpg', '/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_29_3531.jpg', '/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_32_2558.jpg', '/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_38_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_11_2567.jpg
/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_20_2721.jpg
/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_26_2811.jpg
/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_29_3531.jpg
/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_32_2558.jpg
/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_38_3708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392001870","1392001864","1392001863","1392001859","1392001873","1392001867"],"photo_ids_order":["1392001859","1392001863","1392001864","1392001867","1392001870","1392001873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f18a62bfc503b1b8414ea29956baf349.jpg","text":"TemporaryFile(/tmp/multipartBody1716637904135920886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154303164,"filename":"image_03112025_00_46_32_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/3/d9bb2a99a9dc86fade3b5c521b2edc0b.jpg","text":"TemporaryFile(/tmp/multipartBody5580168663851617681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154303164,"filename":"image_03112025_00_46_26_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/3/7632dbd7d44d22c0f205448380a126c0.jpg","text":"TemporaryFile(/tmp/multipartBody3489875105832838951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154303164,"filename":"image_03112025_00_46_20_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/3/3b26acdce857da4fbeecbd27925dd839.jpg","text":"TemporaryFile(/tmp/multipartBody3220251204964989647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154303164,"filename":"image_03112025_00_46_11_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/3/ea27ef345ea4b718bf5913b25ffb41db.jpg","text":"TemporaryFile(/tmp/multipartBody6993739076570075021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154303164,"filename":"image_03112025_00_46_38_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/3/b58f8d337edfa7601699b4a96a2b55df.jpg","text":"TemporaryFile(/tmp/multipartBody3329438011961246034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154303164,"filename":"image_03112025_00_46_29_3531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001864","file1":"1392001863","file0":"1392001859","file4":"1392001870","file5":"1392001873","file3":"1392001867"},"map_files_photo_id_array":[{"photo_id":"1392001873","filename":"file5"},{"photo_id":"1392001864","filename":"file2"},{"photo_id":"1392001870","filename":"file4"},{"photo_id":"1392001863","filename":"file1"},{"photo_id":"1392001859","filename":"file0"},{"photo_id":"1392001867","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001870":["hashtag1","hashtag2"]},{"1392001864":["hashtag1","hashtag2"]},{"1392001863":["hashtag1","hashtag2"]},{"1392001859":["hashtag1","hashtag2"]},{"1392001873":["hashtag1","hashtag2"]},{"1392001867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001870, 1392001864, 1392001863, 1392001859, 1392001873, 1392001867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37125301361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:18:03.015094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_48_4794.jpg', '/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_57_3063.jpg', '/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_01_1649.jpg', '/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_05_2578.jpg', '/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_10_2830.jpg', '/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_29_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_48_4794.jpg
/home/pi/Desktop/images/03112025/00/46/image_03112025_00_46_57_3063.jpg
/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_01_1649.jpg
/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_05_2578.jpg
/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_10_2830.jpg
/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_29_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392001930","1392001933","1392001896","1392001959","1392001911","1392001925"],"photo_ids_order":["1392001896","1392001911","1392001925","1392001930","1392001933","1392001959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/41b477513b2bf99b66d36cdb7ab54a52.jpg","text":"TemporaryFile(/tmp/multipartBody2956594604976301625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154343838,"filename":"image_03112025_00_47_05_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/3/eca414b03e105b1f48bf169bb273ac05.jpg","text":"TemporaryFile(/tmp/multipartBody6671549725848361385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154343838,"filename":"image_03112025_00_47_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/3/340283838ae633f6b0227a2fdd7a1829.jpg","text":"TemporaryFile(/tmp/multipartBody3441459858537891879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154343838,"filename":"image_03112025_00_46_48_4794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1af02e8b8ddc93d29e54965136a131ac.jpg","text":"TemporaryFile(/tmp/multipartBody3961181053485554700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154343838,"filename":"image_03112025_00_47_29_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/3/0b79ca91d6c17a909bf21fe600c4a303.jpg","text":"TemporaryFile(/tmp/multipartBody4048980356260884515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154343838,"filename":"image_03112025_00_46_57_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/3/b6411bcb322da2d29a43b8921057e829.jpg","text":"TemporaryFile(/tmp/multipartBody8370454956769370987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154343838,"filename":"image_03112025_00_47_01_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392001925","file1":"1392001911","file0":"1392001896","file4":"1392001933","file5":"1392001959","file3":"1392001930"},"map_files_photo_id_array":[{"photo_id":"1392001959","filename":"file5"},{"photo_id":"1392001925","filename":"file2"},{"photo_id":"1392001933","filename":"file4"},{"photo_id":"1392001911","filename":"file1"},{"photo_id":"1392001896","filename":"file0"},{"photo_id":"1392001930","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392001930":["hashtag1","hashtag2"]},{"1392001933":["hashtag1","hashtag2"]},{"1392001896":["hashtag1","hashtag2"]},{"1392001959":["hashtag1","hashtag2"]},{"1392001911":["hashtag1","hashtag2"]},{"1392001925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392001930, 1392001933, 1392001896, 1392001959, 1392001911, 1392001925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38325524330139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:18:42.506260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_35_2812.jpg', '/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_48_1538.jpg', '/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_56_1728.jpg', '/home/pi/Desktop/images/03112025/00/47/image_03112025_00_48_00_1652.jpg', '/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_05_3806.jpg', '/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_17_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_35_2812.jpg
/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_48_1538.jpg
/home/pi/Desktop/images/03112025/00/47/image_03112025_00_47_56_1728.jpg
/home/pi/Desktop/images/03112025/00/47/image_03112025_00_48_00_1652.jpg
/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_05_3806.jpg
/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_17_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002011","1392002006","1392002021","1392002003","1392001999","1392002023"],"photo_ids_order":["1392001999","1392002003","1392002006","1392002011","1392002021","1392002023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e8a1c2291b7463fe38a056f5651f174f.jpg","text":"TemporaryFile(/tmp/multipartBody5662292229414125338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154383286,"filename":"image_03112025_00_48_00_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/3/700f84dcaddc5c629d65cf228c727b7e.jpg","text":"TemporaryFile(/tmp/multipartBody6976061200030228070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154383286,"filename":"image_03112025_00_47_56_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/3/39db173b9b0d4d9197191bcdfb68ffb2.jpg","text":"TemporaryFile(/tmp/multipartBody7968228295683535342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154383286,"filename":"image_03112025_00_48_05_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/3/e151507db950ba1a3b5aa3bca33156ba.jpg","text":"TemporaryFile(/tmp/multipartBody3447799024800681371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154383286,"filename":"image_03112025_00_47_48_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/3/869bfc04bcf5d4d5841c12a8613f3321.jpg","text":"TemporaryFile(/tmp/multipartBody7827108212328265646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154383286,"filename":"image_03112025_00_47_35_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/3/0185c0cfb7089d3266cfe87a9d30969e.jpg","text":"TemporaryFile(/tmp/multipartBody3989907947171323726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154383286,"filename":"image_03112025_00_48_17_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002006","file1":"1392002003","file0":"1392001999","file4":"1392002021","file5":"1392002023","file3":"1392002011"},"map_files_photo_id_array":[{"photo_id":"1392002023","filename":"file5"},{"photo_id":"1392002006","filename":"file2"},{"photo_id":"1392002021","filename":"file4"},{"photo_id":"1392002003","filename":"file1"},{"photo_id":"1392001999","filename":"file0"},{"photo_id":"1392002011","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002011":["hashtag1","hashtag2"]},{"1392002006":["hashtag1","hashtag2"]},{"1392002021":["hashtag1","hashtag2"]},{"1392002003":["hashtag1","hashtag2"]},{"1392001999":["hashtag1","hashtag2"]},{"1392002023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002011, 1392002006, 1392002021, 1392002003, 1392001999, 1392002023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97983169555664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:19:22.642338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_23_2835.jpg', '/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_25_2684.jpg', '/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_38_9093.jpg', '/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_42_3287.jpg', '/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_45_1834.jpg', '/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_47_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_23_2835.jpg
/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_25_2684.jpg
/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_38_9093.jpg
/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_42_3287.jpg
/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_45_1834.jpg
/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_47_1650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002127","1392002118","1392002132","1392002140","1392002137","1392002122"],"photo_ids_order":["1392002118","1392002122","1392002127","1392002132","1392002137","1392002140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d7a3d8a35779605792fd8d1697357339.jpg","text":"TemporaryFile(/tmp/multipartBody3288844970659822653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154423388,"filename":"image_03112025_00_48_38_9093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc74e177b213a1ad20e888bda90a6a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8264726527465400238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154423388,"filename":"image_03112025_00_48_23_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/3/eea3fd79da7929ed5d95d5dd79d15473.jpg","text":"TemporaryFile(/tmp/multipartBody7893156462936128584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154423388,"filename":"image_03112025_00_48_42_3287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c553400209a8e1765a29a11f338dd544.jpg","text":"TemporaryFile(/tmp/multipartBody3473674653336077377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154423388,"filename":"image_03112025_00_48_47_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/3/1f9a8d0b9251bb9070d15b63dc2e00fa.jpg","text":"TemporaryFile(/tmp/multipartBody2120942033673727573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154423388,"filename":"image_03112025_00_48_45_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/3/1f06dace4fe7260518e7cd323bcfe896.jpg","text":"TemporaryFile(/tmp/multipartBody6291595290042017870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154423388,"filename":"image_03112025_00_48_25_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002127","file1":"1392002122","file0":"1392002118","file4":"1392002137","file5":"1392002140","file3":"1392002132"},"map_files_photo_id_array":[{"photo_id":"1392002140","filename":"file5"},{"photo_id":"1392002127","filename":"file2"},{"photo_id":"1392002137","filename":"file4"},{"photo_id":"1392002122","filename":"file1"},{"photo_id":"1392002118","filename":"file0"},{"photo_id":"1392002132","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002127":["hashtag1","hashtag2"]},{"1392002118":["hashtag1","hashtag2"]},{"1392002132":["hashtag1","hashtag2"]},{"1392002140":["hashtag1","hashtag2"]},{"1392002137":["hashtag1","hashtag2"]},{"1392002122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002127, 1392002118, 1392002132, 1392002140, 1392002137, 1392002122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62497639656067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:20:02.428632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_50_1771.jpg', '/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_02_3578.jpg', '/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_13_2692.jpg', '/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_23_6291.jpg', '/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_34_11783.jpg', '/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_52_2395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/48/image_03112025_00_48_50_1771.jpg
/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_02_3578.jpg
/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_13_2692.jpg
/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_23_6291.jpg
/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_34_11783.jpg
/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_52_2395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002160","1392002151","1392002154","1392002162","1392002165","1392002158"],"photo_ids_order":["1392002151","1392002154","1392002158","1392002160","1392002162","1392002165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/031583f7b1af0e7e4e85c39840b52be9.jpg","text":"TemporaryFile(/tmp/multipartBody1938091349698667794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154463227,"filename":"image_03112025_00_49_23_6291.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b3a7b2e002525948c65d93ba327fa6d.jpg","text":"TemporaryFile(/tmp/multipartBody5212391219078125873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154463227,"filename":"image_03112025_00_48_50_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/3/283a949730057de540d4e29073716a7b.jpg","text":"TemporaryFile(/tmp/multipartBody3901656824795096534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154463227,"filename":"image_03112025_00_49_02_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/3/e9003e1d9f5054698f596afa0dcf09bc.jpg","text":"TemporaryFile(/tmp/multipartBody5034867134510183625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154463227,"filename":"image_03112025_00_49_34_11783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4d37e4bc4101f5b666907b56d4660d24.jpg","text":"TemporaryFile(/tmp/multipartBody4282991370217823466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154463227,"filename":"image_03112025_00_49_52_2395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d35b6060656b318d0cc1cc1a3653a9ce.jpg","text":"TemporaryFile(/tmp/multipartBody5115657339161917715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154463227,"filename":"image_03112025_00_49_13_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002158","file1":"1392002154","file0":"1392002151","file4":"1392002162","file5":"1392002165","file3":"1392002160"},"map_files_photo_id_array":[{"photo_id":"1392002165","filename":"file5"},{"photo_id":"1392002158","filename":"file2"},{"photo_id":"1392002162","filename":"file4"},{"photo_id":"1392002154","filename":"file1"},{"photo_id":"1392002151","filename":"file0"},{"photo_id":"1392002160","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002160":["hashtag1","hashtag2"]},{"1392002151":["hashtag1","hashtag2"]},{"1392002154":["hashtag1","hashtag2"]},{"1392002162":["hashtag1","hashtag2"]},{"1392002165":["hashtag1","hashtag2"]},{"1392002158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002160, 1392002151, 1392002154, 1392002162, 1392002165, 1392002158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.042269229888916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:21:02.881018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_58_2713.jpg', '/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_01_2876.jpg', '/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_05_3733.jpg', '/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_08_2668.jpg', '/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_27_9985.jpg', '/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_30_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/49/image_03112025_00_49_58_2713.jpg
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_01_2876.jpg
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_05_3733.jpg
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_08_2668.jpg
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_27_9985.jpg
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_30_1619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002220","1392002202","1392002216","1392002210","1392002213","1392002207"],"photo_ids_order":["1392002202","1392002207","1392002210","1392002213","1392002216","1392002220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7337d53a0a2929033bc4689ecdfaee66.jpg","text":"TemporaryFile(/tmp/multipartBody5339733294868584055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154523771,"filename":"image_03112025_00_50_30_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/3/ba0fdc1745fa41018c4934fa4d98c0b5.jpg","text":"TemporaryFile(/tmp/multipartBody4088375612408784728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154523771,"filename":"image_03112025_00_49_58_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/3/c6ba4708832117c9ad1cf4f22ceceeea.jpg","text":"TemporaryFile(/tmp/multipartBody8913002907877854161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154523771,"filename":"image_03112025_00_50_27_9985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/930aa459c88dc36a247b5dd7fe814a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1196197270724254297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154523771,"filename":"image_03112025_00_50_05_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/3/7169ec0df2101ea0f256b3e30ed19d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4368209678804917519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154523771,"filename":"image_03112025_00_50_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/3/072dc6e5eafefe77f1005e23ee7eae33.jpg","text":"TemporaryFile(/tmp/multipartBody18572925398854712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154523771,"filename":"image_03112025_00_50_01_2876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002210","file1":"1392002207","file0":"1392002202","file4":"1392002216","file5":"1392002220","file3":"1392002213"},"map_files_photo_id_array":[{"photo_id":"1392002220","filename":"file5"},{"photo_id":"1392002210","filename":"file2"},{"photo_id":"1392002216","filename":"file4"},{"photo_id":"1392002207","filename":"file1"},{"photo_id":"1392002202","filename":"file0"},{"photo_id":"1392002213","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002220":["hashtag1","hashtag2"]},{"1392002202":["hashtag1","hashtag2"]},{"1392002216":["hashtag1","hashtag2"]},{"1392002210":["hashtag1","hashtag2"]},{"1392002213":["hashtag1","hashtag2"]},{"1392002207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002220, 1392002202, 1392002216, 1392002210, 1392002213, 1392002207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.049968004226685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:21:42.122283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_32_1704.jpg', '/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_35_1628.jpg', '/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_44_3249.jpg', '/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_57_5018.jpg', '/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_59_1776.jpg', '/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_02_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_32_1704.jpg
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_35_1628.jpg
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_44_3249.jpg
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_57_5018.jpg
/home/pi/Desktop/images/03112025/00/50/image_03112025_00_50_59_1776.jpg
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_02_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002250","1392002244","1392002253","1392002247","1392002232","1392002237"],"photo_ids_order":["1392002232","1392002237","1392002244","1392002247","1392002250","1392002253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e8668ad1d9e5f3e11f393c43e1af1879.jpg","text":"TemporaryFile(/tmp/multipartBody607065285598756059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154562953,"filename":"image_03112025_00_50_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/3/58ef4c13090441bd7f10b7c2cb01228c.jpg","text":"TemporaryFile(/tmp/multipartBody4132834304534115930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154562953,"filename":"image_03112025_00_50_44_3249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a4de5a7783d66c94a374fb09aacefae.jpg","text":"TemporaryFile(/tmp/multipartBody7425673742071636826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154562953,"filename":"image_03112025_00_51_02_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/3/67459b75504e205567c3b713aabc7f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3292184664135656163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154562953,"filename":"image_03112025_00_50_57_5018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e2ef46a5d39af3aaa352ab07a83da42.jpg","text":"TemporaryFile(/tmp/multipartBody4565671764341794866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154562953,"filename":"image_03112025_00_50_32_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/3/cbbd688111ab2e7bb671f71a917dd2c5.jpg","text":"TemporaryFile(/tmp/multipartBody3552056262747319653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154562953,"filename":"image_03112025_00_50_35_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002244","file1":"1392002237","file0":"1392002232","file4":"1392002250","file5":"1392002253","file3":"1392002247"},"map_files_photo_id_array":[{"photo_id":"1392002253","filename":"file5"},{"photo_id":"1392002244","filename":"file2"},{"photo_id":"1392002250","filename":"file4"},{"photo_id":"1392002237","filename":"file1"},{"photo_id":"1392002232","filename":"file0"},{"photo_id":"1392002247","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002250":["hashtag1","hashtag2"]},{"1392002244":["hashtag1","hashtag2"]},{"1392002253":["hashtag1","hashtag2"]},{"1392002247":["hashtag1","hashtag2"]},{"1392002232":["hashtag1","hashtag2"]},{"1392002237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002250, 1392002244, 1392002253, 1392002247, 1392002232, 1392002237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.95342707633972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:22:42.498830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_07_2722.jpg', '/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_15_8111.jpg', '/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_36_20563.jpg', '/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_37_1778.jpg', '/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_41_1603.jpg', '/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_45_1560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_07_2722.jpg
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_15_8111.jpg
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_36_20563.jpg
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_37_1778.jpg
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_41_1603.jpg
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_45_1560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002292","1392002280","1392002270","1392002275","1392002284","1392002278"],"photo_ids_order":["1392002270","1392002275","1392002278","1392002280","1392002284","1392002292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/15451758c343d2208b226c6016f4fc99.jpg","text":"TemporaryFile(/tmp/multipartBody755401422388107612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154623278,"filename":"image_03112025_00_51_45_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/3/eea48cc498392a732149f27bca61597d.jpg","text":"TemporaryFile(/tmp/multipartBody5942957267645031313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154623278,"filename":"image_03112025_00_51_37_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a09146ac3496a5ab0c3689eb9d84a150.jpg","text":"TemporaryFile(/tmp/multipartBody2379759497116904309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154623278,"filename":"image_03112025_00_51_07_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/caf395616673dc5b8bae3d1aafb31467.jpg","text":"TemporaryFile(/tmp/multipartBody484718139120037920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154623278,"filename":"image_03112025_00_51_15_8111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c9e06d2203167158915d38fc164e597b.jpg","text":"TemporaryFile(/tmp/multipartBody5000699600612333597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154623278,"filename":"image_03112025_00_51_41_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6136f0ee70f9aed378a95b699ba2d47a.jpg","text":"TemporaryFile(/tmp/multipartBody740454038540554883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154623278,"filename":"image_03112025_00_51_36_20563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002278","file1":"1392002275","file0":"1392002270","file4":"1392002284","file5":"1392002292","file3":"1392002280"},"map_files_photo_id_array":[{"photo_id":"1392002292","filename":"file5"},{"photo_id":"1392002278","filename":"file2"},{"photo_id":"1392002284","filename":"file4"},{"photo_id":"1392002275","filename":"file1"},{"photo_id":"1392002270","filename":"file0"},{"photo_id":"1392002280","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002292":["hashtag1","hashtag2"]},{"1392002280":["hashtag1","hashtag2"]},{"1392002270":["hashtag1","hashtag2"]},{"1392002275":["hashtag1","hashtag2"]},{"1392002284":["hashtag1","hashtag2"]},{"1392002278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002292, 1392002280, 1392002270, 1392002275, 1392002284, 1392002278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.281551361083984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:23:22.655963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_47_1703.jpg', '/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_49_1699.jpg', '/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_54_1732.jpg', '/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_56_1669.jpg', '/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_29_1865.jpg', '/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_31_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_47_1703.jpg
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_49_1699.jpg
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_54_1732.jpg
/home/pi/Desktop/images/03112025/00/51/image_03112025_00_51_56_1669.jpg
/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_29_1865.jpg
/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_31_1776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002304","1392002307","1392002301","1392002315","1392002318","1392002311"],"photo_ids_order":["1392002301","1392002304","1392002307","1392002311","1392002315","1392002318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/366a6bb56d9c2aee34d331c0c629d766.jpg","text":"TemporaryFile(/tmp/multipartBody247307906498730188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154663389,"filename":"image_03112025_00_51_49_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/3/5b9c21eac40120a1a5f500af49ade40a.jpg","text":"TemporaryFile(/tmp/multipartBody7553806115251596951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154663389,"filename":"image_03112025_00_51_54_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/3/a9117f8014d5762a6bf4a172a247d717.jpg","text":"TemporaryFile(/tmp/multipartBody4988155420833544546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154663389,"filename":"image_03112025_00_51_47_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/3/db04fd7204753ce2988d753e75b719ba.jpg","text":"TemporaryFile(/tmp/multipartBody2982680596274592014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154663389,"filename":"image_03112025_00_52_29_1865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c6622b4ecf081f7709f0200dc58f607.jpg","text":"TemporaryFile(/tmp/multipartBody6191502551213080244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154663389,"filename":"image_03112025_00_52_31_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/3/3c3b47741267f07684a4a2b8ae5a420a.jpg","text":"TemporaryFile(/tmp/multipartBody3261371495714114434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154663389,"filename":"image_03112025_00_51_56_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002307","file1":"1392002304","file0":"1392002301","file4":"1392002315","file5":"1392002318","file3":"1392002311"},"map_files_photo_id_array":[{"photo_id":"1392002318","filename":"file5"},{"photo_id":"1392002307","filename":"file2"},{"photo_id":"1392002315","filename":"file4"},{"photo_id":"1392002304","filename":"file1"},{"photo_id":"1392002301","filename":"file0"},{"photo_id":"1392002311","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002304":["hashtag1","hashtag2"]},{"1392002307":["hashtag1","hashtag2"]},{"1392002301":["hashtag1","hashtag2"]},{"1392002315":["hashtag1","hashtag2"]},{"1392002318":["hashtag1","hashtag2"]},{"1392002311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002304, 1392002307, 1392002301, 1392002315, 1392002318, 1392002311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25644588470459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:24:02.523821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_33_1938.jpg', '/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_34_1605.jpg', '/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_45_5301.jpg', '/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_48_2799.jpg', '/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_52_1791.jpg', '/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_07_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_33_1938.jpg
/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_34_1605.jpg
/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_45_5301.jpg
/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_48_2799.jpg
/home/pi/Desktop/images/03112025/00/52/image_03112025_00_52_52_1791.jpg
/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_07_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002340","1392002346","1392002366","1392002336","1392002356","1392002350"],"photo_ids_order":["1392002336","1392002340","1392002346","1392002350","1392002356","1392002366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2c867c0e477fa1fb9c657cf7ec82ca3.jpg","text":"TemporaryFile(/tmp/multipartBody2016741235525852627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154703385,"filename":"image_03112025_00_52_34_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/3/32d2cff53b926619d6d8d716f403663b.jpg","text":"TemporaryFile(/tmp/multipartBody6378964283120440684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154703385,"filename":"image_03112025_00_52_45_5301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc9140641694d72c992525d8effa657d.jpg","text":"TemporaryFile(/tmp/multipartBody5939350205714995084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154703385,"filename":"image_03112025_00_53_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/3/b77e5b7398d2d26062e8cd199230f994.jpg","text":"TemporaryFile(/tmp/multipartBody1847889497191144213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154703385,"filename":"image_03112025_00_52_33_1938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e8f54584b7f10a48055fb9c1a2fb093.jpg","text":"TemporaryFile(/tmp/multipartBody8713456908715362101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154703385,"filename":"image_03112025_00_52_52_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/3/4b21940add9e08c329774c80ceef66eb.jpg","text":"TemporaryFile(/tmp/multipartBody9035146174532480733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154703385,"filename":"image_03112025_00_52_48_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002346","file1":"1392002340","file0":"1392002336","file4":"1392002356","file5":"1392002366","file3":"1392002350"},"map_files_photo_id_array":[{"photo_id":"1392002366","filename":"file5"},{"photo_id":"1392002346","filename":"file2"},{"photo_id":"1392002356","filename":"file4"},{"photo_id":"1392002340","filename":"file1"},{"photo_id":"1392002336","filename":"file0"},{"photo_id":"1392002350","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002340":["hashtag1","hashtag2"]},{"1392002346":["hashtag1","hashtag2"]},{"1392002366":["hashtag1","hashtag2"]},{"1392002336":["hashtag1","hashtag2"]},{"1392002356":["hashtag1","hashtag2"]},{"1392002350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002340, 1392002346, 1392002366, 1392002336, 1392002356, 1392002350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.182827949523926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:24:41.955704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_14_6881.jpg', '/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_37_23395.jpg', '/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_48_10977.jpg', '/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_55_6623.jpg', '/home/pi/Desktop/images/03112025/00/54/image_03112025_00_54_35_1539.jpg', '/home/pi/Desktop/images/03112025/00/54/image_03112025_00_54_37_1834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_14_6881.jpg
/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_37_23395.jpg
/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_48_10977.jpg
/home/pi/Desktop/images/03112025/00/53/image_03112025_00_53_55_6623.jpg
/home/pi/Desktop/images/03112025/00/54/image_03112025_00_54_35_1539.jpg
/home/pi/Desktop/images/03112025/00/54/image_03112025_00_54_37_1834.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002400","1392002384","1392002378","1392002393","1392002387","1392002405"],"photo_ids_order":["1392002378","1392002384","1392002387","1392002393","1392002400","1392002405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01dda5aef3b0663bb06f87f662a0c6b5.jpg","text":"TemporaryFile(/tmp/multipartBody5558744992230433586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154742741,"filename":"image_03112025_00_54_35_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/3/661ac567299ecaf57b978e3af4039d45.jpg","text":"TemporaryFile(/tmp/multipartBody1533429855217252372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154742741,"filename":"image_03112025_00_53_37_23395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2af3a16afc8e9eb7288f893717f771b3.jpg","text":"TemporaryFile(/tmp/multipartBody6067927323004070143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154742741,"filename":"image_03112025_00_53_14_6881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7300ffa56adb5434b877d4d9c193f1ab.jpg","text":"TemporaryFile(/tmp/multipartBody6750468494212144951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154742741,"filename":"image_03112025_00_53_55_6623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/02cc393121dcf2097fd41e2fd76f8a86.jpg","text":"TemporaryFile(/tmp/multipartBody7807416710197874044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154742741,"filename":"image_03112025_00_53_48_10977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/28a411bec8dc9eefaed4f06964a792d2.jpg","text":"TemporaryFile(/tmp/multipartBody4183286275281439265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154742741,"filename":"image_03112025_00_54_37_1834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002387","file1":"1392002384","file0":"1392002378","file4":"1392002400","file5":"1392002405","file3":"1392002393"},"map_files_photo_id_array":[{"photo_id":"1392002405","filename":"file5"},{"photo_id":"1392002387","filename":"file2"},{"photo_id":"1392002400","filename":"file4"},{"photo_id":"1392002384","filename":"file1"},{"photo_id":"1392002378","filename":"file0"},{"photo_id":"1392002393","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002400":["hashtag1","hashtag2"]},{"1392002384":["hashtag1","hashtag2"]},{"1392002378":["hashtag1","hashtag2"]},{"1392002393":["hashtag1","hashtag2"]},{"1392002387":["hashtag1","hashtag2"]},{"1392002405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002400, 1392002384, 1392002378, 1392002393, 1392002387, 1392002405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27439594268799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:25:22.116990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/54/image_03112025_00_54_49_2675.jpg', '/home/pi/Desktop/images/03112025/00/54/image_03112025_00_54_52_2729.jpg', '/home/pi/Desktop/images/03112025/00/55/image_03112025_00_55_10_1773.jpg', '/home/pi/Desktop/images/03112025/00/55/image_03112025_00_55_13_3760.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_01_47068.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_11_1821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/54/image_03112025_00_54_49_2675.jpg
/home/pi/Desktop/images/03112025/00/54/image_03112025_00_54_52_2729.jpg
/home/pi/Desktop/images/03112025/00/55/image_03112025_00_55_10_1773.jpg
/home/pi/Desktop/images/03112025/00/55/image_03112025_00_55_13_3760.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_01_47068.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_11_1821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002447","1392002432","1392002429","1392002438","1392002443","1392002425"],"photo_ids_order":["1392002425","1392002429","1392002432","1392002438","1392002443","1392002447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2ff36a8c72236659a647a9851f49aaf1.jpg","text":"TemporaryFile(/tmp/multipartBody8687647159662116720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154782893,"filename":"image_03112025_00_56_11_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/3/06df08c7f15d1499c6fe71cf0920e140.jpg","text":"TemporaryFile(/tmp/multipartBody1339110147082211550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154782893,"filename":"image_03112025_00_55_10_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c6091ebf4ea8e19a9dbc809cc9f8bac1.jpg","text":"TemporaryFile(/tmp/multipartBody4482956459940689366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154782893,"filename":"image_03112025_00_54_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/3/de2eaad420fa2f81a2dec11ff8b6ecfb.jpg","text":"TemporaryFile(/tmp/multipartBody3415687202104157570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154782893,"filename":"image_03112025_00_55_13_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/3/508e415fb8ef97e43fefb67978359bab.jpg","text":"TemporaryFile(/tmp/multipartBody3127938702258839124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154782893,"filename":"image_03112025_00_56_01_47068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c5ead472b09e2c0cd9684fb130ae2281.jpg","text":"TemporaryFile(/tmp/multipartBody3392008476845473529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154782893,"filename":"image_03112025_00_54_49_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002432","file1":"1392002429","file0":"1392002425","file4":"1392002443","file5":"1392002447","file3":"1392002438"},"map_files_photo_id_array":[{"photo_id":"1392002447","filename":"file5"},{"photo_id":"1392002432","filename":"file2"},{"photo_id":"1392002443","filename":"file4"},{"photo_id":"1392002429","filename":"file1"},{"photo_id":"1392002425","filename":"file0"},{"photo_id":"1392002438","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002447":["hashtag1","hashtag2"]},{"1392002432":["hashtag1","hashtag2"]},{"1392002429":["hashtag1","hashtag2"]},{"1392002438":["hashtag1","hashtag2"]},{"1392002443":["hashtag1","hashtag2"]},{"1392002425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002447, 1392002432, 1392002429, 1392002438, 1392002443, 1392002425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64161205291748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:26:02.822915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_15_1701.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_16_1711.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_22_1713.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_27_1658.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_28_1787.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_39_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_15_1701.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_16_1711.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_22_1713.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_27_1658.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_28_1787.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_39_1675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002541","1392002495","1392002462","1392002465","1392002468","1392002458"],"photo_ids_order":["1392002458","1392002462","1392002465","1392002468","1392002495","1392002541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f83c4433bbfac8c761c0d9dcedf32401.jpg","text":"TemporaryFile(/tmp/multipartBody5502737666368569841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154823653,"filename":"image_03112025_00_56_39_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/446d8227ebc6ca3b7827aeb26c6bb9ba.jpg","text":"TemporaryFile(/tmp/multipartBody3972136381497804208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154823653,"filename":"image_03112025_00_56_28_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/3/130d26afd0152f82f277ce8089fa2f0f.jpg","text":"TemporaryFile(/tmp/multipartBody5027832735343239422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154823653,"filename":"image_03112025_00_56_16_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/3/003f2e023daf3c0d03fa3e35bbe96ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2487883604301587349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154823653,"filename":"image_03112025_00_56_22_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/3/e2e3d244501a21fc7ceb9578555f7c16.jpg","text":"TemporaryFile(/tmp/multipartBody344866185274984796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154823653,"filename":"image_03112025_00_56_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/3/c8d02bb1c5c37210b66bb1143ab2b721.jpg","text":"TemporaryFile(/tmp/multipartBody3435840641921336378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154823653,"filename":"image_03112025_00_56_15_1701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002465","file1":"1392002462","file0":"1392002458","file4":"1392002495","file5":"1392002541","file3":"1392002468"},"map_files_photo_id_array":[{"photo_id":"1392002541","filename":"file5"},{"photo_id":"1392002465","filename":"file2"},{"photo_id":"1392002495","filename":"file4"},{"photo_id":"1392002462","filename":"file1"},{"photo_id":"1392002458","filename":"file0"},{"photo_id":"1392002468","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002541":["hashtag1","hashtag2"]},{"1392002495":["hashtag1","hashtag2"]},{"1392002462":["hashtag1","hashtag2"]},{"1392002465":["hashtag1","hashtag2"]},{"1392002468":["hashtag1","hashtag2"]},{"1392002458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002541, 1392002495, 1392002462, 1392002465, 1392002468, 1392002458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76551008224487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:26:42.341124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_41_1719.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_44_3496.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_46_1889.jpg', '/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_55_8965.jpg', '/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_03_1726.jpg', '/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_17_1538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_41_1719.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_44_3496.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_46_1889.jpg
/home/pi/Desktop/images/03112025/00/56/image_03112025_00_56_55_8965.jpg
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_03_1726.jpg
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_17_1538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002718","1392002703","1392002687","1392002714","1392002728","1392002737"],"photo_ids_order":["1392002687","1392002703","1392002714","1392002718","1392002728","1392002737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ae07b33d347a5fa5bbcea13ec34d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody519929527108463202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154863117,"filename":"image_03112025_00_56_55_8965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12b8168e9ba051fe2aeedbeb9a2d87b8.jpg","text":"TemporaryFile(/tmp/multipartBody3481761170495949654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154863117,"filename":"image_03112025_00_56_44_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/3/3cd25424d5bf393bfaee589421a1fdd2.jpg","text":"TemporaryFile(/tmp/multipartBody2102103081542937091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154863117,"filename":"image_03112025_00_56_41_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/3/57f0f986f1672964d395a42a0b41e3b0.jpg","text":"TemporaryFile(/tmp/multipartBody2577342882384586108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154863117,"filename":"image_03112025_00_56_46_1889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/739c5a4e8f88a0c742b1667cd963d133.jpg","text":"TemporaryFile(/tmp/multipartBody2567594941772075224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154863117,"filename":"image_03112025_00_57_03_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/3/276cc6674e40ec06aed850254794b33a.jpg","text":"TemporaryFile(/tmp/multipartBody7921363294522059589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154863117,"filename":"image_03112025_00_57_17_1538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002714","file1":"1392002703","file0":"1392002687","file4":"1392002728","file5":"1392002737","file3":"1392002718"},"map_files_photo_id_array":[{"photo_id":"1392002737","filename":"file5"},{"photo_id":"1392002714","filename":"file2"},{"photo_id":"1392002728","filename":"file4"},{"photo_id":"1392002703","filename":"file1"},{"photo_id":"1392002687","filename":"file0"},{"photo_id":"1392002718","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002718":["hashtag1","hashtag2"]},{"1392002703":["hashtag1","hashtag2"]},{"1392002687":["hashtag1","hashtag2"]},{"1392002714":["hashtag1","hashtag2"]},{"1392002728":["hashtag1","hashtag2"]},{"1392002737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002718, 1392002703, 1392002687, 1392002714, 1392002728, 1392002737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.040077924728394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:27:22.425263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_19_1635.jpg', '/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_35_1835.jpg', '/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_40_1692.jpg', '/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_45_1770.jpg', '/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_47_1692.jpg', '/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_50_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_19_1635.jpg
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_35_1835.jpg
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_40_1692.jpg
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_45_1770.jpg
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_47_1692.jpg
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_50_1719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002772","1392002766","1392002769","1392002762","1392002770","1392002776"],"photo_ids_order":["1392002762","1392002766","1392002769","1392002770","1392002772","1392002776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0592eb086ca48e28ceb41d990ed6eb54.jpg","text":"TemporaryFile(/tmp/multipartBody8101838612515843122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154903174,"filename":"image_03112025_00_57_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/3/bf1654bc99a2babae453b41a3997cf5b.jpg","text":"TemporaryFile(/tmp/multipartBody6052543611552707860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154903174,"filename":"image_03112025_00_57_35_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/3/7f34f380266326f8d5fd3c375d580b94.jpg","text":"TemporaryFile(/tmp/multipartBody6514814759358636227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154903174,"filename":"image_03112025_00_57_40_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/3/5a1c179dec2a3f3ce63ddaf1c3e08686.jpg","text":"TemporaryFile(/tmp/multipartBody4979539873747160301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154903174,"filename":"image_03112025_00_57_19_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/3/6fa545b8fb40ec142cc4939b8a1bcfc2.jpg","text":"TemporaryFile(/tmp/multipartBody3899547101258083066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154903174,"filename":"image_03112025_00_57_45_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/3/040d4c27a95f21c4e05ba4938ab2c4a1.jpg","text":"TemporaryFile(/tmp/multipartBody8537228315306109349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154903174,"filename":"image_03112025_00_57_50_1719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002769","file1":"1392002766","file0":"1392002762","file4":"1392002772","file5":"1392002776","file3":"1392002770"},"map_files_photo_id_array":[{"photo_id":"1392002776","filename":"file5"},{"photo_id":"1392002769","filename":"file2"},{"photo_id":"1392002772","filename":"file4"},{"photo_id":"1392002766","filename":"file1"},{"photo_id":"1392002762","filename":"file0"},{"photo_id":"1392002770","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002772":["hashtag1","hashtag2"]},{"1392002766":["hashtag1","hashtag2"]},{"1392002769":["hashtag1","hashtag2"]},{"1392002762":["hashtag1","hashtag2"]},{"1392002770":["hashtag1","hashtag2"]},{"1392002776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002772, 1392002766, 1392002769, 1392002762, 1392002770, 1392002776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36606740951538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:28:04.435459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_53_1591.jpg', '/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_55_1528.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_03_1594.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_04_1602.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_07_1589.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_11_1558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_53_1591.jpg
/home/pi/Desktop/images/03112025/00/57/image_03112025_00_57_55_1528.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_03_1594.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_04_1602.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_07_1589.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_11_1558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002800","1392002837","1392002813","1392002851","1392002809","1392002824"],"photo_ids_order":["1392002800","1392002809","1392002813","1392002824","1392002837","1392002851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/28c4581de71cc0f866f3e77c06edd3e7.jpg","text":"TemporaryFile(/tmp/multipartBody1178114990819023964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154945226,"filename":"image_03112025_00_57_53_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/3/d297c1bf25baabd5d60924c108600e63.jpg","text":"TemporaryFile(/tmp/multipartBody5077117298001527713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154945226,"filename":"image_03112025_00_58_07_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/3/69039f9a485fbc17d7f6c71bdfe1ea46.jpg","text":"TemporaryFile(/tmp/multipartBody3763850036119475312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154945226,"filename":"image_03112025_00_58_03_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/3/64e295fa1e11a3be16a55c0bc04b3166.jpg","text":"TemporaryFile(/tmp/multipartBody2140262139791842733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154945226,"filename":"image_03112025_00_58_11_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/3/56661c9dce848248f7b50484eb018a47.jpg","text":"TemporaryFile(/tmp/multipartBody6237046165178009291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154945226,"filename":"image_03112025_00_57_55_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/3/35f11a3dc75b73dd2f4508eb22f5aee5.jpg","text":"TemporaryFile(/tmp/multipartBody5029501441132514586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762154945226,"filename":"image_03112025_00_58_04_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002813","file1":"1392002809","file0":"1392002800","file4":"1392002837","file5":"1392002851","file3":"1392002824"},"map_files_photo_id_array":[{"photo_id":"1392002851","filename":"file5"},{"photo_id":"1392002813","filename":"file2"},{"photo_id":"1392002837","filename":"file4"},{"photo_id":"1392002809","filename":"file1"},{"photo_id":"1392002800","filename":"file0"},{"photo_id":"1392002824","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002800":["hashtag1","hashtag2"]},{"1392002837":["hashtag1","hashtag2"]},{"1392002813":["hashtag1","hashtag2"]},{"1392002851":["hashtag1","hashtag2"]},{"1392002809":["hashtag1","hashtag2"]},{"1392002824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002800, 1392002837, 1392002813, 1392002851, 1392002809, 1392002824)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.93671488761902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:29:02.979217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_14_1753.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_18_4570.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_20_1720.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_30_8356.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_36_5841.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_45_8814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_14_1753.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_18_4570.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_20_1720.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_30_8356.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_36_5841.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_45_8814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002895","1392002889","1392002886","1392002899","1392002887","1392002892"],"photo_ids_order":["1392002886","1392002887","1392002889","1392002892","1392002895","1392002899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e7477bc1d17f9597afc2f374b2892db9.jpg","text":"TemporaryFile(/tmp/multipartBody8073172889519779459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155003785,"filename":"image_03112025_00_58_36_5841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/62d5d45dc95480f14d9411ad42c0b1bb.jpg","text":"TemporaryFile(/tmp/multipartBody1173004404149699540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155003785,"filename":"image_03112025_00_58_20_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/3/ec028c840941d9485752ba74eef57521.jpg","text":"TemporaryFile(/tmp/multipartBody5553032650357660171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155003785,"filename":"image_03112025_00_58_14_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/3/8e540195b6b730bc8f3ca6e87b1e4e51.jpg","text":"TemporaryFile(/tmp/multipartBody295383223487306348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155003785,"filename":"image_03112025_00_58_45_8814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/86afbd8b0aebe631a19119f29371816b.jpg","text":"TemporaryFile(/tmp/multipartBody4608625211128650596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155003785,"filename":"image_03112025_00_58_18_4570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0ae3c86f442a0484b5dbfe4df4215224.jpg","text":"TemporaryFile(/tmp/multipartBody5137954496842779831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155003785,"filename":"image_03112025_00_58_30_8356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002889","file1":"1392002887","file0":"1392002886","file4":"1392002895","file5":"1392002899","file3":"1392002892"},"map_files_photo_id_array":[{"photo_id":"1392002899","filename":"file5"},{"photo_id":"1392002889","filename":"file2"},{"photo_id":"1392002895","filename":"file4"},{"photo_id":"1392002887","filename":"file1"},{"photo_id":"1392002886","filename":"file0"},{"photo_id":"1392002892","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002895":["hashtag1","hashtag2"]},{"1392002889":["hashtag1","hashtag2"]},{"1392002886":["hashtag1","hashtag2"]},{"1392002899":["hashtag1","hashtag2"]},{"1392002887":["hashtag1","hashtag2"]},{"1392002892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002895, 1392002889, 1392002886, 1392002899, 1392002887, 1392002892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33979058265686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:29:42.084021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_47_1782.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_48_1525.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_53_1796.jpg', '/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_57_3311.jpg', '/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_08_1713.jpg', '/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_10_2038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_47_1782.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_48_1525.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_53_1796.jpg
/home/pi/Desktop/images/03112025/00/58/image_03112025_00_58_57_3311.jpg
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_08_1713.jpg
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_10_2038.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002931","1392002934","1392002948","1392002933","1392002915","1392002929"],"photo_ids_order":["1392002915","1392002929","1392002931","1392002933","1392002934","1392002948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/84244c6485661f16f9e07e85d9ba1e10.jpg","text":"TemporaryFile(/tmp/multipartBody8064923156339780306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155042835,"filename":"image_03112025_00_58_53_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/3/63093f2d4580c293cd79d6e8f99afc3a.jpg","text":"TemporaryFile(/tmp/multipartBody5093772643385844470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155042835,"filename":"image_03112025_00_59_08_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/3/85e5f94a7f22156ac1b02fb40d7653b0.jpg","text":"TemporaryFile(/tmp/multipartBody7315344000014113476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155042835,"filename":"image_03112025_00_59_10_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/3/20dca74e5997bfa8983f70267dd3839c.jpg","text":"TemporaryFile(/tmp/multipartBody8037196706063985986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155042835,"filename":"image_03112025_00_58_57_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/3/92cf3b866c6510ac7c22e564937159e0.jpg","text":"TemporaryFile(/tmp/multipartBody6466727924842411740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155042835,"filename":"image_03112025_00_58_47_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/3/4c9e992fb7594da2f4dc63227e9bfb38.jpg","text":"TemporaryFile(/tmp/multipartBody7924804677600292604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155042835,"filename":"image_03112025_00_58_48_1525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392002931","file1":"1392002929","file0":"1392002915","file4":"1392002934","file5":"1392002948","file3":"1392002933"},"map_files_photo_id_array":[{"photo_id":"1392002948","filename":"file5"},{"photo_id":"1392002931","filename":"file2"},{"photo_id":"1392002934","filename":"file4"},{"photo_id":"1392002929","filename":"file1"},{"photo_id":"1392002915","filename":"file0"},{"photo_id":"1392002933","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002931":["hashtag1","hashtag2"]},{"1392002934":["hashtag1","hashtag2"]},{"1392002948":["hashtag1","hashtag2"]},{"1392002933":["hashtag1","hashtag2"]},{"1392002915":["hashtag1","hashtag2"]},{"1392002929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002931, 1392002934, 1392002948, 1392002933, 1392002915, 1392002929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.985416412353516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:30:22.287634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_11_1702.jpg', '/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_13_1734.jpg', '/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_16_1546.jpg', '/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_18_1610.jpg', '/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_29_5703.jpg', '/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_41_12270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_11_1702.jpg
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_13_1734.jpg
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_16_1546.jpg
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_18_1610.jpg
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_29_5703.jpg
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_41_12270.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392002985","1392003007","1392003022","1392003001","1392003010","1392003004"],"photo_ids_order":["1392002985","1392003001","1392003004","1392003007","1392003010","1392003022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5e5d6e6413f098aaa0156c41b4ce5bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6831713585844780576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155083035,"filename":"image_03112025_00_59_11_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ed6f546337d485e74232723095b86482.jpg","text":"TemporaryFile(/tmp/multipartBody7956667498526815464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155083035,"filename":"image_03112025_00_59_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/3/653e922fc112bad280c3911ce2f89745.jpg","text":"TemporaryFile(/tmp/multipartBody439216794847603096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155083035,"filename":"image_03112025_00_59_41_12270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/64d0b287097831094580fddb346df0df.jpg","text":"TemporaryFile(/tmp/multipartBody1278526032597989008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155083035,"filename":"image_03112025_00_59_13_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7a291b0bdfd1042a49a62521f8260177.jpg","text":"TemporaryFile(/tmp/multipartBody7621713097006061366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155083035,"filename":"image_03112025_00_59_29_5703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ca686feefb372610183668b8e4f0f504.jpg","text":"TemporaryFile(/tmp/multipartBody6164458327043397092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155083035,"filename":"image_03112025_00_59_16_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003004","file1":"1392003001","file0":"1392002985","file4":"1392003010","file5":"1392003022","file3":"1392003007"},"map_files_photo_id_array":[{"photo_id":"1392003022","filename":"file5"},{"photo_id":"1392003004","filename":"file2"},{"photo_id":"1392003010","filename":"file4"},{"photo_id":"1392003001","filename":"file1"},{"photo_id":"1392002985","filename":"file0"},{"photo_id":"1392003007","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392002985":["hashtag1","hashtag2"]},{"1392003007":["hashtag1","hashtag2"]},{"1392003022":["hashtag1","hashtag2"]},{"1392003001":["hashtag1","hashtag2"]},{"1392003010":["hashtag1","hashtag2"]},{"1392003004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392002985, 1392003007, 1392003022, 1392003001, 1392003010, 1392003004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12422466278076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:31:03.213896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_43_1614.jpg', '/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_52_6991.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_04_2109.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_06_1666.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_08_1906.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_16_1824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_43_1614.jpg
/home/pi/Desktop/images/03112025/00/59/image_03112025_00_59_52_6991.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_04_2109.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_06_1666.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_08_1906.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_16_1824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003047","1392003041","1392003035","1392003044","1392003052","1392003049"],"photo_ids_order":["1392003035","1392003041","1392003044","1392003047","1392003049","1392003052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f46dc6577dfc92c9861d1ec01a22d28e.jpg","text":"TemporaryFile(/tmp/multipartBody8280040970878972832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155124065,"filename":"image_03112025_01_00_06_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/3/3adbcadee2a58a810a0e4b273816e2cc.jpg","text":"TemporaryFile(/tmp/multipartBody5283756174162681461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155124065,"filename":"image_03112025_00_59_52_6991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f498a2a1dfa19a04b5be25d58f16b19c.jpg","text":"TemporaryFile(/tmp/multipartBody810950823099207834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155124065,"filename":"image_03112025_00_59_43_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/3/64916069d0106219d08d510495800fd0.jpg","text":"TemporaryFile(/tmp/multipartBody826117152382460614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155124065,"filename":"image_03112025_01_00_04_2109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/72e017dac5c5df55692f33c5da97a55c.jpg","text":"TemporaryFile(/tmp/multipartBody4819187153389789068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155124065,"filename":"image_03112025_01_00_16_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/3/f113758ac7bbf70926aa132856d30851.jpg","text":"TemporaryFile(/tmp/multipartBody8746113956667545806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155124065,"filename":"image_03112025_01_00_08_1906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003044","file1":"1392003041","file0":"1392003035","file4":"1392003049","file5":"1392003052","file3":"1392003047"},"map_files_photo_id_array":[{"photo_id":"1392003052","filename":"file5"},{"photo_id":"1392003044","filename":"file2"},{"photo_id":"1392003049","filename":"file4"},{"photo_id":"1392003041","filename":"file1"},{"photo_id":"1392003035","filename":"file0"},{"photo_id":"1392003047","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003047":["hashtag1","hashtag2"]},{"1392003041":["hashtag1","hashtag2"]},{"1392003035":["hashtag1","hashtag2"]},{"1392003044":["hashtag1","hashtag2"]},{"1392003052":["hashtag1","hashtag2"]},{"1392003049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003047, 1392003041, 1392003035, 1392003044, 1392003052, 1392003049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.164875745773315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:31:42.526073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_18_1621.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_25_1670.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_27_1654.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_28_1683.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_30_1565.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_32_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_18_1621.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_25_1670.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_27_1654.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_28_1683.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_30_1565.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_32_1565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003078","1392003063","1392003079","1392003070","1392003067","1392003081"],"photo_ids_order":["1392003063","1392003067","1392003070","1392003078","1392003079","1392003081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a3ca14c4a41062b942b68d07a6a00ac5.jpg","text":"TemporaryFile(/tmp/multipartBody536145051679010561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155163300,"filename":"image_03112025_01_00_28_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/3/b330b50cfff9c14b97fc42fc68cc8e46.jpg","text":"TemporaryFile(/tmp/multipartBody703573390313677246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155163300,"filename":"image_03112025_01_00_18_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/3/0a7411ec2f07ef4684dc65b180121804.jpg","text":"TemporaryFile(/tmp/multipartBody258947007675143119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155163300,"filename":"image_03112025_01_00_30_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/3/95d28611f6db01c41e86633fe1f35801.jpg","text":"TemporaryFile(/tmp/multipartBody7327886614545624383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155163300,"filename":"image_03112025_01_00_27_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/3/f9cbeb03dce4c8e94bdb248b9f071876.jpg","text":"TemporaryFile(/tmp/multipartBody3100854009929777181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155163300,"filename":"image_03112025_01_00_25_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/3/a9950c1bc1b696f592e00f6cce3c804c.jpg","text":"TemporaryFile(/tmp/multipartBody5799701659998016929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155163300,"filename":"image_03112025_01_00_32_1565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003070","file1":"1392003067","file0":"1392003063","file4":"1392003079","file5":"1392003081","file3":"1392003078"},"map_files_photo_id_array":[{"photo_id":"1392003081","filename":"file5"},{"photo_id":"1392003070","filename":"file2"},{"photo_id":"1392003079","filename":"file4"},{"photo_id":"1392003067","filename":"file1"},{"photo_id":"1392003063","filename":"file0"},{"photo_id":"1392003078","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003078":["hashtag1","hashtag2"]},{"1392003063":["hashtag1","hashtag2"]},{"1392003079":["hashtag1","hashtag2"]},{"1392003070":["hashtag1","hashtag2"]},{"1392003067":["hashtag1","hashtag2"]},{"1392003081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003078, 1392003063, 1392003079, 1392003070, 1392003067, 1392003081)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.64994740486145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:32:42.782066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_33_1883.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_35_1683.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_37_1720.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_39_1670.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_40_1649.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_42_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_33_1883.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_35_1683.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_37_1720.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_39_1670.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_40_1649.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_42_1674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003123","1392003128","1392003125","1392003110","1392003107","1392003121"],"photo_ids_order":["1392003107","1392003110","1392003121","1392003123","1392003125","1392003128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/29b8a5dac32beb36d427c98893eef175.jpg","text":"TemporaryFile(/tmp/multipartBody8894538023948474268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155223557,"filename":"image_03112025_01_00_39_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/3/7deb95ba6b9aff2d3bbedb9242a491d5.jpg","text":"TemporaryFile(/tmp/multipartBody594764158779157846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155223557,"filename":"image_03112025_01_00_42_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/3/25023eda9b4baa636370be3e02163c2e.jpg","text":"TemporaryFile(/tmp/multipartBody1482499147260063668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155223557,"filename":"image_03112025_01_00_40_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/3/432dd6b2f11cfeb10c2e811f195d4225.jpg","text":"TemporaryFile(/tmp/multipartBody8703221762974907255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155223557,"filename":"image_03112025_01_00_35_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/3/8bb88972a0fdd1a17d38eeddb4cdcf84.jpg","text":"TemporaryFile(/tmp/multipartBody9148022349607230611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155223557,"filename":"image_03112025_01_00_33_1883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b7f9f47231d4f1402032765151e7191.jpg","text":"TemporaryFile(/tmp/multipartBody5092197395610105371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155223557,"filename":"image_03112025_01_00_37_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003121","file1":"1392003110","file0":"1392003107","file4":"1392003125","file5":"1392003128","file3":"1392003123"},"map_files_photo_id_array":[{"photo_id":"1392003128","filename":"file5"},{"photo_id":"1392003121","filename":"file2"},{"photo_id":"1392003125","filename":"file4"},{"photo_id":"1392003110","filename":"file1"},{"photo_id":"1392003107","filename":"file0"},{"photo_id":"1392003123","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003123":["hashtag1","hashtag2"]},{"1392003128":["hashtag1","hashtag2"]},{"1392003125":["hashtag1","hashtag2"]},{"1392003110":["hashtag1","hashtag2"]},{"1392003107":["hashtag1","hashtag2"]},{"1392003121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003123, 1392003128, 1392003125, 1392003110, 1392003107, 1392003121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84952974319458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:33:21.926198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_50_7979.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_53_1715.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_55_1559.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_57_1607.jpg', '/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_58_1746.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_02_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_50_7979.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_53_1715.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_55_1559.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_57_1607.jpg
/home/pi/Desktop/images/03112025/01/00/image_03112025_01_00_58_1746.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_02_1596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003150","1392003147","1392003158","1392003152","1392003142","1392003154"],"photo_ids_order":["1392003142","1392003147","1392003150","1392003152","1392003154","1392003158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b93dbe49fec09c231fec303c992e6bd5.jpg","text":"TemporaryFile(/tmp/multipartBody7568337389940099134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155262666,"filename":"image_03112025_01_00_55_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/3/07f7dd70e3f10bc419c61fddc61445f8.jpg","text":"TemporaryFile(/tmp/multipartBody5040246503837284034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155262666,"filename":"image_03112025_01_00_53_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7a1356ea68ca7d0dd144b434fff2e6e5.jpg","text":"TemporaryFile(/tmp/multipartBody4130330095943142067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155262666,"filename":"image_03112025_01_01_02_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/3/3e5ab43256aef3b2f4e353150b2ad3fc.jpg","text":"TemporaryFile(/tmp/multipartBody1544180696703590966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155262666,"filename":"image_03112025_01_00_57_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/3/c3e98386634e4d423b7d2b7dea123490.jpg","text":"TemporaryFile(/tmp/multipartBody1763318482307654626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155262666,"filename":"image_03112025_01_00_50_7979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e444aa1a52b3bcbce3ca223b06c9c8c2.jpg","text":"TemporaryFile(/tmp/multipartBody8185905254256011203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155262666,"filename":"image_03112025_01_00_58_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003150","file1":"1392003147","file0":"1392003142","file4":"1392003154","file5":"1392003158","file3":"1392003152"},"map_files_photo_id_array":[{"photo_id":"1392003158","filename":"file5"},{"photo_id":"1392003150","filename":"file2"},{"photo_id":"1392003154","filename":"file4"},{"photo_id":"1392003147","filename":"file1"},{"photo_id":"1392003142","filename":"file0"},{"photo_id":"1392003152","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003150":["hashtag1","hashtag2"]},{"1392003147":["hashtag1","hashtag2"]},{"1392003158":["hashtag1","hashtag2"]},{"1392003152":["hashtag1","hashtag2"]},{"1392003142":["hashtag1","hashtag2"]},{"1392003154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003150, 1392003147, 1392003158, 1392003152, 1392003142, 1392003154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47599792480469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:34:02.844067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_03_1682.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_05_1664.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_07_1668.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_12_2686.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_17_5063.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_25_2531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_03_1682.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_05_1664.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_07_1668.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_12_2686.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_17_5063.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_25_2531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003182","1392003176","1392003185","1392003179","1392003172","1392003189"],"photo_ids_order":["1392003172","1392003176","1392003179","1392003182","1392003185","1392003189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d29be53f7fd60a0c47a45e3971a3bca3.jpg","text":"TemporaryFile(/tmp/multipartBody6668312680021332702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155303692,"filename":"image_03112025_01_01_12_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/3/863893b2ce42c0fae44682a78a7d5863.jpg","text":"TemporaryFile(/tmp/multipartBody3478796338021778013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155303692,"filename":"image_03112025_01_01_05_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/3/053e55592070bc5203b05482b10a2e94.jpg","text":"TemporaryFile(/tmp/multipartBody9065935477910749083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155303692,"filename":"image_03112025_01_01_17_5063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/17b151371754025c6d9ebd916dd9ed83.jpg","text":"TemporaryFile(/tmp/multipartBody2982636255576797202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155303692,"filename":"image_03112025_01_01_07_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/3/889ee66e8bb7931c1ead7868cc917cc2.jpg","text":"TemporaryFile(/tmp/multipartBody9061669548989140399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155303692,"filename":"image_03112025_01_01_03_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/3/5b8d39604a60edd23a0dd4af9d5e88bf.jpg","text":"TemporaryFile(/tmp/multipartBody1864264728009681551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155303692,"filename":"image_03112025_01_01_25_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003179","file1":"1392003176","file0":"1392003172","file4":"1392003185","file5":"1392003189","file3":"1392003182"},"map_files_photo_id_array":[{"photo_id":"1392003189","filename":"file5"},{"photo_id":"1392003179","filename":"file2"},{"photo_id":"1392003185","filename":"file4"},{"photo_id":"1392003176","filename":"file1"},{"photo_id":"1392003172","filename":"file0"},{"photo_id":"1392003182","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003182":["hashtag1","hashtag2"]},{"1392003176":["hashtag1","hashtag2"]},{"1392003185":["hashtag1","hashtag2"]},{"1392003179":["hashtag1","hashtag2"]},{"1392003172":["hashtag1","hashtag2"]},{"1392003189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003182, 1392003176, 1392003185, 1392003179, 1392003172, 1392003189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60453653335571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:34:42.189766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_27_2660.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_30_2789.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_34_3856.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_37_2828.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_40_3611.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_42_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_27_2660.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_30_2789.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_34_3856.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_37_2828.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_40_3611.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_42_1749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003204","1392003207","1392003211","1392003208","1392003198","1392003202"],"photo_ids_order":["1392003198","1392003202","1392003204","1392003207","1392003208","1392003211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/239c148ae91755fbe06956e823498094.jpg","text":"TemporaryFile(/tmp/multipartBody6912662701384906423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155342969,"filename":"image_03112025_01_01_34_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/3/2fdd36b5480555ad141b34fcf7980c77.jpg","text":"TemporaryFile(/tmp/multipartBody1143565079391888935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155342969,"filename":"image_03112025_01_01_37_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/3/1abced1faba42c961470ed41a50d4b82.jpg","text":"TemporaryFile(/tmp/multipartBody321612821276089348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155342969,"filename":"image_03112025_01_01_42_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/3/2e022f6d7327b7b03a77eab09d6d7af7.jpg","text":"TemporaryFile(/tmp/multipartBody4868400693273110479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155342969,"filename":"image_03112025_01_01_40_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/3/ada4858f74d8e3e8d137413762017a18.jpg","text":"TemporaryFile(/tmp/multipartBody1585002787645974352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155342969,"filename":"image_03112025_01_01_27_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/3/67193cdddb1da416cfd8261895fce5df.jpg","text":"TemporaryFile(/tmp/multipartBody5989783618913540255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155342969,"filename":"image_03112025_01_01_30_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003204","file1":"1392003202","file0":"1392003198","file4":"1392003208","file5":"1392003211","file3":"1392003207"},"map_files_photo_id_array":[{"photo_id":"1392003211","filename":"file5"},{"photo_id":"1392003204","filename":"file2"},{"photo_id":"1392003208","filename":"file4"},{"photo_id":"1392003202","filename":"file1"},{"photo_id":"1392003198","filename":"file0"},{"photo_id":"1392003207","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003204":["hashtag1","hashtag2"]},{"1392003207":["hashtag1","hashtag2"]},{"1392003211":["hashtag1","hashtag2"]},{"1392003208":["hashtag1","hashtag2"]},{"1392003198":["hashtag1","hashtag2"]},{"1392003202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003204, 1392003207, 1392003211, 1392003208, 1392003198, 1392003202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.067310094833374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:35:22.367486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_50_7541.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_51_1577.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_53_1787.jpg', '/home/pi/Desktop/images/03112025/01/01/image_03112025_01_02_00_6690.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_01_1716.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_03_1576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_50_7541.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_51_1577.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_01_53_1787.jpg
/home/pi/Desktop/images/03112025/01/01/image_03112025_01_02_00_6690.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_01_1716.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_03_1576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003240","1392003243","1392003231","1392003238","1392003226","1392003235"],"photo_ids_order":["1392003226","1392003231","1392003235","1392003238","1392003240","1392003243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1884a0ef5cf5905522728da3164e18ba.jpg","text":"TemporaryFile(/tmp/multipartBody7261799635861591916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155383112,"filename":"image_03112025_01_02_01_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/3/97cf9c293eaf30e47d293cf43342aad8.jpg","text":"TemporaryFile(/tmp/multipartBody5806597024708396287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155383112,"filename":"image_03112025_01_02_03_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/3/427c285a362257cd8a8b415c2f82404b.jpg","text":"TemporaryFile(/tmp/multipartBody4228511169535360365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155383112,"filename":"image_03112025_01_01_51_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/3/e2934166be3613b8210657897fba44b0.jpg","text":"TemporaryFile(/tmp/multipartBody5623960456060058136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155383112,"filename":"image_03112025_01_02_00_6690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9ad3ca845c0c2646a6011fd8ebfd9d94.jpg","text":"TemporaryFile(/tmp/multipartBody4531750650901425632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155383112,"filename":"image_03112025_01_01_50_7541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb1315162bb65483d72de7258a2dee8b.jpg","text":"TemporaryFile(/tmp/multipartBody2583389854789274286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155383112,"filename":"image_03112025_01_01_53_1787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003235","file1":"1392003231","file0":"1392003226","file4":"1392003240","file5":"1392003243","file3":"1392003238"},"map_files_photo_id_array":[{"photo_id":"1392003243","filename":"file5"},{"photo_id":"1392003235","filename":"file2"},{"photo_id":"1392003240","filename":"file4"},{"photo_id":"1392003231","filename":"file1"},{"photo_id":"1392003226","filename":"file0"},{"photo_id":"1392003238","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003240":["hashtag1","hashtag2"]},{"1392003243":["hashtag1","hashtag2"]},{"1392003231":["hashtag1","hashtag2"]},{"1392003238":["hashtag1","hashtag2"]},{"1392003226":["hashtag1","hashtag2"]},{"1392003235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003240, 1392003243, 1392003231, 1392003238, 1392003226, 1392003235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.565157413482666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:36:03.104969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_05_1610.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_06_1675.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_09_3030.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_13_3606.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_15_2623.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_18_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_05_1610.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_06_1675.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_09_3030.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_13_3606.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_15_2623.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_18_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003263","1392003268","1392003277","1392003259","1392003282","1392003273"],"photo_ids_order":["1392003259","1392003263","1392003268","1392003273","1392003277","1392003282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/60b4d9acbeec5312f9c1101b0dbe5072.jpg","text":"TemporaryFile(/tmp/multipartBody6053142543688681509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155423893,"filename":"image_03112025_01_02_06_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b0ce0d182cf055ba1400fa0e6efb2d9.jpg","text":"TemporaryFile(/tmp/multipartBody5770653632434437518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155423893,"filename":"image_03112025_01_02_09_3030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2e8085a4dea97b3d7402f51751502105.jpg","text":"TemporaryFile(/tmp/multipartBody5007055520185124127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155423893,"filename":"image_03112025_01_02_15_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/3/c8bee7bb8ae5cf1eacdb347a9b2738df.jpg","text":"TemporaryFile(/tmp/multipartBody269006890174223549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155423893,"filename":"image_03112025_01_02_05_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/3/29308c678c765483b374102a5317fc43.jpg","text":"TemporaryFile(/tmp/multipartBody359548642631792874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155423893,"filename":"image_03112025_01_02_18_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/3/408386b034b56cd98bcafee016ad595d.jpg","text":"TemporaryFile(/tmp/multipartBody8530023518488242759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155423893,"filename":"image_03112025_01_02_13_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003268","file1":"1392003263","file0":"1392003259","file4":"1392003277","file5":"1392003282","file3":"1392003273"},"map_files_photo_id_array":[{"photo_id":"1392003282","filename":"file5"},{"photo_id":"1392003268","filename":"file2"},{"photo_id":"1392003277","filename":"file4"},{"photo_id":"1392003263","filename":"file1"},{"photo_id":"1392003259","filename":"file0"},{"photo_id":"1392003273","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003263":["hashtag1","hashtag2"]},{"1392003268":["hashtag1","hashtag2"]},{"1392003277":["hashtag1","hashtag2"]},{"1392003259":["hashtag1","hashtag2"]},{"1392003282":["hashtag1","hashtag2"]},{"1392003273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003263, 1392003268, 1392003277, 1392003259, 1392003282, 1392003273)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.228275775909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:37:02.744896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_21_2763.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_25_3740.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_27_2770.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_30_2590.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_36_3630.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_39_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_21_2763.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_25_3740.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_27_2770.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_30_2590.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_36_3630.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_39_2543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003321","1392003315","1392003311","1392003331","1392003325","1392003328"],"photo_ids_order":["1392003311","1392003315","1392003321","1392003325","1392003328","1392003331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c4ddd556266fcafc51dcbfe4ceeebb4e.jpg","text":"TemporaryFile(/tmp/multipartBody3262983922821367003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155483669,"filename":"image_03112025_01_02_27_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/3/6c90f4b90b2333f9978c35100ab728c3.jpg","text":"TemporaryFile(/tmp/multipartBody3796558684743379224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155483669,"filename":"image_03112025_01_02_25_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/3/fea9568dad541a83aed684af3af1c57d.jpg","text":"TemporaryFile(/tmp/multipartBody2589089512227070867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155483669,"filename":"image_03112025_01_02_21_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/3/293c2fa5a94638ebb63f818525582314.jpg","text":"TemporaryFile(/tmp/multipartBody1094850575190942084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155483669,"filename":"image_03112025_01_02_39_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6486d74e98d7eab73f70186a96075053.jpg","text":"TemporaryFile(/tmp/multipartBody8175240441417231744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155483669,"filename":"image_03112025_01_02_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/3/8300bae2dfe728d6ccb97b5075226ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4338434627928278713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155483669,"filename":"image_03112025_01_02_36_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003321","file1":"1392003315","file0":"1392003311","file4":"1392003328","file5":"1392003331","file3":"1392003325"},"map_files_photo_id_array":[{"photo_id":"1392003331","filename":"file5"},{"photo_id":"1392003321","filename":"file2"},{"photo_id":"1392003328","filename":"file4"},{"photo_id":"1392003315","filename":"file1"},{"photo_id":"1392003311","filename":"file0"},{"photo_id":"1392003325","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003321":["hashtag1","hashtag2"]},{"1392003315":["hashtag1","hashtag2"]},{"1392003311":["hashtag1","hashtag2"]},{"1392003331":["hashtag1","hashtag2"]},{"1392003325":["hashtag1","hashtag2"]},{"1392003328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003321, 1392003315, 1392003311, 1392003331, 1392003325, 1392003328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.894654512405396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:37:42.199693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_43_3717.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_45_2654.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_48_2777.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_57_2651.jpg', '/home/pi/Desktop/images/03112025/01/02/image_03112025_01_03_00_2716.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_03_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_43_3717.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_45_2654.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_48_2777.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_02_57_2651.jpg
/home/pi/Desktop/images/03112025/01/02/image_03112025_01_03_00_2716.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_03_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003360","1392003348","1392003339","1392003343","1392003352","1392003345"],"photo_ids_order":["1392003339","1392003343","1392003345","1392003348","1392003352","1392003360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e95a7e6e1f4b3db09503a29399382b4a.jpg","text":"TemporaryFile(/tmp/multipartBody9030276100363655411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155522986,"filename":"image_03112025_01_03_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/3/c153dc07ae880fbce5198da7e36537ec.jpg","text":"TemporaryFile(/tmp/multipartBody1252938458146180708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155522986,"filename":"image_03112025_01_02_57_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/03252742b28849190040496503c656fe.jpg","text":"TemporaryFile(/tmp/multipartBody7457937882287380623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155522986,"filename":"image_03112025_01_02_43_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/3/ca35f6751cb1d4a9d5d49b9f3bd0ff28.jpg","text":"TemporaryFile(/tmp/multipartBody289899623454581626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155522986,"filename":"image_03112025_01_02_45_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6605ea086be25ca096c357e41422b21c.jpg","text":"TemporaryFile(/tmp/multipartBody8933603175259047261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155522986,"filename":"image_03112025_01_03_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/3/475dc7cf9fd8188d79e0926c520fd42d.jpg","text":"TemporaryFile(/tmp/multipartBody9081996845080147942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155522986,"filename":"image_03112025_01_02_48_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003345","file1":"1392003343","file0":"1392003339","file4":"1392003352","file5":"1392003360","file3":"1392003348"},"map_files_photo_id_array":[{"photo_id":"1392003360","filename":"file5"},{"photo_id":"1392003345","filename":"file2"},{"photo_id":"1392003352","filename":"file4"},{"photo_id":"1392003343","filename":"file1"},{"photo_id":"1392003339","filename":"file0"},{"photo_id":"1392003348","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003360":["hashtag1","hashtag2"]},{"1392003348":["hashtag1","hashtag2"]},{"1392003339":["hashtag1","hashtag2"]},{"1392003343":["hashtag1","hashtag2"]},{"1392003352":["hashtag1","hashtag2"]},{"1392003345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003360, 1392003348, 1392003339, 1392003343, 1392003352, 1392003345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56276345252991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:38:25.943339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_06_2922.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_10_3826.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_12_2746.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_15_2696.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_18_2732.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_27_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_06_2922.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_10_3826.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_12_2746.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_15_2696.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_18_2732.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_27_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":["1392003392","1392003398","1392003377","1392003373","1392003396","1392003387"],"photo_ids_order":["1392003373","1392003377","1392003387","1392003392","1392003396","1392003398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b01b291d97ccdb50ad89fed3de93a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody2875068573913580729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155566688,"filename":"image_03112025_01_03_15_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/3/55dd8bf93169390cb2352f06c9f2f45d.jpg","text":"TemporaryFile(/tmp/multipartBody3925266136955083430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155566688,"filename":"image_03112025_01_03_27_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/3/811a3059597d46e7473c3b5048dad92f.jpg","text":"TemporaryFile(/tmp/multipartBody7652668296051546597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155566688,"filename":"image_03112025_01_03_10_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/3/8c3f8c99fb8c6612b35a6d4787c8e2c5.jpg","text":"TemporaryFile(/tmp/multipartBody2668395870966569182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155566688,"filename":"image_03112025_01_03_06_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/3/07cc5c29e5bb4c8b55f48399125c6197.jpg","text":"TemporaryFile(/tmp/multipartBody4219758018066909994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155566688,"filename":"image_03112025_01_03_18_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/3/d4d44f1e814efa6b37c5968137565dc1.jpg","text":"TemporaryFile(/tmp/multipartBody5030646399639191406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155566688,"filename":"image_03112025_01_03_12_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003387","file1":"1392003377","file0":"1392003373","file4":"1392003396","file5":"1392003398","file3":"1392003392"},"map_files_photo_id_array":[{"photo_id":"1392003398","filename":"file5"},{"photo_id":"1392003387","filename":"file2"},{"photo_id":"1392003396","filename":"file4"},{"photo_id":"1392003377","filename":"file1"},{"photo_id":"1392003373","filename":"file0"},{"photo_id":"1392003392","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003392":["hashtag1","hashtag2"]},{"1392003398":["hashtag1","hashtag2"]},{"1392003377":["hashtag1","hashtag2"]},{"1392003373":["hashtag1","hashtag2"]},{"1392003396":["hashtag1","hashtag2"]},{"1392003387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003392, 1392003398, 1392003377, 1392003373, 1392003396, 1392003387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95441198348999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:39:22.612502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_30_2741.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_36_2708.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_42_3759.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_45_2602.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_48_2659.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_51_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_30_2741.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_36_2708.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_42_3759.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_45_2602.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_48_2659.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_51_3706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003432","1392003423","1392003419","1392003428","1392003416","1392003412"],"photo_ids_order":["1392003412","1392003416","1392003419","1392003423","1392003428","1392003432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2fda23b98637885f5397f7c369c929fe.jpg","text":"TemporaryFile(/tmp/multipartBody7681954768469992579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155623388,"filename":"image_03112025_01_03_51_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/3/cdac6c15d240c6c9a032f862acfdf070.jpg","text":"TemporaryFile(/tmp/multipartBody4751346866320280159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155623388,"filename":"image_03112025_01_03_45_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/3/929220c1b7e9777b1f3ba6131e1ef35b.jpg","text":"TemporaryFile(/tmp/multipartBody1973925191807475371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155623388,"filename":"image_03112025_01_03_42_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/3/a3bba0a4aba1a9f29cbf19bb69b6e5d5.jpg","text":"TemporaryFile(/tmp/multipartBody6158679671145964911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155623388,"filename":"image_03112025_01_03_48_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/3/409a711fbe32f2c2dd14a1a9217e2406.jpg","text":"TemporaryFile(/tmp/multipartBody97347624443230653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155623388,"filename":"image_03112025_01_03_36_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/3/b03eebc6504b1e65f757ac626aba1a7d.jpg","text":"TemporaryFile(/tmp/multipartBody5229368659080541965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155623388,"filename":"image_03112025_01_03_30_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003419","file1":"1392003416","file0":"1392003412","file4":"1392003428","file5":"1392003432","file3":"1392003423"},"map_files_photo_id_array":[{"photo_id":"1392003432","filename":"file5"},{"photo_id":"1392003419","filename":"file2"},{"photo_id":"1392003428","filename":"file4"},{"photo_id":"1392003416","filename":"file1"},{"photo_id":"1392003412","filename":"file0"},{"photo_id":"1392003423","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003432":["hashtag1","hashtag2"]},{"1392003423":["hashtag1","hashtag2"]},{"1392003419":["hashtag1","hashtag2"]},{"1392003428":["hashtag1","hashtag2"]},{"1392003416":["hashtag1","hashtag2"]},{"1392003412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003432, 1392003423, 1392003419, 1392003428, 1392003416, 1392003412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95665264129639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:40:03.090545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_57_2598.jpg', '/home/pi/Desktop/images/03112025/01/03/image_03112025_01_04_00_3618.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_03_2683.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_09_2666.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_12_2865.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_23_5820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_03_57_2598.jpg
/home/pi/Desktop/images/03112025/01/03/image_03112025_01_04_00_3618.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_03_2683.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_09_2666.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_12_2865.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_23_5820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003461","1392003455","1392003470","1392003458","1392003448","1392003465"],"photo_ids_order":["1392003448","1392003455","1392003458","1392003461","1392003465","1392003470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/98db0a586afb88d5b86e711ffd1518fd.jpg","text":"TemporaryFile(/tmp/multipartBody5980550251567767391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155663989,"filename":"image_03112025_01_04_09_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e09a0eb5727450ba2022d705715b2375.jpg","text":"TemporaryFile(/tmp/multipartBody5381015819107852471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155663989,"filename":"image_03112025_01_04_00_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/3/3ad1efdf0a39cc659fdf85ba7bc49ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6165812460083751696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155663989,"filename":"image_03112025_01_04_23_5820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc2a9af77fcb74ceb5a98df774258a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1189916670196130676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155663989,"filename":"image_03112025_01_04_03_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/3/bdc103c5d369307d39c8005c2b1d92d3.jpg","text":"TemporaryFile(/tmp/multipartBody8490135979092831537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155663989,"filename":"image_03112025_01_03_57_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/3/4230a3c599d088a1262f7b3233334fa3.jpg","text":"TemporaryFile(/tmp/multipartBody6317342627855703027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155663989,"filename":"image_03112025_01_04_12_2865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003458","file1":"1392003455","file0":"1392003448","file4":"1392003465","file5":"1392003470","file3":"1392003461"},"map_files_photo_id_array":[{"photo_id":"1392003470","filename":"file5"},{"photo_id":"1392003458","filename":"file2"},{"photo_id":"1392003465","filename":"file4"},{"photo_id":"1392003455","filename":"file1"},{"photo_id":"1392003448","filename":"file0"},{"photo_id":"1392003461","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003461":["hashtag1","hashtag2"]},{"1392003455":["hashtag1","hashtag2"]},{"1392003470":["hashtag1","hashtag2"]},{"1392003458":["hashtag1","hashtag2"]},{"1392003448":["hashtag1","hashtag2"]},{"1392003465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003461, 1392003455, 1392003470, 1392003458, 1392003448, 1392003465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97896361351013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:40:42.698714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_27_1939.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_29_1794.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_39_1658.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_42_1737.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_45_2773.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_48_3042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_27_1939.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_29_1794.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_39_1658.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_42_1737.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_45_2773.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_48_3042.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003497","1392003485","1392003490","1392003493","1392003502","1392003511"],"photo_ids_order":["1392003485","1392003490","1392003493","1392003497","1392003502","1392003511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d6814c115c874f37956e5df93dfb7b43.jpg","text":"TemporaryFile(/tmp/multipartBody2583953892961426870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155703538,"filename":"image_03112025_01_04_42_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c05b2d47a7254c267f03ee0b4563d1f3.jpg","text":"TemporaryFile(/tmp/multipartBody7276540161044865643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155703538,"filename":"image_03112025_01_04_27_1939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8a14c387bee72e701b9445c48c8e4195.jpg","text":"TemporaryFile(/tmp/multipartBody1634509131958797322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155703538,"filename":"image_03112025_01_04_29_1794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/847cc7167c5498a69d99972cfb10f783.jpg","text":"TemporaryFile(/tmp/multipartBody4751559353593990728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155703538,"filename":"image_03112025_01_04_39_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/3/bbc4f130ddd4226d5cb7744664f1dd2e.jpg","text":"TemporaryFile(/tmp/multipartBody7691155240568223236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155703538,"filename":"image_03112025_01_04_45_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/3/1511decabb78ea61cc764ff668806ee3.jpg","text":"TemporaryFile(/tmp/multipartBody2063192976345501193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155703538,"filename":"image_03112025_01_04_48_3042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003493","file1":"1392003490","file0":"1392003485","file4":"1392003502","file5":"1392003511","file3":"1392003497"},"map_files_photo_id_array":[{"photo_id":"1392003511","filename":"file5"},{"photo_id":"1392003493","filename":"file2"},{"photo_id":"1392003502","filename":"file4"},{"photo_id":"1392003490","filename":"file1"},{"photo_id":"1392003485","filename":"file0"},{"photo_id":"1392003497","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003497":["hashtag1","hashtag2"]},{"1392003485":["hashtag1","hashtag2"]},{"1392003490":["hashtag1","hashtag2"]},{"1392003493":["hashtag1","hashtag2"]},{"1392003502":["hashtag1","hashtag2"]},{"1392003511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003497, 1392003485, 1392003490, 1392003493, 1392003502, 1392003511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23836135864258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:41:41.931600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_52_3718.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_54_2706.jpg', '/home/pi/Desktop/images/03112025/01/04/image_03112025_01_05_00_2743.jpg', '/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_07_6791.jpg', '/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_08_1568.jpg', '/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_15_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_52_3718.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_04_54_2706.jpg
/home/pi/Desktop/images/03112025/01/04/image_03112025_01_05_00_2743.jpg
/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_07_6791.jpg
/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_08_1568.jpg
/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_15_2880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003555","1392003542","1392003545","1392003548","1392003559","1392003543"],"photo_ids_order":["1392003542","1392003543","1392003545","1392003548","1392003555","1392003559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7c42a413426cc0373945b6712a829b24.jpg","text":"TemporaryFile(/tmp/multipartBody2299134576794763738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155762710,"filename":"image_03112025_01_05_08_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/3/c416ef97db87890763b514a4b31272ae.jpg","text":"TemporaryFile(/tmp/multipartBody4536244479469765939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155762710,"filename":"image_03112025_01_04_52_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/3/ebaae8e7b7323200e74238d80e935620.jpg","text":"TemporaryFile(/tmp/multipartBody2107945681107964217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155762710,"filename":"image_03112025_01_05_00_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/3/3b12304942fe9bd658e51c5e2d6dd2ef.jpg","text":"TemporaryFile(/tmp/multipartBody4685020325406728357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155762710,"filename":"image_03112025_01_05_07_6791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b7a309c084bb4aab0cb0852337083b5.jpg","text":"TemporaryFile(/tmp/multipartBody5386382406726957459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155762710,"filename":"image_03112025_01_05_15_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/3/ce04c85296505d7b8df592e56edefefa.jpg","text":"TemporaryFile(/tmp/multipartBody716403709937906247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155762710,"filename":"image_03112025_01_04_54_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003545","file1":"1392003543","file0":"1392003542","file4":"1392003555","file5":"1392003559","file3":"1392003548"},"map_files_photo_id_array":[{"photo_id":"1392003559","filename":"file5"},{"photo_id":"1392003545","filename":"file2"},{"photo_id":"1392003555","filename":"file4"},{"photo_id":"1392003543","filename":"file1"},{"photo_id":"1392003542","filename":"file0"},{"photo_id":"1392003548","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003555":["hashtag1","hashtag2"]},{"1392003542":["hashtag1","hashtag2"]},{"1392003545":["hashtag1","hashtag2"]},{"1392003548":["hashtag1","hashtag2"]},{"1392003559":["hashtag1","hashtag2"]},{"1392003543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003555, 1392003542, 1392003545, 1392003548, 1392003559, 1392003543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63256645202637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:42:22.154998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_27_2680.jpg', '/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_30_2723.jpg', '/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_39_2691.jpg', '/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_45_3752.jpg', '/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_51_2812.jpg', '/home/pi/Desktop/images/03112025/01/05/image_03112025_01_06_00_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_27_2680.jpg
/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_30_2723.jpg
/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_39_2691.jpg
/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_45_3752.jpg
/home/pi/Desktop/images/03112025/01/05/image_03112025_01_05_51_2812.jpg
/home/pi/Desktop/images/03112025/01/05/image_03112025_01_06_00_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003575","1392003586","1392003571","1392003568","1392003582","1392003579"],"photo_ids_order":["1392003568","1392003571","1392003575","1392003579","1392003582","1392003586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/84630175f76476627b49ec2d988c7f07.jpg","text":"TemporaryFile(/tmp/multipartBody4360203896047576051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155802897,"filename":"image_03112025_01_05_39_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/77f12fd3ffbd7fe7b6c96600f723ee83.jpg","text":"TemporaryFile(/tmp/multipartBody7623368661037515175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155802897,"filename":"image_03112025_01_06_00_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/3/2838a7acecd5d4859ed56859e0bd780d.jpg","text":"TemporaryFile(/tmp/multipartBody1594937211306646492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155802897,"filename":"image_03112025_01_05_30_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/3/9d4501463423b8c702223ba76e18d3b5.jpg","text":"TemporaryFile(/tmp/multipartBody2878852515059977933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155802897,"filename":"image_03112025_01_05_27_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/78054e5b462d121f84aa837b5248a107.jpg","text":"TemporaryFile(/tmp/multipartBody5633255888311313325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155802897,"filename":"image_03112025_01_05_51_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/3/930e4c3f3ba69ee26b5817610672e101.jpg","text":"TemporaryFile(/tmp/multipartBody6446722132032992381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155802897,"filename":"image_03112025_01_05_45_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003575","file1":"1392003571","file0":"1392003568","file4":"1392003582","file5":"1392003586","file3":"1392003579"},"map_files_photo_id_array":[{"photo_id":"1392003586","filename":"file5"},{"photo_id":"1392003575","filename":"file2"},{"photo_id":"1392003582","filename":"file4"},{"photo_id":"1392003571","filename":"file1"},{"photo_id":"1392003568","filename":"file0"},{"photo_id":"1392003579","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003575":["hashtag1","hashtag2"]},{"1392003586":["hashtag1","hashtag2"]},{"1392003571":["hashtag1","hashtag2"]},{"1392003568":["hashtag1","hashtag2"]},{"1392003582":["hashtag1","hashtag2"]},{"1392003579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003575, 1392003586, 1392003571, 1392003568, 1392003582, 1392003579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21922588348389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:43:02.973453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_24_2726.jpg', '/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_27_3657.jpg', '/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_30_2530.jpg', '/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_33_3020.jpg', '/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_36_2629.jpg', '/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_39_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_24_2726.jpg
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_27_3657.jpg
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_30_2530.jpg
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_33_3020.jpg
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_36_2629.jpg
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_39_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003609","1392003600","1392003603","1392003605","1392003614","1392003597"],"photo_ids_order":["1392003597","1392003600","1392003603","1392003605","1392003609","1392003614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fd924cdea83a805928d38b91b6012b1e.jpg","text":"TemporaryFile(/tmp/multipartBody599150239673552903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155843908,"filename":"image_03112025_01_06_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/3/779fce9a35c144eaefe69b1a31bf9880.jpg","text":"TemporaryFile(/tmp/multipartBody7146025436561692148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155843908,"filename":"image_03112025_01_06_27_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/3/ff968213b47d0110c354e085860a3743.jpg","text":"TemporaryFile(/tmp/multipartBody1931505560968295030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155843908,"filename":"image_03112025_01_06_30_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/3/143ed1db08bd438636a8eac07d4928d8.jpg","text":"TemporaryFile(/tmp/multipartBody6601874778043865972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155843908,"filename":"image_03112025_01_06_33_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/13cce762a8d4bc82183f33d5439d6bf8.jpg","text":"TemporaryFile(/tmp/multipartBody6981453559663804683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155843908,"filename":"image_03112025_01_06_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/3/a92ed52b88445a1591e1d9e420e21c2e.jpg","text":"TemporaryFile(/tmp/multipartBody6559994213924201726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155843908,"filename":"image_03112025_01_06_24_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003603","file1":"1392003600","file0":"1392003597","file4":"1392003609","file5":"1392003614","file3":"1392003605"},"map_files_photo_id_array":[{"photo_id":"1392003614","filename":"file5"},{"photo_id":"1392003603","filename":"file2"},{"photo_id":"1392003609","filename":"file4"},{"photo_id":"1392003600","filename":"file1"},{"photo_id":"1392003597","filename":"file0"},{"photo_id":"1392003605","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003609":["hashtag1","hashtag2"]},{"1392003600":["hashtag1","hashtag2"]},{"1392003603":["hashtag1","hashtag2"]},{"1392003605":["hashtag1","hashtag2"]},{"1392003614":["hashtag1","hashtag2"]},{"1392003597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003609, 1392003600, 1392003603, 1392003605, 1392003614, 1392003597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93575310707092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:43:42.348711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_42_2712.jpg', '/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_48_3653.jpg', '/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_51_2733.jpg', '/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_57_3681.jpg', '/home/pi/Desktop/images/03112025/01/06/image_03112025_01_07_00_2803.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_03_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_42_2712.jpg
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_48_3653.jpg
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_51_2733.jpg
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_06_57_3681.jpg
/home/pi/Desktop/images/03112025/01/06/image_03112025_01_07_00_2803.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_03_2771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003629","1392003638","1392003626","1392003631","1392003649","1392003628"],"photo_ids_order":["1392003626","1392003628","1392003629","1392003631","1392003638","1392003649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/207f38982ed7e3b70faa4732df2cc8b2.jpg","text":"TemporaryFile(/tmp/multipartBody659122055972317904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155883208,"filename":"image_03112025_01_06_51_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/3/e6ad622674a4139cb82e8853992d8d6a.jpg","text":"TemporaryFile(/tmp/multipartBody2626358765636034201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155883208,"filename":"image_03112025_01_07_00_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/3/dd39a0dc2b19100c9c81325cfb3d1ac6.jpg","text":"TemporaryFile(/tmp/multipartBody4564981986015136308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155883208,"filename":"image_03112025_01_06_42_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/20dbce4faaac3ccd55e5fce2e9618d28.jpg","text":"TemporaryFile(/tmp/multipartBody8293475930260988569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155883208,"filename":"image_03112025_01_06_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/3/7c420a9d8af673d34dc2e432ecc0cca5.jpg","text":"TemporaryFile(/tmp/multipartBody4817509021801597667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155883208,"filename":"image_03112025_01_07_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/3/23a3f8a6035e1ed3e97a07acd7ef55d4.jpg","text":"TemporaryFile(/tmp/multipartBody4033757293094308911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155883208,"filename":"image_03112025_01_06_48_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003629","file1":"1392003628","file0":"1392003626","file4":"1392003638","file5":"1392003649","file3":"1392003631"},"map_files_photo_id_array":[{"photo_id":"1392003649","filename":"file5"},{"photo_id":"1392003629","filename":"file2"},{"photo_id":"1392003638","filename":"file4"},{"photo_id":"1392003628","filename":"file1"},{"photo_id":"1392003626","filename":"file0"},{"photo_id":"1392003631","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003629":["hashtag1","hashtag2"]},{"1392003638":["hashtag1","hashtag2"]},{"1392003626":["hashtag1","hashtag2"]},{"1392003631":["hashtag1","hashtag2"]},{"1392003649":["hashtag1","hashtag2"]},{"1392003628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003629, 1392003638, 1392003626, 1392003631, 1392003649, 1392003628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79788374900818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:44:22.551902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_05_2522.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_12_2788.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_18_3610.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_21_2648.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_24_3533.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_27_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_05_2522.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_12_2788.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_18_3610.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_21_2648.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_24_3533.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_27_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003662","1392003676","1392003679","1392003673","1392003669","1392003684"],"photo_ids_order":["1392003662","1392003669","1392003673","1392003676","1392003679","1392003684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0f645d58cc3beb0bc24f421a095ddfc4.jpg","text":"TemporaryFile(/tmp/multipartBody6074435351704525849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155923292,"filename":"image_03112025_01_07_05_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/3/7609452d563e469689bb1727c1148dd7.jpg","text":"TemporaryFile(/tmp/multipartBody4194271194759370362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155923292,"filename":"image_03112025_01_07_21_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f06b6e73d1fbe8b2ec5d68a7d61de4f6.jpg","text":"TemporaryFile(/tmp/multipartBody344459926576381299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155923292,"filename":"image_03112025_01_07_24_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/3/e0942cf7ecea6df9d93c550d18a85028.jpg","text":"TemporaryFile(/tmp/multipartBody2130794594180728237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155923292,"filename":"image_03112025_01_07_18_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e47ccb92e3f7a220d8a18d1f1593d9ca.jpg","text":"TemporaryFile(/tmp/multipartBody6910164708913398773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155923292,"filename":"image_03112025_01_07_12_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/3/f9edfc8ff7820ed8492d20d67e18d0b3.jpg","text":"TemporaryFile(/tmp/multipartBody2785987661350797897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762155923292,"filename":"image_03112025_01_07_27_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003673","file1":"1392003669","file0":"1392003662","file4":"1392003679","file5":"1392003684","file3":"1392003676"},"map_files_photo_id_array":[{"photo_id":"1392003684","filename":"file5"},{"photo_id":"1392003673","filename":"file2"},{"photo_id":"1392003679","filename":"file4"},{"photo_id":"1392003669","filename":"file1"},{"photo_id":"1392003662","filename":"file0"},{"photo_id":"1392003676","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003662":["hashtag1","hashtag2"]},{"1392003676":["hashtag1","hashtag2"]},{"1392003679":["hashtag1","hashtag2"]},{"1392003673":["hashtag1","hashtag2"]},{"1392003669":["hashtag1","hashtag2"]},{"1392003684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003662, 1392003676, 1392003679, 1392003673, 1392003669, 1392003684)","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 = 1392003673 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_18_3610.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.80828666687012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:45:43.974760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_29_2623.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_38_2629.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_42_3675.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_51_3798.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_54_2531.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_57_2879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_29_2623.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_38_2629.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_42_3675.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_51_3798.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_54_2531.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_57_2879.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6489863395690918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:46:02.397990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_29_2623.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_38_2629.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_42_3675.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_51_3798.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_54_2531.jpg', '/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_57_2879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_29_2623.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_38_2629.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_42_3675.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_51_3798.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_54_2531.jpg
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_57_2879.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003750","1392003732","1392003746","1392003737","1392003739","1392003742"],"photo_ids_order":["1392003732","1392003737","1392003739","1392003742","1392003746","1392003750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a05df1309446176cc6e33f651be1563.jpg","text":"TemporaryFile(/tmp/multipartBody6453595418285446857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156023158,"filename":"image_03112025_01_07_57_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/3/30bcfbb2869c7dea952ff4f080588d65.jpg","text":"TemporaryFile(/tmp/multipartBody802113531493070370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156023158,"filename":"image_03112025_01_07_29_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/3/ddb2d92ea8b770ebdaa566a5f6756220.jpg","text":"TemporaryFile(/tmp/multipartBody1887249171406429908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156023158,"filename":"image_03112025_01_07_54_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/3/6c3c33a2914ac7e3d618d3466185dddb.jpg","text":"TemporaryFile(/tmp/multipartBody6878310871137593372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156023158,"filename":"image_03112025_01_07_38_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be21849fdeb2aefaf808847a6093bbbb.jpg","text":"TemporaryFile(/tmp/multipartBody2593678284983805461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156023158,"filename":"image_03112025_01_07_42_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/3/99f1aba210892c8b0e9de2fed9454739.jpg","text":"TemporaryFile(/tmp/multipartBody527515075204351357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156023158,"filename":"image_03112025_01_07_51_3798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003739","file1":"1392003737","file0":"1392003732","file4":"1392003746","file5":"1392003750","file3":"1392003742"},"map_files_photo_id_array":[{"photo_id":"1392003750","filename":"file5"},{"photo_id":"1392003739","filename":"file2"},{"photo_id":"1392003746","filename":"file4"},{"photo_id":"1392003737","filename":"file1"},{"photo_id":"1392003732","filename":"file0"},{"photo_id":"1392003742","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003750":["hashtag1","hashtag2"]},{"1392003732":["hashtag1","hashtag2"]},{"1392003746":["hashtag1","hashtag2"]},{"1392003737":["hashtag1","hashtag2"]},{"1392003739":["hashtag1","hashtag2"]},{"1392003742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003750, 1392003732, 1392003746, 1392003737, 1392003739, 1392003742)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.06201648712158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:47:05.908220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_59_2680.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_03_3711.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_06_2810.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_12_3709.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_27_2659.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_30_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/07/image_03112025_01_07_59_2680.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_03_3711.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_06_2810.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_12_3709.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_27_2659.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_30_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003797","1392003801","1392003779","1392003788","1392003784","1392003792"],"photo_ids_order":["1392003779","1392003784","1392003788","1392003792","1392003797","1392003801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/938c27e77a5448b03b6c282447c01772.jpg","text":"TemporaryFile(/tmp/multipartBody4636463085607868761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156086817,"filename":"image_03112025_01_08_27_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/3/e53b8d5823afa1b80d814439a7b10bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2213509540840326805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156086817,"filename":"image_03112025_01_08_30_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/3/4607f5b6904b2ef5e2e73a2ec1314bea.jpg","text":"TemporaryFile(/tmp/multipartBody4694510845698942438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156086817,"filename":"image_03112025_01_07_59_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/3/64570c5421fde9582c676815024b6a24.jpg","text":"TemporaryFile(/tmp/multipartBody3834956596723006015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156086817,"filename":"image_03112025_01_08_06_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/3/01f178243539ce534c59e1fe81d2d220.jpg","text":"TemporaryFile(/tmp/multipartBody7146854475410531502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156086817,"filename":"image_03112025_01_08_03_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/3/0fc932d7ba2d5634bd3d9c60c4d8ec03.jpg","text":"TemporaryFile(/tmp/multipartBody1749719387897668395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156086817,"filename":"image_03112025_01_08_12_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003788","file1":"1392003784","file0":"1392003779","file4":"1392003797","file5":"1392003801","file3":"1392003792"},"map_files_photo_id_array":[{"photo_id":"1392003801","filename":"file5"},{"photo_id":"1392003788","filename":"file2"},{"photo_id":"1392003797","filename":"file4"},{"photo_id":"1392003784","filename":"file1"},{"photo_id":"1392003779","filename":"file0"},{"photo_id":"1392003792","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003797":["hashtag1","hashtag2"]},{"1392003801":["hashtag1","hashtag2"]},{"1392003779":["hashtag1","hashtag2"]},{"1392003788":["hashtag1","hashtag2"]},{"1392003784":["hashtag1","hashtag2"]},{"1392003792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003797, 1392003801, 1392003779, 1392003788, 1392003784, 1392003792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.207836389541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:48:02.766669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 08:48:22.538710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_36_2554.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_38_2697.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_42_3674.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_45_2693.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_47_2671.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_51_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_36_2554.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_38_2697.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_42_3674.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_45_2693.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_47_2671.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_51_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003831","1392003828","1392003839","1392003824","1392003850","1392003844"],"photo_ids_order":["1392003824","1392003828","1392003831","1392003839","1392003844","1392003850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eefde38fad191781fc5bacb95da4618f.jpg","text":"TemporaryFile(/tmp/multipartBody4677726751436591846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156163224,"filename":"image_03112025_01_08_42_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/3/fc1b475de1cc27f1180ca515695b502d.jpg","text":"TemporaryFile(/tmp/multipartBody5336716357381717016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156163224,"filename":"image_03112025_01_08_38_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0b408ab82de854ced5aa1c5e425ac711.jpg","text":"TemporaryFile(/tmp/multipartBody7981968349033413443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156163224,"filename":"image_03112025_01_08_45_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/3/6af8f41ae749722fa391ec419049482b.jpg","text":"TemporaryFile(/tmp/multipartBody4620419898348833881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156163224,"filename":"image_03112025_01_08_36_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/3/b220d46a48ced3e804bc82b6a00181b4.jpg","text":"TemporaryFile(/tmp/multipartBody8924471524462736153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156163224,"filename":"image_03112025_01_08_51_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b50c18185ee5779a737cc428ff90db1f.jpg","text":"TemporaryFile(/tmp/multipartBody5903423458401597329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156163224,"filename":"image_03112025_01_08_47_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003831","file1":"1392003828","file0":"1392003824","file4":"1392003844","file5":"1392003850","file3":"1392003839"},"map_files_photo_id_array":[{"photo_id":"1392003850","filename":"file5"},{"photo_id":"1392003831","filename":"file2"},{"photo_id":"1392003844","filename":"file4"},{"photo_id":"1392003828","filename":"file1"},{"photo_id":"1392003824","filename":"file0"},{"photo_id":"1392003839","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003831":["hashtag1","hashtag2"]},{"1392003828":["hashtag1","hashtag2"]},{"1392003839":["hashtag1","hashtag2"]},{"1392003824":["hashtag1","hashtag2"]},{"1392003850":["hashtag1","hashtag2"]},{"1392003844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003831, 1392003828, 1392003839, 1392003824, 1392003850, 1392003844)","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 = 1392003831 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_42_3674.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392003831 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_42_3674.jpg";
uploaded 6 photos
time to upload: 63.91523766517639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:49:31.578654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_36_2554.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_38_2697.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_42_3674.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_45_2693.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_47_2671.jpg', '/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_51_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_36_2554.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_38_2697.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_42_3674.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_45_2693.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_47_2671.jpg
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_08_51_3622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003896","1392003890","1392003878","1392003887","1392003892","1392003883"],"photo_ids_order":["1392003878","1392003883","1392003887","1392003890","1392003892","1392003896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3609de56ecbe8886effdc794d2811ddf.jpg","text":"TemporaryFile(/tmp/multipartBody3960004980809929394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156232355,"filename":"image_03112025_01_08_51_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ba61a73954fbb8f8e6704a54b7a39e0.jpg","text":"TemporaryFile(/tmp/multipartBody8467006142001524078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156232355,"filename":"image_03112025_01_08_45_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/3/4eca9da08c6d68fc2f917c0881a68cbc.jpg","text":"TemporaryFile(/tmp/multipartBody7787741983481975808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156232355,"filename":"image_03112025_01_08_36_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/3/90627e40e3ebbed6c0f23bebcaf09046.jpg","text":"TemporaryFile(/tmp/multipartBody6641209130599096870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156232355,"filename":"image_03112025_01_08_42_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/3/9a44393ec482ec9ed29c7bd27b5e6ab1.jpg","text":"TemporaryFile(/tmp/multipartBody7757362820582920978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156232355,"filename":"image_03112025_01_08_47_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/658cd78568876ca8b2f651f1efb5d431.jpg","text":"TemporaryFile(/tmp/multipartBody1600458551857272704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156232355,"filename":"image_03112025_01_08_38_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003887","file1":"1392003883","file0":"1392003878","file4":"1392003892","file5":"1392003896","file3":"1392003890"},"map_files_photo_id_array":[{"photo_id":"1392003896","filename":"file5"},{"photo_id":"1392003887","filename":"file2"},{"photo_id":"1392003892","filename":"file4"},{"photo_id":"1392003883","filename":"file1"},{"photo_id":"1392003878","filename":"file0"},{"photo_id":"1392003890","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003896":["hashtag1","hashtag2"]},{"1392003890":["hashtag1","hashtag2"]},{"1392003878":["hashtag1","hashtag2"]},{"1392003887":["hashtag1","hashtag2"]},{"1392003892":["hashtag1","hashtag2"]},{"1392003883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003896, 1392003890, 1392003878, 1392003887, 1392003892, 1392003883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.51016426086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:50:22.527469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/08/image_03112025_01_09_00_3647.jpg', '/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_03_2765.jpg', '/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_08_2828.jpg', '/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_12_3604.jpg', '/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_39_3765.jpg', '/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_45_5965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/08/image_03112025_01_09_00_3647.jpg
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_03_2765.jpg
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_08_2828.jpg
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_12_3604.jpg
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_39_3765.jpg
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_45_5965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392003930","1392003926","1392003973","1392003928","1392003922","1392003916"],"photo_ids_order":["1392003916","1392003922","1392003926","1392003928","1392003930","1392003973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01bf1ef9f23ccdf63cdef0d452adfab9.jpg","text":"TemporaryFile(/tmp/multipartBody7535419107418083126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156283248,"filename":"image_03112025_01_09_39_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/3/1636ee22e776c49628840a9caa2a624b.jpg","text":"TemporaryFile(/tmp/multipartBody2516247266490922174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156283248,"filename":"image_03112025_01_09_08_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/3/8f30eec4f526b55bf79e45a7c9f3ab39.jpg","text":"TemporaryFile(/tmp/multipartBody253175734797269969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156283248,"filename":"image_03112025_01_09_45_5965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3473e24fc9c027729d6e9ff029906d87.jpg","text":"TemporaryFile(/tmp/multipartBody8383617449136232470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156283248,"filename":"image_03112025_01_09_12_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/3/fbad26cdd3384fd57b83db30d9c52f4c.jpg","text":"TemporaryFile(/tmp/multipartBody8246094794662287654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156283248,"filename":"image_03112025_01_09_03_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/3/b4cd5614a0b04c09aca6711c77baa107.jpg","text":"TemporaryFile(/tmp/multipartBody2666125007176420200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156283248,"filename":"image_03112025_01_09_00_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392003926","file1":"1392003922","file0":"1392003916","file4":"1392003930","file5":"1392003973","file3":"1392003928"},"map_files_photo_id_array":[{"photo_id":"1392003973","filename":"file5"},{"photo_id":"1392003926","filename":"file2"},{"photo_id":"1392003930","filename":"file4"},{"photo_id":"1392003922","filename":"file1"},{"photo_id":"1392003916","filename":"file0"},{"photo_id":"1392003928","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392003930":["hashtag1","hashtag2"]},{"1392003926":["hashtag1","hashtag2"]},{"1392003973":["hashtag1","hashtag2"]},{"1392003928":["hashtag1","hashtag2"]},{"1392003922":["hashtag1","hashtag2"]},{"1392003916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392003930, 1392003926, 1392003973, 1392003928, 1392003922, 1392003916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37401843070984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:51:03.359667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_47_1658.jpg', '/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_51_2640.jpg', '/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_54_2709.jpg', '/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_56_2711.jpg', '/home/pi/Desktop/images/03112025/01/09/image_03112025_01_10_00_3617.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_03_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_47_1658.jpg
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_51_2640.jpg
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_54_2709.jpg
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_09_56_2711.jpg
/home/pi/Desktop/images/03112025/01/09/image_03112025_01_10_00_3617.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_03_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":["1392004057","1392004030","1392003997","1392004021","1392004035","1392004014"],"photo_ids_order":["1392003997","1392004014","1392004021","1392004030","1392004035","1392004057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0190fda852562a5971b9a3e0752a1cc8.jpg","text":"TemporaryFile(/tmp/multipartBody6236386894982920876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156324237,"filename":"image_03112025_01_10_03_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/3/17caad4f409cf35921d55fefb42e5805.jpg","text":"TemporaryFile(/tmp/multipartBody4428359422589939784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156324237,"filename":"image_03112025_01_09_56_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/3/cdbb02099a847106a46138f012192d4b.jpg","text":"TemporaryFile(/tmp/multipartBody7891934625001030128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156324237,"filename":"image_03112025_01_09_47_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/3/39785aa54bafa52d94d7a08718f178d0.jpg","text":"TemporaryFile(/tmp/multipartBody6704092182414035504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156324237,"filename":"image_03112025_01_09_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/3/1903f5aac90c2193b73ee75d84395b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2400436121116801864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156324237,"filename":"image_03112025_01_10_00_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/3/6803257252ce9ef57b6e6141677f78d8.jpg","text":"TemporaryFile(/tmp/multipartBody2787659257061463223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156324237,"filename":"image_03112025_01_09_51_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004021","file1":"1392004014","file0":"1392003997","file4":"1392004035","file5":"1392004057","file3":"1392004030"},"map_files_photo_id_array":[{"photo_id":"1392004057","filename":"file5"},{"photo_id":"1392004021","filename":"file2"},{"photo_id":"1392004035","filename":"file4"},{"photo_id":"1392004014","filename":"file1"},{"photo_id":"1392003997","filename":"file0"},{"photo_id":"1392004030","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004057":["hashtag1","hashtag2"]},{"1392004030":["hashtag1","hashtag2"]},{"1392003997":["hashtag1","hashtag2"]},{"1392004021":["hashtag1","hashtag2"]},{"1392004035":["hashtag1","hashtag2"]},{"1392004014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004057, 1392004030, 1392003997, 1392004021, 1392004035, 1392004014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8040976524353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:52:02.499205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_06_2844.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_12_3735.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_15_2704.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_17_2767.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_24_3665.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_39_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_06_2844.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_12_3735.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_15_2704.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_17_2767.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_24_3665.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_39_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392004094","1392004097","1392004112","1392004100","1392004103","1392004108"],"photo_ids_order":["1392004094","1392004097","1392004100","1392004103","1392004108","1392004112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5044c761e43e9effabb4b44e79b048ae.jpg","text":"TemporaryFile(/tmp/multipartBody7816559071071077826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156383307,"filename":"image_03112025_01_10_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/3/4b5043a0a056e0ae59dc82451ac6ce61.jpg","text":"TemporaryFile(/tmp/multipartBody7864944926138480765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156383307,"filename":"image_03112025_01_10_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/3/3f8f148da274b6de60cfedb1ff2e31a5.jpg","text":"TemporaryFile(/tmp/multipartBody2710128568080271297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156383307,"filename":"image_03112025_01_10_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/3/48df98666dfc7ec913aaa2d247b60ede.jpg","text":"TemporaryFile(/tmp/multipartBody2987848691819559282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156383307,"filename":"image_03112025_01_10_15_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/3/5cf72a4e61e7458b25e274fc1a6bd305.jpg","text":"TemporaryFile(/tmp/multipartBody2746677104140772974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156383307,"filename":"image_03112025_01_10_17_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/3/6615fdcd258cd5da8919935abdb7554c.jpg","text":"TemporaryFile(/tmp/multipartBody8591441289259524053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156383307,"filename":"image_03112025_01_10_24_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004100","file1":"1392004097","file0":"1392004094","file4":"1392004108","file5":"1392004112","file3":"1392004103"},"map_files_photo_id_array":[{"photo_id":"1392004112","filename":"file5"},{"photo_id":"1392004100","filename":"file2"},{"photo_id":"1392004108","filename":"file4"},{"photo_id":"1392004097","filename":"file1"},{"photo_id":"1392004094","filename":"file0"},{"photo_id":"1392004103","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004094":["hashtag1","hashtag2"]},{"1392004097":["hashtag1","hashtag2"]},{"1392004112":["hashtag1","hashtag2"]},{"1392004100":["hashtag1","hashtag2"]},{"1392004103":["hashtag1","hashtag2"]},{"1392004108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004094, 1392004097, 1392004112, 1392004100, 1392004103, 1392004108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11361742019653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:52:42.013406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_41_2660.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_44_2712.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_47_2831.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_54_2989.jpg', '/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_59_2644.jpg', '/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_08_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_41_2660.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_44_2712.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_47_2831.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_54_2989.jpg
/home/pi/Desktop/images/03112025/01/10/image_03112025_01_10_59_2644.jpg
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_08_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392004130","1392004127","1392004147","1392004129","1392004123","1392004140"],"photo_ids_order":["1392004123","1392004127","1392004129","1392004130","1392004140","1392004147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8c504bcb612f2a6755ed09fd3e7594f1.jpg","text":"TemporaryFile(/tmp/multipartBody2114325018742132275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156422882,"filename":"image_03112025_01_10_54_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/3/b3806633eb8fe01efe13de40b3240cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7338176130469412061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156422882,"filename":"image_03112025_01_10_44_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/3/a08ea75d41a35444f251c42887a0deb9.jpg","text":"TemporaryFile(/tmp/multipartBody4385694966749982555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156422882,"filename":"image_03112025_01_11_08_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/3/84487b06d8fe060b789626a90ea5c989.jpg","text":"TemporaryFile(/tmp/multipartBody7049355489756836355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156422882,"filename":"image_03112025_01_10_47_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/3/769c62da5af2e43f7e37d64d77b4232e.jpg","text":"TemporaryFile(/tmp/multipartBody8404297177557367996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156422882,"filename":"image_03112025_01_10_41_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/3/67ab6c4824472c9dbaaac3d5bee725e8.jpg","text":"TemporaryFile(/tmp/multipartBody1324432276303162631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156422882,"filename":"image_03112025_01_10_59_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004129","file1":"1392004127","file0":"1392004123","file4":"1392004140","file5":"1392004147","file3":"1392004130"},"map_files_photo_id_array":[{"photo_id":"1392004147","filename":"file5"},{"photo_id":"1392004129","filename":"file2"},{"photo_id":"1392004140","filename":"file4"},{"photo_id":"1392004127","filename":"file1"},{"photo_id":"1392004123","filename":"file0"},{"photo_id":"1392004130","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004130":["hashtag1","hashtag2"]},{"1392004127":["hashtag1","hashtag2"]},{"1392004147":["hashtag1","hashtag2"]},{"1392004129":["hashtag1","hashtag2"]},{"1392004123":["hashtag1","hashtag2"]},{"1392004140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004130, 1392004127, 1392004147, 1392004129, 1392004123, 1392004140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41787815093994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:53:22.312684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_15_3592.jpg', '/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_26_2677.jpg', '/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_29_2707.jpg', '/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_33_3621.jpg', '/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_44_2588.jpg', '/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_48_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_15_3592.jpg
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_26_2677.jpg
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_29_2707.jpg
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_33_3621.jpg
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_44_2588.jpg
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_48_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392004175","1392004160","1392004178","1392004165","1392004170","1392004173"],"photo_ids_order":["1392004160","1392004165","1392004170","1392004173","1392004175","1392004178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d91c223437679c5c3de4c033d3143b38.jpg","text":"TemporaryFile(/tmp/multipartBody7874448482779023098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156463041,"filename":"image_03112025_01_11_44_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/3/4da99e665c3f6fb2b3dbb80d2ef294fd.jpg","text":"TemporaryFile(/tmp/multipartBody5350861883830480348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156463041,"filename":"image_03112025_01_11_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/3/4feb3a9270a31bd0efc24784df673467.jpg","text":"TemporaryFile(/tmp/multipartBody7968897656804349478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156463041,"filename":"image_03112025_01_11_48_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/3/b1a7b45a42bf3e9ae270c8ea3f692410.jpg","text":"TemporaryFile(/tmp/multipartBody8459966353523028045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156463041,"filename":"image_03112025_01_11_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/3/63276b0c9ee40c4696935cb5fdb902a7.jpg","text":"TemporaryFile(/tmp/multipartBody4141714175826897189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156463041,"filename":"image_03112025_01_11_29_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/532515286691e556433a87409c37c528.jpg","text":"TemporaryFile(/tmp/multipartBody5373162726563609529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156463041,"filename":"image_03112025_01_11_33_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004170","file1":"1392004165","file0":"1392004160","file4":"1392004175","file5":"1392004178","file3":"1392004173"},"map_files_photo_id_array":[{"photo_id":"1392004178","filename":"file5"},{"photo_id":"1392004170","filename":"file2"},{"photo_id":"1392004175","filename":"file4"},{"photo_id":"1392004165","filename":"file1"},{"photo_id":"1392004160","filename":"file0"},{"photo_id":"1392004173","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004175":["hashtag1","hashtag2"]},{"1392004160":["hashtag1","hashtag2"]},{"1392004178":["hashtag1","hashtag2"]},{"1392004165":["hashtag1","hashtag2"]},{"1392004170":["hashtag1","hashtag2"]},{"1392004173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004175, 1392004160, 1392004178, 1392004165, 1392004170, 1392004173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.067580699920654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:54:03.165863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_53_2739.jpg', '/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_57_3719.jpg', '/home/pi/Desktop/images/03112025/01/11/image_03112025_01_12_00_2702.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_02_2887.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_05_2813.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_12_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_53_2739.jpg
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_11_57_3719.jpg
/home/pi/Desktop/images/03112025/01/11/image_03112025_01_12_00_2702.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_02_2887.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_05_2813.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_12_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392004190","1392004183","1392004202","1392004186","1392004194","1392004197"],"photo_ids_order":["1392004183","1392004186","1392004190","1392004194","1392004197","1392004202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3225034afc3d5d2709ae7323b9967bf8.jpg","text":"TemporaryFile(/tmp/multipartBody914941151527855627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156504124,"filename":"image_03112025_01_12_00_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/3/54e89d8ae30ae851f7623c8ad66fbd18.jpg","text":"TemporaryFile(/tmp/multipartBody723639958261018850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156504124,"filename":"image_03112025_01_11_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/3/113a7ca503e4467199259f09c46a2cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6968193843195182179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156504124,"filename":"image_03112025_01_12_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/3/add12ede6c76729b9f7743f750b9ffe2.jpg","text":"TemporaryFile(/tmp/multipartBody7201085796518658671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156504124,"filename":"image_03112025_01_11_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/3/48a4e62781bfb91ab661de36a0c1953a.jpg","text":"TemporaryFile(/tmp/multipartBody8698188058216036369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156504124,"filename":"image_03112025_01_12_02_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/3/ae4d5ac2234b936168aee246394c3443.jpg","text":"TemporaryFile(/tmp/multipartBody3487231836765306238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156504124,"filename":"image_03112025_01_12_05_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004190","file1":"1392004186","file0":"1392004183","file4":"1392004197","file5":"1392004202","file3":"1392004194"},"map_files_photo_id_array":[{"photo_id":"1392004202","filename":"file5"},{"photo_id":"1392004190","filename":"file2"},{"photo_id":"1392004197","filename":"file4"},{"photo_id":"1392004186","filename":"file1"},{"photo_id":"1392004183","filename":"file0"},{"photo_id":"1392004194","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004190":["hashtag1","hashtag2"]},{"1392004183":["hashtag1","hashtag2"]},{"1392004202":["hashtag1","hashtag2"]},{"1392004186":["hashtag1","hashtag2"]},{"1392004194":["hashtag1","hashtag2"]},{"1392004197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004190, 1392004183, 1392004202, 1392004186, 1392004194, 1392004197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.449142932891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:54:42.510538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_17_2668.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_21_3763.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_26_2625.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_29_2766.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_35_2689.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_38_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_17_2668.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_21_3763.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_26_2625.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_29_2766.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_35_2689.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_38_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392004218","1392004223","1392004220","1392004237","1392004222","1392004215"],"photo_ids_order":["1392004215","1392004218","1392004220","1392004222","1392004223","1392004237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/79b1b6fe257fb40ac971fe8d37935c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2813036148164480097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156543327,"filename":"image_03112025_01_12_21_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/3/5964d17be38fb41cd0eda004a2996848.jpg","text":"TemporaryFile(/tmp/multipartBody1251060996026734042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156543327,"filename":"image_03112025_01_12_35_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/3/b4e40e8b5d7996459552f0b105f120d8.jpg","text":"TemporaryFile(/tmp/multipartBody3393885438570131347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156543327,"filename":"image_03112025_01_12_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/3/d6a39f85b38bee5f65a9556f737ab5b1.jpg","text":"TemporaryFile(/tmp/multipartBody180196349935808276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156543327,"filename":"image_03112025_01_12_38_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/3/1e35e8708d4c91b97626b1a3af6d2b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8909515603176803489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156543327,"filename":"image_03112025_01_12_29_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/3/c96f5152e19d29e23c030a3dd4ee44b4.jpg","text":"TemporaryFile(/tmp/multipartBody3645713796811207772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156543327,"filename":"image_03112025_01_12_17_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004220","file1":"1392004218","file0":"1392004215","file4":"1392004223","file5":"1392004237","file3":"1392004222"},"map_files_photo_id_array":[{"photo_id":"1392004237","filename":"file5"},{"photo_id":"1392004220","filename":"file2"},{"photo_id":"1392004223","filename":"file4"},{"photo_id":"1392004218","filename":"file1"},{"photo_id":"1392004215","filename":"file0"},{"photo_id":"1392004222","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004218":["hashtag1","hashtag2"]},{"1392004223":["hashtag1","hashtag2"]},{"1392004220":["hashtag1","hashtag2"]},{"1392004237":["hashtag1","hashtag2"]},{"1392004222":["hashtag1","hashtag2"]},{"1392004215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004218, 1392004223, 1392004220, 1392004237, 1392004222, 1392004215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71551537513733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:55:22.605476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_42_4455.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_44_1670.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_53_2680.jpg', '/home/pi/Desktop/images/03112025/01/12/image_03112025_01_13_00_3734.jpg', '/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_09_3549.jpg', '/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_11_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_42_4455.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_44_1670.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_12_53_2680.jpg
/home/pi/Desktop/images/03112025/01/12/image_03112025_01_13_00_3734.jpg
/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_09_3549.jpg
/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_11_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392004274","1392004265","1392004272","1392004269","1392004260","1392004254"],"photo_ids_order":["1392004254","1392004260","1392004265","1392004269","1392004272","1392004274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/69ffa369b5cca885fcfbb7327bae0d12.jpg","text":"TemporaryFile(/tmp/multipartBody2802013674129611646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156583399,"filename":"image_03112025_01_13_11_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/3/780470808ce393fe6efb3da0e38ff394.jpg","text":"TemporaryFile(/tmp/multipartBody6827625890406368252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156583399,"filename":"image_03112025_01_12_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/3/8b3d0c5e3dce84b6926f5ea9aec91ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4556658134003545369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156583399,"filename":"image_03112025_01_13_09_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/3/726fe7458e12c55620298173360748db.jpg","text":"TemporaryFile(/tmp/multipartBody6193225176051424674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156583399,"filename":"image_03112025_01_13_00_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/3/f53552feefa52bf7aa7a0dd9bf4bfe4e.jpg","text":"TemporaryFile(/tmp/multipartBody376418105336437533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156583399,"filename":"image_03112025_01_12_44_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/3/c2e6046ce27e713bc44c5c86590df875.jpg","text":"TemporaryFile(/tmp/multipartBody5919854885997572216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156583399,"filename":"image_03112025_01_12_42_4455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004265","file1":"1392004260","file0":"1392004254","file4":"1392004272","file5":"1392004274","file3":"1392004269"},"map_files_photo_id_array":[{"photo_id":"1392004274","filename":"file5"},{"photo_id":"1392004265","filename":"file2"},{"photo_id":"1392004272","filename":"file4"},{"photo_id":"1392004260","filename":"file1"},{"photo_id":"1392004254","filename":"file0"},{"photo_id":"1392004269","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004274":["hashtag1","hashtag2"]},{"1392004265":["hashtag1","hashtag2"]},{"1392004272":["hashtag1","hashtag2"]},{"1392004269":["hashtag1","hashtag2"]},{"1392004260":["hashtag1","hashtag2"]},{"1392004254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004274, 1392004265, 1392004272, 1392004269, 1392004260, 1392004254)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.90755271911621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 08:56:21.881912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_18_3762.jpg', '/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_20_2714.jpg', '/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_27_3580.jpg', '/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_56_2720.jpg', '/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_02_3557.jpg', '/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_08_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_18_3762.jpg
/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_20_2714.jpg
/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_27_3580.jpg
/home/pi/Desktop/images/03112025/01/13/image_03112025_01_13_56_2720.jpg
/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_02_3557.jpg
/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_08_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392004302","1392004289","1392004294","1392004315","1392004308","1392004298"],"photo_ids_order":["1392004289","1392004294","1392004298","1392004302","1392004308","1392004315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3bae27f6c5c89c05308fdb3aed5c5fdd.jpg","text":"TemporaryFile(/tmp/multipartBody9191586516579475806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156642567,"filename":"image_03112025_01_13_56_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/3/4a7a5aaf258b34687d9fcc6151e2abfb.jpg","text":"TemporaryFile(/tmp/multipartBody7691877458712752146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156642567,"filename":"image_03112025_01_13_18_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/3/2712b73c13c2cd0acccc1da5eb895471.jpg","text":"TemporaryFile(/tmp/multipartBody280461507436592901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156642567,"filename":"image_03112025_01_13_20_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/3/10772d0bea84de64c14c1d1b39055d2c.jpg","text":"TemporaryFile(/tmp/multipartBody293384129056063854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156642567,"filename":"image_03112025_01_14_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/3/61eee4bb9709aa72bb273d0e22495a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2781118764733173305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156642567,"filename":"image_03112025_01_14_02_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3e30ae6fc85f27cb774a637ebc91726d.jpg","text":"TemporaryFile(/tmp/multipartBody4074317959728766707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156642567,"filename":"image_03112025_01_13_27_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004298","file1":"1392004294","file0":"1392004289","file4":"1392004308","file5":"1392004315","file3":"1392004302"},"map_files_photo_id_array":[{"photo_id":"1392004315","filename":"file5"},{"photo_id":"1392004298","filename":"file2"},{"photo_id":"1392004308","filename":"file4"},{"photo_id":"1392004294","filename":"file1"},{"photo_id":"1392004289","filename":"file0"},{"photo_id":"1392004302","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004302":["hashtag1","hashtag2"]},{"1392004289":["hashtag1","hashtag2"]},{"1392004294":["hashtag1","hashtag2"]},{"1392004315":["hashtag1","hashtag2"]},{"1392004308":["hashtag1","hashtag2"]},{"1392004298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004302, 1392004289, 1392004294, 1392004315, 1392004308, 1392004298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0775830745697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:57:02.829747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_14_2627.jpg', '/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_23_2653.jpg', '/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_26_2715.jpg', '/home/pi/Desktop/images/03112025/01/15/image_03112025_01_15_02_2674.jpg', '/home/pi/Desktop/images/03112025/01/15/image_03112025_01_15_05_3106.jpg', '/home/pi/Desktop/images/03112025/01/15/image_03112025_01_15_32_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_14_2627.jpg
/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_23_2653.jpg
/home/pi/Desktop/images/03112025/01/14/image_03112025_01_14_26_2715.jpg
/home/pi/Desktop/images/03112025/01/15/image_03112025_01_15_02_2674.jpg
/home/pi/Desktop/images/03112025/01/15/image_03112025_01_15_05_3106.jpg
/home/pi/Desktop/images/03112025/01/15/image_03112025_01_15_32_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392004331","1392004345","1392004327","1392004342","1392004338","1392004335"],"photo_ids_order":["1392004327","1392004331","1392004335","1392004338","1392004342","1392004345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ebf98491582dece8838d5bbbcf35527.jpg","text":"TemporaryFile(/tmp/multipartBody7002695336655981497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156683702,"filename":"image_03112025_01_14_23_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/3/3498532a55c35cd599b20340b6393aff.jpg","text":"TemporaryFile(/tmp/multipartBody2428780063428624413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156683702,"filename":"image_03112025_01_15_32_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/3/773a90832dd130bbda9246f7a77e99ff.jpg","text":"TemporaryFile(/tmp/multipartBody6519971199272078337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156683702,"filename":"image_03112025_01_14_14_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2fae1794a5ab2e0f49e024d3dcad1482.jpg","text":"TemporaryFile(/tmp/multipartBody5950516185222241708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156683702,"filename":"image_03112025_01_15_05_3106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/09cda67ddfa505755cb498e016ddbed9.jpg","text":"TemporaryFile(/tmp/multipartBody2335407654584439580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156683702,"filename":"image_03112025_01_15_02_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/3/5971048f93e388b07088ed1b9f6a8892.jpg","text":"TemporaryFile(/tmp/multipartBody5711806320161993015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156683702,"filename":"image_03112025_01_14_26_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004335","file1":"1392004331","file0":"1392004327","file4":"1392004342","file5":"1392004345","file3":"1392004338"},"map_files_photo_id_array":[{"photo_id":"1392004345","filename":"file5"},{"photo_id":"1392004335","filename":"file2"},{"photo_id":"1392004342","filename":"file4"},{"photo_id":"1392004331","filename":"file1"},{"photo_id":"1392004327","filename":"file0"},{"photo_id":"1392004338","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004331":["hashtag1","hashtag2"]},{"1392004345":["hashtag1","hashtag2"]},{"1392004327":["hashtag1","hashtag2"]},{"1392004342":["hashtag1","hashtag2"]},{"1392004338":["hashtag1","hashtag2"]},{"1392004335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004331, 1392004345, 1392004327, 1392004342, 1392004338, 1392004335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84313178062439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 08:57:42.113356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/16/image_03112025_01_16_02_2594.jpg', '/home/pi/Desktop/images/03112025/01/16/image_03112025_01_16_05_2688.jpg', '/home/pi/Desktop/images/03112025/01/17/image_03112025_01_17_26_3594.jpg', '/home/pi/Desktop/images/03112025/01/17/image_03112025_01_17_31_2671.jpg', '/home/pi/Desktop/images/03112025/01/17/image_03112025_01_17_35_3708.jpg', '/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_13_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/16/image_03112025_01_16_02_2594.jpg
/home/pi/Desktop/images/03112025/01/16/image_03112025_01_16_05_2688.jpg
/home/pi/Desktop/images/03112025/01/17/image_03112025_01_17_26_3594.jpg
/home/pi/Desktop/images/03112025/01/17/image_03112025_01_17_31_2671.jpg
/home/pi/Desktop/images/03112025/01/17/image_03112025_01_17_35_3708.jpg
/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_13_2715.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392004367","1392004363","1392004369","1392004365","1392004359","1392004368"],"photo_ids_order":["1392004359","1392004363","1392004365","1392004367","1392004368","1392004369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/10a492c6fbeb09b2735d82acc7efc250.jpg","text":"TemporaryFile(/tmp/multipartBody4904220481877110152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156722912,"filename":"image_03112025_01_17_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/3/c0fd07e54d2ad2258e2257d606d34210.jpg","text":"TemporaryFile(/tmp/multipartBody4495896968600773751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156722912,"filename":"image_03112025_01_16_05_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/83bff1473ed9358e99e8acc2b7fc0566.jpg","text":"TemporaryFile(/tmp/multipartBody853242632203054417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156722912,"filename":"image_03112025_01_18_13_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97d43d39e281dffaeea552b8744b4437.jpg","text":"TemporaryFile(/tmp/multipartBody5140723569593129857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156722912,"filename":"image_03112025_01_17_26_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/3/45a5b0601f0a68ad44f7d9211701e7c8.jpg","text":"TemporaryFile(/tmp/multipartBody3829864844482945753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156722912,"filename":"image_03112025_01_16_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/3/a9b41027848baa0e8e0b3ea1ca8b1584.jpg","text":"TemporaryFile(/tmp/multipartBody7485459853895223367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156722912,"filename":"image_03112025_01_17_35_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004365","file1":"1392004363","file0":"1392004359","file4":"1392004368","file5":"1392004369","file3":"1392004367"},"map_files_photo_id_array":[{"photo_id":"1392004369","filename":"file5"},{"photo_id":"1392004365","filename":"file2"},{"photo_id":"1392004368","filename":"file4"},{"photo_id":"1392004363","filename":"file1"},{"photo_id":"1392004359","filename":"file0"},{"photo_id":"1392004367","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004367":["hashtag1","hashtag2"]},{"1392004363":["hashtag1","hashtag2"]},{"1392004369":["hashtag1","hashtag2"]},{"1392004365":["hashtag1","hashtag2"]},{"1392004359":["hashtag1","hashtag2"]},{"1392004368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004367, 1392004363, 1392004369, 1392004365, 1392004359, 1392004368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94737911224365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 08:59:03.363054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_22_2549.jpg', '/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_26_3720.jpg', '/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_29_2624.jpg', '/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_53_3081.jpg', '/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_59_3659.jpg', '/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_34_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_22_2549.jpg
/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_26_3720.jpg
/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_29_2624.jpg
/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_53_3081.jpg
/home/pi/Desktop/images/03112025/01/18/image_03112025_01_18_59_3659.jpg
/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_34_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":["1392004592","1392004642","1392004738","1392004549","1392004683","1392004506"],"photo_ids_order":["1392004506","1392004549","1392004592","1392004642","1392004683","1392004738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f67c20a0e894a0e11df4168a680e8838.jpg","text":"TemporaryFile(/tmp/multipartBody943817399675784716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156804388,"filename":"image_03112025_01_18_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/3/8d29e57f84554085dde9a6138ca1674a.jpg","text":"TemporaryFile(/tmp/multipartBody3991279336710276313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156804388,"filename":"image_03112025_01_18_53_3081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a98b65a23211244d78b0e269faf9d09e.jpg","text":"TemporaryFile(/tmp/multipartBody4034159095818706813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156804388,"filename":"image_03112025_01_19_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/3/c7d06aab454312af53d1fbca734932dc.jpg","text":"TemporaryFile(/tmp/multipartBody1516366249644498867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156804388,"filename":"image_03112025_01_18_26_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/3/7ab35ebb50c70a03e29900fd8ae832f8.jpg","text":"TemporaryFile(/tmp/multipartBody3243420442940755780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156804388,"filename":"image_03112025_01_18_59_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/3/185f1155f65e98afdb24d52f75d5ea0e.jpg","text":"TemporaryFile(/tmp/multipartBody8175817295506623775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156804388,"filename":"image_03112025_01_18_22_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392004592","file1":"1392004549","file0":"1392004506","file4":"1392004683","file5":"1392004738","file3":"1392004642"},"map_files_photo_id_array":[{"photo_id":"1392004738","filename":"file5"},{"photo_id":"1392004592","filename":"file2"},{"photo_id":"1392004683","filename":"file4"},{"photo_id":"1392004549","filename":"file1"},{"photo_id":"1392004506","filename":"file0"},{"photo_id":"1392004642","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392004592":["hashtag1","hashtag2"]},{"1392004642":["hashtag1","hashtag2"]},{"1392004738":["hashtag1","hashtag2"]},{"1392004549":["hashtag1","hashtag2"]},{"1392004683":["hashtag1","hashtag2"]},{"1392004506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392004592, 1392004642, 1392004738, 1392004549, 1392004683, 1392004506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6748902797699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:00:03.239225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_38_3607.jpg', '/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_40_2713.jpg', '/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_47_3652.jpg', '/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_49_2592.jpg', '/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_52_2731.jpg', '/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_56_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_38_3607.jpg
/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_40_2713.jpg
/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_47_3652.jpg
/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_49_2592.jpg
/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_52_2731.jpg
/home/pi/Desktop/images/03112025/01/19/image_03112025_01_19_56_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392005042","1392005051","1392005045","1392005038","1392005055","1392005048"],"photo_ids_order":["1392005038","1392005042","1392005045","1392005048","1392005051","1392005055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7039720aa26c34503aafd20dff2baeac.jpg","text":"TemporaryFile(/tmp/multipartBody1318426320830070062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156864037,"filename":"image_03112025_01_19_40_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/3/cf0b45d66d0641d56c5607e00688c53c.jpg","text":"TemporaryFile(/tmp/multipartBody7269210283537692009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156864037,"filename":"image_03112025_01_19_52_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1876ad0a6c6fa1d089efd3d15a4131bc.jpg","text":"TemporaryFile(/tmp/multipartBody2221826363379916704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156864037,"filename":"image_03112025_01_19_47_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/3/88fd3d38f899976834eb2977832648b5.jpg","text":"TemporaryFile(/tmp/multipartBody989814118678450519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156864037,"filename":"image_03112025_01_19_38_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/3/accb08f9fc37a0ca0628ba4cbe7ccf65.jpg","text":"TemporaryFile(/tmp/multipartBody2327280680568457637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156864037,"filename":"image_03112025_01_19_56_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/3/c9bb318641a0f0b5ae6e8a4cee9e38d6.jpg","text":"TemporaryFile(/tmp/multipartBody6891682821541864326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156864037,"filename":"image_03112025_01_19_49_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392005045","file1":"1392005042","file0":"1392005038","file4":"1392005051","file5":"1392005055","file3":"1392005048"},"map_files_photo_id_array":[{"photo_id":"1392005055","filename":"file5"},{"photo_id":"1392005045","filename":"file2"},{"photo_id":"1392005051","filename":"file4"},{"photo_id":"1392005042","filename":"file1"},{"photo_id":"1392005038","filename":"file0"},{"photo_id":"1392005048","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392005042":["hashtag1","hashtag2"]},{"1392005051":["hashtag1","hashtag2"]},{"1392005045":["hashtag1","hashtag2"]},{"1392005038":["hashtag1","hashtag2"]},{"1392005055":["hashtag1","hashtag2"]},{"1392005048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392005042, 1392005051, 1392005045, 1392005038, 1392005055, 1392005048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.203906536102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:00:42.850974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_01_2762.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_07_2675.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_10_2762.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_17_2789.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_26_3722.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_29_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_01_2762.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_07_2675.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_10_2762.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_17_2789.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_26_3722.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_29_2753.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6933553218841553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:01:02.837854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_01_2762.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_07_2675.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_10_2762.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_17_2789.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_26_3722.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_29_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_01_2762.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_07_2675.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_10_2762.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_17_2789.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_26_3722.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_29_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392005108","1392005353","1392005161","1392005304","1392005208","1392005252"],"photo_ids_order":["1392005108","1392005161","1392005208","1392005252","1392005304","1392005353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/045a2e13c7fe901532ad8bc67b13abd0.jpg","text":"TemporaryFile(/tmp/multipartBody490381633219383430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156923985,"filename":"image_03112025_01_20_01_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/3/60c9c2eb62d50ca48b2be4aefda67f78.jpg","text":"TemporaryFile(/tmp/multipartBody4876700745714988073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156923985,"filename":"image_03112025_01_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/3/65245373d04057f94b9ea323c91fba5a.jpg","text":"TemporaryFile(/tmp/multipartBody8871546069699670562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156923985,"filename":"image_03112025_01_20_07_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/3/1d85e3fa1fccb42e834b3c087259c6d2.jpg","text":"TemporaryFile(/tmp/multipartBody1502849880777713010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156923985,"filename":"image_03112025_01_20_26_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bead273321151a8c64b90c68daac33b8.jpg","text":"TemporaryFile(/tmp/multipartBody8633326527698186830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156923985,"filename":"image_03112025_01_20_10_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/3/34bb0c7621675781252ec5ac0c788f9a.jpg","text":"TemporaryFile(/tmp/multipartBody5215263433418026950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156923985,"filename":"image_03112025_01_20_17_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392005208","file1":"1392005161","file0":"1392005108","file4":"1392005304","file5":"1392005353","file3":"1392005252"},"map_files_photo_id_array":[{"photo_id":"1392005353","filename":"file5"},{"photo_id":"1392005208","filename":"file2"},{"photo_id":"1392005304","filename":"file4"},{"photo_id":"1392005161","filename":"file1"},{"photo_id":"1392005108","filename":"file0"},{"photo_id":"1392005252","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392005108":["hashtag1","hashtag2"]},{"1392005353":["hashtag1","hashtag2"]},{"1392005161":["hashtag1","hashtag2"]},{"1392005304":["hashtag1","hashtag2"]},{"1392005208":["hashtag1","hashtag2"]},{"1392005252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392005108, 1392005353, 1392005161, 1392005304, 1392005208, 1392005252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21285653114319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:02:02.593214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_31_2739.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_38_2692.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_41_2892.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_43_2596.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_50_2783.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_52_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_31_2739.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_38_2692.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_41_2892.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_43_2596.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_50_2783.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_52_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392005936","1392005854","1392005895","1392005808","1392005978","1392005762"],"photo_ids_order":["1392005762","1392005808","1392005854","1392005895","1392005936","1392005978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb21846d3fef6d71bf0b93f2c3ee4107.jpg","text":"TemporaryFile(/tmp/multipartBody8357259646431683031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156986629,"filename":"image_03112025_01_20_50_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/3/4cd7eaa1343997185ffcfd19338d4463.jpg","text":"TemporaryFile(/tmp/multipartBody8092504921813371001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156986629,"filename":"image_03112025_01_20_41_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/3/9862c11e54f518df21c06b727a5f0a7f.jpg","text":"TemporaryFile(/tmp/multipartBody4358350905340187108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156986629,"filename":"image_03112025_01_20_43_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/3/e07beceefa5f4316ae9a888da4c69700.jpg","text":"TemporaryFile(/tmp/multipartBody4073596648980119965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156986629,"filename":"image_03112025_01_20_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/3/9311a9ea821c7920fa85e901870d35aa.jpg","text":"TemporaryFile(/tmp/multipartBody8247408683425137356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156986629,"filename":"image_03112025_01_20_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/3/7526786c1899bdea0179af8fd3bf070c.jpg","text":"TemporaryFile(/tmp/multipartBody8460424965534424739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762156986629,"filename":"image_03112025_01_20_31_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392005854","file1":"1392005808","file0":"1392005762","file4":"1392005936","file5":"1392005978","file3":"1392005895"},"map_files_photo_id_array":[{"photo_id":"1392005978","filename":"file5"},{"photo_id":"1392005854","filename":"file2"},{"photo_id":"1392005936","filename":"file4"},{"photo_id":"1392005808","filename":"file1"},{"photo_id":"1392005762","filename":"file0"},{"photo_id":"1392005895","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392005936":["hashtag1","hashtag2"]},{"1392005854":["hashtag1","hashtag2"]},{"1392005895":["hashtag1","hashtag2"]},{"1392005808":["hashtag1","hashtag2"]},{"1392005978":["hashtag1","hashtag2"]},{"1392005762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392005936, 1392005854, 1392005895, 1392005808, 1392005978, 1392005762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84598255157471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:03:03.107820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_55_2718.jpg', '/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_59_3767.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_04_2842.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_07_2791.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_11_3590.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_13_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_55_2718.jpg
/home/pi/Desktop/images/03112025/01/20/image_03112025_01_20_59_3767.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_04_2842.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_07_2791.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_11_3590.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_13_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392006302","1392006430","1392006396","1392006426","1392006353","1392006428"],"photo_ids_order":["1392006302","1392006353","1392006396","1392006426","1392006428","1392006430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/45bff84177fe43decf7de4c1b7fb1e00.jpg","text":"TemporaryFile(/tmp/multipartBody5007824053609990003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157043970,"filename":"image_03112025_01_20_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/3/64a4fade403e8617991b8690621c64df.jpg","text":"TemporaryFile(/tmp/multipartBody3621259998167691837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157043970,"filename":"image_03112025_01_21_13_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/3/8df898b1a987251f66aa240027d7d3f8.jpg","text":"TemporaryFile(/tmp/multipartBody2305564596359866083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157043970,"filename":"image_03112025_01_21_04_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/3/9f8fe160e4736afdeb8d4eb4c9fa03a8.jpg","text":"TemporaryFile(/tmp/multipartBody5600124786281536747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157043970,"filename":"image_03112025_01_21_07_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/3/96d65a9def9f4d00a2d066201af5ee97.jpg","text":"TemporaryFile(/tmp/multipartBody6269038181552917024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157043970,"filename":"image_03112025_01_20_59_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3da8e3706be9bf7e21d740bb591a6ced.jpg","text":"TemporaryFile(/tmp/multipartBody6153331172618993800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157043970,"filename":"image_03112025_01_21_11_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392006396","file1":"1392006353","file0":"1392006302","file4":"1392006428","file5":"1392006430","file3":"1392006426"},"map_files_photo_id_array":[{"photo_id":"1392006430","filename":"file5"},{"photo_id":"1392006396","filename":"file2"},{"photo_id":"1392006428","filename":"file4"},{"photo_id":"1392006353","filename":"file1"},{"photo_id":"1392006302","filename":"file0"},{"photo_id":"1392006426","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392006302":["hashtag1","hashtag2"]},{"1392006430":["hashtag1","hashtag2"]},{"1392006396":["hashtag1","hashtag2"]},{"1392006426":["hashtag1","hashtag2"]},{"1392006353":["hashtag1","hashtag2"]},{"1392006428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392006302, 1392006430, 1392006396, 1392006426, 1392006353, 1392006428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.811840534210205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:04:03.225576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_19_2802.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_23_3621.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_25_2603.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_28_2616.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_32_3654.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_35_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_19_2802.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_23_3621.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_25_2603.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_28_2616.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_32_3654.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_35_2798.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7624742984771729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:04:22.514157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_19_2802.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_23_3621.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_25_2603.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_28_2616.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_32_3654.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_35_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_19_2802.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_23_3621.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_25_2603.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_28_2616.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_32_3654.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_35_2798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392006466","1392006460","1392006480","1392006486","1392006471","1392006534"],"photo_ids_order":["1392006460","1392006466","1392006471","1392006480","1392006486","1392006534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b4931b594117999b4ebc09a974cf89a1.jpg","text":"TemporaryFile(/tmp/multipartBody3010354997493423505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157123246,"filename":"image_03112025_01_21_23_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/3/b3b9337dfe421c9b2cb8a21bab904e87.jpg","text":"TemporaryFile(/tmp/multipartBody6219858490730881492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157123246,"filename":"image_03112025_01_21_19_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/3/5e0e16e196f84dc1b336ac649a054c21.jpg","text":"TemporaryFile(/tmp/multipartBody6931472908695875663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157123246,"filename":"image_03112025_01_21_28_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/64e08d48fe78575d01edf1f81caeced4.jpg","text":"TemporaryFile(/tmp/multipartBody4844810873206322703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157123246,"filename":"image_03112025_01_21_32_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/3/78fd1426962b2b11daece92ae082b1bf.jpg","text":"TemporaryFile(/tmp/multipartBody8517607986262852100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157123246,"filename":"image_03112025_01_21_25_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b68550f7be93cefa334ba39183596d7.jpg","text":"TemporaryFile(/tmp/multipartBody6255653923046053454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157123246,"filename":"image_03112025_01_21_35_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392006471","file1":"1392006466","file0":"1392006460","file4":"1392006486","file5":"1392006534","file3":"1392006480"},"map_files_photo_id_array":[{"photo_id":"1392006534","filename":"file5"},{"photo_id":"1392006471","filename":"file2"},{"photo_id":"1392006486","filename":"file4"},{"photo_id":"1392006466","filename":"file1"},{"photo_id":"1392006460","filename":"file0"},{"photo_id":"1392006480","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392006466":["hashtag1","hashtag2"]},{"1392006460":["hashtag1","hashtag2"]},{"1392006480":["hashtag1","hashtag2"]},{"1392006486":["hashtag1","hashtag2"]},{"1392006471":["hashtag1","hashtag2"]},{"1392006534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392006466, 1392006460, 1392006480, 1392006486, 1392006471, 1392006534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9939227104187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:05:03.370812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_37_2593.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_41_3755.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_44_2681.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_46_2629.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_49_2689.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_52_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_37_2593.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_41_3755.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_44_2681.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_46_2629.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_49_2689.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_52_3641.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7937018871307373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:05:22.701303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_37_2593.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_41_3755.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_44_2681.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_46_2629.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_49_2689.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_52_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_37_2593.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_41_3755.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_44_2681.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_46_2629.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_49_2689.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_52_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392006967","1392006946","1392006913","1392006916","1392006866","1392006902"],"photo_ids_order":["1392006866","1392006902","1392006913","1392006916","1392006946","1392006967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e2bc8efda5199cd6d3a9f688d6e3a057.jpg","text":"TemporaryFile(/tmp/multipartBody249993561480029993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157183426,"filename":"image_03112025_01_21_52_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/3/9fb97f455da6d5a13755d3d035c90373.jpg","text":"TemporaryFile(/tmp/multipartBody8258550147449996945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157183426,"filename":"image_03112025_01_21_49_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/3/d0e9ad15125d514d36674df33b2b94c8.jpg","text":"TemporaryFile(/tmp/multipartBody4391217277645177976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157183426,"filename":"image_03112025_01_21_44_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/710b9789bbdb0cced0e93dc226b8b153.jpg","text":"TemporaryFile(/tmp/multipartBody163278204072233814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157183426,"filename":"image_03112025_01_21_46_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/3/489581275a02d3778d2ebf1740cb3639.jpg","text":"TemporaryFile(/tmp/multipartBody4013269571390787977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157183426,"filename":"image_03112025_01_21_37_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/3/462ff325e7773b4f96e8cc783b976a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1942793777876493277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157183426,"filename":"image_03112025_01_21_41_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392006913","file1":"1392006902","file0":"1392006866","file4":"1392006946","file5":"1392006967","file3":"1392006916"},"map_files_photo_id_array":[{"photo_id":"1392006967","filename":"file5"},{"photo_id":"1392006913","filename":"file2"},{"photo_id":"1392006946","filename":"file4"},{"photo_id":"1392006902","filename":"file1"},{"photo_id":"1392006866","filename":"file0"},{"photo_id":"1392006916","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392006967":["hashtag1","hashtag2"]},{"1392006946":["hashtag1","hashtag2"]},{"1392006913":["hashtag1","hashtag2"]},{"1392006916":["hashtag1","hashtag2"]},{"1392006866":["hashtag1","hashtag2"]},{"1392006902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392006967, 1392006946, 1392006913, 1392006916, 1392006866, 1392006902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21333289146423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:06:21.783509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_55_2630.jpg', '/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_59_3643.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_01_2643.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_04_2584.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_08_3793.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_10_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_55_2630.jpg
/home/pi/Desktop/images/03112025/01/21/image_03112025_01_21_59_3643.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_01_2643.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_04_2584.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_08_3793.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_10_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392007036","1392007045","1392007032","1392007041","1392007029","1392007026"],"photo_ids_order":["1392007026","1392007029","1392007032","1392007036","1392007041","1392007045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/16f7a46237b24d1995ac76d39f6f400d.jpg","text":"TemporaryFile(/tmp/multipartBody7260788382372168240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157242585,"filename":"image_03112025_01_22_04_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/3/30f117c2d942edb9ff8c05816a8a6ea6.jpg","text":"TemporaryFile(/tmp/multipartBody441344880581455639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157242585,"filename":"image_03112025_01_22_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/3/1b936365fb710c83ca67ad178e1d4da6.jpg","text":"TemporaryFile(/tmp/multipartBody5049628650445044843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157242585,"filename":"image_03112025_01_22_01_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/3/7a10a83db3ff1b4d3eb38e93afecdd77.jpg","text":"TemporaryFile(/tmp/multipartBody2430540654739302031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157242585,"filename":"image_03112025_01_22_08_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/3/327d5b8ec7d040c68fd8092be866792a.jpg","text":"TemporaryFile(/tmp/multipartBody7104590320786146634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157242585,"filename":"image_03112025_01_21_59_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/3/766e34617d699a215b8c1d3e310b706f.jpg","text":"TemporaryFile(/tmp/multipartBody5210472329860853376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157242585,"filename":"image_03112025_01_21_55_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392007032","file1":"1392007029","file0":"1392007026","file4":"1392007041","file5":"1392007045","file3":"1392007036"},"map_files_photo_id_array":[{"photo_id":"1392007045","filename":"file5"},{"photo_id":"1392007032","filename":"file2"},{"photo_id":"1392007041","filename":"file4"},{"photo_id":"1392007029","filename":"file1"},{"photo_id":"1392007026","filename":"file0"},{"photo_id":"1392007036","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392007036":["hashtag1","hashtag2"]},{"1392007045":["hashtag1","hashtag2"]},{"1392007032":["hashtag1","hashtag2"]},{"1392007041":["hashtag1","hashtag2"]},{"1392007029":["hashtag1","hashtag2"]},{"1392007026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392007036, 1392007045, 1392007032, 1392007041, 1392007029, 1392007026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1355721950531 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-03 09:07:23.803218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_13_2673.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_22_2639.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_25_2641.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_29_3770.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_31_2705.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_34_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_13_2673.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_22_2639.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_25_2641.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_29_3770.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_31_2705.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_34_2544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392007080","1392007068","1392007073","1392007076","1392007061","1392007064"],"photo_ids_order":["1392007061","1392007064","1392007068","1392007073","1392007076","1392007080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c997669eca104344bd7277bb98e23638.jpg","text":"TemporaryFile(/tmp/multipartBody6666839055325270553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157306233,"filename":"image_03112025_01_22_34_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/3/dba27e8e8e84f1a1fe3b6ed63b1c8739.jpg","text":"TemporaryFile(/tmp/multipartBody3718030323822704703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157306233,"filename":"image_03112025_01_22_25_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/3/5d2b9645c1c91e79dfa63df4f3ace2cc.jpg","text":"TemporaryFile(/tmp/multipartBody6308499078921217105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157306233,"filename":"image_03112025_01_22_29_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/3/7993765330516fe2ab9002311e1c8bd0.jpg","text":"TemporaryFile(/tmp/multipartBody2361411121007191763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157306233,"filename":"image_03112025_01_22_31_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/3/d420dd02339d0b85266dcace60a13797.jpg","text":"TemporaryFile(/tmp/multipartBody4434986262000867450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157306233,"filename":"image_03112025_01_22_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/3/7ee0f21b715ac4d05f5f4d2de9505179.jpg","text":"TemporaryFile(/tmp/multipartBody1772979568805545868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157306233,"filename":"image_03112025_01_22_22_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392007068","file1":"1392007064","file0":"1392007061","file4":"1392007076","file5":"1392007080","file3":"1392007073"},"map_files_photo_id_array":[{"photo_id":"1392007080","filename":"file5"},{"photo_id":"1392007068","filename":"file2"},{"photo_id":"1392007076","filename":"file4"},{"photo_id":"1392007064","filename":"file1"},{"photo_id":"1392007061","filename":"file0"},{"photo_id":"1392007073","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392007080":["hashtag1","hashtag2"]},{"1392007068":["hashtag1","hashtag2"]},{"1392007073":["hashtag1","hashtag2"]},{"1392007076":["hashtag1","hashtag2"]},{"1392007061":["hashtag1","hashtag2"]},{"1392007064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392007080, 1392007068, 1392007073, 1392007076, 1392007061, 1392007064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26981019973755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:08:24.547894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_50_2949.jpg', '/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_58_3695.jpg', '/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_04_2695.jpg', '/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_09_5327.jpg', '/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_11_1589.jpg', '/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_16_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_50_2949.jpg
/home/pi/Desktop/images/03112025/01/22/image_03112025_01_22_58_3695.jpg
/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_04_2695.jpg
/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_09_5327.jpg
/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_11_1589.jpg
/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_16_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392007095","1392007107","1392007104","1392007097","1392007100","1392007093"],"photo_ids_order":["1392007093","1392007095","1392007097","1392007100","1392007104","1392007107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f44d3c8bee51c9009d6a37a9428f5af.jpg","text":"TemporaryFile(/tmp/multipartBody8596281242907763702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157365292,"filename":"image_03112025_01_22_58_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/3/0540520e7ed850332885269d7d97c9e6.jpg","text":"TemporaryFile(/tmp/multipartBody6164914077080005942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157365292,"filename":"image_03112025_01_23_16_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/3/2b984c3792639ee779b0d86a9f323d15.jpg","text":"TemporaryFile(/tmp/multipartBody1064261127209128416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157365292,"filename":"image_03112025_01_23_11_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/3/dedf64cfc0ce3df2c9bed0a083ef7340.jpg","text":"TemporaryFile(/tmp/multipartBody6187883110042180521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157365292,"filename":"image_03112025_01_23_04_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f162a3e537165371a36070844e128218.jpg","text":"TemporaryFile(/tmp/multipartBody5256890721600796159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157365292,"filename":"image_03112025_01_23_09_5327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33fa47d5ed26c734484dad639cd4f1cf.jpg","text":"TemporaryFile(/tmp/multipartBody5167108474894631618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157365292,"filename":"image_03112025_01_22_50_2949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392007097","file1":"1392007095","file0":"1392007093","file4":"1392007104","file5":"1392007107","file3":"1392007100"},"map_files_photo_id_array":[{"photo_id":"1392007107","filename":"file5"},{"photo_id":"1392007097","filename":"file2"},{"photo_id":"1392007104","filename":"file4"},{"photo_id":"1392007095","filename":"file1"},{"photo_id":"1392007093","filename":"file0"},{"photo_id":"1392007100","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392007095":["hashtag1","hashtag2"]},{"1392007107":["hashtag1","hashtag2"]},{"1392007104":["hashtag1","hashtag2"]},{"1392007097":["hashtag1","hashtag2"]},{"1392007100":["hashtag1","hashtag2"]},{"1392007093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392007095, 1392007107, 1392007104, 1392007097, 1392007100, 1392007093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31690764427185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:09:02.811378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_25_2708.jpg', '/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_37_2629.jpg', '/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_40_3612.jpg', '/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_46_2930.jpg', '/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_52_3600.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_07_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_25_2708.jpg
/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_37_2629.jpg
/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_40_3612.jpg
/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_46_2930.jpg
/home/pi/Desktop/images/03112025/01/23/image_03112025_01_23_52_3600.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_07_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392007141","1392007117","1392007126","1392007143","1392007140","1392007137"],"photo_ids_order":["1392007117","1392007126","1392007137","1392007140","1392007141","1392007143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b6c72d7c113fdba84f9a502318d093d.jpg","text":"TemporaryFile(/tmp/multipartBody665100322909737854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157403758,"filename":"image_03112025_01_23_52_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/3/6d254572e97273a25e36eb7e23bb9939.jpg","text":"TemporaryFile(/tmp/multipartBody2097469316974897151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157403758,"filename":"image_03112025_01_23_25_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/3/df13731887bb33aaa478f8b10505fd08.jpg","text":"TemporaryFile(/tmp/multipartBody8878492692890639289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157403758,"filename":"image_03112025_01_23_37_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/3/3fa9afdc047bcd51c39c6d8e3c01d65f.jpg","text":"TemporaryFile(/tmp/multipartBody2978949002797540065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157403758,"filename":"image_03112025_01_24_07_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0128dfd553924233ab1a294962fafc8b.jpg","text":"TemporaryFile(/tmp/multipartBody7029718980055855304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157403758,"filename":"image_03112025_01_23_46_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/3/2d16482f0f14c2ea4ff9065768c3327b.jpg","text":"TemporaryFile(/tmp/multipartBody2304642325251930219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157403758,"filename":"image_03112025_01_23_40_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392007137","file1":"1392007126","file0":"1392007117","file4":"1392007141","file5":"1392007143","file3":"1392007140"},"map_files_photo_id_array":[{"photo_id":"1392007143","filename":"file5"},{"photo_id":"1392007137","filename":"file2"},{"photo_id":"1392007141","filename":"file4"},{"photo_id":"1392007126","filename":"file1"},{"photo_id":"1392007117","filename":"file0"},{"photo_id":"1392007140","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392007141":["hashtag1","hashtag2"]},{"1392007117":["hashtag1","hashtag2"]},{"1392007126":["hashtag1","hashtag2"]},{"1392007143":["hashtag1","hashtag2"]},{"1392007140":["hashtag1","hashtag2"]},{"1392007137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392007141, 1392007117, 1392007126, 1392007143, 1392007140, 1392007137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66448259353638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:09:42.014158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_10_2839.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_14_3670.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_19_2742.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_22_2645.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_31_2848.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_34_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_10_2839.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_14_3670.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_19_2742.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_22_2645.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_31_2848.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_34_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392007161","1392007185","1392007179","1392007164","1392007155","1392007168"],"photo_ids_order":["1392007155","1392007161","1392007164","1392007168","1392007179","1392007185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cb8d79619e2bbed0594388238962a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2714310287639856242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157442852,"filename":"image_03112025_01_24_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/3/33f94e39321b009b3001510cc19a55a1.jpg","text":"TemporaryFile(/tmp/multipartBody8742240411458940746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157442852,"filename":"image_03112025_01_24_34_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/3/0b846a6ee25cdb1defd37e014fbf0009.jpg","text":"TemporaryFile(/tmp/multipartBody9140680852368854172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157442852,"filename":"image_03112025_01_24_31_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/3/5dd2c2d20e769661240b892cd44e613a.jpg","text":"TemporaryFile(/tmp/multipartBody1774111353745272967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157442852,"filename":"image_03112025_01_24_19_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/3/f83cfdebf564a4ade06d45b32ab648b6.jpg","text":"TemporaryFile(/tmp/multipartBody4964990176981632565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157442852,"filename":"image_03112025_01_24_10_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c87f8a709b4c2efcc9d2a914b795e69.jpg","text":"TemporaryFile(/tmp/multipartBody5050030414278233993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157442852,"filename":"image_03112025_01_24_22_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392007164","file1":"1392007161","file0":"1392007155","file4":"1392007179","file5":"1392007185","file3":"1392007168"},"map_files_photo_id_array":[{"photo_id":"1392007185","filename":"file5"},{"photo_id":"1392007164","filename":"file2"},{"photo_id":"1392007179","filename":"file4"},{"photo_id":"1392007161","filename":"file1"},{"photo_id":"1392007155","filename":"file0"},{"photo_id":"1392007168","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392007161":["hashtag1","hashtag2"]},{"1392007185":["hashtag1","hashtag2"]},{"1392007179":["hashtag1","hashtag2"]},{"1392007164":["hashtag1","hashtag2"]},{"1392007155":["hashtag1","hashtag2"]},{"1392007168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392007161, 1392007185, 1392007179, 1392007164, 1392007155, 1392007168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48593831062317 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-03 09:10:42.191875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_40_2652.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_43_2693.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_49_2607.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_55_3697.jpg', '/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_58_2824.jpg', '/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_01_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_40_2652.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_43_2693.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_49_2607.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_55_3697.jpg
/home/pi/Desktop/images/03112025/01/24/image_03112025_01_24_58_2824.jpg
/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_01_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392008385","1392008379","1392008389","1392008407","1392008397","1392008382"],"photo_ids_order":["1392008379","1392008382","1392008385","1392008389","1392008397","1392008407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/32ee7e671bc75e2a30df0603ae6e4aa4.jpg","text":"TemporaryFile(/tmp/multipartBody903987130747234652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157502985,"filename":"image_03112025_01_24_49_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/3/ae086fa9ab234e658c23e4214d988c59.jpg","text":"TemporaryFile(/tmp/multipartBody1825160628143535014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157502985,"filename":"image_03112025_01_24_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/3/c3535c965f24f91960a89540f05aa588.jpg","text":"TemporaryFile(/tmp/multipartBody3964667246858366074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157502985,"filename":"image_03112025_01_24_55_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/3/a5c4060a7176d36189bf61cb2c5174f1.jpg","text":"TemporaryFile(/tmp/multipartBody4179544883535423216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157502985,"filename":"image_03112025_01_25_01_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/696158cb33061964f385b4dd9f310603.jpg","text":"TemporaryFile(/tmp/multipartBody1501887571024015988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157502985,"filename":"image_03112025_01_24_58_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/3/0a14432a11a409130ba96de526f149d6.jpg","text":"TemporaryFile(/tmp/multipartBody6477976346000155258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157502985,"filename":"image_03112025_01_24_43_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392008385","file1":"1392008382","file0":"1392008379","file4":"1392008397","file5":"1392008407","file3":"1392008389"},"map_files_photo_id_array":[{"photo_id":"1392008407","filename":"file5"},{"photo_id":"1392008385","filename":"file2"},{"photo_id":"1392008397","filename":"file4"},{"photo_id":"1392008382","filename":"file1"},{"photo_id":"1392008379","filename":"file0"},{"photo_id":"1392008389","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392008385":["hashtag1","hashtag2"]},{"1392008379":["hashtag1","hashtag2"]},{"1392008389":["hashtag1","hashtag2"]},{"1392008407":["hashtag1","hashtag2"]},{"1392008397":["hashtag1","hashtag2"]},{"1392008382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392008385, 1392008379, 1392008389, 1392008407, 1392008397, 1392008382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.106407165527344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:11:22.306213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_05_3651.jpg', '/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_13_2629.jpg', '/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_16_2814.jpg', '/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_19_3716.jpg', '/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_34_3649.jpg', '/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_40_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_05_3651.jpg
/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_13_2629.jpg
/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_16_2814.jpg
/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_19_3716.jpg
/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_34_3649.jpg
/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_40_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392008532","1392008427","1392008424","1392008671","1392008422","1392008425"],"photo_ids_order":["1392008422","1392008424","1392008425","1392008427","1392008532","1392008671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6aeedff0127349b3328bf1962ee9f44c.jpg","text":"TemporaryFile(/tmp/multipartBody3961628595592660841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157543043,"filename":"image_03112025_01_25_34_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/908740c76aef17ceda658dd6261d1d50.jpg","text":"TemporaryFile(/tmp/multipartBody1139082950899358372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157543043,"filename":"image_03112025_01_25_19_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/3/3528c53a5e71197e4b5468656732c415.jpg","text":"TemporaryFile(/tmp/multipartBody903828580414000384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157543043,"filename":"image_03112025_01_25_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/3/db05345b8e85741c058461a0fe2eb06c.jpg","text":"TemporaryFile(/tmp/multipartBody6589021121672450201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157543043,"filename":"image_03112025_01_25_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/3/4ccf2de7bdec3f1694aac3aed19c99ef.jpg","text":"TemporaryFile(/tmp/multipartBody487881113324705248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157543043,"filename":"image_03112025_01_25_05_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/3/04a6fd746b0cad2273715ba3a28d565b.jpg","text":"TemporaryFile(/tmp/multipartBody531026534101548721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157543043,"filename":"image_03112025_01_25_16_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392008425","file1":"1392008424","file0":"1392008422","file4":"1392008532","file5":"1392008671","file3":"1392008427"},"map_files_photo_id_array":[{"photo_id":"1392008671","filename":"file5"},{"photo_id":"1392008425","filename":"file2"},{"photo_id":"1392008532","filename":"file4"},{"photo_id":"1392008424","filename":"file1"},{"photo_id":"1392008422","filename":"file0"},{"photo_id":"1392008427","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392008532":["hashtag1","hashtag2"]},{"1392008427":["hashtag1","hashtag2"]},{"1392008424":["hashtag1","hashtag2"]},{"1392008671":["hashtag1","hashtag2"]},{"1392008422":["hashtag1","hashtag2"]},{"1392008425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392008532, 1392008427, 1392008424, 1392008671, 1392008422, 1392008425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58863306045532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:12:02.961683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_43_3722.jpg', '/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_01_2681.jpg', '/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_10_2754.jpg', '/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_16_2729.jpg', '/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_19_2773.jpg', '/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_24_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/25/image_03112025_01_25_43_3722.jpg
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_01_2681.jpg
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_10_2754.jpg
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_16_2729.jpg
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_19_2773.jpg
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_24_2877.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392008748","1392008798","1392008813","1392008746","1392008815","1392008743"],"photo_ids_order":["1392008743","1392008746","1392008748","1392008798","1392008813","1392008815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f282a7036a89df74bb3ce427adbd795a.jpg","text":"TemporaryFile(/tmp/multipartBody5298410401718403659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157583819,"filename":"image_03112025_01_26_10_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/3/2aadfdb5aae50f38a8abd255ac05115f.jpg","text":"TemporaryFile(/tmp/multipartBody6784205309246032249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157583819,"filename":"image_03112025_01_26_16_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/3/788f407bb460d858ad0e8e9a8163060f.jpg","text":"TemporaryFile(/tmp/multipartBody8865181791999328569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157583819,"filename":"image_03112025_01_26_19_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/3/265e8cf23b0820f578c264d7fdb6dbb2.jpg","text":"TemporaryFile(/tmp/multipartBody646554655208853464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157583819,"filename":"image_03112025_01_26_01_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/3/3c0ffd50a5e487e1224e3ce3653f85e5.jpg","text":"TemporaryFile(/tmp/multipartBody2153943204081314536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157583819,"filename":"image_03112025_01_26_24_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/3/acc217c03a2c8f1b420632b076784999.jpg","text":"TemporaryFile(/tmp/multipartBody7327133594352537602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157583819,"filename":"image_03112025_01_25_43_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392008748","file1":"1392008746","file0":"1392008743","file4":"1392008813","file5":"1392008815","file3":"1392008798"},"map_files_photo_id_array":[{"photo_id":"1392008815","filename":"file5"},{"photo_id":"1392008748","filename":"file2"},{"photo_id":"1392008813","filename":"file4"},{"photo_id":"1392008746","filename":"file1"},{"photo_id":"1392008743","filename":"file0"},{"photo_id":"1392008798","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392008748":["hashtag1","hashtag2"]},{"1392008798":["hashtag1","hashtag2"]},{"1392008813":["hashtag1","hashtag2"]},{"1392008746":["hashtag1","hashtag2"]},{"1392008815":["hashtag1","hashtag2"]},{"1392008743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392008748, 1392008798, 1392008813, 1392008746, 1392008815, 1392008743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61927628517151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:12:42.628680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_31_2581.jpg', '/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_34_3635.jpg', '/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_46_3872.jpg', '/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_49_2726.jpg', '/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_52_2652.jpg', '/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_10_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_31_2581.jpg
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_34_3635.jpg
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_46_3872.jpg
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_49_2726.jpg
/home/pi/Desktop/images/03112025/01/26/image_03112025_01_26_52_2652.jpg
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_10_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392008868","1392008846","1392008861","1392008840","1392008830","1392008836"],"photo_ids_order":["1392008830","1392008836","1392008840","1392008846","1392008861","1392008868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0df9f1c41fea0eb84eebeb468d0f4e69.jpg","text":"TemporaryFile(/tmp/multipartBody7278453436635195440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157623495,"filename":"image_03112025_01_27_10_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/3/15de952eddefcc98d9cad0165a21ea63.jpg","text":"TemporaryFile(/tmp/multipartBody9217191852349452289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157623495,"filename":"image_03112025_01_26_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/3/c3227a7d6d59c5c65d1fa81bbaffa3cc.jpg","text":"TemporaryFile(/tmp/multipartBody3075794637429108160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157623495,"filename":"image_03112025_01_26_52_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e55af94dbc116ca3c9f83b4b29efd4c0.jpg","text":"TemporaryFile(/tmp/multipartBody1350009226938476991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157623495,"filename":"image_03112025_01_26_46_3872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/666643e1fa211cee41e1e4050b0bea3d.jpg","text":"TemporaryFile(/tmp/multipartBody5856188499684484689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157623495,"filename":"image_03112025_01_26_31_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/3/8bfff294023fe9219732bcf16cdee6bc.jpg","text":"TemporaryFile(/tmp/multipartBody3045009647291819241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157623495,"filename":"image_03112025_01_26_34_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392008840","file1":"1392008836","file0":"1392008830","file4":"1392008861","file5":"1392008868","file3":"1392008846"},"map_files_photo_id_array":[{"photo_id":"1392008868","filename":"file5"},{"photo_id":"1392008840","filename":"file2"},{"photo_id":"1392008861","filename":"file4"},{"photo_id":"1392008836","filename":"file1"},{"photo_id":"1392008830","filename":"file0"},{"photo_id":"1392008846","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392008868":["hashtag1","hashtag2"]},{"1392008846":["hashtag1","hashtag2"]},{"1392008861":["hashtag1","hashtag2"]},{"1392008840":["hashtag1","hashtag2"]},{"1392008830":["hashtag1","hashtag2"]},{"1392008836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392008868, 1392008846, 1392008861, 1392008840, 1392008830, 1392008836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86212682723999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:13:22.710767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_13_2632.jpg', '/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_19_2745.jpg', '/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_22_2611.jpg', '/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_24_2696.jpg', '/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_33_2617.jpg', '/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_40_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_13_2632.jpg
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_19_2745.jpg
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_22_2611.jpg
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_24_2696.jpg
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_33_2617.jpg
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_40_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392008889","1392008880","1392008883","1392008891","1392008876","1392008886"],"photo_ids_order":["1392008876","1392008880","1392008883","1392008886","1392008889","1392008891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a0e6e35b211d2fa208686aea3948366c.jpg","text":"TemporaryFile(/tmp/multipartBody6368236244882032378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157663462,"filename":"image_03112025_01_27_33_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/3/67da3ac6eed8807b075142299019369a.jpg","text":"TemporaryFile(/tmp/multipartBody1404083794703753980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157663462,"filename":"image_03112025_01_27_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/3/8a47df3a792af3ad7aa00fc04ef47404.jpg","text":"TemporaryFile(/tmp/multipartBody3666133640759622007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157663462,"filename":"image_03112025_01_27_22_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/3/fcf1b90083b4987310fa2b97daac7b96.jpg","text":"TemporaryFile(/tmp/multipartBody6283783192156510927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157663462,"filename":"image_03112025_01_27_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/3/8d8fdc69d0a4a7c5d0b2bc417cb2f30e.jpg","text":"TemporaryFile(/tmp/multipartBody6762496061019959073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157663462,"filename":"image_03112025_01_27_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/3/e83cdbdb7706b5fdbeaed759c71e39de.jpg","text":"TemporaryFile(/tmp/multipartBody4129388516804914809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157663462,"filename":"image_03112025_01_27_24_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392008883","file1":"1392008880","file0":"1392008876","file4":"1392008889","file5":"1392008891","file3":"1392008886"},"map_files_photo_id_array":[{"photo_id":"1392008891","filename":"file5"},{"photo_id":"1392008883","filename":"file2"},{"photo_id":"1392008889","filename":"file4"},{"photo_id":"1392008880","filename":"file1"},{"photo_id":"1392008876","filename":"file0"},{"photo_id":"1392008886","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392008889":["hashtag1","hashtag2"]},{"1392008880":["hashtag1","hashtag2"]},{"1392008883":["hashtag1","hashtag2"]},{"1392008891":["hashtag1","hashtag2"]},{"1392008876":["hashtag1","hashtag2"]},{"1392008886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392008889, 1392008880, 1392008883, 1392008891, 1392008876, 1392008886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.896570444107056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:14:02.654580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_43_2823.jpg', '/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_46_3616.jpg', '/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_52_2746.jpg', '/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_57_2750.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_04_2605.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_06_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_43_2823.jpg
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_46_3616.jpg
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_52_2746.jpg
/home/pi/Desktop/images/03112025/01/27/image_03112025_01_27_57_2750.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_04_2605.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_06_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392008910","1392008897","1392008894","1392008903","1392008906","1392008899"],"photo_ids_order":["1392008894","1392008897","1392008899","1392008903","1392008906","1392008910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c716ddfa64d31f141d02cbd8c54e6409.jpg","text":"TemporaryFile(/tmp/multipartBody2776899113243400255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157703555,"filename":"image_03112025_01_28_06_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/3/4c5a856068b85bafa1e911ed209487b1.jpg","text":"TemporaryFile(/tmp/multipartBody5083894493096592576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157703555,"filename":"image_03112025_01_27_46_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6aa27e98067f076e2a25d491f2c20600.jpg","text":"TemporaryFile(/tmp/multipartBody9035125674619276518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157703555,"filename":"image_03112025_01_27_43_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/3/9ffcbc84fc7b6e84be231ae639492e95.jpg","text":"TemporaryFile(/tmp/multipartBody4362929299278916917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157703555,"filename":"image_03112025_01_27_57_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/3/e0ffa0039894e8892a13a16ebb1672fd.jpg","text":"TemporaryFile(/tmp/multipartBody1575833855881686352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157703555,"filename":"image_03112025_01_28_04_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/3/970f49c07555501641415aefd3e27a17.jpg","text":"TemporaryFile(/tmp/multipartBody6558267080433365579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157703555,"filename":"image_03112025_01_27_52_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392008899","file1":"1392008897","file0":"1392008894","file4":"1392008906","file5":"1392008910","file3":"1392008903"},"map_files_photo_id_array":[{"photo_id":"1392008910","filename":"file5"},{"photo_id":"1392008899","filename":"file2"},{"photo_id":"1392008906","filename":"file4"},{"photo_id":"1392008897","filename":"file1"},{"photo_id":"1392008894","filename":"file0"},{"photo_id":"1392008903","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392008910":["hashtag1","hashtag2"]},{"1392008897":["hashtag1","hashtag2"]},{"1392008894":["hashtag1","hashtag2"]},{"1392008903":["hashtag1","hashtag2"]},{"1392008906":["hashtag1","hashtag2"]},{"1392008899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392008910, 1392008897, 1392008894, 1392008903, 1392008906, 1392008899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85604405403137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:14:41.980611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_10_3790.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_13_2577.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_19_3699.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_22_2660.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_24_2620.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_31_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_10_3790.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_13_2577.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_19_3699.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_22_2660.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_24_2620.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_31_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392008922","1392008927","1392008956","1392008935","1392008920","1392008917"],"photo_ids_order":["1392008917","1392008920","1392008922","1392008927","1392008935","1392008956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2c54a09f5105ac6e26ce3bd4c7121992.jpg","text":"TemporaryFile(/tmp/multipartBody3049397178839978729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157742759,"filename":"image_03112025_01_28_19_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/3/05d6e74fd606330e34c8e9dcb43331c0.jpg","text":"TemporaryFile(/tmp/multipartBody54907016473151369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157742759,"filename":"image_03112025_01_28_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/3/619d94db3671b93049d45455081539b4.jpg","text":"TemporaryFile(/tmp/multipartBody5190314641629263721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157742759,"filename":"image_03112025_01_28_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/3/6e865830f488da4c64e04dc0f1b40fba.jpg","text":"TemporaryFile(/tmp/multipartBody456575072305215527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157742759,"filename":"image_03112025_01_28_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/3/6dd159c9975f481b43bbcd4914ac60a8.jpg","text":"TemporaryFile(/tmp/multipartBody6065754379003832681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157742759,"filename":"image_03112025_01_28_13_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/3/bd800632785fc07ecbbbca8cceec7451.jpg","text":"TemporaryFile(/tmp/multipartBody8782766291326131144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157742759,"filename":"image_03112025_01_28_10_3790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392008922","file1":"1392008920","file0":"1392008917","file4":"1392008935","file5":"1392008956","file3":"1392008927"},"map_files_photo_id_array":[{"photo_id":"1392008956","filename":"file5"},{"photo_id":"1392008922","filename":"file2"},{"photo_id":"1392008935","filename":"file4"},{"photo_id":"1392008920","filename":"file1"},{"photo_id":"1392008917","filename":"file0"},{"photo_id":"1392008927","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392008922":["hashtag1","hashtag2"]},{"1392008927":["hashtag1","hashtag2"]},{"1392008956":["hashtag1","hashtag2"]},{"1392008935":["hashtag1","hashtag2"]},{"1392008920":["hashtag1","hashtag2"]},{"1392008917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392008922, 1392008927, 1392008956, 1392008935, 1392008920, 1392008917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23408126831055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:15:22.041258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_33_2580.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_37_3646.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_42_2593.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_46_3553.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_52_3666.jpg', '/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_55_2945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_33_2580.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_37_3646.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_42_2593.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_46_3553.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_52_3666.jpg
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_55_2945.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392008976","1392008961","1392008964","1392008972","1392008966","1392008969"],"photo_ids_order":["1392008961","1392008964","1392008966","1392008969","1392008972","1392008976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0567c355fd9f7b543c4027da29533312.jpg","text":"TemporaryFile(/tmp/multipartBody905219759614775054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157782811,"filename":"image_03112025_01_28_55_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/333b4c98fdf8bb549709b8620acbf2de.jpg","text":"TemporaryFile(/tmp/multipartBody2812037033638033694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157782811,"filename":"image_03112025_01_28_33_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/3/2e625223a6771038b27704a9a3f59a29.jpg","text":"TemporaryFile(/tmp/multipartBody7811626935305470886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157782811,"filename":"image_03112025_01_28_37_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/3/cf12cc00996f8225ec6da3000853124c.jpg","text":"TemporaryFile(/tmp/multipartBody7758754880726238926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157782811,"filename":"image_03112025_01_28_52_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/3/7645423da96d2e648030a447a444dc62.jpg","text":"TemporaryFile(/tmp/multipartBody2646540108747103918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157782811,"filename":"image_03112025_01_28_42_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/3/dcaf667639ff08ca7fbc505d1ee58bab.jpg","text":"TemporaryFile(/tmp/multipartBody2086689879009677473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157782811,"filename":"image_03112025_01_28_46_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392008966","file1":"1392008964","file0":"1392008961","file4":"1392008972","file5":"1392008976","file3":"1392008969"},"map_files_photo_id_array":[{"photo_id":"1392008976","filename":"file5"},{"photo_id":"1392008966","filename":"file2"},{"photo_id":"1392008972","filename":"file4"},{"photo_id":"1392008964","filename":"file1"},{"photo_id":"1392008961","filename":"file0"},{"photo_id":"1392008969","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392008976":["hashtag1","hashtag2"]},{"1392008961":["hashtag1","hashtag2"]},{"1392008964":["hashtag1","hashtag2"]},{"1392008972":["hashtag1","hashtag2"]},{"1392008966":["hashtag1","hashtag2"]},{"1392008969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392008976, 1392008961, 1392008964, 1392008972, 1392008966, 1392008969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.768221378326416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:16:02.722828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_58_2678.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_07_2897.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_10_2745.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_12_2788.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_22_2634.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_24_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/28/image_03112025_01_28_58_2678.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_07_2897.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_10_2745.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_12_2788.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_22_2634.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_24_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392008984","1392008987","1392009002","1392008992","1392008989","1392008986"],"photo_ids_order":["1392008984","1392008986","1392008987","1392008989","1392008992","1392009002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9fa55d144ac629ca680338cfae002728.jpg","text":"TemporaryFile(/tmp/multipartBody948981821897277837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157823552,"filename":"image_03112025_01_28_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/3/9425fa5fb5745c066c4834acb5a2d4e8.jpg","text":"TemporaryFile(/tmp/multipartBody8006035578295303741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157823552,"filename":"image_03112025_01_29_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/3/dc68e9d703c28bf0daec42874ce49f41.jpg","text":"TemporaryFile(/tmp/multipartBody426518664584362469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157823552,"filename":"image_03112025_01_29_24_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/3/9f9460f42cc0bda129d29e28acb3be9f.jpg","text":"TemporaryFile(/tmp/multipartBody6609342137667579039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157823552,"filename":"image_03112025_01_29_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/3/babf5370728b9ebc2895dcc0680e72a5.jpg","text":"TemporaryFile(/tmp/multipartBody4056275738038092380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157823552,"filename":"image_03112025_01_29_12_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/3/3aec93f1c698f2a74ab3bfdb0d6ad501.jpg","text":"TemporaryFile(/tmp/multipartBody4169509537005298289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157823552,"filename":"image_03112025_01_29_07_2897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392008987","file1":"1392008986","file0":"1392008984","file4":"1392008992","file5":"1392009002","file3":"1392008989"},"map_files_photo_id_array":[{"photo_id":"1392009002","filename":"file5"},{"photo_id":"1392008987","filename":"file2"},{"photo_id":"1392008992","filename":"file4"},{"photo_id":"1392008986","filename":"file1"},{"photo_id":"1392008984","filename":"file0"},{"photo_id":"1392008989","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392008984":["hashtag1","hashtag2"]},{"1392008987":["hashtag1","hashtag2"]},{"1392009002":["hashtag1","hashtag2"]},{"1392008992":["hashtag1","hashtag2"]},{"1392008989":["hashtag1","hashtag2"]},{"1392008986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392008984, 1392008987, 1392009002, 1392008992, 1392008989, 1392008986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.876909017562866 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-03 09:17:03.235167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_28_3818.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_31_2750.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_33_2597.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_37_3601.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_49_2613.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_55_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_28_3818.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_31_2750.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_33_2597.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_37_3601.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_49_2613.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_55_3758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392009045","1392009050","1392009053","1392009032","1392009026","1392009041"],"photo_ids_order":["1392009026","1392009032","1392009041","1392009045","1392009050","1392009053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/400f0ec709765c143d6a9866a36c8242.jpg","text":"TemporaryFile(/tmp/multipartBody6795755113824673842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157884074,"filename":"image_03112025_01_29_37_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/3/9f1bb1223b3f9314fbf332ddaec5fdc1.jpg","text":"TemporaryFile(/tmp/multipartBody2621283827940887809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157884074,"filename":"image_03112025_01_29_49_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/3/6aa713c4f07dc336644cdd6d115fd680.jpg","text":"TemporaryFile(/tmp/multipartBody4215396901584657548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157884074,"filename":"image_03112025_01_29_55_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/3/2ab6d3b4a85d0b7a4fd2aeb7879d0386.jpg","text":"TemporaryFile(/tmp/multipartBody1441586414253253007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157884074,"filename":"image_03112025_01_29_31_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/666452332c00324a93d42541dab5f44c.jpg","text":"TemporaryFile(/tmp/multipartBody7570715421995540164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157884074,"filename":"image_03112025_01_29_28_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/3/54adb1cda6e35535cd5516fc52e2bbc1.jpg","text":"TemporaryFile(/tmp/multipartBody7618025634805812951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157884074,"filename":"image_03112025_01_29_33_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392009041","file1":"1392009032","file0":"1392009026","file4":"1392009050","file5":"1392009053","file3":"1392009045"},"map_files_photo_id_array":[{"photo_id":"1392009053","filename":"file5"},{"photo_id":"1392009041","filename":"file2"},{"photo_id":"1392009050","filename":"file4"},{"photo_id":"1392009032","filename":"file1"},{"photo_id":"1392009026","filename":"file0"},{"photo_id":"1392009045","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392009045":["hashtag1","hashtag2"]},{"1392009050":["hashtag1","hashtag2"]},{"1392009053":["hashtag1","hashtag2"]},{"1392009032":["hashtag1","hashtag2"]},{"1392009026":["hashtag1","hashtag2"]},{"1392009041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392009045, 1392009050, 1392009053, 1392009032, 1392009026, 1392009041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.085482120513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:17:42.446039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_58_2630.jpg', '/home/pi/Desktop/images/03112025/01/29/image_03112025_01_30_00_2748.jpg', '/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_03_2716.jpg', '/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_06_3198.jpg', '/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_09_2756.jpg', '/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_12_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_29_58_2630.jpg
/home/pi/Desktop/images/03112025/01/29/image_03112025_01_30_00_2748.jpg
/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_03_2716.jpg
/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_06_3198.jpg
/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_09_2756.jpg
/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_12_3010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392009062","1392009071","1392009065","1392009067","1392009075","1392009069"],"photo_ids_order":["1392009062","1392009065","1392009067","1392009069","1392009071","1392009075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c66b82d7100bbdefc73c27fab2b81d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8167377480917271851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157923228,"filename":"image_03112025_01_29_58_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/3/c7a559c907e1436f9ce5b425cdedbf7e.jpg","text":"TemporaryFile(/tmp/multipartBody3035539350623400144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157923228,"filename":"image_03112025_01_30_09_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/3/cd4a3ba4957d3948095021fc38350c31.jpg","text":"TemporaryFile(/tmp/multipartBody9057341727331729041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157923228,"filename":"image_03112025_01_30_00_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/3/1bb0de3154c9be62f1b33e1b0dbd5ad2.jpg","text":"TemporaryFile(/tmp/multipartBody6907906470291287352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157923228,"filename":"image_03112025_01_30_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/3/7deac3db9af88df9461aa7e6694ceb05.jpg","text":"TemporaryFile(/tmp/multipartBody1167261096332781514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157923228,"filename":"image_03112025_01_30_12_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/3/887470718bbe4aeae9f090f3e05cb543.jpg","text":"TemporaryFile(/tmp/multipartBody7664560501794555437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157923228,"filename":"image_03112025_01_30_06_3198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392009067","file1":"1392009065","file0":"1392009062","file4":"1392009071","file5":"1392009075","file3":"1392009069"},"map_files_photo_id_array":[{"photo_id":"1392009075","filename":"file5"},{"photo_id":"1392009067","filename":"file2"},{"photo_id":"1392009071","filename":"file4"},{"photo_id":"1392009065","filename":"file1"},{"photo_id":"1392009062","filename":"file0"},{"photo_id":"1392009069","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392009062":["hashtag1","hashtag2"]},{"1392009071":["hashtag1","hashtag2"]},{"1392009065":["hashtag1","hashtag2"]},{"1392009067":["hashtag1","hashtag2"]},{"1392009075":["hashtag1","hashtag2"]},{"1392009069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392009062, 1392009071, 1392009065, 1392009067, 1392009075, 1392009069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79340887069702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:18:22.585678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_16_3690.jpg', '/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_25_2639.jpg', '/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_27_2536.jpg', '/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_31_3609.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_06_2830.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_09_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_16_3690.jpg
/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_25_2639.jpg
/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_27_2536.jpg
/home/pi/Desktop/images/03112025/01/30/image_03112025_01_30_31_3609.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_06_2830.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_09_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392009098","1392009101","1392009085","1392009106","1392009103","1392009132"],"photo_ids_order":["1392009085","1392009098","1392009101","1392009103","1392009106","1392009132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dd6c98c05bb7875b46aa0b5039824dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7171548625029958377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157963331,"filename":"image_03112025_01_30_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/3/c76477a4d4ad258162a3697316967265.jpg","text":"TemporaryFile(/tmp/multipartBody3131560220534475245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157963331,"filename":"image_03112025_01_30_27_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/3/46f8af5627784d728e088872206d8a7b.jpg","text":"TemporaryFile(/tmp/multipartBody6158315426031780169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157963331,"filename":"image_03112025_01_30_16_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9c819285d8f595d0ac01e1dc7f5e9e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8980761028671346549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157963331,"filename":"image_03112025_01_31_06_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/3/abe3ac14462b08137681f2e0b1125b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8338834789629103475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157963331,"filename":"image_03112025_01_30_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/3/34e19e97c0e88b957b37066dba08f119.jpg","text":"TemporaryFile(/tmp/multipartBody6482495310827285423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762157963331,"filename":"image_03112025_01_31_09_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392009101","file1":"1392009098","file0":"1392009085","file4":"1392009106","file5":"1392009132","file3":"1392009103"},"map_files_photo_id_array":[{"photo_id":"1392009132","filename":"file5"},{"photo_id":"1392009101","filename":"file2"},{"photo_id":"1392009106","filename":"file4"},{"photo_id":"1392009098","filename":"file1"},{"photo_id":"1392009085","filename":"file0"},{"photo_id":"1392009103","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392009098":["hashtag1","hashtag2"]},{"1392009101":["hashtag1","hashtag2"]},{"1392009085":["hashtag1","hashtag2"]},{"1392009106":["hashtag1","hashtag2"]},{"1392009103":["hashtag1","hashtag2"]},{"1392009132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392009098, 1392009101, 1392009085, 1392009106, 1392009103, 1392009132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20984745025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:19:03.602785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_13_3582.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_15_2708.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_18_2694.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_36_5716.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_38_1833.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_40_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_13_3582.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_15_2708.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_18_2694.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_36_5716.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_38_1833.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_40_1745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392009170","1392009172","1392009166","1392009169","1392009180","1392009174"],"photo_ids_order":["1392009166","1392009169","1392009170","1392009172","1392009174","1392009180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8905fdca0e5f17a9210e5a0fc5624376.jpg","text":"TemporaryFile(/tmp/multipartBody3927169323571435205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158004552,"filename":"image_03112025_01_31_18_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/3/7319741a8b4253f14d9470ec6959f58b.jpg","text":"TemporaryFile(/tmp/multipartBody6649460629071483336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158004552,"filename":"image_03112025_01_31_36_5716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/089bd74255974c8024c6a904ac965c50.jpg","text":"TemporaryFile(/tmp/multipartBody6805415295065654749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158004552,"filename":"image_03112025_01_31_13_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d4531fe05daa3ad81115255cb42ff3e.jpg","text":"TemporaryFile(/tmp/multipartBody8851297140263084676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158004552,"filename":"image_03112025_01_31_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/3/482ba8e395c0bb0c4b9f9c20a2220161.jpg","text":"TemporaryFile(/tmp/multipartBody3058243125506952484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158004552,"filename":"image_03112025_01_31_40_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/3/5a07b9cc438a83419e665d36dedd6c71.jpg","text":"TemporaryFile(/tmp/multipartBody6755849862454930860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158004552,"filename":"image_03112025_01_31_38_1833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392009170","file1":"1392009169","file0":"1392009166","file4":"1392009174","file5":"1392009180","file3":"1392009172"},"map_files_photo_id_array":[{"photo_id":"1392009180","filename":"file5"},{"photo_id":"1392009170","filename":"file2"},{"photo_id":"1392009174","filename":"file4"},{"photo_id":"1392009169","filename":"file1"},{"photo_id":"1392009166","filename":"file0"},{"photo_id":"1392009172","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392009170":["hashtag1","hashtag2"]},{"1392009172":["hashtag1","hashtag2"]},{"1392009166":["hashtag1","hashtag2"]},{"1392009169":["hashtag1","hashtag2"]},{"1392009180":["hashtag1","hashtag2"]},{"1392009174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392009170, 1392009172, 1392009166, 1392009169, 1392009180, 1392009174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69822669029236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:19:42.728738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_46_1766.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_54_2669.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_58_3826.jpg', '/home/pi/Desktop/images/03112025/01/31/image_03112025_01_32_00_2587.jpg', '/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_03_2655.jpg', '/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_07_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_46_1766.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_54_2669.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_31_58_3826.jpg
/home/pi/Desktop/images/03112025/01/31/image_03112025_01_32_00_2587.jpg
/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_03_2655.jpg
/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_07_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392009207","1392009206","1392009209","1392009203","1392009208","1392009198"],"photo_ids_order":["1392009198","1392009203","1392009206","1392009207","1392009208","1392009209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f9b629449ec754b405a660edc437c286.jpg","text":"TemporaryFile(/tmp/multipartBody7562990226870529874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158043557,"filename":"image_03112025_01_32_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/3/a1abf3725769eee3de077764eea80759.jpg","text":"TemporaryFile(/tmp/multipartBody1995764959164693131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158043557,"filename":"image_03112025_01_31_58_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/3/9168f7c596a0c9486132ba86df0a97e1.jpg","text":"TemporaryFile(/tmp/multipartBody1996448884024402908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158043557,"filename":"image_03112025_01_32_07_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/3/7d086dc66576a17bf89b5e3e3719a53f.jpg","text":"TemporaryFile(/tmp/multipartBody19170536243433763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158043557,"filename":"image_03112025_01_31_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/3/7172070690a084e95b97e53b8f1c4f23.jpg","text":"TemporaryFile(/tmp/multipartBody1555296313967240558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158043557,"filename":"image_03112025_01_32_03_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/3/7f0f249ddb6ec5ed43f9ce398a1c8bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4485256499274936554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158043557,"filename":"image_03112025_01_31_46_1766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392009206","file1":"1392009203","file0":"1392009198","file4":"1392009208","file5":"1392009209","file3":"1392009207"},"map_files_photo_id_array":[{"photo_id":"1392009209","filename":"file5"},{"photo_id":"1392009206","filename":"file2"},{"photo_id":"1392009208","filename":"file4"},{"photo_id":"1392009203","filename":"file1"},{"photo_id":"1392009198","filename":"file0"},{"photo_id":"1392009207","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392009207":["hashtag1","hashtag2"]},{"1392009206":["hashtag1","hashtag2"]},{"1392009209":["hashtag1","hashtag2"]},{"1392009203":["hashtag1","hashtag2"]},{"1392009208":["hashtag1","hashtag2"]},{"1392009198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392009207, 1392009206, 1392009209, 1392009203, 1392009208, 1392009198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10400152206421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:20:21.867683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_09_2817.jpg', '/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_24_1814.jpg', '/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_30_3547.jpg', '/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_42_2583.jpg', '/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_54_2664.jpg', '/home/pi/Desktop/images/03112025/01/32/image_03112025_01_33_00_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_09_2817.jpg
/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_24_1814.jpg
/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_30_3547.jpg
/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_42_2583.jpg
/home/pi/Desktop/images/03112025/01/32/image_03112025_01_32_54_2664.jpg
/home/pi/Desktop/images/03112025/01/32/image_03112025_01_33_00_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392009342","1392009299","1392009219","1392009257","1392009223","1392009214"],"photo_ids_order":["1392009214","1392009219","1392009223","1392009257","1392009299","1392009342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee2c4addba539bde020023ef08a86c5f.jpg","text":"TemporaryFile(/tmp/multipartBody9014908608767337939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158082615,"filename":"image_03112025_01_33_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/3/752df618aaeceab34975e58844ba353c.jpg","text":"TemporaryFile(/tmp/multipartBody6573865485110073518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158082615,"filename":"image_03112025_01_32_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/3/12715e34f783e912c275c38be069ad49.jpg","text":"TemporaryFile(/tmp/multipartBody8337463087203413614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158082615,"filename":"image_03112025_01_32_24_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/3/705056fb41c454f08dc52854d02f7dad.jpg","text":"TemporaryFile(/tmp/multipartBody6874753400667884443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158082615,"filename":"image_03112025_01_32_42_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/3/690cf1b93bcba47c7ca3feeba7dbd929.jpg","text":"TemporaryFile(/tmp/multipartBody2467566674436565933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158082615,"filename":"image_03112025_01_32_30_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/3/f7a916e9694a6e1a77da38763f1262b6.jpg","text":"TemporaryFile(/tmp/multipartBody7818165786176109281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158082615,"filename":"image_03112025_01_32_09_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392009223","file1":"1392009219","file0":"1392009214","file4":"1392009299","file5":"1392009342","file3":"1392009257"},"map_files_photo_id_array":[{"photo_id":"1392009342","filename":"file5"},{"photo_id":"1392009223","filename":"file2"},{"photo_id":"1392009299","filename":"file4"},{"photo_id":"1392009219","filename":"file1"},{"photo_id":"1392009214","filename":"file0"},{"photo_id":"1392009257","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392009342":["hashtag1","hashtag2"]},{"1392009299":["hashtag1","hashtag2"]},{"1392009219":["hashtag1","hashtag2"]},{"1392009257":["hashtag1","hashtag2"]},{"1392009223":["hashtag1","hashtag2"]},{"1392009214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392009342, 1392009299, 1392009219, 1392009257, 1392009223, 1392009214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09338068962097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:21:02.770856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_03_2841.jpg', '/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_21_2643.jpg', '/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_24_2551.jpg', '/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_40_3722.jpg', '/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_42_2589.jpg', '/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_45_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_03_2841.jpg
/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_21_2643.jpg
/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_24_2551.jpg
/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_40_3722.jpg
/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_42_2589.jpg
/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_45_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392009630","1392009714","1392009671","1392009504","1392009589","1392009547"],"photo_ids_order":["1392009504","1392009547","1392009589","1392009630","1392009671","1392009714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3ec8fc2324a8796cefa3a806d16ee956.jpg","text":"TemporaryFile(/tmp/multipartBody2739949803791480411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158123617,"filename":"image_03112025_01_33_40_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/3/86f5219148bca07be2652e1a64b491c1.jpg","text":"TemporaryFile(/tmp/multipartBody250046027578409345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158123617,"filename":"image_03112025_01_33_45_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8657574f38761661c40f2e445678651b.jpg","text":"TemporaryFile(/tmp/multipartBody2344971054092330755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158123617,"filename":"image_03112025_01_33_42_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e240dc5bd041703a2d2795bd53194e79.jpg","text":"TemporaryFile(/tmp/multipartBody1899046923922247085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158123617,"filename":"image_03112025_01_33_03_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/3/fbf219093e4bc11ea6d7de4b5de0ec3a.jpg","text":"TemporaryFile(/tmp/multipartBody8974362901431963381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158123617,"filename":"image_03112025_01_33_24_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/3/c2f1c9d097520b4645310996bcd5114d.jpg","text":"TemporaryFile(/tmp/multipartBody3783890836621301797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158123617,"filename":"image_03112025_01_33_21_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392009589","file1":"1392009547","file0":"1392009504","file4":"1392009671","file5":"1392009714","file3":"1392009630"},"map_files_photo_id_array":[{"photo_id":"1392009714","filename":"file5"},{"photo_id":"1392009589","filename":"file2"},{"photo_id":"1392009671","filename":"file4"},{"photo_id":"1392009547","filename":"file1"},{"photo_id":"1392009504","filename":"file0"},{"photo_id":"1392009630","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392009630":["hashtag1","hashtag2"]},{"1392009714":["hashtag1","hashtag2"]},{"1392009671":["hashtag1","hashtag2"]},{"1392009504":["hashtag1","hashtag2"]},{"1392009589":["hashtag1","hashtag2"]},{"1392009547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392009630, 1392009714, 1392009671, 1392009504, 1392009589, 1392009547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11825108528137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:21:42.120672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_49_3709.jpg', '/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_54_2610.jpg', '/home/pi/Desktop/images/03112025/01/34/image_03112025_01_34_06_3034.jpg', '/home/pi/Desktop/images/03112025/01/34/image_03112025_01_34_09_3586.jpg', '/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_21_3979.jpg', '/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_33_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_49_3709.jpg
/home/pi/Desktop/images/03112025/01/33/image_03112025_01_33_54_2610.jpg
/home/pi/Desktop/images/03112025/01/34/image_03112025_01_34_06_3034.jpg
/home/pi/Desktop/images/03112025/01/34/image_03112025_01_34_09_3586.jpg
/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_21_3979.jpg
/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_33_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392009738","1392009752","1392009749","1392009743","1392009754","1392009756"],"photo_ids_order":["1392009738","1392009743","1392009749","1392009752","1392009754","1392009756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/620823313dfd960740e0c10ac1d2bd9b.jpg","text":"TemporaryFile(/tmp/multipartBody6162698669551267012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158162935,"filename":"image_03112025_01_33_49_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/3/a8607cf0f6bf1a43fbcb7a0cce898148.jpg","text":"TemporaryFile(/tmp/multipartBody1641751360772313152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158162935,"filename":"image_03112025_01_34_09_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ec5cd180a19f8203294fd95e4b217bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2679968075594471779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158162935,"filename":"image_03112025_01_34_06_3034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2851d000186b6eebf4161a06f8fd76ba.jpg","text":"TemporaryFile(/tmp/multipartBody7283313331610286447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158162935,"filename":"image_03112025_01_33_54_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/3/c00bfd0d5e43c22316174d4b6bf718db.jpg","text":"TemporaryFile(/tmp/multipartBody6262079877546093596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158162935,"filename":"image_03112025_01_35_21_3979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ff07dfc5ebe95f754dfbca106892bd97.jpg","text":"TemporaryFile(/tmp/multipartBody5852320497722599009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158162935,"filename":"image_03112025_01_35_33_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392009749","file1":"1392009743","file0":"1392009738","file4":"1392009754","file5":"1392009756","file3":"1392009752"},"map_files_photo_id_array":[{"photo_id":"1392009756","filename":"file5"},{"photo_id":"1392009749","filename":"file2"},{"photo_id":"1392009754","filename":"file4"},{"photo_id":"1392009743","filename":"file1"},{"photo_id":"1392009738","filename":"file0"},{"photo_id":"1392009752","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392009738":["hashtag1","hashtag2"]},{"1392009752":["hashtag1","hashtag2"]},{"1392009749":["hashtag1","hashtag2"]},{"1392009743":["hashtag1","hashtag2"]},{"1392009754":["hashtag1","hashtag2"]},{"1392009756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392009738, 1392009752, 1392009749, 1392009743, 1392009754, 1392009756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43185997009277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:22:22.289406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_45_2618.jpg', '/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_51_3753.jpg', '/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_54_2682.jpg', '/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_59_2664.jpg', '/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_12_3753.jpg', '/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_15_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_45_2618.jpg
/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_51_3753.jpg
/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_54_2682.jpg
/home/pi/Desktop/images/03112025/01/35/image_03112025_01_35_59_2664.jpg
/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_12_3753.jpg
/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_15_2810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010038","1392009938","1392009895","1392009978","1392009852","1392010027"],"photo_ids_order":["1392009852","1392009895","1392009938","1392009978","1392010027","1392010038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/721e17546a6fc1e44b7869dca823a226.jpg","text":"TemporaryFile(/tmp/multipartBody162285666191057937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158203032,"filename":"image_03112025_01_36_15_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/3/2226f3433cbdd2e6d32a2ba4f1e1ce58.jpg","text":"TemporaryFile(/tmp/multipartBody890814609390373318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158203032,"filename":"image_03112025_01_35_54_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/63816101f667477e6c2af6e6ec4f383f.jpg","text":"TemporaryFile(/tmp/multipartBody670672751283060603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158203032,"filename":"image_03112025_01_35_51_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/3/f8cf35ea092a661cecb836300e19fc49.jpg","text":"TemporaryFile(/tmp/multipartBody7608737512905295266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158203032,"filename":"image_03112025_01_35_59_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/3/c6575bcb38d827f5289a727a37cb6b2d.jpg","text":"TemporaryFile(/tmp/multipartBody6847158054166986192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158203032,"filename":"image_03112025_01_35_45_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/3/66ea7184777f6ccf1feca8c73eb3a4dc.jpg","text":"TemporaryFile(/tmp/multipartBody604322646256642189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158203032,"filename":"image_03112025_01_36_12_3753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392009938","file1":"1392009895","file0":"1392009852","file4":"1392010027","file5":"1392010038","file3":"1392009978"},"map_files_photo_id_array":[{"photo_id":"1392010038","filename":"file5"},{"photo_id":"1392009938","filename":"file2"},{"photo_id":"1392010027","filename":"file4"},{"photo_id":"1392009895","filename":"file1"},{"photo_id":"1392009852","filename":"file0"},{"photo_id":"1392009978","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010038":["hashtag1","hashtag2"]},{"1392009938":["hashtag1","hashtag2"]},{"1392009895":["hashtag1","hashtag2"]},{"1392009978":["hashtag1","hashtag2"]},{"1392009852":["hashtag1","hashtag2"]},{"1392010027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010038, 1392009938, 1392009895, 1392009978, 1392009852, 1392010027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27906274795532 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-03 09:23:25.212781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_24_3631.jpg', '/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_42_2907.jpg', '/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_48_3800.jpg', '/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_56_2575.jpg', '/home/pi/Desktop/images/03112025/01/36/image_03112025_01_37_00_3627.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_06_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_24_3631.jpg
/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_42_2907.jpg
/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_48_3800.jpg
/home/pi/Desktop/images/03112025/01/36/image_03112025_01_36_56_2575.jpg
/home/pi/Desktop/images/03112025/01/36/image_03112025_01_37_00_3627.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_06_2793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010182","1392010185","1392010173","1392010169","1392010166","1392010177"],"photo_ids_order":["1392010166","1392010169","1392010173","1392010177","1392010182","1392010185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d7c20c201e16061fd0e1b906db951fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1151680996007094224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158265919,"filename":"image_03112025_01_37_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/3/f5cb0c687783c1783b1f2ddd6b638964.jpg","text":"TemporaryFile(/tmp/multipartBody6132756053728500664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158265919,"filename":"image_03112025_01_37_06_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/3/9ad5726eba6450b3df2d96b35a2c424c.jpg","text":"TemporaryFile(/tmp/multipartBody2981322556755528181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158265919,"filename":"image_03112025_01_36_48_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/3/f7bc3fa493bd7dc2c580720ad320f4ab.jpg","text":"TemporaryFile(/tmp/multipartBody80030068405080062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158265919,"filename":"image_03112025_01_36_42_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/3/49e9cbec140140abf790b79d57d8b609.jpg","text":"TemporaryFile(/tmp/multipartBody4470460428774386842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158265919,"filename":"image_03112025_01_36_24_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/3/8c60bf79ef801853b5d666863df49312.jpg","text":"TemporaryFile(/tmp/multipartBody3550314247057736451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158265919,"filename":"image_03112025_01_36_56_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010173","file1":"1392010169","file0":"1392010166","file4":"1392010182","file5":"1392010185","file3":"1392010177"},"map_files_photo_id_array":[{"photo_id":"1392010185","filename":"file5"},{"photo_id":"1392010173","filename":"file2"},{"photo_id":"1392010182","filename":"file4"},{"photo_id":"1392010169","filename":"file1"},{"photo_id":"1392010166","filename":"file0"},{"photo_id":"1392010177","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010182":["hashtag1","hashtag2"]},{"1392010185":["hashtag1","hashtag2"]},{"1392010173":["hashtag1","hashtag2"]},{"1392010169":["hashtag1","hashtag2"]},{"1392010166":["hashtag1","hashtag2"]},{"1392010177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010182, 1392010185, 1392010173, 1392010169, 1392010166, 1392010177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29127788543701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:24:22.453969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_08_2811.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_12_3691.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_15_2679.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_18_2784.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_21_3570.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_33_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_08_2811.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_12_3691.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_15_2679.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_18_2784.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_21_3570.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_33_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010197","1392010215","1392010200","1392010217","1392010205","1392010194"],"photo_ids_order":["1392010194","1392010197","1392010200","1392010205","1392010215","1392010217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/52ac70f2ec52fb66b6dd5c329e80726b.jpg","text":"TemporaryFile(/tmp/multipartBody6473897262159607463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158324823,"filename":"image_03112025_01_37_12_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/3/b0f1c4c6857a8488ba12aa571c56089f.jpg","text":"TemporaryFile(/tmp/multipartBody5504818528005869560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158324823,"filename":"image_03112025_01_37_21_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/3/21de49624184bc5a53c21ae9aca09591.jpg","text":"TemporaryFile(/tmp/multipartBody4385735427127971035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158324823,"filename":"image_03112025_01_37_15_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/3/7617c669620fc54a00bfb96a774d5b07.jpg","text":"TemporaryFile(/tmp/multipartBody6895254738173308190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158324823,"filename":"image_03112025_01_37_33_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/3/1fa1168a9e628bc9a803ae6e55975caa.jpg","text":"TemporaryFile(/tmp/multipartBody7601962583071240281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158324823,"filename":"image_03112025_01_37_18_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/3/bb7c46c69721cb8cfd5fa54ad22888c3.jpg","text":"TemporaryFile(/tmp/multipartBody1496835152937618553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158324823,"filename":"image_03112025_01_37_08_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010200","file1":"1392010197","file0":"1392010194","file4":"1392010215","file5":"1392010217","file3":"1392010205"},"map_files_photo_id_array":[{"photo_id":"1392010217","filename":"file5"},{"photo_id":"1392010200","filename":"file2"},{"photo_id":"1392010215","filename":"file4"},{"photo_id":"1392010197","filename":"file1"},{"photo_id":"1392010194","filename":"file0"},{"photo_id":"1392010205","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010197":["hashtag1","hashtag2"]},{"1392010215":["hashtag1","hashtag2"]},{"1392010200":["hashtag1","hashtag2"]},{"1392010217":["hashtag1","hashtag2"]},{"1392010205":["hashtag1","hashtag2"]},{"1392010194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010197, 1392010215, 1392010200, 1392010217, 1392010205, 1392010194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15551805496216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:25:02.966823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_35_2576.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_39_3660.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_48_3663.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_53_2628.jpg', '/home/pi/Desktop/images/03112025/01/37/image_03112025_01_38_00_2815.jpg', '/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_09_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_35_2576.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_39_3660.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_48_3663.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_37_53_2628.jpg
/home/pi/Desktop/images/03112025/01/37/image_03112025_01_38_00_2815.jpg
/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_09_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010257","1392010239","1392010274","1392010268","1392010250","1392010270"],"photo_ids_order":["1392010239","1392010250","1392010257","1392010268","1392010270","1392010274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4e0feaddf3ebdbcd23bcf38a0dae3f21.jpg","text":"TemporaryFile(/tmp/multipartBody4051415992148961409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158363854,"filename":"image_03112025_01_37_48_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/3/c6586619e478c88e79a17ca0e9c87bc2.jpg","text":"TemporaryFile(/tmp/multipartBody386736162047474288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158363854,"filename":"image_03112025_01_37_35_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/3/f427b97679a05bac4cbc1db19fdbea89.jpg","text":"TemporaryFile(/tmp/multipartBody5902608807621920961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158363854,"filename":"image_03112025_01_38_09_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/74dfde15442957dd6495a43358a33a24.jpg","text":"TemporaryFile(/tmp/multipartBody3917587662165934374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158363854,"filename":"image_03112025_01_37_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/3/eb7d2d194e4676a311e141d36665fb6e.jpg","text":"TemporaryFile(/tmp/multipartBody2558308679607159020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158363854,"filename":"image_03112025_01_37_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/3/6114b31a818733ae9aaf9d805f72df2b.jpg","text":"TemporaryFile(/tmp/multipartBody4548630386718073624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158363854,"filename":"image_03112025_01_38_00_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010257","file1":"1392010250","file0":"1392010239","file4":"1392010270","file5":"1392010274","file3":"1392010268"},"map_files_photo_id_array":[{"photo_id":"1392010274","filename":"file5"},{"photo_id":"1392010257","filename":"file2"},{"photo_id":"1392010270","filename":"file4"},{"photo_id":"1392010250","filename":"file1"},{"photo_id":"1392010239","filename":"file0"},{"photo_id":"1392010268","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010257":["hashtag1","hashtag2"]},{"1392010239":["hashtag1","hashtag2"]},{"1392010274":["hashtag1","hashtag2"]},{"1392010268":["hashtag1","hashtag2"]},{"1392010250":["hashtag1","hashtag2"]},{"1392010270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010257, 1392010239, 1392010274, 1392010268, 1392010250, 1392010270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.961028814315796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:25:42.669991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_12_2721.jpg', '/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_14_2661.jpg', '/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_53_2899.jpg', '/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_57_3645.jpg', '/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_12_3013.jpg', '/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_14_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_12_2721.jpg
/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_14_2661.jpg
/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_53_2899.jpg
/home/pi/Desktop/images/03112025/01/38/image_03112025_01_38_57_3645.jpg
/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_12_3013.jpg
/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_14_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010299","1392010298","1392010295","1392010288","1392010300","1392010293"],"photo_ids_order":["1392010288","1392010293","1392010295","1392010298","1392010299","1392010300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef441371c8002dcb9e5aba148e64d64f.jpg","text":"TemporaryFile(/tmp/multipartBody7649826195233168324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158403451,"filename":"image_03112025_01_39_12_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/3/7450fd748f8b863b81f6113b2d770a58.jpg","text":"TemporaryFile(/tmp/multipartBody5843592397410073367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158403451,"filename":"image_03112025_01_38_57_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/3/610deb49ca0d395b5d4fbfcd72a9c1ed.jpg","text":"TemporaryFile(/tmp/multipartBody657326229176047835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158403451,"filename":"image_03112025_01_38_53_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a73c8b215b89510f45b692e93e5d5bf.jpg","text":"TemporaryFile(/tmp/multipartBody179027936023646144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158403451,"filename":"image_03112025_01_38_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/3/e7076a5fa244a6b18411e239f9bade47.jpg","text":"TemporaryFile(/tmp/multipartBody3601796556312576555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158403451,"filename":"image_03112025_01_39_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/3/54c34d0a6e6dc69d293c5640fe984763.jpg","text":"TemporaryFile(/tmp/multipartBody4982464317893109578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158403451,"filename":"image_03112025_01_38_14_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010295","file1":"1392010293","file0":"1392010288","file4":"1392010299","file5":"1392010300","file3":"1392010298"},"map_files_photo_id_array":[{"photo_id":"1392010300","filename":"file5"},{"photo_id":"1392010295","filename":"file2"},{"photo_id":"1392010299","filename":"file4"},{"photo_id":"1392010293","filename":"file1"},{"photo_id":"1392010288","filename":"file0"},{"photo_id":"1392010298","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010299":["hashtag1","hashtag2"]},{"1392010298":["hashtag1","hashtag2"]},{"1392010295":["hashtag1","hashtag2"]},{"1392010288":["hashtag1","hashtag2"]},{"1392010300":["hashtag1","hashtag2"]},{"1392010293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010299, 1392010298, 1392010295, 1392010288, 1392010300, 1392010293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50361776351929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:26:21.790481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_18_3574.jpg', '/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_26_2843.jpg', '/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_30_3536.jpg', '/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_36_3690.jpg', '/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_53_2765.jpg', '/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_57_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_18_3574.jpg
/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_26_2843.jpg
/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_30_3536.jpg
/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_36_3690.jpg
/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_53_2765.jpg
/home/pi/Desktop/images/03112025/01/39/image_03112025_01_39_57_3648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010306","1392010314","1392010322","1392010319","1392010310","1392010303"],"photo_ids_order":["1392010303","1392010306","1392010310","1392010314","1392010319","1392010322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e8cb0dc9ce8d3057902e3bd6eb900c71.jpg","text":"TemporaryFile(/tmp/multipartBody5365769316130451376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158442533,"filename":"image_03112025_01_39_26_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/3/bd8a67637e41b80794a37d2cbee76d9e.jpg","text":"TemporaryFile(/tmp/multipartBody3170150126552356344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158442533,"filename":"image_03112025_01_39_36_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/3/35f158a6c1774edbee13d1b16d2e3f79.jpg","text":"TemporaryFile(/tmp/multipartBody2642912242670634281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158442533,"filename":"image_03112025_01_39_57_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/42bca24b3fdd4ee1b3f6dee76eeb0300.jpg","text":"TemporaryFile(/tmp/multipartBody468949161495002334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158442533,"filename":"image_03112025_01_39_53_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/3/e80c51cde7fbfa59b304aea6d9c03b98.jpg","text":"TemporaryFile(/tmp/multipartBody7275692924815094989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158442533,"filename":"image_03112025_01_39_30_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/3/54abc1e3fb80e19c2f9a946d43f7a9f7.jpg","text":"TemporaryFile(/tmp/multipartBody2650987997404459709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158442533,"filename":"image_03112025_01_39_18_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010310","file1":"1392010306","file0":"1392010303","file4":"1392010319","file5":"1392010322","file3":"1392010314"},"map_files_photo_id_array":[{"photo_id":"1392010322","filename":"file5"},{"photo_id":"1392010310","filename":"file2"},{"photo_id":"1392010319","filename":"file4"},{"photo_id":"1392010306","filename":"file1"},{"photo_id":"1392010303","filename":"file0"},{"photo_id":"1392010314","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010306":["hashtag1","hashtag2"]},{"1392010314":["hashtag1","hashtag2"]},{"1392010322":["hashtag1","hashtag2"]},{"1392010319":["hashtag1","hashtag2"]},{"1392010310":["hashtag1","hashtag2"]},{"1392010303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010306, 1392010314, 1392010322, 1392010319, 1392010310, 1392010303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.083235025405884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:27:02.684041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/39/image_03112025_01_40_00_2745.jpg', '/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_11_2710.jpg', '/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_18_3718.jpg', '/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_20_2688.jpg', '/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_27_3683.jpg', '/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_57_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/39/image_03112025_01_40_00_2745.jpg
/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_11_2710.jpg
/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_18_3718.jpg
/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_20_2688.jpg
/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_27_3683.jpg
/home/pi/Desktop/images/03112025/01/40/image_03112025_01_40_57_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010359","1392010328","1392010363","1392010357","1392010354","1392010342"],"photo_ids_order":["1392010328","1392010342","1392010354","1392010357","1392010359","1392010363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa6176fe454066ece4084337465c3ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2970155501230759863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158483585,"filename":"image_03112025_01_40_27_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/3/27bb238d20281d241b564414b1642703.jpg","text":"TemporaryFile(/tmp/multipartBody6036314903504776063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158483585,"filename":"image_03112025_01_40_00_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/3/0d171ef322f87c5206d29c36bc0b4e74.jpg","text":"TemporaryFile(/tmp/multipartBody6602354288317307543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158483585,"filename":"image_03112025_01_40_57_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/3/2f8b0bd5efdd7012dc53678cb0068608.jpg","text":"TemporaryFile(/tmp/multipartBody6783919813355444706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158483585,"filename":"image_03112025_01_40_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/3/9475b7edca34b4ea2afd1cacf79a79d3.jpg","text":"TemporaryFile(/tmp/multipartBody7184155433826824311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158483585,"filename":"image_03112025_01_40_18_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/3/fd2bb9561ed15e5a798dff2984a1b83a.jpg","text":"TemporaryFile(/tmp/multipartBody3559617623254474149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158483585,"filename":"image_03112025_01_40_11_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010354","file1":"1392010342","file0":"1392010328","file4":"1392010359","file5":"1392010363","file3":"1392010357"},"map_files_photo_id_array":[{"photo_id":"1392010363","filename":"file5"},{"photo_id":"1392010354","filename":"file2"},{"photo_id":"1392010359","filename":"file4"},{"photo_id":"1392010342","filename":"file1"},{"photo_id":"1392010328","filename":"file0"},{"photo_id":"1392010357","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010359":["hashtag1","hashtag2"]},{"1392010328":["hashtag1","hashtag2"]},{"1392010363":["hashtag1","hashtag2"]},{"1392010357":["hashtag1","hashtag2"]},{"1392010354":["hashtag1","hashtag2"]},{"1392010342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010359, 1392010328, 1392010363, 1392010357, 1392010354, 1392010342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66162061691284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:27:42.047121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/41/image_03112025_01_41_06_2742.jpg', '/home/pi/Desktop/images/03112025/01/41/image_03112025_01_41_20_2657.jpg', '/home/pi/Desktop/images/03112025/01/41/image_03112025_01_41_23_2748.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_05_2819.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_12_3584.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_17_2948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/41/image_03112025_01_41_06_2742.jpg
/home/pi/Desktop/images/03112025/01/41/image_03112025_01_41_20_2657.jpg
/home/pi/Desktop/images/03112025/01/41/image_03112025_01_41_23_2748.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_05_2819.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_12_3584.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_17_2948.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010383","1392010379","1392010370","1392010373","1392010376","1392010392"],"photo_ids_order":["1392010370","1392010373","1392010376","1392010379","1392010383","1392010392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/599f1102f9f18547f9ddc4d787e7f9f4.jpg","text":"TemporaryFile(/tmp/multipartBody2749469877649060261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158522829,"filename":"image_03112025_01_42_12_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/3/08b6e09da0329cbccf66375bb6a1657c.jpg","text":"TemporaryFile(/tmp/multipartBody7990780683114548166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158522829,"filename":"image_03112025_01_42_05_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/3/1b602d374491975cc4408dce2fe28a2c.jpg","text":"TemporaryFile(/tmp/multipartBody32618580005837786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158522829,"filename":"image_03112025_01_41_06_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/3/2aa41021656d63c1bed164a6797f633c.jpg","text":"TemporaryFile(/tmp/multipartBody5396228179041893601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158522829,"filename":"image_03112025_01_41_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/3/193c48fb47decc08d5b01e788392e729.jpg","text":"TemporaryFile(/tmp/multipartBody8865237311624633481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158522829,"filename":"image_03112025_01_41_23_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/3/1f6d8518e5d73c814516f1839be877e5.jpg","text":"TemporaryFile(/tmp/multipartBody1850241107992246089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158522829,"filename":"image_03112025_01_42_17_2948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010376","file1":"1392010373","file0":"1392010370","file4":"1392010383","file5":"1392010392","file3":"1392010379"},"map_files_photo_id_array":[{"photo_id":"1392010392","filename":"file5"},{"photo_id":"1392010376","filename":"file2"},{"photo_id":"1392010383","filename":"file4"},{"photo_id":"1392010373","filename":"file1"},{"photo_id":"1392010370","filename":"file0"},{"photo_id":"1392010379","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010383":["hashtag1","hashtag2"]},{"1392010379":["hashtag1","hashtag2"]},{"1392010370":["hashtag1","hashtag2"]},{"1392010373":["hashtag1","hashtag2"]},{"1392010376":["hashtag1","hashtag2"]},{"1392010392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010383, 1392010379, 1392010370, 1392010373, 1392010376, 1392010392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35407018661499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:28:22.184552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_24_3773.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_26_2612.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_29_2650.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_45_2778.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_47_2611.jpg', '/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_14_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_24_3773.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_26_2612.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_29_2650.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_45_2778.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_47_2611.jpg
/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_14_2749.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6554155349731445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:28:42.322345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_24_3773.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_26_2612.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_29_2650.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_45_2778.jpg', '/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_47_2611.jpg', '/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_14_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_24_3773.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_26_2612.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_29_2650.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_45_2778.jpg
/home/pi/Desktop/images/03112025/01/42/image_03112025_01_42_47_2611.jpg
/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_14_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010440","1392010448","1392010450","1392010444","1392010447","1392010435"],"photo_ids_order":["1392010435","1392010440","1392010444","1392010447","1392010448","1392010450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/91a74335e28b768c96ac13abb3bda912.jpg","text":"TemporaryFile(/tmp/multipartBody2743044636094568760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158583111,"filename":"image_03112025_01_42_26_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/3/eb33e57f03bad0e924c94dca7d038458.jpg","text":"TemporaryFile(/tmp/multipartBody107810776266085351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158583111,"filename":"image_03112025_01_42_47_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/3/e14116ce1d329640c2d148d24db37a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4711242552871335924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158583111,"filename":"image_03112025_01_43_14_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/3/56bdf838ea2fd680ead2c36baf728e9d.jpg","text":"TemporaryFile(/tmp/multipartBody9129089608124709500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158583111,"filename":"image_03112025_01_42_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/3/964c68d5002c43d50ea2f5bde682dabd.jpg","text":"TemporaryFile(/tmp/multipartBody7875946282121406725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158583111,"filename":"image_03112025_01_42_45_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/3/86fbb04ec6f274f725740d8824e19393.jpg","text":"TemporaryFile(/tmp/multipartBody129526344196849367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158583111,"filename":"image_03112025_01_42_24_3773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010444","file1":"1392010440","file0":"1392010435","file4":"1392010448","file5":"1392010450","file3":"1392010447"},"map_files_photo_id_array":[{"photo_id":"1392010450","filename":"file5"},{"photo_id":"1392010444","filename":"file2"},{"photo_id":"1392010448","filename":"file4"},{"photo_id":"1392010440","filename":"file1"},{"photo_id":"1392010435","filename":"file0"},{"photo_id":"1392010447","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010440":["hashtag1","hashtag2"]},{"1392010448":["hashtag1","hashtag2"]},{"1392010450":["hashtag1","hashtag2"]},{"1392010444":["hashtag1","hashtag2"]},{"1392010447":["hashtag1","hashtag2"]},{"1392010435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010440, 1392010448, 1392010450, 1392010444, 1392010447, 1392010435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.210047006607056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:29:22.431383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_17_2745.jpg', '/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_23_3724.jpg', '/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_29_2618.jpg', '/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_35_2734.jpg', '/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_38_2921.jpg', '/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_47_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_17_2745.jpg
/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_23_3724.jpg
/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_29_2618.jpg
/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_35_2734.jpg
/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_38_2921.jpg
/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_47_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010476","1392010461","1392010458","1392010466","1392010469","1392010463"],"photo_ids_order":["1392010458","1392010461","1392010463","1392010466","1392010469","1392010476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2261f660b3bc53a8792cc2444f9352dc.jpg","text":"TemporaryFile(/tmp/multipartBody9104983052952821286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158623219,"filename":"image_03112025_01_43_47_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/3/c991a2dd74f172f3ee5810e087bcdd0d.jpg","text":"TemporaryFile(/tmp/multipartBody8960324869508548604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158623219,"filename":"image_03112025_01_43_23_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/3/423fea9644e6100e2ac7fb711ee68544.jpg","text":"TemporaryFile(/tmp/multipartBody1243117557580755666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158623219,"filename":"image_03112025_01_43_17_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/04bf7afdf417c36f4e0c1095a6b082c8.jpg","text":"TemporaryFile(/tmp/multipartBody7834357356776110121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158623219,"filename":"image_03112025_01_43_35_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/05313ff9253aefe446246d4eb9e4c7d2.jpg","text":"TemporaryFile(/tmp/multipartBody2595150210701541012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158623219,"filename":"image_03112025_01_43_38_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/3/e4a44031dfc937261a76fe43274f58c4.jpg","text":"TemporaryFile(/tmp/multipartBody5793940801329639752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158623219,"filename":"image_03112025_01_43_29_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010463","file1":"1392010461","file0":"1392010458","file4":"1392010469","file5":"1392010476","file3":"1392010466"},"map_files_photo_id_array":[{"photo_id":"1392010476","filename":"file5"},{"photo_id":"1392010463","filename":"file2"},{"photo_id":"1392010469","filename":"file4"},{"photo_id":"1392010461","filename":"file1"},{"photo_id":"1392010458","filename":"file0"},{"photo_id":"1392010466","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010476":["hashtag1","hashtag2"]},{"1392010461":["hashtag1","hashtag2"]},{"1392010458":["hashtag1","hashtag2"]},{"1392010466":["hashtag1","hashtag2"]},{"1392010469":["hashtag1","hashtag2"]},{"1392010463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010476, 1392010461, 1392010458, 1392010466, 1392010469, 1392010463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83214521408081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:30:03.230743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_50_2778.jpg', '/home/pi/Desktop/images/03112025/01/44/image_03112025_01_44_35_2794.jpg', '/home/pi/Desktop/images/03112025/01/44/image_03112025_01_44_38_2769.jpg', '/home/pi/Desktop/images/03112025/01/44/image_03112025_01_44_41_2661.jpg', '/home/pi/Desktop/images/03112025/01/44/image_03112025_01_44_44_3645.jpg', '/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_02_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/43/image_03112025_01_43_50_2778.jpg
/home/pi/Desktop/images/03112025/01/44/image_03112025_01_44_35_2794.jpg
/home/pi/Desktop/images/03112025/01/44/image_03112025_01_44_38_2769.jpg
/home/pi/Desktop/images/03112025/01/44/image_03112025_01_44_41_2661.jpg
/home/pi/Desktop/images/03112025/01/44/image_03112025_01_44_44_3645.jpg
/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_02_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010494","1392010482","1392010496","1392010500","1392010498","1392010485"],"photo_ids_order":["1392010482","1392010485","1392010494","1392010496","1392010498","1392010500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/755caf45c3b95e8e82386d8cfba9084a.jpg","text":"TemporaryFile(/tmp/multipartBody7671703147849839851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158664092,"filename":"image_03112025_01_44_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/3/886f4095f69c7ae9e0e2cf9322b6eabd.jpg","text":"TemporaryFile(/tmp/multipartBody1210200055969286934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158664092,"filename":"image_03112025_01_43_50_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d23a7861c5a6fe90fe3b8e2921761d3.jpg","text":"TemporaryFile(/tmp/multipartBody4700825508064951827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158664092,"filename":"image_03112025_01_44_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/3/e4f5c29941a5f4f7e387854b6a3c76c4.jpg","text":"TemporaryFile(/tmp/multipartBody8898394565241456282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158664092,"filename":"image_03112025_01_45_02_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/3/c991d0f8153dab162ba0fdfbfce3e647.jpg","text":"TemporaryFile(/tmp/multipartBody4046026478940128351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158664092,"filename":"image_03112025_01_44_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/3/72fdfc87c77102df2f24802463dd76d1.jpg","text":"TemporaryFile(/tmp/multipartBody7161680847671922733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158664092,"filename":"image_03112025_01_44_35_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010494","file1":"1392010485","file0":"1392010482","file4":"1392010498","file5":"1392010500","file3":"1392010496"},"map_files_photo_id_array":[{"photo_id":"1392010500","filename":"file5"},{"photo_id":"1392010494","filename":"file2"},{"photo_id":"1392010498","filename":"file4"},{"photo_id":"1392010485","filename":"file1"},{"photo_id":"1392010482","filename":"file0"},{"photo_id":"1392010496","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010494":["hashtag1","hashtag2"]},{"1392010482":["hashtag1","hashtag2"]},{"1392010496":["hashtag1","hashtag2"]},{"1392010500":["hashtag1","hashtag2"]},{"1392010498":["hashtag1","hashtag2"]},{"1392010485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010494, 1392010482, 1392010496, 1392010500, 1392010498, 1392010485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.098143577575684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:31:03.460214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_32_2667.jpg', '/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_50_2610.jpg', '/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_53_2644.jpg', '/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_59_2704.jpg', '/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_02_2743.jpg', '/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_08_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_32_2667.jpg
/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_50_2610.jpg
/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_53_2644.jpg
/home/pi/Desktop/images/03112025/01/45/image_03112025_01_45_59_2704.jpg
/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_02_2743.jpg
/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_08_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010527","1392010515","1392010525","1392010519","1392010510","1392010513"],"photo_ids_order":["1392010510","1392010513","1392010515","1392010519","1392010525","1392010527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5ac23608c1377130be718d435524fa2e.jpg","text":"TemporaryFile(/tmp/multipartBody1718074394152875639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158724329,"filename":"image_03112025_01_46_08_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/3/892a7ec939c0d5aee5d1890abf2b8d5d.jpg","text":"TemporaryFile(/tmp/multipartBody2706468473369280010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158724329,"filename":"image_03112025_01_45_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/3/4dea8d9c47380a0ce6304095199473d4.jpg","text":"TemporaryFile(/tmp/multipartBody5074084084634759672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158724329,"filename":"image_03112025_01_46_02_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c9c6ecd059f9571a86725b992704969e.jpg","text":"TemporaryFile(/tmp/multipartBody7874769060336264652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158724329,"filename":"image_03112025_01_45_59_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/3/db6ae60724a3841e0e6d5b946e34ce67.jpg","text":"TemporaryFile(/tmp/multipartBody983420012134992026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158724329,"filename":"image_03112025_01_45_32_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/660daa8f3c7952a85a8bd29673aaa682.jpg","text":"TemporaryFile(/tmp/multipartBody4863966315220658616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158724329,"filename":"image_03112025_01_45_50_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010515","file1":"1392010513","file0":"1392010510","file4":"1392010525","file5":"1392010527","file3":"1392010519"},"map_files_photo_id_array":[{"photo_id":"1392010527","filename":"file5"},{"photo_id":"1392010515","filename":"file2"},{"photo_id":"1392010525","filename":"file4"},{"photo_id":"1392010513","filename":"file1"},{"photo_id":"1392010510","filename":"file0"},{"photo_id":"1392010519","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010527":["hashtag1","hashtag2"]},{"1392010515":["hashtag1","hashtag2"]},{"1392010525":["hashtag1","hashtag2"]},{"1392010519":["hashtag1","hashtag2"]},{"1392010510":["hashtag1","hashtag2"]},{"1392010513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010527, 1392010515, 1392010525, 1392010519, 1392010510, 1392010513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.009167432785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:31:42.773923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_11_2838.jpg', '/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_28_2653.jpg', '/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_47_2646.jpg', '/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_49_2770.jpg', '/home/pi/Desktop/images/03112025/01/47/image_03112025_01_47_11_3658.jpg', '/home/pi/Desktop/images/03112025/01/47/image_03112025_01_47_14_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_11_2838.jpg
/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_28_2653.jpg
/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_47_2646.jpg
/home/pi/Desktop/images/03112025/01/46/image_03112025_01_46_49_2770.jpg
/home/pi/Desktop/images/03112025/01/47/image_03112025_01_47_11_3658.jpg
/home/pi/Desktop/images/03112025/01/47/image_03112025_01_47_14_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010550","1392010553","1392010535","1392010543","1392010546","1392010540"],"photo_ids_order":["1392010535","1392010540","1392010543","1392010546","1392010550","1392010553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0ea6ae712ad79b2b5269ea90930cf2cf.jpg","text":"TemporaryFile(/tmp/multipartBody118335036263628759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158763558,"filename":"image_03112025_01_47_11_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/3/b737391aedaff60a61f4bc754823f0a0.jpg","text":"TemporaryFile(/tmp/multipartBody638336135142811166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158763558,"filename":"image_03112025_01_47_14_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7fb7080adb6e0000585ea01543ab6081.jpg","text":"TemporaryFile(/tmp/multipartBody2200061738547067642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158763558,"filename":"image_03112025_01_46_11_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/3/e0dbf46b1c6faf55bddb919a3e113f49.jpg","text":"TemporaryFile(/tmp/multipartBody5507739244061779128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158763558,"filename":"image_03112025_01_46_47_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/3/520e15ea8ce548ff96708e52c1750612.jpg","text":"TemporaryFile(/tmp/multipartBody3902346744420766584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158763558,"filename":"image_03112025_01_46_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/3/5d7645856fd147b3bd984874788acc1e.jpg","text":"TemporaryFile(/tmp/multipartBody5971553847615093853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158763558,"filename":"image_03112025_01_46_28_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010543","file1":"1392010540","file0":"1392010535","file4":"1392010550","file5":"1392010553","file3":"1392010546"},"map_files_photo_id_array":[{"photo_id":"1392010553","filename":"file5"},{"photo_id":"1392010543","filename":"file2"},{"photo_id":"1392010550","filename":"file4"},{"photo_id":"1392010540","filename":"file1"},{"photo_id":"1392010535","filename":"file0"},{"photo_id":"1392010546","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010550":["hashtag1","hashtag2"]},{"1392010553":["hashtag1","hashtag2"]},{"1392010535":["hashtag1","hashtag2"]},{"1392010543":["hashtag1","hashtag2"]},{"1392010546":["hashtag1","hashtag2"]},{"1392010540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010550, 1392010553, 1392010535, 1392010543, 1392010546, 1392010540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7937445640564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:32:21.865747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/47/image_03112025_01_47_58_2716.jpg', '/home/pi/Desktop/images/03112025/01/48/image_03112025_01_48_16_2651.jpg', '/home/pi/Desktop/images/03112025/01/48/image_03112025_01_48_41_3694.jpg', '/home/pi/Desktop/images/03112025/01/49/image_03112025_01_49_59_2775.jpg', '/home/pi/Desktop/images/03112025/01/50/image_03112025_01_50_01_2705.jpg', '/home/pi/Desktop/images/03112025/01/50/image_03112025_01_50_05_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/47/image_03112025_01_47_58_2716.jpg
/home/pi/Desktop/images/03112025/01/48/image_03112025_01_48_16_2651.jpg
/home/pi/Desktop/images/03112025/01/48/image_03112025_01_48_41_3694.jpg
/home/pi/Desktop/images/03112025/01/49/image_03112025_01_49_59_2775.jpg
/home/pi/Desktop/images/03112025/01/50/image_03112025_01_50_01_2705.jpg
/home/pi/Desktop/images/03112025/01/50/image_03112025_01_50_05_3547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010575","1392010557","1392010559","1392010562","1392010567","1392010584"],"photo_ids_order":["1392010557","1392010559","1392010562","1392010567","1392010575","1392010584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c70ddc2bd1a88653517e2d28a6bde0c7.jpg","text":"TemporaryFile(/tmp/multipartBody153549124905856442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158802616,"filename":"image_03112025_01_50_01_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/3/404039bdc9307aefa7ae2f6a01c3056b.jpg","text":"TemporaryFile(/tmp/multipartBody6020678331516221566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158802616,"filename":"image_03112025_01_47_58_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/3/7a590cb48359f630ba08c6fbc240cbb7.jpg","text":"TemporaryFile(/tmp/multipartBody2742395065012512187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158802616,"filename":"image_03112025_01_48_16_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/3/e80a6577f60eebd10d43db33c1713695.jpg","text":"TemporaryFile(/tmp/multipartBody7622246491130528207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158802616,"filename":"image_03112025_01_48_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/3/393cd24c196a6cf779835a9028c5d8de.jpg","text":"TemporaryFile(/tmp/multipartBody9062571160458868186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158802616,"filename":"image_03112025_01_49_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/3/f14e757b4105660b6afd2ba5f39ee3a4.jpg","text":"TemporaryFile(/tmp/multipartBody4812620053931141220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158802616,"filename":"image_03112025_01_50_05_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010562","file1":"1392010559","file0":"1392010557","file4":"1392010575","file5":"1392010584","file3":"1392010567"},"map_files_photo_id_array":[{"photo_id":"1392010584","filename":"file5"},{"photo_id":"1392010562","filename":"file2"},{"photo_id":"1392010575","filename":"file4"},{"photo_id":"1392010559","filename":"file1"},{"photo_id":"1392010557","filename":"file0"},{"photo_id":"1392010567","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010575":["hashtag1","hashtag2"]},{"1392010557":["hashtag1","hashtag2"]},{"1392010559":["hashtag1","hashtag2"]},{"1392010562":["hashtag1","hashtag2"]},{"1392010567":["hashtag1","hashtag2"]},{"1392010584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010575, 1392010557, 1392010559, 1392010562, 1392010567, 1392010584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12005949020386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:33:02.713583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/01/50/image_03112025_01_50_17_2846.jpg', '/home/pi/Desktop/images/03112025/01/55/image_03112025_01_55_16_2695.jpg', '/home/pi/Desktop/images/03112025/01/55/image_03112025_01_55_22_2838.jpg', '/home/pi/Desktop/images/03112025/02/01/image_03112025_02_01_30_1732.jpg', '/home/pi/Desktop/images/03112025/02/01/image_03112025_02_01_33_1677.jpg', '/home/pi/Desktop/images/03112025/02/03/image_03112025_02_03_41_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/01/50/image_03112025_01_50_17_2846.jpg
/home/pi/Desktop/images/03112025/01/55/image_03112025_01_55_16_2695.jpg
/home/pi/Desktop/images/03112025/01/55/image_03112025_01_55_22_2838.jpg
/home/pi/Desktop/images/03112025/02/01/image_03112025_02_01_30_1732.jpg
/home/pi/Desktop/images/03112025/02/01/image_03112025_02_01_33_1677.jpg
/home/pi/Desktop/images/03112025/02/03/image_03112025_02_03_41_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010608","1392010613","1392010616","1392010610","1392010606","1392010599"],"photo_ids_order":["1392010599","1392010606","1392010608","1392010610","1392010613","1392010616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f0a5d1c3ee3f204110203313af2114d2.jpg","text":"TemporaryFile(/tmp/multipartBody6376184286909269458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158843598,"filename":"image_03112025_01_55_22_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/3/a26d0009a8851ef18642aba54530c6f1.jpg","text":"TemporaryFile(/tmp/multipartBody9038651280789130149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158843598,"filename":"image_03112025_02_01_33_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/3/bbce2471da0273db6f3a60b240246a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5606229394776342851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158843598,"filename":"image_03112025_02_03_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/3/3fa1310af5d2b28d2cdc7cb37f92b01a.jpg","text":"TemporaryFile(/tmp/multipartBody4790789719935872000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158843598,"filename":"image_03112025_02_01_30_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/3/598d0ae13c4eec7cf6876c71d7f36a20.jpg","text":"TemporaryFile(/tmp/multipartBody8780423511802622312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158843598,"filename":"image_03112025_01_55_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/3/62f2496a79e12d2d77896a38cfd7b4e7.jpg","text":"TemporaryFile(/tmp/multipartBody6547466249152926942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158843598,"filename":"image_03112025_01_50_17_2846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010608","file1":"1392010606","file0":"1392010599","file4":"1392010613","file5":"1392010616","file3":"1392010610"},"map_files_photo_id_array":[{"photo_id":"1392010616","filename":"file5"},{"photo_id":"1392010608","filename":"file2"},{"photo_id":"1392010613","filename":"file4"},{"photo_id":"1392010606","filename":"file1"},{"photo_id":"1392010599","filename":"file0"},{"photo_id":"1392010610","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010608":["hashtag1","hashtag2"]},{"1392010613":["hashtag1","hashtag2"]},{"1392010616":["hashtag1","hashtag2"]},{"1392010610":["hashtag1","hashtag2"]},{"1392010606":["hashtag1","hashtag2"]},{"1392010599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010608, 1392010613, 1392010616, 1392010610, 1392010606, 1392010599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39769673347473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:33:42.017299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/03/image_03112025_02_03_42_1672.jpg', '/home/pi/Desktop/images/03112025/02/03/image_03112025_02_03_53_1752.jpg', '/home/pi/Desktop/images/03112025/02/03/image_03112025_02_03_55_1604.jpg', '/home/pi/Desktop/images/03112025/02/04/image_03112025_02_04_21_2716.jpg', '/home/pi/Desktop/images/03112025/02/04/image_03112025_02_04_28_3731.jpg', '/home/pi/Desktop/images/03112025/02/07/image_03112025_02_07_25_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/03/image_03112025_02_03_42_1672.jpg
/home/pi/Desktop/images/03112025/02/03/image_03112025_02_03_53_1752.jpg
/home/pi/Desktop/images/03112025/02/03/image_03112025_02_03_55_1604.jpg
/home/pi/Desktop/images/03112025/02/04/image_03112025_02_04_21_2716.jpg
/home/pi/Desktop/images/03112025/02/04/image_03112025_02_04_28_3731.jpg
/home/pi/Desktop/images/03112025/02/07/image_03112025_02_07_25_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010635","1392010632","1392010631","1392010634","1392010633","1392010627"],"photo_ids_order":["1392010627","1392010631","1392010632","1392010633","1392010634","1392010635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/88599fda9ac60f97163ccc5adbbf7be0.jpg","text":"TemporaryFile(/tmp/multipartBody4416793167386307236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158882813,"filename":"image_03112025_02_07_25_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/3/169998c69811d98b17f89c8522f39746.jpg","text":"TemporaryFile(/tmp/multipartBody2396182374824189723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158882813,"filename":"image_03112025_02_03_55_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/3/f717af84b8270468a6adbb7abb3015cf.jpg","text":"TemporaryFile(/tmp/multipartBody5218090292751965554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158882813,"filename":"image_03112025_02_03_53_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/3/2de339034b79251edc8de5dd9d662812.jpg","text":"TemporaryFile(/tmp/multipartBody5189346054120911196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158882813,"filename":"image_03112025_02_04_28_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/116aa2eb3122d6033eefdb0466ba8656.jpg","text":"TemporaryFile(/tmp/multipartBody8001773469687886606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158882813,"filename":"image_03112025_02_04_21_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/3/1ed750a5f8809c7833b9d80b689487d7.jpg","text":"TemporaryFile(/tmp/multipartBody8330387353016468491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158882813,"filename":"image_03112025_02_03_42_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010632","file1":"1392010631","file0":"1392010627","file4":"1392010634","file5":"1392010635","file3":"1392010633"},"map_files_photo_id_array":[{"photo_id":"1392010635","filename":"file5"},{"photo_id":"1392010632","filename":"file2"},{"photo_id":"1392010634","filename":"file4"},{"photo_id":"1392010631","filename":"file1"},{"photo_id":"1392010627","filename":"file0"},{"photo_id":"1392010633","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010635":["hashtag1","hashtag2"]},{"1392010632":["hashtag1","hashtag2"]},{"1392010631":["hashtag1","hashtag2"]},{"1392010634":["hashtag1","hashtag2"]},{"1392010633":["hashtag1","hashtag2"]},{"1392010627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010635, 1392010632, 1392010631, 1392010634, 1392010633, 1392010627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34850454330444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:34:22.244282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/07/image_03112025_02_07_34_2804.jpg', '/home/pi/Desktop/images/03112025/02/07/image_03112025_02_07_40_2642.jpg', '/home/pi/Desktop/images/03112025/02/08/image_03112025_02_08_03_2789.jpg', '/home/pi/Desktop/images/03112025/02/08/image_03112025_02_08_12_2629.jpg', '/home/pi/Desktop/images/03112025/02/08/image_03112025_02_08_28_2643.jpg', '/home/pi/Desktop/images/03112025/02/08/image_03112025_02_08_49_2912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/07/image_03112025_02_07_34_2804.jpg
/home/pi/Desktop/images/03112025/02/07/image_03112025_02_07_40_2642.jpg
/home/pi/Desktop/images/03112025/02/08/image_03112025_02_08_03_2789.jpg
/home/pi/Desktop/images/03112025/02/08/image_03112025_02_08_12_2629.jpg
/home/pi/Desktop/images/03112025/02/08/image_03112025_02_08_28_2643.jpg
/home/pi/Desktop/images/03112025/02/08/image_03112025_02_08_49_2912.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010656","1392010673","1392010669","1392010666","1392010651","1392010645"],"photo_ids_order":["1392010645","1392010651","1392010656","1392010666","1392010669","1392010673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/965755a178b2590793da241fcbb9364a.jpg","text":"TemporaryFile(/tmp/multipartBody8355468101446385722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158922995,"filename":"image_03112025_02_08_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/3/b1e76c0cc07c321f1145e52b07b96ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2817659685700918838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158922995,"filename":"image_03112025_02_08_49_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/3/b581a9dc6580a10e80539d6b7e3755f8.jpg","text":"TemporaryFile(/tmp/multipartBody5013550598857650733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158922995,"filename":"image_03112025_02_08_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/3/63c7c704cbb0830d8254fe5aed01ab59.jpg","text":"TemporaryFile(/tmp/multipartBody6037358413713307586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158922995,"filename":"image_03112025_02_08_12_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/3/b1410e0e1128b1f3efe7b5e0344aff2a.jpg","text":"TemporaryFile(/tmp/multipartBody5632142817662021749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158922995,"filename":"image_03112025_02_07_40_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/3/e0e8eec4fdf96c3e691917ea8b776fb8.jpg","text":"TemporaryFile(/tmp/multipartBody2689401897766816847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158922995,"filename":"image_03112025_02_07_34_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010656","file1":"1392010651","file0":"1392010645","file4":"1392010669","file5":"1392010673","file3":"1392010666"},"map_files_photo_id_array":[{"photo_id":"1392010673","filename":"file5"},{"photo_id":"1392010656","filename":"file2"},{"photo_id":"1392010669","filename":"file4"},{"photo_id":"1392010651","filename":"file1"},{"photo_id":"1392010645","filename":"file0"},{"photo_id":"1392010666","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010656":["hashtag1","hashtag2"]},{"1392010673":["hashtag1","hashtag2"]},{"1392010669":["hashtag1","hashtag2"]},{"1392010666":["hashtag1","hashtag2"]},{"1392010651":["hashtag1","hashtag2"]},{"1392010645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010656, 1392010673, 1392010669, 1392010666, 1392010651, 1392010645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82831788063049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:35:02.982205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/10/image_03112025_02_10_10_2607.jpg', '/home/pi/Desktop/images/03112025/02/10/image_03112025_02_10_25_2889.jpg', '/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_13_3598.jpg', '/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_32_1527.jpg', '/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_34_1670.jpg', '/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_39_2944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/10/image_03112025_02_10_10_2607.jpg
/home/pi/Desktop/images/03112025/02/10/image_03112025_02_10_25_2889.jpg
/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_13_3598.jpg
/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_32_1527.jpg
/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_34_1670.jpg
/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_39_2944.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010701","1392010688","1392010691","1392010727","1392010712","1392010683"],"photo_ids_order":["1392010683","1392010688","1392010691","1392010701","1392010712","1392010727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf9a44d8e9ddfcc0037acb1c4c3072a2.jpg","text":"TemporaryFile(/tmp/multipartBody2516947113688448468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158963855,"filename":"image_03112025_02_12_32_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/3/d71b0f5792273fc2628be836f6f8575c.jpg","text":"TemporaryFile(/tmp/multipartBody6695322252780038812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158963855,"filename":"image_03112025_02_10_25_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/3/bec6a01f9e3de8ddf398e4211ab8bdf8.jpg","text":"TemporaryFile(/tmp/multipartBody8783690985799745254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158963855,"filename":"image_03112025_02_12_13_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/3/62802e53bf7fa52251775581e786fbfe.jpg","text":"TemporaryFile(/tmp/multipartBody2994840651505375108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158963855,"filename":"image_03112025_02_12_39_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/3/0d03cf9d5fb4abbef14f3bfe144e384d.jpg","text":"TemporaryFile(/tmp/multipartBody2793871101437484149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158963855,"filename":"image_03112025_02_12_34_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/3/d8fac97be37f778ca88831bfe475332c.jpg","text":"TemporaryFile(/tmp/multipartBody5420590841321272750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762158963855,"filename":"image_03112025_02_10_10_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010691","file1":"1392010688","file0":"1392010683","file4":"1392010712","file5":"1392010727","file3":"1392010701"},"map_files_photo_id_array":[{"photo_id":"1392010727","filename":"file5"},{"photo_id":"1392010691","filename":"file2"},{"photo_id":"1392010712","filename":"file4"},{"photo_id":"1392010688","filename":"file1"},{"photo_id":"1392010683","filename":"file0"},{"photo_id":"1392010701","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010701":["hashtag1","hashtag2"]},{"1392010688":["hashtag1","hashtag2"]},{"1392010691":["hashtag1","hashtag2"]},{"1392010727":["hashtag1","hashtag2"]},{"1392010712":["hashtag1","hashtag2"]},{"1392010683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010701, 1392010688, 1392010691, 1392010727, 1392010712, 1392010683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48211359977722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:35:42.331304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_52_3734.jpg', '/home/pi/Desktop/images/03112025/02/13/image_03112025_02_13_59_1715.jpg', '/home/pi/Desktop/images/03112025/02/13/image_03112025_02_14_00_1774.jpg', '/home/pi/Desktop/images/03112025/02/14/image_03112025_02_14_18_2674.jpg', '/home/pi/Desktop/images/03112025/02/14/image_03112025_02_14_27_2686.jpg', '/home/pi/Desktop/images/03112025/02/14/image_03112025_02_14_45_11661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/12/image_03112025_02_12_52_3734.jpg
/home/pi/Desktop/images/03112025/02/13/image_03112025_02_13_59_1715.jpg
/home/pi/Desktop/images/03112025/02/13/image_03112025_02_14_00_1774.jpg
/home/pi/Desktop/images/03112025/02/14/image_03112025_02_14_18_2674.jpg
/home/pi/Desktop/images/03112025/02/14/image_03112025_02_14_27_2686.jpg
/home/pi/Desktop/images/03112025/02/14/image_03112025_02_14_45_11661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010752","1392010739","1392010754","1392010748","1392010750","1392010744"],"photo_ids_order":["1392010739","1392010744","1392010748","1392010750","1392010752","1392010754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7891fbd5f47e066d57324bf2168341de.jpg","text":"TemporaryFile(/tmp/multipartBody7415449428331583235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159003725,"filename":"image_03112025_02_14_27_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/3/25b5872d69f539da837654bd57e51cb5.jpg","text":"TemporaryFile(/tmp/multipartBody1457706897937019286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159003725,"filename":"image_03112025_02_12_52_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33939ad63620ab6be12ac73b206772e8.jpg","text":"TemporaryFile(/tmp/multipartBody4465004377528167873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159003725,"filename":"image_03112025_02_14_45_11661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0beafef1b9ce084a5953f96edba316bf.jpg","text":"TemporaryFile(/tmp/multipartBody7219245404044398264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159003725,"filename":"image_03112025_02_14_00_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/3/759f8b5885ca4ba087f4bc1fb1877a05.jpg","text":"TemporaryFile(/tmp/multipartBody2863055546457252996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159003725,"filename":"image_03112025_02_14_18_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/3/94953a287b7278a32978a6019dff2ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7099640927502654855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159003725,"filename":"image_03112025_02_13_59_1715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010748","file1":"1392010744","file0":"1392010739","file4":"1392010752","file5":"1392010754","file3":"1392010750"},"map_files_photo_id_array":[{"photo_id":"1392010754","filename":"file5"},{"photo_id":"1392010748","filename":"file2"},{"photo_id":"1392010752","filename":"file4"},{"photo_id":"1392010744","filename":"file1"},{"photo_id":"1392010739","filename":"file0"},{"photo_id":"1392010750","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010752":["hashtag1","hashtag2"]},{"1392010739":["hashtag1","hashtag2"]},{"1392010754":["hashtag1","hashtag2"]},{"1392010748":["hashtag1","hashtag2"]},{"1392010750":["hashtag1","hashtag2"]},{"1392010744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010752, 1392010739, 1392010754, 1392010748, 1392010750, 1392010744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.372307538986206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:36:22.469983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/15/image_03112025_02_15_10_1696.jpg', '/home/pi/Desktop/images/03112025/02/15/image_03112025_02_15_15_2708.jpg', '/home/pi/Desktop/images/03112025/02/17/image_03112025_02_17_09_2669.jpg', '/home/pi/Desktop/images/03112025/02/17/image_03112025_02_17_12_3630.jpg', '/home/pi/Desktop/images/03112025/02/17/image_03112025_02_17_27_2780.jpg', '/home/pi/Desktop/images/03112025/02/17/image_03112025_02_17_36_2887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/15/image_03112025_02_15_10_1696.jpg
/home/pi/Desktop/images/03112025/02/15/image_03112025_02_15_15_2708.jpg
/home/pi/Desktop/images/03112025/02/17/image_03112025_02_17_09_2669.jpg
/home/pi/Desktop/images/03112025/02/17/image_03112025_02_17_12_3630.jpg
/home/pi/Desktop/images/03112025/02/17/image_03112025_02_17_27_2780.jpg
/home/pi/Desktop/images/03112025/02/17/image_03112025_02_17_36_2887.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010791","1392010781","1392010786","1392010771","1392010777","1392010765"],"photo_ids_order":["1392010765","1392010771","1392010777","1392010781","1392010786","1392010791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b2033edd4fb8d5b50c15553fedb520c2.jpg","text":"TemporaryFile(/tmp/multipartBody2592773585165083847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159043266,"filename":"image_03112025_02_17_36_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/3/02191081c1529dd6d12bd5131e212ac5.jpg","text":"TemporaryFile(/tmp/multipartBody64957734726579613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159043266,"filename":"image_03112025_02_17_12_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/3/38b71f7d5971cbec0ad402c8113c1fce.jpg","text":"TemporaryFile(/tmp/multipartBody4775289934790842077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159043266,"filename":"image_03112025_02_17_27_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d438fdf1d13626e51c8053b5d4eaa489.jpg","text":"TemporaryFile(/tmp/multipartBody6396239179707985752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159043266,"filename":"image_03112025_02_15_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/3/6d4ed8125135ed7b1be675122b84220e.jpg","text":"TemporaryFile(/tmp/multipartBody9106135954508487878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159043266,"filename":"image_03112025_02_17_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/3/ea17b047d6bfe4376c9d9bd8542053c8.jpg","text":"TemporaryFile(/tmp/multipartBody8340410510763577495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159043266,"filename":"image_03112025_02_15_10_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010777","file1":"1392010771","file0":"1392010765","file4":"1392010786","file5":"1392010791","file3":"1392010781"},"map_files_photo_id_array":[{"photo_id":"1392010791","filename":"file5"},{"photo_id":"1392010777","filename":"file2"},{"photo_id":"1392010786","filename":"file4"},{"photo_id":"1392010771","filename":"file1"},{"photo_id":"1392010765","filename":"file0"},{"photo_id":"1392010781","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010791":["hashtag1","hashtag2"]},{"1392010781":["hashtag1","hashtag2"]},{"1392010786":["hashtag1","hashtag2"]},{"1392010771":["hashtag1","hashtag2"]},{"1392010777":["hashtag1","hashtag2"]},{"1392010765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010791, 1392010781, 1392010786, 1392010771, 1392010777, 1392010765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.024940967559814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:37:03.445243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/18/image_03112025_02_18_06_2550.jpg', '/home/pi/Desktop/images/03112025/02/18/image_03112025_02_18_24_2723.jpg', '/home/pi/Desktop/images/03112025/02/18/image_03112025_02_18_30_6254.jpg', '/home/pi/Desktop/images/03112025/02/19/image_03112025_02_19_24_3558.jpg', '/home/pi/Desktop/images/03112025/02/21/image_03112025_02_21_15_3746.jpg', '/home/pi/Desktop/images/03112025/02/21/image_03112025_02_21_20_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/18/image_03112025_02_18_06_2550.jpg
/home/pi/Desktop/images/03112025/02/18/image_03112025_02_18_24_2723.jpg
/home/pi/Desktop/images/03112025/02/18/image_03112025_02_18_30_6254.jpg
/home/pi/Desktop/images/03112025/02/19/image_03112025_02_19_24_3558.jpg
/home/pi/Desktop/images/03112025/02/21/image_03112025_02_21_15_3746.jpg
/home/pi/Desktop/images/03112025/02/21/image_03112025_02_21_20_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010815","1392010800","1392010803","1392010806","1392010798","1392010810"],"photo_ids_order":["1392010798","1392010800","1392010803","1392010806","1392010810","1392010815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bccab0815451d1871c2a8d22ea534c15.jpg","text":"TemporaryFile(/tmp/multipartBody1240373025812521268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159084286,"filename":"image_03112025_02_21_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/3/23202215106649b7f0b14e536c717cd2.jpg","text":"TemporaryFile(/tmp/multipartBody4877591973223634305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159084286,"filename":"image_03112025_02_18_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/3/25bb9e78339f4eb16c25feb451f53542.jpg","text":"TemporaryFile(/tmp/multipartBody4463930707475618904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159084286,"filename":"image_03112025_02_18_30_6254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ba3c2ef024887b63b08fc6dff656c7e.jpg","text":"TemporaryFile(/tmp/multipartBody5851954516072455072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159084286,"filename":"image_03112025_02_19_24_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/204c18e0d53bbe8eb042c8ccc51c45fd.jpg","text":"TemporaryFile(/tmp/multipartBody1392826043185082253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159084286,"filename":"image_03112025_02_18_06_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b76779a4c37ff185543c94f22be0f2f.jpg","text":"TemporaryFile(/tmp/multipartBody9105288840698914808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159084286,"filename":"image_03112025_02_21_15_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010803","file1":"1392010800","file0":"1392010798","file4":"1392010810","file5":"1392010815","file3":"1392010806"},"map_files_photo_id_array":[{"photo_id":"1392010815","filename":"file5"},{"photo_id":"1392010803","filename":"file2"},{"photo_id":"1392010810","filename":"file4"},{"photo_id":"1392010800","filename":"file1"},{"photo_id":"1392010798","filename":"file0"},{"photo_id":"1392010806","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010815":["hashtag1","hashtag2"]},{"1392010800":["hashtag1","hashtag2"]},{"1392010803":["hashtag1","hashtag2"]},{"1392010806":["hashtag1","hashtag2"]},{"1392010798":["hashtag1","hashtag2"]},{"1392010810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010815, 1392010800, 1392010803, 1392010806, 1392010798, 1392010810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16823101043701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:37:42.839777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/23/image_03112025_02_23_23_2622.jpg', '/home/pi/Desktop/images/03112025/02/23/image_03112025_02_23_59_1597.jpg', '/home/pi/Desktop/images/03112025/02/24/image_03112025_02_24_05_5948.jpg', '/home/pi/Desktop/images/03112025/02/24/image_03112025_02_24_16_1814.jpg', '/home/pi/Desktop/images/03112025/02/24/image_03112025_02_24_26_1804.jpg', '/home/pi/Desktop/images/03112025/02/24/image_03112025_02_24_31_1718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/23/image_03112025_02_23_23_2622.jpg
/home/pi/Desktop/images/03112025/02/23/image_03112025_02_23_59_1597.jpg
/home/pi/Desktop/images/03112025/02/24/image_03112025_02_24_05_5948.jpg
/home/pi/Desktop/images/03112025/02/24/image_03112025_02_24_16_1814.jpg
/home/pi/Desktop/images/03112025/02/24/image_03112025_02_24_26_1804.jpg
/home/pi/Desktop/images/03112025/02/24/image_03112025_02_24_31_1718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010839","1392010833","1392010836","1392010835","1392010829","1392010837"],"photo_ids_order":["1392010829","1392010833","1392010835","1392010836","1392010837","1392010839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6adda9794da70d5fcd2c4c9b3e8687a7.jpg","text":"TemporaryFile(/tmp/multipartBody5079874720551877965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159123678,"filename":"image_03112025_02_24_31_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/3/3d640bcc1a89cbeee3cfcae28f9eefff.jpg","text":"TemporaryFile(/tmp/multipartBody4640225127618468012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159123678,"filename":"image_03112025_02_23_59_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/3/b858b84234ff2ee9d23adaf2835a0ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2901988704538547656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159123678,"filename":"image_03112025_02_24_16_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/3/165748c5c70f74441dfd00c490bd4cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7795345718689030206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159123678,"filename":"image_03112025_02_24_05_5948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e1e6b8ed0d1f1f88dd2c68063f85423d.jpg","text":"TemporaryFile(/tmp/multipartBody7899523350298704386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159123678,"filename":"image_03112025_02_23_23_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/3/0c0f7824edcd6025508580916db96dd6.jpg","text":"TemporaryFile(/tmp/multipartBody2400107025682467729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159123678,"filename":"image_03112025_02_24_26_1804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010835","file1":"1392010833","file0":"1392010829","file4":"1392010837","file5":"1392010839","file3":"1392010836"},"map_files_photo_id_array":[{"photo_id":"1392010839","filename":"file5"},{"photo_id":"1392010835","filename":"file2"},{"photo_id":"1392010837","filename":"file4"},{"photo_id":"1392010833","filename":"file1"},{"photo_id":"1392010829","filename":"file0"},{"photo_id":"1392010836","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010839":["hashtag1","hashtag2"]},{"1392010833":["hashtag1","hashtag2"]},{"1392010836":["hashtag1","hashtag2"]},{"1392010835":["hashtag1","hashtag2"]},{"1392010829":["hashtag1","hashtag2"]},{"1392010837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010839, 1392010833, 1392010836, 1392010835, 1392010829, 1392010837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91937303543091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:38:22.001741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/26/image_03112025_02_26_20_1819.jpg', '/home/pi/Desktop/images/03112025/02/26/image_03112025_02_26_25_1746.jpg', '/home/pi/Desktop/images/03112025/02/27/image_03112025_02_27_42_1625.jpg', '/home/pi/Desktop/images/03112025/02/27/image_03112025_02_27_44_1852.jpg', '/home/pi/Desktop/images/03112025/02/28/image_03112025_02_28_34_1748.jpg', '/home/pi/Desktop/images/03112025/02/28/image_03112025_02_28_38_1522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/26/image_03112025_02_26_20_1819.jpg
/home/pi/Desktop/images/03112025/02/26/image_03112025_02_26_25_1746.jpg
/home/pi/Desktop/images/03112025/02/27/image_03112025_02_27_42_1625.jpg
/home/pi/Desktop/images/03112025/02/27/image_03112025_02_27_44_1852.jpg
/home/pi/Desktop/images/03112025/02/28/image_03112025_02_28_34_1748.jpg
/home/pi/Desktop/images/03112025/02/28/image_03112025_02_28_38_1522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010854","1392010865","1392010850","1392010913","1392010858","1392010903"],"photo_ids_order":["1392010850","1392010854","1392010858","1392010865","1392010903","1392010913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe98c5ee2031a492a90e76008a82ca09.jpg","text":"TemporaryFile(/tmp/multipartBody8877998946066770285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159162754,"filename":"image_03112025_02_26_25_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/3/fbe655ad0fbeaa140c0d9e3b7872326d.jpg","text":"TemporaryFile(/tmp/multipartBody7712675537844640571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159162754,"filename":"image_03112025_02_27_44_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/3/6c03d542c0472ec5e159665a56e17f9a.jpg","text":"TemporaryFile(/tmp/multipartBody6013455551234886573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159162754,"filename":"image_03112025_02_26_20_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/3/d1a0b2587dbb4b4c45a2338f24626903.jpg","text":"TemporaryFile(/tmp/multipartBody8300778283555361043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159162754,"filename":"image_03112025_02_28_38_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/3/c4e187b9fdc6c1ac550f12599441678e.jpg","text":"TemporaryFile(/tmp/multipartBody7048958583855408453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159162754,"filename":"image_03112025_02_27_42_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/3/6d2e9c2503ae85df7412d58050cfbe19.jpg","text":"TemporaryFile(/tmp/multipartBody7700889058575971547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159162754,"filename":"image_03112025_02_28_34_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010858","file1":"1392010854","file0":"1392010850","file4":"1392010903","file5":"1392010913","file3":"1392010865"},"map_files_photo_id_array":[{"photo_id":"1392010913","filename":"file5"},{"photo_id":"1392010858","filename":"file2"},{"photo_id":"1392010903","filename":"file4"},{"photo_id":"1392010854","filename":"file1"},{"photo_id":"1392010850","filename":"file0"},{"photo_id":"1392010865","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010854":["hashtag1","hashtag2"]},{"1392010865":["hashtag1","hashtag2"]},{"1392010850":["hashtag1","hashtag2"]},{"1392010913":["hashtag1","hashtag2"]},{"1392010858":["hashtag1","hashtag2"]},{"1392010903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010854, 1392010865, 1392010850, 1392010913, 1392010858, 1392010903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96963167190552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:39:03.199865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/29/image_03112025_02_29_33_1599.jpg', '/home/pi/Desktop/images/03112025/02/29/image_03112025_02_29_35_1584.jpg', '/home/pi/Desktop/images/03112025/02/30/image_03112025_02_30_16_7855.jpg', '/home/pi/Desktop/images/03112025/02/30/image_03112025_02_30_21_1565.jpg', '/home/pi/Desktop/images/03112025/02/30/image_03112025_02_30_50_2744.jpg', '/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_02_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/29/image_03112025_02_29_33_1599.jpg
/home/pi/Desktop/images/03112025/02/29/image_03112025_02_29_35_1584.jpg
/home/pi/Desktop/images/03112025/02/30/image_03112025_02_30_16_7855.jpg
/home/pi/Desktop/images/03112025/02/30/image_03112025_02_30_21_1565.jpg
/home/pi/Desktop/images/03112025/02/30/image_03112025_02_30_50_2744.jpg
/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_02_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010944","1392010973","1392010967","1392010976","1392010970","1392010963"],"photo_ids_order":["1392010944","1392010963","1392010967","1392010970","1392010973","1392010976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee87f24ee2fa2017a17be209acbf7833.jpg","text":"TemporaryFile(/tmp/multipartBody3814841104257778031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159204154,"filename":"image_03112025_02_29_33_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/3/3e8343850e9052ec94770ed8d07b4ca8.jpg","text":"TemporaryFile(/tmp/multipartBody5226469110418343112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159204154,"filename":"image_03112025_02_30_50_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/3/74e3d6657d8d644aa77ea64150d2aa25.jpg","text":"TemporaryFile(/tmp/multipartBody8234126006087835004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159204154,"filename":"image_03112025_02_30_16_7855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/57b263844422c572e895b7424c8625d8.jpg","text":"TemporaryFile(/tmp/multipartBody3822047710510044973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159204154,"filename":"image_03112025_02_31_02_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/3/b05ba94c886f26693e62e66f7a1753a6.jpg","text":"TemporaryFile(/tmp/multipartBody9201871497047982140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159204154,"filename":"image_03112025_02_30_21_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/3/707503db3137c86b7c9a57ca124580d6.jpg","text":"TemporaryFile(/tmp/multipartBody5828083551622222474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159204154,"filename":"image_03112025_02_29_35_1584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010967","file1":"1392010963","file0":"1392010944","file4":"1392010973","file5":"1392010976","file3":"1392010970"},"map_files_photo_id_array":[{"photo_id":"1392010976","filename":"file5"},{"photo_id":"1392010967","filename":"file2"},{"photo_id":"1392010973","filename":"file4"},{"photo_id":"1392010963","filename":"file1"},{"photo_id":"1392010944","filename":"file0"},{"photo_id":"1392010970","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010944":["hashtag1","hashtag2"]},{"1392010973":["hashtag1","hashtag2"]},{"1392010967":["hashtag1","hashtag2"]},{"1392010976":["hashtag1","hashtag2"]},{"1392010970":["hashtag1","hashtag2"]},{"1392010963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010944, 1392010973, 1392010967, 1392010976, 1392010970, 1392010963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12163543701172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:39:42.198468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_11_2605.jpg', '/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_17_3711.jpg', '/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_20_2761.jpg', '/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_29_3663.jpg', '/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_38_3800.jpg', '/home/pi/Desktop/images/03112025/02/32/image_03112025_02_32_41_3812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_11_2605.jpg
/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_17_3711.jpg
/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_20_2761.jpg
/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_29_3663.jpg
/home/pi/Desktop/images/03112025/02/31/image_03112025_02_31_38_3800.jpg
/home/pi/Desktop/images/03112025/02/32/image_03112025_02_32_41_3812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392010998","1392010985","1392011000","1392010992","1392010995","1392010989"],"photo_ids_order":["1392010985","1392010989","1392010992","1392010995","1392010998","1392011000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f0530d20ed979ea13e06ae4577b94aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1334162797148148555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159242976,"filename":"image_03112025_02_31_38_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/3/be4a083c4fb6cd077485f0a8d4929ce9.jpg","text":"TemporaryFile(/tmp/multipartBody413954672984796569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159242976,"filename":"image_03112025_02_31_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/3/a3ed48bbdf3940691a186d1e2ae70aae.jpg","text":"TemporaryFile(/tmp/multipartBody6600682460285039794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159242976,"filename":"image_03112025_02_32_41_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/135c9c42b33de914bf5af341a4d01ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6053681650936306288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159242976,"filename":"image_03112025_02_31_20_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/3/d98ea0ed207c640cf594d1af42ca8a8c.jpg","text":"TemporaryFile(/tmp/multipartBody1355622134330554740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159242976,"filename":"image_03112025_02_31_29_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/3/e8cf9d8aaaa360794873a6452ba94116.jpg","text":"TemporaryFile(/tmp/multipartBody656321334212262892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159242976,"filename":"image_03112025_02_31_17_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392010992","file1":"1392010989","file0":"1392010985","file4":"1392010998","file5":"1392011000","file3":"1392010995"},"map_files_photo_id_array":[{"photo_id":"1392011000","filename":"file5"},{"photo_id":"1392010992","filename":"file2"},{"photo_id":"1392010998","filename":"file4"},{"photo_id":"1392010989","filename":"file1"},{"photo_id":"1392010985","filename":"file0"},{"photo_id":"1392010995","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392010998":["hashtag1","hashtag2"]},{"1392010985":["hashtag1","hashtag2"]},{"1392011000":["hashtag1","hashtag2"]},{"1392010992":["hashtag1","hashtag2"]},{"1392010995":["hashtag1","hashtag2"]},{"1392010989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392010998, 1392010985, 1392011000, 1392010992, 1392010995, 1392010989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66920185089111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:40:22.328793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/32/image_03112025_02_32_46_2668.jpg', '/home/pi/Desktop/images/03112025/02/33/image_03112025_02_33_02_2656.jpg', '/home/pi/Desktop/images/03112025/02/33/image_03112025_02_33_13_2609.jpg', '/home/pi/Desktop/images/03112025/02/33/image_03112025_02_33_29_2662.jpg', '/home/pi/Desktop/images/03112025/02/33/image_03112025_02_33_59_2878.jpg', '/home/pi/Desktop/images/03112025/02/34/image_03112025_02_34_58_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/32/image_03112025_02_32_46_2668.jpg
/home/pi/Desktop/images/03112025/02/33/image_03112025_02_33_02_2656.jpg
/home/pi/Desktop/images/03112025/02/33/image_03112025_02_33_13_2609.jpg
/home/pi/Desktop/images/03112025/02/33/image_03112025_02_33_29_2662.jpg
/home/pi/Desktop/images/03112025/02/33/image_03112025_02_33_59_2878.jpg
/home/pi/Desktop/images/03112025/02/34/image_03112025_02_34_58_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011036","1392011030","1392011020","1392011017","1392011026","1392011011"],"photo_ids_order":["1392011011","1392011017","1392011020","1392011026","1392011030","1392011036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bd8e4aecbc5a135ee6ae7080fbf1ce23.jpg","text":"TemporaryFile(/tmp/multipartBody5299709687165114869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159283076,"filename":"image_03112025_02_34_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/3/667992ab209526128ddeab1f66ac0656.jpg","text":"TemporaryFile(/tmp/multipartBody5931336046601864438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159283076,"filename":"image_03112025_02_33_59_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/3/eabb79cfa7e4778e0865be57263bbbfa.jpg","text":"TemporaryFile(/tmp/multipartBody1776918416819941311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159283076,"filename":"image_03112025_02_33_13_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/3/9c628f6a1d0a7fc1aced33bce175e5fc.jpg","text":"TemporaryFile(/tmp/multipartBody6558463935860661886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159283076,"filename":"image_03112025_02_33_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/3/2d0987a06b03182a00c175d50eb56556.jpg","text":"TemporaryFile(/tmp/multipartBody8682189473099325748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159283076,"filename":"image_03112025_02_33_29_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c387398f258cb22679df74a66f36eff3.jpg","text":"TemporaryFile(/tmp/multipartBody1058876717236222589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159283076,"filename":"image_03112025_02_32_46_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011020","file1":"1392011017","file0":"1392011011","file4":"1392011030","file5":"1392011036","file3":"1392011026"},"map_files_photo_id_array":[{"photo_id":"1392011036","filename":"file5"},{"photo_id":"1392011020","filename":"file2"},{"photo_id":"1392011030","filename":"file4"},{"photo_id":"1392011017","filename":"file1"},{"photo_id":"1392011011","filename":"file0"},{"photo_id":"1392011026","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011036":["hashtag1","hashtag2"]},{"1392011030":["hashtag1","hashtag2"]},{"1392011020":["hashtag1","hashtag2"]},{"1392011017":["hashtag1","hashtag2"]},{"1392011026":["hashtag1","hashtag2"]},{"1392011011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011036, 1392011030, 1392011020, 1392011017, 1392011026, 1392011011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67161273956299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:41:03.113462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/35/image_03112025_02_35_11_3694.jpg', '/home/pi/Desktop/images/03112025/02/35/image_03112025_02_35_13_2727.jpg', '/home/pi/Desktop/images/03112025/02/35/image_03112025_02_35_28_2693.jpg', '/home/pi/Desktop/images/03112025/02/35/image_03112025_02_35_34_2628.jpg', '/home/pi/Desktop/images/03112025/02/37/image_03112025_02_37_31_3575.jpg', '/home/pi/Desktop/images/03112025/02/37/image_03112025_02_37_34_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/35/image_03112025_02_35_11_3694.jpg
/home/pi/Desktop/images/03112025/02/35/image_03112025_02_35_13_2727.jpg
/home/pi/Desktop/images/03112025/02/35/image_03112025_02_35_28_2693.jpg
/home/pi/Desktop/images/03112025/02/35/image_03112025_02_35_34_2628.jpg
/home/pi/Desktop/images/03112025/02/37/image_03112025_02_37_31_3575.jpg
/home/pi/Desktop/images/03112025/02/37/image_03112025_02_37_34_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011046","1392011048","1392011045","1392011050","1392011053","1392011058"],"photo_ids_order":["1392011045","1392011046","1392011048","1392011050","1392011053","1392011058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56be437b128330c55571816d92fb8d79.jpg","text":"TemporaryFile(/tmp/multipartBody3318876706594650590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159324034,"filename":"image_03112025_02_35_13_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/3/fa33dd9ac384597fc530845ab06cf13e.jpg","text":"TemporaryFile(/tmp/multipartBody3288244728520881234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159324034,"filename":"image_03112025_02_35_28_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc5daa8ad1d0bec04c2be018355f0a88.jpg","text":"TemporaryFile(/tmp/multipartBody4781449403981037037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159324034,"filename":"image_03112025_02_35_11_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/3/fffc45db27e649b3e3aab07fb1631f61.jpg","text":"TemporaryFile(/tmp/multipartBody2692437054541004538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159324034,"filename":"image_03112025_02_35_34_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2f95ce60648e70b07427a183eb32c863.jpg","text":"TemporaryFile(/tmp/multipartBody8559294694385601958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159324034,"filename":"image_03112025_02_37_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/3/f66fa5bc27db7604a26a3f86948aa067.jpg","text":"TemporaryFile(/tmp/multipartBody5499361296369330112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159324034,"filename":"image_03112025_02_37_34_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011048","file1":"1392011046","file0":"1392011045","file4":"1392011053","file5":"1392011058","file3":"1392011050"},"map_files_photo_id_array":[{"photo_id":"1392011058","filename":"file5"},{"photo_id":"1392011048","filename":"file2"},{"photo_id":"1392011053","filename":"file4"},{"photo_id":"1392011046","filename":"file1"},{"photo_id":"1392011045","filename":"file0"},{"photo_id":"1392011050","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011046":["hashtag1","hashtag2"]},{"1392011048":["hashtag1","hashtag2"]},{"1392011045":["hashtag1","hashtag2"]},{"1392011050":["hashtag1","hashtag2"]},{"1392011053":["hashtag1","hashtag2"]},{"1392011058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011046, 1392011048, 1392011045, 1392011050, 1392011053, 1392011058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.090145111083984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:41:42.497614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/37/image_03112025_02_37_52_2662.jpg', '/home/pi/Desktop/images/03112025/02/37/image_03112025_02_37_58_3697.jpg', '/home/pi/Desktop/images/03112025/02/38/image_03112025_02_38_04_2638.jpg', '/home/pi/Desktop/images/03112025/02/44/image_03112025_02_44_31_3627.jpg', '/home/pi/Desktop/images/03112025/02/44/image_03112025_02_44_33_2660.jpg', '/home/pi/Desktop/images/03112025/02/45/image_03112025_02_45_34_1788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/37/image_03112025_02_37_52_2662.jpg
/home/pi/Desktop/images/03112025/02/37/image_03112025_02_37_58_3697.jpg
/home/pi/Desktop/images/03112025/02/38/image_03112025_02_38_04_2638.jpg
/home/pi/Desktop/images/03112025/02/44/image_03112025_02_44_31_3627.jpg
/home/pi/Desktop/images/03112025/02/44/image_03112025_02_44_33_2660.jpg
/home/pi/Desktop/images/03112025/02/45/image_03112025_02_45_34_1788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011084","1392011072","1392011077","1392011082","1392011085","1392011079"],"photo_ids_order":["1392011072","1392011077","1392011079","1392011082","1392011084","1392011085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cb98b6f6b5619a8f5584e109dc71ec59.jpg","text":"TemporaryFile(/tmp/multipartBody6934703261951886344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159363291,"filename":"image_03112025_02_44_33_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/3/d1e7bfd2b27c271e53dd7847c1645a55.jpg","text":"TemporaryFile(/tmp/multipartBody5451504999719514146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159363291,"filename":"image_03112025_02_37_52_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/3/d7831c6a9c5df4787c90c00ae7d33162.jpg","text":"TemporaryFile(/tmp/multipartBody7849821321973094061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159363291,"filename":"image_03112025_02_37_58_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/3/dc589ff9a1de5f44ee41ca75dc29ca93.jpg","text":"TemporaryFile(/tmp/multipartBody4486338149893533696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159363291,"filename":"image_03112025_02_44_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/3/b9d2c19180322b30607eab1243d4a07d.jpg","text":"TemporaryFile(/tmp/multipartBody3792108197045718687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159363291,"filename":"image_03112025_02_45_34_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/3/aa930b962895869a7eac1ad3dbd77b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1643647046273935879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159363291,"filename":"image_03112025_02_38_04_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011079","file1":"1392011077","file0":"1392011072","file4":"1392011084","file5":"1392011085","file3":"1392011082"},"map_files_photo_id_array":[{"photo_id":"1392011085","filename":"file5"},{"photo_id":"1392011079","filename":"file2"},{"photo_id":"1392011084","filename":"file4"},{"photo_id":"1392011077","filename":"file1"},{"photo_id":"1392011072","filename":"file0"},{"photo_id":"1392011082","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011084":["hashtag1","hashtag2"]},{"1392011072":["hashtag1","hashtag2"]},{"1392011077":["hashtag1","hashtag2"]},{"1392011082":["hashtag1","hashtag2"]},{"1392011085":["hashtag1","hashtag2"]},{"1392011079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011084, 1392011072, 1392011077, 1392011082, 1392011085, 1392011079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51581358909607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:42:25.599652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/45/image_03112025_02_45_38_1756.jpg', '/home/pi/Desktop/images/03112025/02/45/image_03112025_02_45_45_1654.jpg', '/home/pi/Desktop/images/03112025/02/48/image_03112025_02_48_19_2593.jpg', '/home/pi/Desktop/images/03112025/02/48/image_03112025_02_48_24_2890.jpg', '/home/pi/Desktop/images/03112025/02/49/image_03112025_02_49_58_1767.jpg', '/home/pi/Desktop/images/03112025/02/49/image_03112025_02_50_00_1556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/45/image_03112025_02_45_38_1756.jpg
/home/pi/Desktop/images/03112025/02/45/image_03112025_02_45_45_1654.jpg
/home/pi/Desktop/images/03112025/02/48/image_03112025_02_48_19_2593.jpg
/home/pi/Desktop/images/03112025/02/48/image_03112025_02_48_24_2890.jpg
/home/pi/Desktop/images/03112025/02/49/image_03112025_02_49_58_1767.jpg
/home/pi/Desktop/images/03112025/02/49/image_03112025_02_50_00_1556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011099","1392011102","1392011126","1392011114","1392011131","1392011107"],"photo_ids_order":["1392011099","1392011102","1392011107","1392011114","1392011126","1392011131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b461767daa1bdabd5b730c10d851e37.jpg","text":"TemporaryFile(/tmp/multipartBody7419195676861493966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159406351,"filename":"image_03112025_02_45_38_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/3/7693ad50739728db1bbcb119b49c5fae.jpg","text":"TemporaryFile(/tmp/multipartBody8803763450997935513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159406351,"filename":"image_03112025_02_45_45_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/3/b4b33b798de8c5c453d0d3e9eb61990d.jpg","text":"TemporaryFile(/tmp/multipartBody6067888348002416694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159406351,"filename":"image_03112025_02_49_58_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/3/783605d98b4502c5d53f1bcd7ece0cd2.jpg","text":"TemporaryFile(/tmp/multipartBody19302833809979854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159406351,"filename":"image_03112025_02_48_24_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/3/90566edb41faa5f22dfd59dceb9a5d13.jpg","text":"TemporaryFile(/tmp/multipartBody4256521205965728018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159406351,"filename":"image_03112025_02_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/3/7c69b4d8e286d5019439354d959b9324.jpg","text":"TemporaryFile(/tmp/multipartBody874162246546690886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159406351,"filename":"image_03112025_02_48_19_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011107","file1":"1392011102","file0":"1392011099","file4":"1392011126","file5":"1392011131","file3":"1392011114"},"map_files_photo_id_array":[{"photo_id":"1392011131","filename":"file5"},{"photo_id":"1392011107","filename":"file2"},{"photo_id":"1392011126","filename":"file4"},{"photo_id":"1392011102","filename":"file1"},{"photo_id":"1392011099","filename":"file0"},{"photo_id":"1392011114","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011099":["hashtag1","hashtag2"]},{"1392011102":["hashtag1","hashtag2"]},{"1392011126":["hashtag1","hashtag2"]},{"1392011114":["hashtag1","hashtag2"]},{"1392011131":["hashtag1","hashtag2"]},{"1392011107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011099, 1392011102, 1392011126, 1392011114, 1392011131, 1392011107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01128792762756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:43:03.384805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_08_1746.jpg', '/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_10_1579.jpg', '/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_14_2744.jpg', '/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_30_2835.jpg', '/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_44_13181.jpg', '/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_50_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_08_1746.jpg
/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_10_1579.jpg
/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_14_2744.jpg
/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_30_2835.jpg
/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_44_13181.jpg
/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_50_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011150","1392011144","1392011146","1392011140","1392011137","1392011142"],"photo_ids_order":["1392011137","1392011140","1392011142","1392011144","1392011146","1392011150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd3724d1b5fb566d4af7195a55e41274.jpg","text":"TemporaryFile(/tmp/multipartBody683032748825385400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159444227,"filename":"image_03112025_02_50_50_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/3/f795270cc6c391cfa7fe2c32b7d310ae.jpg","text":"TemporaryFile(/tmp/multipartBody1966396776918153202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159444227,"filename":"image_03112025_02_50_30_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/3/4dad230dbb5e8b81a9d33c3ac35f2a80.jpg","text":"TemporaryFile(/tmp/multipartBody5551903106024092508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159444227,"filename":"image_03112025_02_50_44_13181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/05bbbc115de5f246fdbf2b3ed2a52709.jpg","text":"TemporaryFile(/tmp/multipartBody5140139481549557962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159444227,"filename":"image_03112025_02_50_10_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/3/974c79b61af8a2d341c64485b9e26649.jpg","text":"TemporaryFile(/tmp/multipartBody8161330280355887289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159444227,"filename":"image_03112025_02_50_08_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/3/537fa7671f6d094d1fdda3186e05c6cc.jpg","text":"TemporaryFile(/tmp/multipartBody8996128452644539338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159444227,"filename":"image_03112025_02_50_14_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011142","file1":"1392011140","file0":"1392011137","file4":"1392011146","file5":"1392011150","file3":"1392011144"},"map_files_photo_id_array":[{"photo_id":"1392011150","filename":"file5"},{"photo_id":"1392011142","filename":"file2"},{"photo_id":"1392011146","filename":"file4"},{"photo_id":"1392011140","filename":"file1"},{"photo_id":"1392011137","filename":"file0"},{"photo_id":"1392011144","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011150":["hashtag1","hashtag2"]},{"1392011144":["hashtag1","hashtag2"]},{"1392011146":["hashtag1","hashtag2"]},{"1392011140":["hashtag1","hashtag2"]},{"1392011137":["hashtag1","hashtag2"]},{"1392011142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011150, 1392011144, 1392011146, 1392011140, 1392011137, 1392011142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01777482032776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:43:42.717897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_53_1600.jpg', '/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_59_1856.jpg', '/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_01_1734.jpg', '/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_04_2644.jpg', '/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_06_2606.jpg', '/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_09_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_53_1600.jpg
/home/pi/Desktop/images/03112025/02/50/image_03112025_02_50_59_1856.jpg
/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_01_1734.jpg
/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_04_2644.jpg
/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_06_2606.jpg
/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_09_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011162","1392011173","1392011167","1392011172","1392011175","1392011169"],"photo_ids_order":["1392011162","1392011167","1392011169","1392011172","1392011173","1392011175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/82ffdbc9d9217f3a1cfce58a2ef10ca0.jpg","text":"TemporaryFile(/tmp/multipartBody4329542110437088159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159483496,"filename":"image_03112025_02_50_53_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/3/2cf197bfa2153615ec7a841f31237ea0.jpg","text":"TemporaryFile(/tmp/multipartBody145601690243259049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159483496,"filename":"image_03112025_02_51_06_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/3/38cbbfecfcd01802744434d0499a2410.jpg","text":"TemporaryFile(/tmp/multipartBody6018590459551604528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159483496,"filename":"image_03112025_02_50_59_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5d0ee9acd74c521d5bf77613089396a3.jpg","text":"TemporaryFile(/tmp/multipartBody2901956437958477658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159483496,"filename":"image_03112025_02_51_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/3/2ac8020f1368bf87e65725a696dd8099.jpg","text":"TemporaryFile(/tmp/multipartBody2456103860705754573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159483496,"filename":"image_03112025_02_51_09_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/3/3e737ad64b9205f03c8d1d4dcbae5047.jpg","text":"TemporaryFile(/tmp/multipartBody5478051138281349241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159483496,"filename":"image_03112025_02_51_01_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011169","file1":"1392011167","file0":"1392011162","file4":"1392011173","file5":"1392011175","file3":"1392011172"},"map_files_photo_id_array":[{"photo_id":"1392011175","filename":"file5"},{"photo_id":"1392011169","filename":"file2"},{"photo_id":"1392011173","filename":"file4"},{"photo_id":"1392011167","filename":"file1"},{"photo_id":"1392011162","filename":"file0"},{"photo_id":"1392011172","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011162":["hashtag1","hashtag2"]},{"1392011173":["hashtag1","hashtag2"]},{"1392011167":["hashtag1","hashtag2"]},{"1392011172":["hashtag1","hashtag2"]},{"1392011175":["hashtag1","hashtag2"]},{"1392011169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011162, 1392011173, 1392011167, 1392011172, 1392011175, 1392011169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77057361602783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:44:21.919359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_25_3622.jpg', '/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_31_1746.jpg', '/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_44_12913.jpg', '/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_46_1685.jpg', '/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_52_1629.jpg', '/home/pi/Desktop/images/03112025/02/52/image_03112025_02_52_31_1751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_25_3622.jpg
/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_31_1746.jpg
/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_44_12913.jpg
/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_46_1685.jpg
/home/pi/Desktop/images/03112025/02/51/image_03112025_02_51_52_1629.jpg
/home/pi/Desktop/images/03112025/02/52/image_03112025_02_52_31_1751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011183","1392011189","1392011210","1392011204","1392011199","1392011193"],"photo_ids_order":["1392011183","1392011189","1392011193","1392011199","1392011204","1392011210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf6df75dd12d326d7e4d80051e18b163.jpg","text":"TemporaryFile(/tmp/multipartBody8169889964985256605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159522665,"filename":"image_03112025_02_51_25_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/3/a909b0631adfdbbc5c73681a33d7284a.jpg","text":"TemporaryFile(/tmp/multipartBody9024205380766797904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159522665,"filename":"image_03112025_02_51_31_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/3/2c1bb383bafee38c7a5bee4382653ca7.jpg","text":"TemporaryFile(/tmp/multipartBody6604721286398477059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159522665,"filename":"image_03112025_02_52_31_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/3/0e6a32cf7f1534822e5bf1040c68b2dd.jpg","text":"TemporaryFile(/tmp/multipartBody3290749208208224151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159522665,"filename":"image_03112025_02_51_52_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/3/5c038d030d9b28b1569c1b251354a57d.jpg","text":"TemporaryFile(/tmp/multipartBody3902913199367942360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159522665,"filename":"image_03112025_02_51_46_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5744f504f195b7cc87d60879565ee32.jpg","text":"TemporaryFile(/tmp/multipartBody2761120062056019084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159522665,"filename":"image_03112025_02_51_44_12913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011193","file1":"1392011189","file0":"1392011183","file4":"1392011204","file5":"1392011210","file3":"1392011199"},"map_files_photo_id_array":[{"photo_id":"1392011210","filename":"file5"},{"photo_id":"1392011193","filename":"file2"},{"photo_id":"1392011204","filename":"file4"},{"photo_id":"1392011189","filename":"file1"},{"photo_id":"1392011183","filename":"file0"},{"photo_id":"1392011199","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011183":["hashtag1","hashtag2"]},{"1392011189":["hashtag1","hashtag2"]},{"1392011210":["hashtag1","hashtag2"]},{"1392011204":["hashtag1","hashtag2"]},{"1392011199":["hashtag1","hashtag2"]},{"1392011193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011183, 1392011189, 1392011210, 1392011204, 1392011199, 1392011193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23541498184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:45:02.769107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/52/image_03112025_02_52_34_1657.jpg', '/home/pi/Desktop/images/03112025/02/52/image_03112025_02_52_38_1898.jpg', '/home/pi/Desktop/images/03112025/02/52/image_03112025_02_52_40_1776.jpg', '/home/pi/Desktop/images/03112025/02/53/image_03112025_02_53_10_1809.jpg', '/home/pi/Desktop/images/03112025/02/53/image_03112025_02_53_25_1678.jpg', '/home/pi/Desktop/images/03112025/02/53/image_03112025_02_53_26_1814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/52/image_03112025_02_52_34_1657.jpg
/home/pi/Desktop/images/03112025/02/52/image_03112025_02_52_38_1898.jpg
/home/pi/Desktop/images/03112025/02/52/image_03112025_02_52_40_1776.jpg
/home/pi/Desktop/images/03112025/02/53/image_03112025_02_53_10_1809.jpg
/home/pi/Desktop/images/03112025/02/53/image_03112025_02_53_25_1678.jpg
/home/pi/Desktop/images/03112025/02/53/image_03112025_02_53_26_1814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011244","1392011238","1392011232","1392011240","1392011234","1392011235"],"photo_ids_order":["1392011232","1392011234","1392011235","1392011238","1392011240","1392011244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4001baaeb05c2844588eb7a7e63c4717.jpg","text":"TemporaryFile(/tmp/multipartBody8432020374027166455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159563636,"filename":"image_03112025_02_53_26_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/3/ab22fc604d0cd2508bbf0765031f9664.jpg","text":"TemporaryFile(/tmp/multipartBody3386892264581418830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159563636,"filename":"image_03112025_02_53_10_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/3/ce2aea0a863c1578c983d3e585eb2de5.jpg","text":"TemporaryFile(/tmp/multipartBody4317990286979618350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159563636,"filename":"image_03112025_02_52_34_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/3/c08b470be2fcf1b12d7c6bd8d97fcae9.jpg","text":"TemporaryFile(/tmp/multipartBody4257968636787171417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159563636,"filename":"image_03112025_02_53_25_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/3/9817444e0d1da482fe5959ea8551b07a.jpg","text":"TemporaryFile(/tmp/multipartBody7902461071479745697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159563636,"filename":"image_03112025_02_52_38_1898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3e428ce0761d1b22a3b9c93b041c357.jpg","text":"TemporaryFile(/tmp/multipartBody7929045011774739558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159563636,"filename":"image_03112025_02_52_40_1776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011235","file1":"1392011234","file0":"1392011232","file4":"1392011240","file5":"1392011244","file3":"1392011238"},"map_files_photo_id_array":[{"photo_id":"1392011244","filename":"file5"},{"photo_id":"1392011235","filename":"file2"},{"photo_id":"1392011240","filename":"file4"},{"photo_id":"1392011234","filename":"file1"},{"photo_id":"1392011232","filename":"file0"},{"photo_id":"1392011238","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011244":["hashtag1","hashtag2"]},{"1392011238":["hashtag1","hashtag2"]},{"1392011232":["hashtag1","hashtag2"]},{"1392011240":["hashtag1","hashtag2"]},{"1392011234":["hashtag1","hashtag2"]},{"1392011235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011244, 1392011238, 1392011232, 1392011240, 1392011234, 1392011235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.985251665115356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:45:42.145590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/53/image_03112025_02_53_28_1579.jpg', '/home/pi/Desktop/images/03112025/02/54/image_03112025_02_54_01_3432.jpg', '/home/pi/Desktop/images/03112025/02/54/image_03112025_02_54_03_2742.jpg', '/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_38_8761.jpg', '/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_51_1586.jpg', '/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_53_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/53/image_03112025_02_53_28_1579.jpg
/home/pi/Desktop/images/03112025/02/54/image_03112025_02_54_01_3432.jpg
/home/pi/Desktop/images/03112025/02/54/image_03112025_02_54_03_2742.jpg
/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_38_8761.jpg
/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_51_1586.jpg
/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_53_1646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011267","1392011278","1392011263","1392011257","1392011271","1392011274"],"photo_ids_order":["1392011257","1392011263","1392011267","1392011271","1392011274","1392011278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e1356df76c095921515a29918cfdaf5.jpg","text":"TemporaryFile(/tmp/multipartBody5674296444556189702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159602926,"filename":"image_03112025_02_54_03_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/3/c6e1ba9b2834e3e138b5607540e98f53.jpg","text":"TemporaryFile(/tmp/multipartBody6386548311140458102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159602926,"filename":"image_03112025_02_55_53_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/3/f1d917e0c0f521a95be26f6166c61ada.jpg","text":"TemporaryFile(/tmp/multipartBody4729432784297662689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159602926,"filename":"image_03112025_02_54_01_3432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6706728c030041066bf24f55de64551f.jpg","text":"TemporaryFile(/tmp/multipartBody8382180009762469354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159602926,"filename":"image_03112025_02_53_28_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/3/8fb91ebbb854e21f3514174a5eb19685.jpg","text":"TemporaryFile(/tmp/multipartBody7846876814656292790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159602926,"filename":"image_03112025_02_55_38_8761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/61f62a974db7a35fd3254bdfe52557b9.jpg","text":"TemporaryFile(/tmp/multipartBody5879579162776916182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159602926,"filename":"image_03112025_02_55_51_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011267","file1":"1392011263","file0":"1392011257","file4":"1392011274","file5":"1392011278","file3":"1392011271"},"map_files_photo_id_array":[{"photo_id":"1392011278","filename":"file5"},{"photo_id":"1392011267","filename":"file2"},{"photo_id":"1392011274","filename":"file4"},{"photo_id":"1392011263","filename":"file1"},{"photo_id":"1392011257","filename":"file0"},{"photo_id":"1392011271","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011267":["hashtag1","hashtag2"]},{"1392011278":["hashtag1","hashtag2"]},{"1392011263":["hashtag1","hashtag2"]},{"1392011257":["hashtag1","hashtag2"]},{"1392011271":["hashtag1","hashtag2"]},{"1392011274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011267, 1392011278, 1392011263, 1392011257, 1392011271, 1392011274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84685039520264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:46:22.260645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_55_1766.jpg', '/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_56_1754.jpg', '/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_22_1659.jpg', '/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_24_1908.jpg', '/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_27_2826.jpg', '/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_28_1766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_55_1766.jpg
/home/pi/Desktop/images/03112025/02/55/image_03112025_02_55_56_1754.jpg
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_22_1659.jpg
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_24_1908.jpg
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_27_2826.jpg
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_28_1766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011316","1392011310","1392011288","1392011303","1392011299","1392011295"],"photo_ids_order":["1392011288","1392011295","1392011299","1392011303","1392011310","1392011316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c665548060522d4009ed45f1eb0ae8dc.jpg","text":"TemporaryFile(/tmp/multipartBody8067972155766730428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159643017,"filename":"image_03112025_02_56_28_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/3/d0b3e9f17b683a8e989cc5c80aae7e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2487832133506000953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159643017,"filename":"image_03112025_02_56_27_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/3/2d5ed51fe8a84278188e003d03e5857e.jpg","text":"TemporaryFile(/tmp/multipartBody1941591728048172194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159643017,"filename":"image_03112025_02_55_55_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/3/ae11b18534f227ec1020428cc0b6c10d.jpg","text":"TemporaryFile(/tmp/multipartBody1824764626371480226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159643017,"filename":"image_03112025_02_56_24_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/3/00c31a71ec81a3e2df9e5ab921f64845.jpg","text":"TemporaryFile(/tmp/multipartBody462960892747365417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159643017,"filename":"image_03112025_02_56_22_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/3/e3ee79bbc7cbdfd306305352f8dab930.jpg","text":"TemporaryFile(/tmp/multipartBody1217058663708281991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159643017,"filename":"image_03112025_02_55_56_1754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011299","file1":"1392011295","file0":"1392011288","file4":"1392011310","file5":"1392011316","file3":"1392011303"},"map_files_photo_id_array":[{"photo_id":"1392011316","filename":"file5"},{"photo_id":"1392011299","filename":"file2"},{"photo_id":"1392011310","filename":"file4"},{"photo_id":"1392011295","filename":"file1"},{"photo_id":"1392011288","filename":"file0"},{"photo_id":"1392011303","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011316":["hashtag1","hashtag2"]},{"1392011310":["hashtag1","hashtag2"]},{"1392011288":["hashtag1","hashtag2"]},{"1392011303":["hashtag1","hashtag2"]},{"1392011299":["hashtag1","hashtag2"]},{"1392011295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011316, 1392011310, 1392011288, 1392011303, 1392011299, 1392011295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.386072397232056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:47:03.227359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_34_1759.jpg', '/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_35_1687.jpg', '/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_37_1630.jpg', '/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_42_1618.jpg', '/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_45_1580.jpg', '/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_52_1755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_34_1759.jpg
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_35_1687.jpg
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_37_1630.jpg
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_42_1618.jpg
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_45_1580.jpg
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_52_1755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011351","1392011345","1392011348","1392011342","1392011356","1392011340"],"photo_ids_order":["1392011340","1392011342","1392011345","1392011348","1392011351","1392011356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c9eaeeab9a4d258b8f75671bb626ff81.jpg","text":"TemporaryFile(/tmp/multipartBody3055050375279770439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159684097,"filename":"image_03112025_02_56_45_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/3/0d0721ec42061638f419ee27b38a62ae.jpg","text":"TemporaryFile(/tmp/multipartBody531698000908319138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159684097,"filename":"image_03112025_02_56_37_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/3/a2e1d8d8437c029f101fcc4cb22f5887.jpg","text":"TemporaryFile(/tmp/multipartBody7503134320380812262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159684097,"filename":"image_03112025_02_56_42_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/3/380c5f47519e0f894cbc16767400b565.jpg","text":"TemporaryFile(/tmp/multipartBody7982740131720838637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159684097,"filename":"image_03112025_02_56_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/3/909da24802fc6b5dacb62aee101d32ff.jpg","text":"TemporaryFile(/tmp/multipartBody9131829935072273934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159684097,"filename":"image_03112025_02_56_52_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/3/b122c9f85947f9f2a7c5309eb9ced7c4.jpg","text":"TemporaryFile(/tmp/multipartBody8852653897159300471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159684097,"filename":"image_03112025_02_56_34_1759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011345","file1":"1392011342","file0":"1392011340","file4":"1392011351","file5":"1392011356","file3":"1392011348"},"map_files_photo_id_array":[{"photo_id":"1392011356","filename":"file5"},{"photo_id":"1392011345","filename":"file2"},{"photo_id":"1392011351","filename":"file4"},{"photo_id":"1392011342","filename":"file1"},{"photo_id":"1392011340","filename":"file0"},{"photo_id":"1392011348","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011351":["hashtag1","hashtag2"]},{"1392011345":["hashtag1","hashtag2"]},{"1392011348":["hashtag1","hashtag2"]},{"1392011342":["hashtag1","hashtag2"]},{"1392011356":["hashtag1","hashtag2"]},{"1392011340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011351, 1392011345, 1392011348, 1392011342, 1392011356, 1392011340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.556373834609985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:47:42.469333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_57_1615.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_28_1892.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_36_1774.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_41_1674.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_45_1534.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_50_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/56/image_03112025_02_56_57_1615.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_28_1892.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_36_1774.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_41_1674.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_45_1534.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_50_1744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011381","1392011375","1392011378","1392011383","1392011371","1392011382"],"photo_ids_order":["1392011371","1392011375","1392011378","1392011381","1392011382","1392011383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/550fd2a4a0b79a5fbb91e8b097801864.jpg","text":"TemporaryFile(/tmp/multipartBody388099581336380200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159723248,"filename":"image_03112025_02_57_41_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/3/8272b18720e87ec741d6430c1cfe11be.jpg","text":"TemporaryFile(/tmp/multipartBody8905956400421135888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159723248,"filename":"image_03112025_02_57_28_1892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/105087e2044e1fccfb418c79b8c0b165.jpg","text":"TemporaryFile(/tmp/multipartBody7732782480564234649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159723248,"filename":"image_03112025_02_57_36_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/3/63c9af8dcac04ac50f9caf7740d8a01d.jpg","text":"TemporaryFile(/tmp/multipartBody988815429602719698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159723248,"filename":"image_03112025_02_57_50_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/3/199c8868a0a3940ce0fa46a5ce392485.jpg","text":"TemporaryFile(/tmp/multipartBody8476778657503535101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159723248,"filename":"image_03112025_02_56_57_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/3/df093c575f3ecbcda2489d65330a25a5.jpg","text":"TemporaryFile(/tmp/multipartBody6824111510139571580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159723248,"filename":"image_03112025_02_57_45_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011378","file1":"1392011375","file0":"1392011371","file4":"1392011382","file5":"1392011383","file3":"1392011381"},"map_files_photo_id_array":[{"photo_id":"1392011383","filename":"file5"},{"photo_id":"1392011378","filename":"file2"},{"photo_id":"1392011382","filename":"file4"},{"photo_id":"1392011375","filename":"file1"},{"photo_id":"1392011371","filename":"file0"},{"photo_id":"1392011381","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011381":["hashtag1","hashtag2"]},{"1392011375":["hashtag1","hashtag2"]},{"1392011378":["hashtag1","hashtag2"]},{"1392011383":["hashtag1","hashtag2"]},{"1392011371":["hashtag1","hashtag2"]},{"1392011382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011381, 1392011375, 1392011378, 1392011383, 1392011371, 1392011382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56268358230591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:48:22.607376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_51_1726.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_53_1649.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_55_2459.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_58_00_1624.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_12_2719.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_24_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_51_1726.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_53_1649.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_55_2459.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_58_00_1624.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_12_2719.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_24_1687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8ba8k0o8m</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>8ba8k0o8m</strong>.
uploaded 0 photos
time to upload: 30.694835662841797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:49:03.625538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_51_1726.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_53_1649.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_55_2459.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_58_00_1624.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_12_2719.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_24_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_51_1726.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_53_1649.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_55_2459.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_58_00_1624.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_12_2719.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_24_1687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8ba8k37ag</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>8ba8k37ag</strong>.
uploaded 0 photos
time to upload: 30.953318119049072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:49:42.812037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_51_1726.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_53_1649.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_55_2459.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_58_00_1624.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_12_2719.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_24_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_51_1726.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_53_1649.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_55_2459.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_58_00_1624.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_12_2719.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_24_1687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8ba8k5d03</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>8ba8k5d03</strong>.
uploaded 0 photos
time to upload: 30.707561492919922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:50:21.954129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_51_1726.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_53_1649.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_55_2459.jpg', '/home/pi/Desktop/images/03112025/02/57/image_03112025_02_58_00_1624.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_12_2719.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_24_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_51_1726.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_53_1649.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_57_55_2459.jpg
/home/pi/Desktop/images/03112025/02/57/image_03112025_02_58_00_1624.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_12_2719.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_24_1687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011421","1392011396","1392011387","1392011426","1392011405","1392011413"],"photo_ids_order":["1392011387","1392011396","1392011405","1392011413","1392011421","1392011426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9a4f92233a0d801a90076f220b3512fd.jpg","text":"TemporaryFile(/tmp/multipartBody8662377812538613010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159907239,"filename":"image_03112025_02_58_12_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/3/c3ed669b0edc3283ebae43c102b40ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3664515100059724627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159907239,"filename":"image_03112025_02_57_53_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/3/30bbdfb3db1eb1a2cf2afd8941bdaf1d.jpg","text":"TemporaryFile(/tmp/multipartBody4396727452834492551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159907239,"filename":"image_03112025_02_57_51_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/3/ae4d74dd90e4632dd85985f7927cb096.jpg","text":"TemporaryFile(/tmp/multipartBody8472553060865948852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159907239,"filename":"image_03112025_02_58_24_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/3/d24df4505e1a1b132baae995ca589187.jpg","text":"TemporaryFile(/tmp/multipartBody7254337394258027918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159907239,"filename":"image_03112025_02_57_55_2459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2a2c64b021db54c23d17a8a94e906a96.jpg","text":"TemporaryFile(/tmp/multipartBody3637124344499704475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159907239,"filename":"image_03112025_02_58_00_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011405","file1":"1392011396","file0":"1392011387","file4":"1392011421","file5":"1392011426","file3":"1392011413"},"map_files_photo_id_array":[{"photo_id":"1392011426","filename":"file5"},{"photo_id":"1392011405","filename":"file2"},{"photo_id":"1392011421","filename":"file4"},{"photo_id":"1392011396","filename":"file1"},{"photo_id":"1392011387","filename":"file0"},{"photo_id":"1392011413","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011421":["hashtag1","hashtag2"]},{"1392011396":["hashtag1","hashtag2"]},{"1392011387":["hashtag1","hashtag2"]},{"1392011426":["hashtag1","hashtag2"]},{"1392011405":["hashtag1","hashtag2"]},{"1392011413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011421, 1392011396, 1392011387, 1392011426, 1392011405, 1392011413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.025442361831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:51:42.223901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_26_1640.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_28_1629.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_35_7299.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_40_1627.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_43_1649.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_45_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_26_1640.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_28_1629.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_35_7299.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_40_1627.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_43_1649.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_45_1692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011442","1392011438","1392011447","1392011455","1392011434","1392011451"],"photo_ids_order":["1392011434","1392011438","1392011442","1392011447","1392011451","1392011455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c91c1c39a489732680aa4c12a6fbbf9.jpg","text":"TemporaryFile(/tmp/multipartBody7518891147568463144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159963014,"filename":"image_03112025_02_58_35_7299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a00378ea381322fd7c3f846e48fecfdc.jpg","text":"TemporaryFile(/tmp/multipartBody1368978372459862981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159963014,"filename":"image_03112025_02_58_28_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/3/4bb7257b79be6e0e5ff15481d7aba8d0.jpg","text":"TemporaryFile(/tmp/multipartBody3115771824969168143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159963014,"filename":"image_03112025_02_58_40_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/3/2d9c003caca05a6bdc953502bdcd0e07.jpg","text":"TemporaryFile(/tmp/multipartBody9092808619882319127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159963014,"filename":"image_03112025_02_58_45_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/3/0c2eaace2a51a63e9bfde00825de52a9.jpg","text":"TemporaryFile(/tmp/multipartBody1986090352616321845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159963014,"filename":"image_03112025_02_58_26_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/3/65c36140c274f0b6c6b0a89fa046a4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6566533428873246851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762159963014,"filename":"image_03112025_02_58_43_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011442","file1":"1392011438","file0":"1392011434","file4":"1392011451","file5":"1392011455","file3":"1392011447"},"map_files_photo_id_array":[{"photo_id":"1392011455","filename":"file5"},{"photo_id":"1392011442","filename":"file2"},{"photo_id":"1392011451","filename":"file4"},{"photo_id":"1392011438","filename":"file1"},{"photo_id":"1392011434","filename":"file0"},{"photo_id":"1392011447","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011442":["hashtag1","hashtag2"]},{"1392011438":["hashtag1","hashtag2"]},{"1392011447":["hashtag1","hashtag2"]},{"1392011455":["hashtag1","hashtag2"]},{"1392011434":["hashtag1","hashtag2"]},{"1392011451":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011442, 1392011438, 1392011447, 1392011455, 1392011434, 1392011451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58022403717041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:52:22.318697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_48_2705.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_54_2634.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_57_2826.jpg', '/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_59_2575.jpg', '/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_06_2721.jpg', '/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_12_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_48_2705.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_54_2634.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_57_2826.jpg
/home/pi/Desktop/images/03112025/02/58/image_03112025_02_58_59_2575.jpg
/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_06_2721.jpg
/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_12_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011474","1392011477","1392011465","1392011485","1392011470","1392011481"],"photo_ids_order":["1392011465","1392011470","1392011474","1392011477","1392011481","1392011485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f1c1908883514d2b7018b7f83c7b4e7.jpg","text":"TemporaryFile(/tmp/multipartBody3949872625392827732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160003064,"filename":"image_03112025_02_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/3/b527e05bba3af499d869584a00126b1a.jpg","text":"TemporaryFile(/tmp/multipartBody547738749098210447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160003064,"filename":"image_03112025_02_58_59_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/3/fec3b7c051be125882167b142b498bd3.jpg","text":"TemporaryFile(/tmp/multipartBody7139671103572262158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160003064,"filename":"image_03112025_02_58_48_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/3/a8671a495651fc7fe0351697d42d5f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4723697028880417757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160003064,"filename":"image_03112025_02_59_12_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/3/1e4154b7f19d627bf6090c8b6d9e4104.jpg","text":"TemporaryFile(/tmp/multipartBody6674290357709131337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160003064,"filename":"image_03112025_02_58_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/3/bc9aac951e7c69d39d66cf8706e96010.jpg","text":"TemporaryFile(/tmp/multipartBody5046155904320732076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160003064,"filename":"image_03112025_02_59_06_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011474","file1":"1392011470","file0":"1392011465","file4":"1392011481","file5":"1392011485","file3":"1392011477"},"map_files_photo_id_array":[{"photo_id":"1392011485","filename":"file5"},{"photo_id":"1392011474","filename":"file2"},{"photo_id":"1392011481","filename":"file4"},{"photo_id":"1392011470","filename":"file1"},{"photo_id":"1392011465","filename":"file0"},{"photo_id":"1392011477","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011474":["hashtag1","hashtag2"]},{"1392011477":["hashtag1","hashtag2"]},{"1392011465":["hashtag1","hashtag2"]},{"1392011485":["hashtag1","hashtag2"]},{"1392011470":["hashtag1","hashtag2"]},{"1392011481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011474, 1392011477, 1392011465, 1392011485, 1392011470, 1392011481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2123920917511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:53:03.183937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_24_2822.jpg', '/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_26_2676.jpg', '/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_36_2755.jpg', '/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_41_2721.jpg', '/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_50_2663.jpg', '/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_06_3907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_24_2822.jpg
/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_26_2676.jpg
/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_36_2755.jpg
/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_41_2721.jpg
/home/pi/Desktop/images/03112025/02/59/image_03112025_02_59_50_2663.jpg
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_06_3907.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011537","1392011531","1392011521","1392011524","1392011515","1392011499"],"photo_ids_order":["1392011499","1392011515","1392011521","1392011524","1392011531","1392011537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/74e92988ccc4b7842711d7aebd5d6e72.jpg","text":"TemporaryFile(/tmp/multipartBody249591899260121368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160044035,"filename":"image_03112025_03_00_06_3907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5e13ea1874ee18641bea335e498ef76d.jpg","text":"TemporaryFile(/tmp/multipartBody8704789052018645431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160044035,"filename":"image_03112025_02_59_50_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/3/fd30549c8c36c513748b62bfc1d36f81.jpg","text":"TemporaryFile(/tmp/multipartBody6843058603662228115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160044035,"filename":"image_03112025_02_59_36_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/3/8f15de0ec34ca6ae228e2e6053c81898.jpg","text":"TemporaryFile(/tmp/multipartBody4975977952937227513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160044035,"filename":"image_03112025_02_59_41_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/3/73de90a6f65a7decedeafa0914498e33.jpg","text":"TemporaryFile(/tmp/multipartBody6419427769234116003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160044035,"filename":"image_03112025_02_59_26_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/3/736444a078b8cb4f3b4ee550fa37eab8.jpg","text":"TemporaryFile(/tmp/multipartBody5000269675671508792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160044035,"filename":"image_03112025_02_59_24_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011521","file1":"1392011515","file0":"1392011499","file4":"1392011531","file5":"1392011537","file3":"1392011524"},"map_files_photo_id_array":[{"photo_id":"1392011537","filename":"file5"},{"photo_id":"1392011521","filename":"file2"},{"photo_id":"1392011531","filename":"file4"},{"photo_id":"1392011515","filename":"file1"},{"photo_id":"1392011499","filename":"file0"},{"photo_id":"1392011524","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011537":["hashtag1","hashtag2"]},{"1392011531":["hashtag1","hashtag2"]},{"1392011521":["hashtag1","hashtag2"]},{"1392011524":["hashtag1","hashtag2"]},{"1392011515":["hashtag1","hashtag2"]},{"1392011499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011537, 1392011531, 1392011521, 1392011524, 1392011515, 1392011499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35643029212952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:53:42.607074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_09_2779.jpg', '/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_12_2905.jpg', '/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_29_2613.jpg', '/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_33_3727.jpg', '/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_36_2625.jpg', '/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_38_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_09_2779.jpg
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_12_2905.jpg
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_29_2613.jpg
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_33_3727.jpg
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_36_2625.jpg
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_38_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011573","1392011561","1392011549","1392011554","1392011545","1392011568"],"photo_ids_order":["1392011545","1392011549","1392011554","1392011561","1392011568","1392011573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9c8e0f2d96a1a76e2bb19bf4378e2fb8.jpg","text":"TemporaryFile(/tmp/multipartBody4921682305030460793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160083388,"filename":"image_03112025_03_00_38_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/3/0fc444b17dd9db3da3434699aa14872f.jpg","text":"TemporaryFile(/tmp/multipartBody4273636797703145773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160083388,"filename":"image_03112025_03_00_33_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/3/41879893bbfa899b18e30c23a1131634.jpg","text":"TemporaryFile(/tmp/multipartBody6902521531958692495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160083388,"filename":"image_03112025_03_00_12_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/3/613f661c43fa6c01cd3110fcb3d22c09.jpg","text":"TemporaryFile(/tmp/multipartBody5465779318097843543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160083388,"filename":"image_03112025_03_00_29_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/3/27b47f405eed09c792b8953df2db1fca.jpg","text":"TemporaryFile(/tmp/multipartBody7812098278538426747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160083388,"filename":"image_03112025_03_00_09_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/3/9e58baa5c0ff1830b79f7773d98d12c9.jpg","text":"TemporaryFile(/tmp/multipartBody3523333500041084099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160083388,"filename":"image_03112025_03_00_36_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011554","file1":"1392011549","file0":"1392011545","file4":"1392011568","file5":"1392011573","file3":"1392011561"},"map_files_photo_id_array":[{"photo_id":"1392011573","filename":"file5"},{"photo_id":"1392011554","filename":"file2"},{"photo_id":"1392011568","filename":"file4"},{"photo_id":"1392011549","filename":"file1"},{"photo_id":"1392011545","filename":"file0"},{"photo_id":"1392011561","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011573":["hashtag1","hashtag2"]},{"1392011561":["hashtag1","hashtag2"]},{"1392011549":["hashtag1","hashtag2"]},{"1392011554":["hashtag1","hashtag2"]},{"1392011545":["hashtag1","hashtag2"]},{"1392011568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011573, 1392011561, 1392011549, 1392011554, 1392011545, 1392011568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.579732179641724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 09:54:22.699670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_48_2857.jpg', '/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_54_3733.jpg', '/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_57_2619.jpg', '/home/pi/Desktop/images/03112025/03/01/image_03112025_03_01_15_2796.jpg', '/home/pi/Desktop/images/03112025/03/01/image_03112025_03_01_18_2654.jpg', '/home/pi/Desktop/images/03112025/03/01/image_03112025_03_01_57_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_48_2857.jpg
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_54_3733.jpg
/home/pi/Desktop/images/03112025/03/00/image_03112025_03_00_57_2619.jpg
/home/pi/Desktop/images/03112025/03/01/image_03112025_03_01_15_2796.jpg
/home/pi/Desktop/images/03112025/03/01/image_03112025_03_01_18_2654.jpg
/home/pi/Desktop/images/03112025/03/01/image_03112025_03_01_57_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011616","1392011601","1392011594","1392011597","1392011623","1392011589"],"photo_ids_order":["1392011589","1392011594","1392011597","1392011601","1392011616","1392011623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2a66af7aee507cb3fff8cb5e530c579b.jpg","text":"TemporaryFile(/tmp/multipartBody4000872763025969089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160123442,"filename":"image_03112025_03_01_18_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4e48a19937ce79f35b7ae9274922b53e.jpg","text":"TemporaryFile(/tmp/multipartBody4500658294539908402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160123442,"filename":"image_03112025_03_01_15_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/3/7d053d68646e2fb7c307a84ed73899af.jpg","text":"TemporaryFile(/tmp/multipartBody3614443255281127859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160123442,"filename":"image_03112025_03_00_54_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/3/30f97600eb268d97c905146cd6d51e1f.jpg","text":"TemporaryFile(/tmp/multipartBody9134328995563290299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160123442,"filename":"image_03112025_03_00_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/3/2dc9af3484613eea9bb5e7f4c1020a71.jpg","text":"TemporaryFile(/tmp/multipartBody374340967102588237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160123442,"filename":"image_03112025_03_01_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/3/9ea12dc45c5a67fa0dcb35e44d9a04bb.jpg","text":"TemporaryFile(/tmp/multipartBody9197701072947112890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160123442,"filename":"image_03112025_03_00_48_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011597","file1":"1392011594","file0":"1392011589","file4":"1392011616","file5":"1392011623","file3":"1392011601"},"map_files_photo_id_array":[{"photo_id":"1392011623","filename":"file5"},{"photo_id":"1392011597","filename":"file2"},{"photo_id":"1392011616","filename":"file4"},{"photo_id":"1392011594","filename":"file1"},{"photo_id":"1392011589","filename":"file0"},{"photo_id":"1392011601","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011616":["hashtag1","hashtag2"]},{"1392011601":["hashtag1","hashtag2"]},{"1392011594":["hashtag1","hashtag2"]},{"1392011597":["hashtag1","hashtag2"]},{"1392011623":["hashtag1","hashtag2"]},{"1392011589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011616, 1392011601, 1392011594, 1392011597, 1392011623, 1392011589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.014135122299194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:55:02.621291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/01/image_03112025_03_01_59_2712.jpg', '/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_08_2540.jpg', '/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_12_3601.jpg', '/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_15_2800.jpg', '/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_17_2604.jpg', '/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_42_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/01/image_03112025_03_01_59_2712.jpg
/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_08_2540.jpg
/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_12_3601.jpg
/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_15_2800.jpg
/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_17_2604.jpg
/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_42_3700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011655","1392011649","1392011642","1392011659","1392011652","1392011646"],"photo_ids_order":["1392011642","1392011646","1392011649","1392011652","1392011655","1392011659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b5f915bd892191ff6f94c73642ed7d46.jpg","text":"TemporaryFile(/tmp/multipartBody1061903157809252431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160163583,"filename":"image_03112025_03_02_17_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/3/9b2cd4c44dbdbc6d0f78cf82f61b625f.jpg","text":"TemporaryFile(/tmp/multipartBody4339505330086535820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160163583,"filename":"image_03112025_03_02_12_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/3/fd46a744d85ca3e4841c81fa202665d0.jpg","text":"TemporaryFile(/tmp/multipartBody4992957699737962412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160163583,"filename":"image_03112025_03_01_59_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b131dcd5e755b4904ccc667f485ed42d.jpg","text":"TemporaryFile(/tmp/multipartBody5973055436565793673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160163583,"filename":"image_03112025_03_02_42_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/3/dc11311b56c8869cc04017b10abc29f4.jpg","text":"TemporaryFile(/tmp/multipartBody3729069662139653557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160163583,"filename":"image_03112025_03_02_15_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/3/ceedcc14873fe6dcc603daa6191a360c.jpg","text":"TemporaryFile(/tmp/multipartBody1601163143454442012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160163583,"filename":"image_03112025_03_02_08_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011649","file1":"1392011646","file0":"1392011642","file4":"1392011655","file5":"1392011659","file3":"1392011652"},"map_files_photo_id_array":[{"photo_id":"1392011659","filename":"file5"},{"photo_id":"1392011649","filename":"file2"},{"photo_id":"1392011655","filename":"file4"},{"photo_id":"1392011646","filename":"file1"},{"photo_id":"1392011642","filename":"file0"},{"photo_id":"1392011652","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011655":["hashtag1","hashtag2"]},{"1392011649":["hashtag1","hashtag2"]},{"1392011642":["hashtag1","hashtag2"]},{"1392011659":["hashtag1","hashtag2"]},{"1392011652":["hashtag1","hashtag2"]},{"1392011646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011655, 1392011649, 1392011642, 1392011659, 1392011652, 1392011646)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.43598985671997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:56:02.373666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_51_3873.jpg', '/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_54_2772.jpg', '/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_56_2836.jpg', '/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_59_2609.jpg', '/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_03_3703.jpg', '/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_14_3395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_51_3873.jpg
/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_54_2772.jpg
/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_56_2836.jpg
/home/pi/Desktop/images/03112025/03/02/image_03112025_03_02_59_2609.jpg
/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_03_3703.jpg
/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_14_3395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011700","1392011696","1392011684","1392011711","1392011705","1392011691"],"photo_ids_order":["1392011684","1392011691","1392011696","1392011700","1392011705","1392011711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6802746ad4d55ddba14380549cf583b9.jpg","text":"TemporaryFile(/tmp/multipartBody7975547034377294597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160223192,"filename":"image_03112025_03_02_59_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/3/6a6fe4b585ab478eb72bd6ac57c6a94b.jpg","text":"TemporaryFile(/tmp/multipartBody4303374720325068617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160223192,"filename":"image_03112025_03_02_56_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/3/ea41c9bb0d2eb5d5471b22d89b31ec55.jpg","text":"TemporaryFile(/tmp/multipartBody5291190279812294621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160223192,"filename":"image_03112025_03_02_51_3873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/96301299599eb67ae19b4965dcc2ae34.jpg","text":"TemporaryFile(/tmp/multipartBody4727194677188699943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160223192,"filename":"image_03112025_03_03_14_3395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a841937a36ce0718c7951a74fa9b1cce.jpg","text":"TemporaryFile(/tmp/multipartBody3740197770891897443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160223192,"filename":"image_03112025_03_03_03_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/3/6bbfa1a933e0d00a64255b391a3a1f76.jpg","text":"TemporaryFile(/tmp/multipartBody8263097563478196387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160223192,"filename":"image_03112025_03_02_54_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011696","file1":"1392011691","file0":"1392011684","file4":"1392011705","file5":"1392011711","file3":"1392011700"},"map_files_photo_id_array":[{"photo_id":"1392011711","filename":"file5"},{"photo_id":"1392011696","filename":"file2"},{"photo_id":"1392011705","filename":"file4"},{"photo_id":"1392011691","filename":"file1"},{"photo_id":"1392011684","filename":"file0"},{"photo_id":"1392011700","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011700":["hashtag1","hashtag2"]},{"1392011696":["hashtag1","hashtag2"]},{"1392011684":["hashtag1","hashtag2"]},{"1392011711":["hashtag1","hashtag2"]},{"1392011705":["hashtag1","hashtag2"]},{"1392011691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011700, 1392011696, 1392011684, 1392011711, 1392011705, 1392011691)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.73061752319336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:57:03.134617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_17_2657.jpg', '/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_39_3637.jpg', '/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_42_2786.jpg', '/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_53_2623.jpg', '/home/pi/Desktop/images/03112025/03/04/image_03112025_03_04_09_2816.jpg', '/home/pi/Desktop/images/03112025/03/04/image_03112025_03_04_17_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_17_2657.jpg
/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_39_3637.jpg
/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_42_2786.jpg
/home/pi/Desktop/images/03112025/03/03/image_03112025_03_03_53_2623.jpg
/home/pi/Desktop/images/03112025/03/04/image_03112025_03_04_09_2816.jpg
/home/pi/Desktop/images/03112025/03/04/image_03112025_03_04_17_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011748","1392011756","1392011744","1392011764","1392011760","1392011751"],"photo_ids_order":["1392011744","1392011748","1392011751","1392011756","1392011760","1392011764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/25c33ac1ecc5c2c35f1ea2c03d375b21.jpg","text":"TemporaryFile(/tmp/multipartBody4177680053338852750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160283987,"filename":"image_03112025_03_03_39_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/3/a2c59d57204a994eb0fdf6adc1bdfd55.jpg","text":"TemporaryFile(/tmp/multipartBody3456265226237933258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160283987,"filename":"image_03112025_03_03_53_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4ee0187a21c556ed9a5988ff2ad24754.jpg","text":"TemporaryFile(/tmp/multipartBody6716293302161491333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160283987,"filename":"image_03112025_03_03_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/3/0416d281caed21ecf9ca4c5d304734de.jpg","text":"TemporaryFile(/tmp/multipartBody1812007063114506792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160283987,"filename":"image_03112025_03_04_17_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/3/47e1d314ade6048ff5393975cd32ad0a.jpg","text":"TemporaryFile(/tmp/multipartBody5572360026017450438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160283987,"filename":"image_03112025_03_04_09_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/3/ab7d01512967b82b645b45ba0977a35d.jpg","text":"TemporaryFile(/tmp/multipartBody686647151504331318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160283987,"filename":"image_03112025_03_03_42_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011751","file1":"1392011748","file0":"1392011744","file4":"1392011760","file5":"1392011764","file3":"1392011756"},"map_files_photo_id_array":[{"photo_id":"1392011764","filename":"file5"},{"photo_id":"1392011751","filename":"file2"},{"photo_id":"1392011760","filename":"file4"},{"photo_id":"1392011748","filename":"file1"},{"photo_id":"1392011744","filename":"file0"},{"photo_id":"1392011756","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011748":["hashtag1","hashtag2"]},{"1392011756":["hashtag1","hashtag2"]},{"1392011744":["hashtag1","hashtag2"]},{"1392011764":["hashtag1","hashtag2"]},{"1392011760":["hashtag1","hashtag2"]},{"1392011751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011748, 1392011756, 1392011744, 1392011764, 1392011760, 1392011751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49976134300232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:57:42.430920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_13_3074.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_16_1894.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_20_1957.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_25_4543.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_26_1799.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_31_4509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_13_3074.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_16_1894.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_20_1957.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_25_4543.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_26_1799.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_31_4509.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011780","1392011782","1392011776","1392011785","1392011787","1392011784"],"photo_ids_order":["1392011776","1392011780","1392011782","1392011784","1392011785","1392011787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b5b0199a2aefe7cdb4b02c132e7f4c6a.jpg","text":"TemporaryFile(/tmp/multipartBody4759166293623075219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160323212,"filename":"image_03112025_03_05_16_1894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/72f952eab9459eead8cec85da55af1ec.jpg","text":"TemporaryFile(/tmp/multipartBody3072926058219644691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160323212,"filename":"image_03112025_03_05_20_1957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f07ef1a426faede76d66a5dfa2417627.jpg","text":"TemporaryFile(/tmp/multipartBody7354978975363640441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160323212,"filename":"image_03112025_03_05_13_3074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/864d96a1ff1c1138fc688221a9b1ce2f.jpg","text":"TemporaryFile(/tmp/multipartBody569450939497306339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160323212,"filename":"image_03112025_03_05_26_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/3/9110e8ff682ca2136cac68c494642afc.jpg","text":"TemporaryFile(/tmp/multipartBody5937359926586436918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160323212,"filename":"image_03112025_03_05_31_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/3/f269cd8652c9c8b07175f827f9202239.jpg","text":"TemporaryFile(/tmp/multipartBody7347188660990349898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160323212,"filename":"image_03112025_03_05_25_4543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011782","file1":"1392011780","file0":"1392011776","file4":"1392011785","file5":"1392011787","file3":"1392011784"},"map_files_photo_id_array":[{"photo_id":"1392011787","filename":"file5"},{"photo_id":"1392011782","filename":"file2"},{"photo_id":"1392011785","filename":"file4"},{"photo_id":"1392011780","filename":"file1"},{"photo_id":"1392011776","filename":"file0"},{"photo_id":"1392011784","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011780":["hashtag1","hashtag2"]},{"1392011782":["hashtag1","hashtag2"]},{"1392011776":["hashtag1","hashtag2"]},{"1392011785":["hashtag1","hashtag2"]},{"1392011787":["hashtag1","hashtag2"]},{"1392011784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011780, 1392011782, 1392011776, 1392011785, 1392011787, 1392011784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.109933853149414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 09:59:03.652998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_33_1724.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_40_1574.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_42_1847.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_47_2590.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_50_3690.jpg', '/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_56_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_33_1724.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_40_1574.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_42_1847.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_47_2590.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_50_3690.jpg
/home/pi/Desktop/images/03112025/03/05/image_03112025_03_05_56_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011835","1392011840","1392011828","1392011822","1392011816","1392011812"],"photo_ids_order":["1392011812","1392011816","1392011822","1392011828","1392011835","1392011840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/028e84f862a751c9187198004804686e.jpg","text":"TemporaryFile(/tmp/multipartBody7050204872937155632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160404590,"filename":"image_03112025_03_05_50_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/3/f2af471049eabc0de66655c6b82d162d.jpg","text":"TemporaryFile(/tmp/multipartBody2384941304954010268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160404590,"filename":"image_03112025_03_05_56_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/3/645873df23ff63bc9b8f11efc8ad2c92.jpg","text":"TemporaryFile(/tmp/multipartBody3344390716583945046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160404590,"filename":"image_03112025_03_05_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/3/2badb1e59031abdac94252189c519b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4068511044372990407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160404590,"filename":"image_03112025_03_05_42_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/3/21f254d95cbaa671c36e62050f94b8f0.jpg","text":"TemporaryFile(/tmp/multipartBody7958681157790881451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160404590,"filename":"image_03112025_03_05_40_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/3/eac927244b8a1945e2ef969cd55d67f2.jpg","text":"TemporaryFile(/tmp/multipartBody4301068840961210538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160404590,"filename":"image_03112025_03_05_33_1724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011822","file1":"1392011816","file0":"1392011812","file4":"1392011835","file5":"1392011840","file3":"1392011828"},"map_files_photo_id_array":[{"photo_id":"1392011840","filename":"file5"},{"photo_id":"1392011822","filename":"file2"},{"photo_id":"1392011835","filename":"file4"},{"photo_id":"1392011816","filename":"file1"},{"photo_id":"1392011812","filename":"file0"},{"photo_id":"1392011828","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011835":["hashtag1","hashtag2"]},{"1392011840":["hashtag1","hashtag2"]},{"1392011828":["hashtag1","hashtag2"]},{"1392011822":["hashtag1","hashtag2"]},{"1392011816":["hashtag1","hashtag2"]},{"1392011812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011835, 1392011840, 1392011828, 1392011822, 1392011816, 1392011812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97287678718567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 09:59:42.748419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_04_7811.jpg', '/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_14_2833.jpg', '/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_23_2681.jpg', '/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_26_2710.jpg', '/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_29_2703.jpg', '/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_38_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_04_7811.jpg
/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_14_2833.jpg
/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_23_2681.jpg
/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_26_2710.jpg
/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_29_2703.jpg
/home/pi/Desktop/images/03112025/03/06/image_03112025_03_06_38_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392011963","1392012041","1392011921","1392011881","1392012001","1392011850"],"photo_ids_order":["1392011850","1392011881","1392011921","1392011963","1392012001","1392012041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6c9555cf019379a8978ada9efe37342c.jpg","text":"TemporaryFile(/tmp/multipartBody407131508622491652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160443527,"filename":"image_03112025_03_06_26_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/3/fb9a0fc2ae8f4ad878f740db9337d920.jpg","text":"TemporaryFile(/tmp/multipartBody6236493258033486165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160443527,"filename":"image_03112025_03_06_38_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/3/265d4e7ff3506ed1ed34fa937bfea8a5.jpg","text":"TemporaryFile(/tmp/multipartBody2958741152619035675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160443527,"filename":"image_03112025_03_06_23_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/3/293c9ff27564dce9db3782e5a6d54598.jpg","text":"TemporaryFile(/tmp/multipartBody8867520828593916208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160443527,"filename":"image_03112025_03_06_14_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/3/b3c37482a6e02d6dc7dbda72e9a9f35a.jpg","text":"TemporaryFile(/tmp/multipartBody8659071640260723567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160443527,"filename":"image_03112025_03_06_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/3/fadd87f63e1e9ac0eda9c941b443a34b.jpg","text":"TemporaryFile(/tmp/multipartBody2119491153067020697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160443527,"filename":"image_03112025_03_06_04_7811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392011921","file1":"1392011881","file0":"1392011850","file4":"1392012001","file5":"1392012041","file3":"1392011963"},"map_files_photo_id_array":[{"photo_id":"1392012041","filename":"file5"},{"photo_id":"1392011921","filename":"file2"},{"photo_id":"1392012001","filename":"file4"},{"photo_id":"1392011881","filename":"file1"},{"photo_id":"1392011850","filename":"file0"},{"photo_id":"1392011963","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392011963":["hashtag1","hashtag2"]},{"1392012041":["hashtag1","hashtag2"]},{"1392011921":["hashtag1","hashtag2"]},{"1392011881":["hashtag1","hashtag2"]},{"1392012001":["hashtag1","hashtag2"]},{"1392011850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392011963, 1392012041, 1392011921, 1392011881, 1392012001, 1392011850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60809135437012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:00:21.865836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/08/image_03112025_03_08_29_2798.jpg', '/home/pi/Desktop/images/03112025/03/08/image_03112025_03_08_31_2603.jpg', '/home/pi/Desktop/images/03112025/03/08/image_03112025_03_08_41_2849.jpg', '/home/pi/Desktop/images/03112025/03/10/image_03112025_03_10_01_2937.jpg', '/home/pi/Desktop/images/03112025/03/10/image_03112025_03_10_04_2926.jpg', '/home/pi/Desktop/images/03112025/03/10/image_03112025_03_10_09_4728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/08/image_03112025_03_08_29_2798.jpg
/home/pi/Desktop/images/03112025/03/08/image_03112025_03_08_31_2603.jpg
/home/pi/Desktop/images/03112025/03/08/image_03112025_03_08_41_2849.jpg
/home/pi/Desktop/images/03112025/03/10/image_03112025_03_10_01_2937.jpg
/home/pi/Desktop/images/03112025/03/10/image_03112025_03_10_04_2926.jpg
/home/pi/Desktop/images/03112025/03/10/image_03112025_03_10_09_4728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392012395","1392012266","1392012353","1392012187","1392012313","1392012228"],"photo_ids_order":["1392012187","1392012228","1392012266","1392012313","1392012353","1392012395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c86aaaf739d8b98373895b974d320938.jpg","text":"TemporaryFile(/tmp/multipartBody6471373799124915912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160482612,"filename":"image_03112025_03_10_09_4728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d7549736f0266c9a431ff654b9977741.jpg","text":"TemporaryFile(/tmp/multipartBody7820944574107690802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160482612,"filename":"image_03112025_03_08_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/3/8e4efbd28e12d7e46e8a3d11b63f39a0.jpg","text":"TemporaryFile(/tmp/multipartBody935951223966284902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160482612,"filename":"image_03112025_03_10_04_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/3/8f86935ae0864ca8c1614553b1317571.jpg","text":"TemporaryFile(/tmp/multipartBody380062164340575705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160482612,"filename":"image_03112025_03_08_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/3/eef8cfa50d0184127b64b1571ef8e436.jpg","text":"TemporaryFile(/tmp/multipartBody1973762762472472526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160482612,"filename":"image_03112025_03_10_01_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6010ac4e23499651e43f74f275dc92f4.jpg","text":"TemporaryFile(/tmp/multipartBody4335837471482606217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160482612,"filename":"image_03112025_03_08_31_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392012266","file1":"1392012228","file0":"1392012187","file4":"1392012353","file5":"1392012395","file3":"1392012313"},"map_files_photo_id_array":[{"photo_id":"1392012395","filename":"file5"},{"photo_id":"1392012266","filename":"file2"},{"photo_id":"1392012353","filename":"file4"},{"photo_id":"1392012228","filename":"file1"},{"photo_id":"1392012187","filename":"file0"},{"photo_id":"1392012313","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392012395":["hashtag1","hashtag2"]},{"1392012266":["hashtag1","hashtag2"]},{"1392012353":["hashtag1","hashtag2"]},{"1392012187":["hashtag1","hashtag2"]},{"1392012313":["hashtag1","hashtag2"]},{"1392012228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392012395, 1392012266, 1392012353, 1392012187, 1392012313, 1392012228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.446932792663574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:01:02.825316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/12/image_03112025_03_12_55_1582.jpg', '/home/pi/Desktop/images/03112025/03/12/image_03112025_03_12_57_1679.jpg', '/home/pi/Desktop/images/03112025/03/12/image_03112025_03_12_58_1690.jpg', '/home/pi/Desktop/images/03112025/03/14/image_03112025_03_14_13_2609.jpg', '/home/pi/Desktop/images/03112025/03/14/image_03112025_03_14_16_2713.jpg', '/home/pi/Desktop/images/03112025/03/14/image_03112025_03_14_32_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/12/image_03112025_03_12_55_1582.jpg
/home/pi/Desktop/images/03112025/03/12/image_03112025_03_12_57_1679.jpg
/home/pi/Desktop/images/03112025/03/12/image_03112025_03_12_58_1690.jpg
/home/pi/Desktop/images/03112025/03/14/image_03112025_03_14_13_2609.jpg
/home/pi/Desktop/images/03112025/03/14/image_03112025_03_14_16_2713.jpg
/home/pi/Desktop/images/03112025/03/14/image_03112025_03_14_32_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392012593","1392012749","1392012713","1392012673","1392012634","1392012556"],"photo_ids_order":["1392012556","1392012593","1392012634","1392012673","1392012713","1392012749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a6a24e13ee70d882d3847c6fb8d68ed0.jpg","text":"TemporaryFile(/tmp/multipartBody823578434257251978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160523694,"filename":"image_03112025_03_12_57_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/3/1c2142b22d1b552d048673e125fa266a.jpg","text":"TemporaryFile(/tmp/multipartBody1323379182771433708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160523694,"filename":"image_03112025_03_14_32_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/3/5927bebf2b3d94023546657623c00a53.jpg","text":"TemporaryFile(/tmp/multipartBody1756428753402799449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160523694,"filename":"image_03112025_03_14_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/3/2bbf6b157563da4313e6bf11a2bd7c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7512031938394560809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160523694,"filename":"image_03112025_03_14_13_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/3/ff8f0c28c1c542333fc3614c42b186e0.jpg","text":"TemporaryFile(/tmp/multipartBody7805751337292832533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160523694,"filename":"image_03112025_03_12_58_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/3/949bf773c0975265bb77e4f01d141b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8586417994798738006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160523694,"filename":"image_03112025_03_12_55_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392012634","file1":"1392012593","file0":"1392012556","file4":"1392012713","file5":"1392012749","file3":"1392012673"},"map_files_photo_id_array":[{"photo_id":"1392012749","filename":"file5"},{"photo_id":"1392012634","filename":"file2"},{"photo_id":"1392012713","filename":"file4"},{"photo_id":"1392012593","filename":"file1"},{"photo_id":"1392012556","filename":"file0"},{"photo_id":"1392012673","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392012593":["hashtag1","hashtag2"]},{"1392012749":["hashtag1","hashtag2"]},{"1392012713":["hashtag1","hashtag2"]},{"1392012673":["hashtag1","hashtag2"]},{"1392012634":["hashtag1","hashtag2"]},{"1392012556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392012593, 1392012749, 1392012713, 1392012673, 1392012634, 1392012556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39824056625366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:01:42.136543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_29_1714.jpg', '/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_31_2663.jpg', '/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_38_2846.jpg', '/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_40_2670.jpg', '/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_52_2589.jpg', '/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_04_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_29_1714.jpg
/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_31_2663.jpg
/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_38_2846.jpg
/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_40_2670.jpg
/home/pi/Desktop/images/03112025/03/15/image_03112025_03_15_52_2589.jpg
/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_04_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392013027","1392012907","1392012990","1392012951","1392013166","1392013076"],"photo_ids_order":["1392012907","1392012951","1392012990","1392013027","1392013076","1392013166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/43c1f6c0b87f7a09a3ad7cde462dd7e9.jpg","text":"TemporaryFile(/tmp/multipartBody2771304061305927004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160562921,"filename":"image_03112025_03_15_40_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/3/b6aa7c75607911ec093d3d71d102a917.jpg","text":"TemporaryFile(/tmp/multipartBody450003997606058283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160562921,"filename":"image_03112025_03_15_29_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/3/0f7255745c975f58b7752ab154c706ae.jpg","text":"TemporaryFile(/tmp/multipartBody5236515166861284956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160562921,"filename":"image_03112025_03_15_38_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/3/9ff08f86bc0bd4e75fdb84290fa505fb.jpg","text":"TemporaryFile(/tmp/multipartBody8494245329134035973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160562921,"filename":"image_03112025_03_15_31_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/3/53925cbd49ff76a49583c0ee4d57b35b.jpg","text":"TemporaryFile(/tmp/multipartBody6262729592910637579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160562921,"filename":"image_03112025_03_16_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/3/78d4e27aa468fa173650fd6a1b665e36.jpg","text":"TemporaryFile(/tmp/multipartBody6761076345864934786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160562921,"filename":"image_03112025_03_15_52_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392012990","file1":"1392012951","file0":"1392012907","file4":"1392013076","file5":"1392013166","file3":"1392013027"},"map_files_photo_id_array":[{"photo_id":"1392013166","filename":"file5"},{"photo_id":"1392012990","filename":"file2"},{"photo_id":"1392013076","filename":"file4"},{"photo_id":"1392012951","filename":"file1"},{"photo_id":"1392012907","filename":"file0"},{"photo_id":"1392013027","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392013027":["hashtag1","hashtag2"]},{"1392012907":["hashtag1","hashtag2"]},{"1392012990":["hashtag1","hashtag2"]},{"1392012951":["hashtag1","hashtag2"]},{"1392013166":["hashtag1","hashtag2"]},{"1392013076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392013027, 1392012907, 1392012990, 1392012951, 1392013166, 1392013076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74937129020691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:02:22.307674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_08_3676.jpg', '/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_10_2644.jpg', '/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_13_2647.jpg', '/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_28_3566.jpg', '/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_58_2520.jpg', '/home/pi/Desktop/images/03112025/03/17/image_03112025_03_17_01_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_08_3676.jpg
/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_10_2644.jpg
/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_13_2647.jpg
/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_28_3566.jpg
/home/pi/Desktop/images/03112025/03/16/image_03112025_03_16_58_2520.jpg
/home/pi/Desktop/images/03112025/03/17/image_03112025_03_17_01_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392013925","1392013655","1392014028","1392013839","1392013752","1392013530"],"photo_ids_order":["1392013530","1392013655","1392013752","1392013839","1392013925","1392014028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf961d633cffe3fab8f4b2d12def6c06.jpg","text":"TemporaryFile(/tmp/multipartBody8617859408546247921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160603061,"filename":"image_03112025_03_16_58_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/3/091050283f09d43765e6dd417f120f8f.jpg","text":"TemporaryFile(/tmp/multipartBody1506815925060176375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160603061,"filename":"image_03112025_03_16_10_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/3/0b3bf11a608eef53fa3a16b336403afb.jpg","text":"TemporaryFile(/tmp/multipartBody3487457947243662023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160603061,"filename":"image_03112025_03_17_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/3/7f33f511f48bd16dbb8c7f1d15af60fc.jpg","text":"TemporaryFile(/tmp/multipartBody5641383648390577887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160603061,"filename":"image_03112025_03_16_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/3/5fcf82298716c6307f95faa7f529c24f.jpg","text":"TemporaryFile(/tmp/multipartBody3523920763754007121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160603061,"filename":"image_03112025_03_16_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/3/f21d8a76dc374b21c68be18f69c6115a.jpg","text":"TemporaryFile(/tmp/multipartBody3688693100056755983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160603061,"filename":"image_03112025_03_16_08_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392013752","file1":"1392013655","file0":"1392013530","file4":"1392013925","file5":"1392014028","file3":"1392013839"},"map_files_photo_id_array":[{"photo_id":"1392014028","filename":"file5"},{"photo_id":"1392013752","filename":"file2"},{"photo_id":"1392013925","filename":"file4"},{"photo_id":"1392013655","filename":"file1"},{"photo_id":"1392013530","filename":"file0"},{"photo_id":"1392013839","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392013925":["hashtag1","hashtag2"]},{"1392013655":["hashtag1","hashtag2"]},{"1392014028":["hashtag1","hashtag2"]},{"1392013839":["hashtag1","hashtag2"]},{"1392013752":["hashtag1","hashtag2"]},{"1392013530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392013925, 1392013655, 1392014028, 1392013839, 1392013752, 1392013530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78415369987488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:03:03.044519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/18/image_03112025_03_18_37_3635.jpg', '/home/pi/Desktop/images/03112025/03/18/image_03112025_03_18_43_2735.jpg', '/home/pi/Desktop/images/03112025/03/18/image_03112025_03_18_58_3722.jpg', '/home/pi/Desktop/images/03112025/03/19/image_03112025_03_19_01_2568.jpg', '/home/pi/Desktop/images/03112025/03/19/image_03112025_03_19_19_2631.jpg', '/home/pi/Desktop/images/03112025/03/19/image_03112025_03_19_22_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/18/image_03112025_03_18_37_3635.jpg
/home/pi/Desktop/images/03112025/03/18/image_03112025_03_18_43_2735.jpg
/home/pi/Desktop/images/03112025/03/18/image_03112025_03_18_58_3722.jpg
/home/pi/Desktop/images/03112025/03/19/image_03112025_03_19_01_2568.jpg
/home/pi/Desktop/images/03112025/03/19/image_03112025_03_19_19_2631.jpg
/home/pi/Desktop/images/03112025/03/19/image_03112025_03_19_22_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392014368","1392014440","1392014478","1392014553","1392014517","1392014594"],"photo_ids_order":["1392014368","1392014440","1392014478","1392014517","1392014553","1392014594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9872672d4fb435e987fde30f923150fc.jpg","text":"TemporaryFile(/tmp/multipartBody2863154346572047575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160643955,"filename":"image_03112025_03_18_37_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4416a3b12e50417ecc96557c37928b29.jpg","text":"TemporaryFile(/tmp/multipartBody1007218999955981723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160643955,"filename":"image_03112025_03_18_43_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b0dfb23687a487c281000adc9c83dc83.jpg","text":"TemporaryFile(/tmp/multipartBody6857559656573105272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160643955,"filename":"image_03112025_03_18_58_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/3/d52ff5042c7ec42bd694eecf11bfd25f.jpg","text":"TemporaryFile(/tmp/multipartBody2838870909047563642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160643955,"filename":"image_03112025_03_19_19_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/3/c714aff3fd1a884c1507f7ee0161bdde.jpg","text":"TemporaryFile(/tmp/multipartBody2490210224615444661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160643955,"filename":"image_03112025_03_19_01_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/3/c7f753ae6720f5af0343bfa2bfcaef53.jpg","text":"TemporaryFile(/tmp/multipartBody7648967042517170899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160643955,"filename":"image_03112025_03_19_22_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392014478","file1":"1392014440","file0":"1392014368","file4":"1392014553","file5":"1392014594","file3":"1392014517"},"map_files_photo_id_array":[{"photo_id":"1392014594","filename":"file5"},{"photo_id":"1392014478","filename":"file2"},{"photo_id":"1392014553","filename":"file4"},{"photo_id":"1392014440","filename":"file1"},{"photo_id":"1392014368","filename":"file0"},{"photo_id":"1392014517","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392014368":["hashtag1","hashtag2"]},{"1392014440":["hashtag1","hashtag2"]},{"1392014478":["hashtag1","hashtag2"]},{"1392014553":["hashtag1","hashtag2"]},{"1392014517":["hashtag1","hashtag2"]},{"1392014594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392014368, 1392014440, 1392014478, 1392014553, 1392014517, 1392014594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2300066947937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:03:42.481091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_07_2633.jpg', '/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_13_2723.jpg', '/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_16_3593.jpg', '/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_19_2809.jpg', '/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_22_2661.jpg', '/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_46_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_07_2633.jpg
/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_13_2723.jpg
/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_16_3593.jpg
/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_19_2809.jpg
/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_22_2661.jpg
/home/pi/Desktop/images/03112025/03/20/image_03112025_03_20_46_2798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392014854","1392014891","1392014780","1392014927","1392014741","1392014819"],"photo_ids_order":["1392014741","1392014780","1392014819","1392014854","1392014891","1392014927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/81742813e678f1989cc8ce64064b461e.jpg","text":"TemporaryFile(/tmp/multipartBody8797613265334216031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160683265,"filename":"image_03112025_03_20_19_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bca3848ca2758398bcfa044dd315d5f0.jpg","text":"TemporaryFile(/tmp/multipartBody2245472736056878673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160683265,"filename":"image_03112025_03_20_22_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a1a3e1f1cc99ccde8ee018364a204bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7423003039603743321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160683265,"filename":"image_03112025_03_20_13_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/81415e69701edc14ac59978f4d7a916d.jpg","text":"TemporaryFile(/tmp/multipartBody1305805417224952298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160683265,"filename":"image_03112025_03_20_46_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/3/85dcb4cd582f1dd7077e8af72dd2ff24.jpg","text":"TemporaryFile(/tmp/multipartBody4522219136213071837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160683265,"filename":"image_03112025_03_20_07_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7a533e3e2295804a27cd1577c13f667c.jpg","text":"TemporaryFile(/tmp/multipartBody5600633331911102171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160683265,"filename":"image_03112025_03_20_16_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392014819","file1":"1392014780","file0":"1392014741","file4":"1392014891","file5":"1392014927","file3":"1392014854"},"map_files_photo_id_array":[{"photo_id":"1392014927","filename":"file5"},{"photo_id":"1392014819","filename":"file2"},{"photo_id":"1392014891","filename":"file4"},{"photo_id":"1392014780","filename":"file1"},{"photo_id":"1392014741","filename":"file0"},{"photo_id":"1392014854","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392014854":["hashtag1","hashtag2"]},{"1392014891":["hashtag1","hashtag2"]},{"1392014780":["hashtag1","hashtag2"]},{"1392014927":["hashtag1","hashtag2"]},{"1392014741":["hashtag1","hashtag2"]},{"1392014819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392014854, 1392014891, 1392014780, 1392014927, 1392014741, 1392014819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28524374961853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:04:22.716528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/21/image_03112025_03_21_14_1664.jpg', '/home/pi/Desktop/images/03112025/03/21/image_03112025_03_21_15_1771.jpg', '/home/pi/Desktop/images/03112025/03/23/image_03112025_03_23_20_1674.jpg', '/home/pi/Desktop/images/03112025/03/23/image_03112025_03_23_22_1559.jpg', '/home/pi/Desktop/images/03112025/03/23/image_03112025_03_23_24_1559.jpg', '/home/pi/Desktop/images/03112025/03/23/image_03112025_03_23_28_4860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/21/image_03112025_03_21_14_1664.jpg
/home/pi/Desktop/images/03112025/03/21/image_03112025_03_21_15_1771.jpg
/home/pi/Desktop/images/03112025/03/23/image_03112025_03_23_20_1674.jpg
/home/pi/Desktop/images/03112025/03/23/image_03112025_03_23_22_1559.jpg
/home/pi/Desktop/images/03112025/03/23/image_03112025_03_23_24_1559.jpg
/home/pi/Desktop/images/03112025/03/23/image_03112025_03_23_28_4860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392015319","1392015359","1392015233","1392015193","1392015274","1392015154"],"photo_ids_order":["1392015154","1392015193","1392015233","1392015274","1392015319","1392015359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c770d58f3d38ea8d018be24ab9f3c330.jpg","text":"TemporaryFile(/tmp/multipartBody3370205212320387917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160723465,"filename":"image_03112025_03_23_24_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/3/0b5a20e93a484ba57b537dab7e1d42c6.jpg","text":"TemporaryFile(/tmp/multipartBody3197619289366204286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160723465,"filename":"image_03112025_03_23_28_4860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ab152253780f098cdaa7ee557326ebbd.jpg","text":"TemporaryFile(/tmp/multipartBody3061103926638631879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160723465,"filename":"image_03112025_03_23_20_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/3/adb93d18453159924379bc4680bd8709.jpg","text":"TemporaryFile(/tmp/multipartBody2791626210490985644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160723465,"filename":"image_03112025_03_21_15_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/3/2dae29a13c88b5ae7ce01a88b26b9866.jpg","text":"TemporaryFile(/tmp/multipartBody1100273421913435974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160723465,"filename":"image_03112025_03_23_22_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/3/2e235c228ab1298d849520f9a286bbc3.jpg","text":"TemporaryFile(/tmp/multipartBody2482214490273473389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160723465,"filename":"image_03112025_03_21_14_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392015233","file1":"1392015193","file0":"1392015154","file4":"1392015319","file5":"1392015359","file3":"1392015274"},"map_files_photo_id_array":[{"photo_id":"1392015359","filename":"file5"},{"photo_id":"1392015233","filename":"file2"},{"photo_id":"1392015319","filename":"file4"},{"photo_id":"1392015193","filename":"file1"},{"photo_id":"1392015154","filename":"file0"},{"photo_id":"1392015274","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392015319":["hashtag1","hashtag2"]},{"1392015359":["hashtag1","hashtag2"]},{"1392015233":["hashtag1","hashtag2"]},{"1392015193":["hashtag1","hashtag2"]},{"1392015274":["hashtag1","hashtag2"]},{"1392015154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392015319, 1392015359, 1392015233, 1392015193, 1392015274, 1392015154)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.01303267478943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:05:21.959520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/24/image_03112025_03_24_08_15687.jpg', '/home/pi/Desktop/images/03112025/03/26/image_03112025_03_26_08_3016.jpg', '/home/pi/Desktop/images/03112025/03/27/image_03112025_03_27_27_3624.jpg', '/home/pi/Desktop/images/03112025/03/27/image_03112025_03_27_49_10222.jpg', '/home/pi/Desktop/images/03112025/03/27/image_03112025_03_27_55_1655.jpg', '/home/pi/Desktop/images/03112025/03/28/image_03112025_03_28_36_3896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/24/image_03112025_03_24_08_15687.jpg
/home/pi/Desktop/images/03112025/03/26/image_03112025_03_26_08_3016.jpg
/home/pi/Desktop/images/03112025/03/27/image_03112025_03_27_27_3624.jpg
/home/pi/Desktop/images/03112025/03/27/image_03112025_03_27_49_10222.jpg
/home/pi/Desktop/images/03112025/03/27/image_03112025_03_27_55_1655.jpg
/home/pi/Desktop/images/03112025/03/28/image_03112025_03_28_36_3896.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392015540","1392015504","1392015497","1392015587","1392015575","1392015509"],"photo_ids_order":["1392015497","1392015504","1392015509","1392015540","1392015575","1392015587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/08efc5a1eb13ad294a24423cb873e1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8548999365907593573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160782706,"filename":"image_03112025_03_27_49_10222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d7eba9b9a6c892b2f6553f145b19e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2774731216305875866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160782706,"filename":"image_03112025_03_26_08_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/3/b06d32aad7a63fee39ba16a212c45d4d.jpg","text":"TemporaryFile(/tmp/multipartBody4329034224059790026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160782706,"filename":"image_03112025_03_24_08_15687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6bab178c03d7a8dc572228f0ecd8879e.jpg","text":"TemporaryFile(/tmp/multipartBody2698869849302087820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160782706,"filename":"image_03112025_03_28_36_3896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c7570eebedafb210c32cac4f2b5e2097.jpg","text":"TemporaryFile(/tmp/multipartBody8738925831222718528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160782706,"filename":"image_03112025_03_27_55_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/3/6865c242c07d9a1250f184d2a3f7a00e.jpg","text":"TemporaryFile(/tmp/multipartBody4366343171177433349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160782706,"filename":"image_03112025_03_27_27_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392015509","file1":"1392015504","file0":"1392015497","file4":"1392015575","file5":"1392015587","file3":"1392015540"},"map_files_photo_id_array":[{"photo_id":"1392015587","filename":"file5"},{"photo_id":"1392015509","filename":"file2"},{"photo_id":"1392015575","filename":"file4"},{"photo_id":"1392015504","filename":"file1"},{"photo_id":"1392015497","filename":"file0"},{"photo_id":"1392015540","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392015540":["hashtag1","hashtag2"]},{"1392015504":["hashtag1","hashtag2"]},{"1392015497":["hashtag1","hashtag2"]},{"1392015587":["hashtag1","hashtag2"]},{"1392015575":["hashtag1","hashtag2"]},{"1392015509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392015540, 1392015504, 1392015497, 1392015587, 1392015575, 1392015509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.679949045181274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:06:02.647510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_03_1618.jpg', '/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_08_1674.jpg', '/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_10_1706.jpg', '/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_13_1589.jpg', '/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_32_2727.jpg', '/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_44_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_03_1618.jpg
/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_08_1674.jpg
/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_10_1706.jpg
/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_13_1589.jpg
/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_32_2727.jpg
/home/pi/Desktop/images/03112025/03/29/image_03112025_03_29_44_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392015633","1392015596","1392015791","1392015671","1392015749","1392015710"],"photo_ids_order":["1392015596","1392015633","1392015671","1392015710","1392015749","1392015791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f33a4c04438550af996f4cdc8d3cef1.jpg","text":"TemporaryFile(/tmp/multipartBody8230197476693841191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160823462,"filename":"image_03112025_03_29_08_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/3/b813c189163178072af41e048d2dd8e4.jpg","text":"TemporaryFile(/tmp/multipartBody5474111200788387322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160823462,"filename":"image_03112025_03_29_03_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/3/ce77374b251543bcbced6b679be6e3f3.jpg","text":"TemporaryFile(/tmp/multipartBody2953323510274187574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160823462,"filename":"image_03112025_03_29_44_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/22acf9bbe55ebf8f96c770d43637857e.jpg","text":"TemporaryFile(/tmp/multipartBody6550529466982121724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160823462,"filename":"image_03112025_03_29_10_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/3/0140af1ab56420ac480023b44450297f.jpg","text":"TemporaryFile(/tmp/multipartBody9089604680238941136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160823462,"filename":"image_03112025_03_29_32_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/3/73c8361dbe77c854d0e56824155dbee1.jpg","text":"TemporaryFile(/tmp/multipartBody5012018191499986511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160823462,"filename":"image_03112025_03_29_13_1589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392015671","file1":"1392015633","file0":"1392015596","file4":"1392015749","file5":"1392015791","file3":"1392015710"},"map_files_photo_id_array":[{"photo_id":"1392015791","filename":"file5"},{"photo_id":"1392015671","filename":"file2"},{"photo_id":"1392015749","filename":"file4"},{"photo_id":"1392015633","filename":"file1"},{"photo_id":"1392015596","filename":"file0"},{"photo_id":"1392015710","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392015633":["hashtag1","hashtag2"]},{"1392015596":["hashtag1","hashtag2"]},{"1392015791":["hashtag1","hashtag2"]},{"1392015671":["hashtag1","hashtag2"]},{"1392015749":["hashtag1","hashtag2"]},{"1392015710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392015633, 1392015596, 1392015791, 1392015671, 1392015749, 1392015710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3347532749176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:06:42.195439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/30/image_03112025_03_30_04_1746.jpg', '/home/pi/Desktop/images/03112025/03/30/image_03112025_03_30_58_1536.jpg', '/home/pi/Desktop/images/03112025/03/31/image_03112025_03_31_02_1689.jpg', '/home/pi/Desktop/images/03112025/03/31/image_03112025_03_31_04_1646.jpg', '/home/pi/Desktop/images/03112025/03/31/image_03112025_03_31_11_1642.jpg', '/home/pi/Desktop/images/03112025/03/31/image_03112025_03_31_15_1968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/30/image_03112025_03_30_04_1746.jpg
/home/pi/Desktop/images/03112025/03/30/image_03112025_03_30_58_1536.jpg
/home/pi/Desktop/images/03112025/03/31/image_03112025_03_31_02_1689.jpg
/home/pi/Desktop/images/03112025/03/31/image_03112025_03_31_04_1646.jpg
/home/pi/Desktop/images/03112025/03/31/image_03112025_03_31_11_1642.jpg
/home/pi/Desktop/images/03112025/03/31/image_03112025_03_31_15_1968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016059","1392015981","1392015942","1392016090","1392016102","1392016018"],"photo_ids_order":["1392015942","1392015981","1392016018","1392016059","1392016090","1392016102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/14b02077a5201c86f3c61af3addf8afa.jpg","text":"TemporaryFile(/tmp/multipartBody5391614651116587543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160862940,"filename":"image_03112025_03_31_04_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/3/10c14e3770ceeabe0de8890bca3d66e0.jpg","text":"TemporaryFile(/tmp/multipartBody380374234627169485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160862940,"filename":"image_03112025_03_30_58_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/3/aa8fe785bf345d3263e19e74c5d78345.jpg","text":"TemporaryFile(/tmp/multipartBody1015305447743544990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160862940,"filename":"image_03112025_03_30_04_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/3/ea0c5421b7f18aba6ad6f3b54e47879a.jpg","text":"TemporaryFile(/tmp/multipartBody1428281210155190520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160862940,"filename":"image_03112025_03_31_11_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/3/fb788808eb483f17dd6fc617c34f116f.jpg","text":"TemporaryFile(/tmp/multipartBody3160248082402665986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160862940,"filename":"image_03112025_03_31_15_1968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/df5227a68169615dbb22eb0a7dd53e81.jpg","text":"TemporaryFile(/tmp/multipartBody5827855610190166688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160862940,"filename":"image_03112025_03_31_02_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016018","file1":"1392015981","file0":"1392015942","file4":"1392016090","file5":"1392016102","file3":"1392016059"},"map_files_photo_id_array":[{"photo_id":"1392016102","filename":"file5"},{"photo_id":"1392016018","filename":"file2"},{"photo_id":"1392016090","filename":"file4"},{"photo_id":"1392015981","filename":"file1"},{"photo_id":"1392015942","filename":"file0"},{"photo_id":"1392016059","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016059":["hashtag1","hashtag2"]},{"1392015981":["hashtag1","hashtag2"]},{"1392015942":["hashtag1","hashtag2"]},{"1392016090":["hashtag1","hashtag2"]},{"1392016102":["hashtag1","hashtag2"]},{"1392016018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016059, 1392015981, 1392015942, 1392016090, 1392016102, 1392016018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07686400413513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:07:22.380711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_09_1678.jpg', '/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_14_1631.jpg', '/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_17_1633.jpg', '/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_29_1728.jpg', '/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_30_1551.jpg', '/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_32_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_09_1678.jpg
/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_14_1631.jpg
/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_17_1633.jpg
/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_29_1728.jpg
/home/pi/Desktop/images/03112025/03/33/image_03112025_03_33_30_1551.jpg
/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_32_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016233","1392016271","1392016181","1392016195","1392016174","1392016188"],"photo_ids_order":["1392016174","1392016181","1392016188","1392016195","1392016233","1392016271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d399092396979e3f9372a202e22d3f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5345856577286477435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160903124,"filename":"image_03112025_03_33_30_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/3/26b92c57cacfeea3eee3ac320322b926.jpg","text":"TemporaryFile(/tmp/multipartBody6419366332142972939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160903124,"filename":"image_03112025_03_34_32_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/3/d6176489f75d9a2166219de9ec5f2404.jpg","text":"TemporaryFile(/tmp/multipartBody3272409926438906268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160903124,"filename":"image_03112025_03_33_14_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f294d6d0c03d46391ce5e56a9b8bd6b.jpg","text":"TemporaryFile(/tmp/multipartBody8976921777179941149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160903124,"filename":"image_03112025_03_33_29_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/3/9dd1eea07c05b2d356c3e8af0f61be3b.jpg","text":"TemporaryFile(/tmp/multipartBody4193237117147532745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160903124,"filename":"image_03112025_03_33_09_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/3/de5eae0f054a44e76a099dca2970baa5.jpg","text":"TemporaryFile(/tmp/multipartBody2975615204216332084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160903124,"filename":"image_03112025_03_33_17_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016188","file1":"1392016181","file0":"1392016174","file4":"1392016233","file5":"1392016271","file3":"1392016195"},"map_files_photo_id_array":[{"photo_id":"1392016271","filename":"file5"},{"photo_id":"1392016188","filename":"file2"},{"photo_id":"1392016233","filename":"file4"},{"photo_id":"1392016181","filename":"file1"},{"photo_id":"1392016174","filename":"file0"},{"photo_id":"1392016195","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016233":["hashtag1","hashtag2"]},{"1392016271":["hashtag1","hashtag2"]},{"1392016181":["hashtag1","hashtag2"]},{"1392016195":["hashtag1","hashtag2"]},{"1392016174":["hashtag1","hashtag2"]},{"1392016188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016233, 1392016271, 1392016181, 1392016195, 1392016174, 1392016188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82902216911316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:08:02.985636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_35_2730.jpg', '/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_47_2538.jpg', '/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_53_2792.jpg', '/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_59_2661.jpg', '/home/pi/Desktop/images/03112025/03/35/image_03112025_03_35_38_3614.jpg', '/home/pi/Desktop/images/03112025/03/35/image_03112025_03_35_47_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_35_2730.jpg
/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_47_2538.jpg
/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_53_2792.jpg
/home/pi/Desktop/images/03112025/03/34/image_03112025_03_34_59_2661.jpg
/home/pi/Desktop/images/03112025/03/35/image_03112025_03_35_38_3614.jpg
/home/pi/Desktop/images/03112025/03/35/image_03112025_03_35_47_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016320","1392016316","1392016301","1392016304","1392016307","1392016312"],"photo_ids_order":["1392016301","1392016304","1392016307","1392016312","1392016316","1392016320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/07a3e3b07a8346bab910aae7187e1a13.jpg","text":"TemporaryFile(/tmp/multipartBody8261867207339426439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160943841,"filename":"image_03112025_03_35_47_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/3/269a09f2e6c5612c173b26b2abf9e263.jpg","text":"TemporaryFile(/tmp/multipartBody6598016969715181341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160943841,"filename":"image_03112025_03_35_38_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/3/9f3a1e43699e2a3336ceae1aca1a24bd.jpg","text":"TemporaryFile(/tmp/multipartBody712599838716898160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160943841,"filename":"image_03112025_03_34_35_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/829d09213c02116ae14a663ee3d36461.jpg","text":"TemporaryFile(/tmp/multipartBody8510303623502631242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160943841,"filename":"image_03112025_03_34_47_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/3/fbe6b597255a1dfe0bb213a0b1d3b44b.jpg","text":"TemporaryFile(/tmp/multipartBody1296684173765667327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160943841,"filename":"image_03112025_03_34_53_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/3/ca14d0a7af977c4a7e772209893e9306.jpg","text":"TemporaryFile(/tmp/multipartBody7274576063607429078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160943841,"filename":"image_03112025_03_34_59_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016307","file1":"1392016304","file0":"1392016301","file4":"1392016316","file5":"1392016320","file3":"1392016312"},"map_files_photo_id_array":[{"photo_id":"1392016320","filename":"file5"},{"photo_id":"1392016307","filename":"file2"},{"photo_id":"1392016316","filename":"file4"},{"photo_id":"1392016304","filename":"file1"},{"photo_id":"1392016301","filename":"file0"},{"photo_id":"1392016312","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016320":["hashtag1","hashtag2"]},{"1392016316":["hashtag1","hashtag2"]},{"1392016301":["hashtag1","hashtag2"]},{"1392016304":["hashtag1","hashtag2"]},{"1392016307":["hashtag1","hashtag2"]},{"1392016312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016320, 1392016316, 1392016301, 1392016304, 1392016307, 1392016312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35456371307373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:08:42.693311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/35/image_03112025_03_35_56_3835.jpg', '/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_02_2559.jpg', '/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_14_3642.jpg', '/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_47_4168.jpg', '/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_48_1529.jpg', '/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_57_7331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/35/image_03112025_03_35_56_3835.jpg
/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_02_2559.jpg
/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_14_3642.jpg
/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_47_4168.jpg
/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_48_1529.jpg
/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_57_7331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016356","1392016347","1392016340","1392016334","1392016343","1392016351"],"photo_ids_order":["1392016334","1392016340","1392016343","1392016347","1392016351","1392016356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/217085f0b8da71dfeee94efeec4702ca.jpg","text":"TemporaryFile(/tmp/multipartBody6408047625538002841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160983551,"filename":"image_03112025_03_36_57_7331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2af1e1aec34b8883b85d484f164fe86f.jpg","text":"TemporaryFile(/tmp/multipartBody4153771756804060993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160983551,"filename":"image_03112025_03_36_47_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/3/af4e78d1c8f1d2deff9adf531791cfac.jpg","text":"TemporaryFile(/tmp/multipartBody1082462689302853183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160983551,"filename":"image_03112025_03_36_02_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/25f0f64fbe329118d2b61cad73473d3e.jpg","text":"TemporaryFile(/tmp/multipartBody3924409875816606500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160983551,"filename":"image_03112025_03_35_56_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/77bcbcdc5b5d204d78b439b5940478c5.jpg","text":"TemporaryFile(/tmp/multipartBody1948434723320263280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160983551,"filename":"image_03112025_03_36_14_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/3/cef3550b80f051d63e461f56be5b882a.jpg","text":"TemporaryFile(/tmp/multipartBody1110091176028297893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762160983551,"filename":"image_03112025_03_36_48_1529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016343","file1":"1392016340","file0":"1392016334","file4":"1392016351","file5":"1392016356","file3":"1392016347"},"map_files_photo_id_array":[{"photo_id":"1392016356","filename":"file5"},{"photo_id":"1392016343","filename":"file2"},{"photo_id":"1392016351","filename":"file4"},{"photo_id":"1392016340","filename":"file1"},{"photo_id":"1392016334","filename":"file0"},{"photo_id":"1392016347","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016356":["hashtag1","hashtag2"]},{"1392016347":["hashtag1","hashtag2"]},{"1392016340":["hashtag1","hashtag2"]},{"1392016334":["hashtag1","hashtag2"]},{"1392016343":["hashtag1","hashtag2"]},{"1392016351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016356, 1392016347, 1392016340, 1392016334, 1392016343, 1392016351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37249946594238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:09:22.264931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_59_1555.jpg', '/home/pi/Desktop/images/03112025/03/37/image_03112025_03_37_20_6802.jpg', '/home/pi/Desktop/images/03112025/03/37/image_03112025_03_37_33_1543.jpg', '/home/pi/Desktop/images/03112025/03/38/image_03112025_03_38_23_1586.jpg', '/home/pi/Desktop/images/03112025/03/38/image_03112025_03_38_40_2790.jpg', '/home/pi/Desktop/images/03112025/03/38/image_03112025_03_38_44_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/36/image_03112025_03_36_59_1555.jpg
/home/pi/Desktop/images/03112025/03/37/image_03112025_03_37_20_6802.jpg
/home/pi/Desktop/images/03112025/03/37/image_03112025_03_37_33_1543.jpg
/home/pi/Desktop/images/03112025/03/38/image_03112025_03_38_23_1586.jpg
/home/pi/Desktop/images/03112025/03/38/image_03112025_03_38_40_2790.jpg
/home/pi/Desktop/images/03112025/03/38/image_03112025_03_38_44_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016365","1392016397","1392016376","1392016370","1392016367","1392016384"],"photo_ids_order":["1392016365","1392016367","1392016370","1392016376","1392016384","1392016397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/78e8f2f86f6f2215cd6df1107155f313.jpg","text":"TemporaryFile(/tmp/multipartBody3870637386820078046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161023015,"filename":"image_03112025_03_36_59_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/3/8f4e789707db32b2d5e8f1e2ea1c525e.jpg","text":"TemporaryFile(/tmp/multipartBody7706677115808366099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161023015,"filename":"image_03112025_03_38_44_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/3/9e1a8c49a38f17a5166a53d5434cc9ec.jpg","text":"TemporaryFile(/tmp/multipartBody8313307775288010905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161023015,"filename":"image_03112025_03_38_23_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/3/aad195f3b1fd83e43d3085830087a204.jpg","text":"TemporaryFile(/tmp/multipartBody6483742518173912865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161023015,"filename":"image_03112025_03_37_33_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/3/cd3e72f9df1ec7306a02017f25d33157.jpg","text":"TemporaryFile(/tmp/multipartBody1870664600008058213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161023015,"filename":"image_03112025_03_37_20_6802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/98e4b99aa41eee869ba43bd7ddb60d15.jpg","text":"TemporaryFile(/tmp/multipartBody1972247678527902595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161023015,"filename":"image_03112025_03_38_40_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016370","file1":"1392016367","file0":"1392016365","file4":"1392016384","file5":"1392016397","file3":"1392016376"},"map_files_photo_id_array":[{"photo_id":"1392016397","filename":"file5"},{"photo_id":"1392016370","filename":"file2"},{"photo_id":"1392016384","filename":"file4"},{"photo_id":"1392016367","filename":"file1"},{"photo_id":"1392016365","filename":"file0"},{"photo_id":"1392016376","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016365":["hashtag1","hashtag2"]},{"1392016397":["hashtag1","hashtag2"]},{"1392016376":["hashtag1","hashtag2"]},{"1392016370":["hashtag1","hashtag2"]},{"1392016367":["hashtag1","hashtag2"]},{"1392016384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016365, 1392016397, 1392016376, 1392016370, 1392016367, 1392016384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54393744468689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:10:02.847031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/38/image_03112025_03_39_00_1666.jpg', '/home/pi/Desktop/images/03112025/03/39/image_03112025_03_39_02_1733.jpg', '/home/pi/Desktop/images/03112025/03/39/image_03112025_03_39_08_2651.jpg', '/home/pi/Desktop/images/03112025/03/40/image_03112025_03_40_28_2666.jpg', '/home/pi/Desktop/images/03112025/03/40/image_03112025_03_40_37_2888.jpg', '/home/pi/Desktop/images/03112025/03/41/image_03112025_03_41_05_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/38/image_03112025_03_39_00_1666.jpg
/home/pi/Desktop/images/03112025/03/39/image_03112025_03_39_02_1733.jpg
/home/pi/Desktop/images/03112025/03/39/image_03112025_03_39_08_2651.jpg
/home/pi/Desktop/images/03112025/03/40/image_03112025_03_40_28_2666.jpg
/home/pi/Desktop/images/03112025/03/40/image_03112025_03_40_37_2888.jpg
/home/pi/Desktop/images/03112025/03/41/image_03112025_03_41_05_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016416","1392016425","1392016413","1392016411","1392016420","1392016408"],"photo_ids_order":["1392016408","1392016411","1392016413","1392016416","1392016420","1392016425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/32f0841fc154fde6a6e0613b6a9b9c35.jpg","text":"TemporaryFile(/tmp/multipartBody6968403011123121715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161063735,"filename":"image_03112025_03_40_28_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/3/a83deced335bc00f3c78ccbecae2679e.jpg","text":"TemporaryFile(/tmp/multipartBody3920075579925918086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161063735,"filename":"image_03112025_03_41_05_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/3/6a3333ff80032a3020adcfa94cc16c95.jpg","text":"TemporaryFile(/tmp/multipartBody5102935044986634511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161063735,"filename":"image_03112025_03_39_08_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/3/fdb96c632d3537709cc3dc53032e3f25.jpg","text":"TemporaryFile(/tmp/multipartBody3409571589365412652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161063735,"filename":"image_03112025_03_39_02_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/3/a34a24c89fc67a4516142bec0bda750d.jpg","text":"TemporaryFile(/tmp/multipartBody5897322111117602328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161063735,"filename":"image_03112025_03_40_37_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/3/a2182c63ac5e422586ab3ee84eb58cc6.jpg","text":"TemporaryFile(/tmp/multipartBody3840446784616559930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161063735,"filename":"image_03112025_03_39_00_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016413","file1":"1392016411","file0":"1392016408","file4":"1392016420","file5":"1392016425","file3":"1392016416"},"map_files_photo_id_array":[{"photo_id":"1392016425","filename":"file5"},{"photo_id":"1392016413","filename":"file2"},{"photo_id":"1392016420","filename":"file4"},{"photo_id":"1392016411","filename":"file1"},{"photo_id":"1392016408","filename":"file0"},{"photo_id":"1392016416","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016416":["hashtag1","hashtag2"]},{"1392016425":["hashtag1","hashtag2"]},{"1392016413":["hashtag1","hashtag2"]},{"1392016411":["hashtag1","hashtag2"]},{"1392016420":["hashtag1","hashtag2"]},{"1392016408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016416, 1392016425, 1392016413, 1392016411, 1392016420, 1392016408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79581618309021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:10:42.305722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/41/image_03112025_03_41_22_2683.jpg', '/home/pi/Desktop/images/03112025/03/41/image_03112025_03_41_59_3700.jpg', '/home/pi/Desktop/images/03112025/03/42/image_03112025_03_42_08_3575.jpg', '/home/pi/Desktop/images/03112025/03/42/image_03112025_03_42_22_2718.jpg', '/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_01_2655.jpg', '/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_31_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/41/image_03112025_03_41_22_2683.jpg
/home/pi/Desktop/images/03112025/03/41/image_03112025_03_41_59_3700.jpg
/home/pi/Desktop/images/03112025/03/42/image_03112025_03_42_08_3575.jpg
/home/pi/Desktop/images/03112025/03/42/image_03112025_03_42_22_2718.jpg
/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_01_2655.jpg
/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_31_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016440","1392016443","1392016445","1392016448","1392016436","1392016441"],"photo_ids_order":["1392016436","1392016440","1392016441","1392016443","1392016445","1392016448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/427d0c0de04c82da12f7e6bba418a0f9.jpg","text":"TemporaryFile(/tmp/multipartBody1372099499932569875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161103149,"filename":"image_03112025_03_41_59_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/3/64f24f680507c45436a3ce24c539bfd5.jpg","text":"TemporaryFile(/tmp/multipartBody7158565868984210444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161103149,"filename":"image_03112025_03_42_22_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da3970cdaf4617aba67b74e1d6b389da.jpg","text":"TemporaryFile(/tmp/multipartBody3237238170624103902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161103149,"filename":"image_03112025_03_43_01_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/3/e6e357e99ba6926e39865a9ddb2a3254.jpg","text":"TemporaryFile(/tmp/multipartBody4096632511369523066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161103149,"filename":"image_03112025_03_43_31_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/3/219c025847c17fe1bfe154c89bdbd1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2428369411871067034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161103149,"filename":"image_03112025_03_41_22_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d5b8f32cbd1c14ebce264054bce499a4.jpg","text":"TemporaryFile(/tmp/multipartBody7653095966124510791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161103149,"filename":"image_03112025_03_42_08_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016441","file1":"1392016440","file0":"1392016436","file4":"1392016445","file5":"1392016448","file3":"1392016443"},"map_files_photo_id_array":[{"photo_id":"1392016448","filename":"file5"},{"photo_id":"1392016441","filename":"file2"},{"photo_id":"1392016445","filename":"file4"},{"photo_id":"1392016440","filename":"file1"},{"photo_id":"1392016436","filename":"file0"},{"photo_id":"1392016443","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016440":["hashtag1","hashtag2"]},{"1392016443":["hashtag1","hashtag2"]},{"1392016445":["hashtag1","hashtag2"]},{"1392016448":["hashtag1","hashtag2"]},{"1392016436":["hashtag1","hashtag2"]},{"1392016441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016440, 1392016443, 1392016445, 1392016448, 1392016436, 1392016441)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.22213315963745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:11:42.594730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_34_2827.jpg', '/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_37_2742.jpg', '/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_40_2750.jpg', '/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_48_8148.jpg', '/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_58_3590.jpg', '/home/pi/Desktop/images/03112025/03/44/image_03112025_03_44_01_2883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_34_2827.jpg
/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_37_2742.jpg
/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_40_2750.jpg
/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_48_8148.jpg
/home/pi/Desktop/images/03112025/03/43/image_03112025_03_43_58_3590.jpg
/home/pi/Desktop/images/03112025/03/44/image_03112025_03_44_01_2883.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016500","1392016490","1392016492","1392016486","1392016495","1392016497"],"photo_ids_order":["1392016486","1392016490","1392016492","1392016495","1392016497","1392016500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a3cd16eb038dad014dd87b947f36867.jpg","text":"TemporaryFile(/tmp/multipartBody8599096308364295908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161163459,"filename":"image_03112025_03_44_01_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93feac4d23c3dffd4b5c7144670688f8.jpg","text":"TemporaryFile(/tmp/multipartBody343550462282729467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161163459,"filename":"image_03112025_03_43_37_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/3/aa4e5dc4d8720d065650c9bc7bbda734.jpg","text":"TemporaryFile(/tmp/multipartBody5394775780874313026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161163459,"filename":"image_03112025_03_43_40_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/3/21c30bcf090bf8334236af2d68b9ff0e.jpg","text":"TemporaryFile(/tmp/multipartBody6905750819333303496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161163459,"filename":"image_03112025_03_43_34_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/3/4020b240052f3f02c9da6057b5710ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3905173806491481974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161163459,"filename":"image_03112025_03_43_48_8148.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/459cda3fbd5192ab295308e4581b26de.jpg","text":"TemporaryFile(/tmp/multipartBody5330387398229309102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161163459,"filename":"image_03112025_03_43_58_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016492","file1":"1392016490","file0":"1392016486","file4":"1392016497","file5":"1392016500","file3":"1392016495"},"map_files_photo_id_array":[{"photo_id":"1392016500","filename":"file5"},{"photo_id":"1392016492","filename":"file2"},{"photo_id":"1392016497","filename":"file4"},{"photo_id":"1392016490","filename":"file1"},{"photo_id":"1392016486","filename":"file0"},{"photo_id":"1392016495","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016500":["hashtag1","hashtag2"]},{"1392016490":["hashtag1","hashtag2"]},{"1392016492":["hashtag1","hashtag2"]},{"1392016486":["hashtag1","hashtag2"]},{"1392016495":["hashtag1","hashtag2"]},{"1392016497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016500, 1392016490, 1392016492, 1392016486, 1392016495, 1392016497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91770148277283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:12:28.225346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/48/image_03112025_03_48_54_2705.jpg', '/home/pi/Desktop/images/03112025/03/48/image_03112025_03_48_58_3763.jpg', '/home/pi/Desktop/images/03112025/03/49/image_03112025_03_49_01_2644.jpg', '/home/pi/Desktop/images/03112025/03/49/image_03112025_03_49_58_3113.jpg', '/home/pi/Desktop/images/03112025/03/49/image_03112025_03_50_00_2779.jpg', '/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_09_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/48/image_03112025_03_48_54_2705.jpg
/home/pi/Desktop/images/03112025/03/48/image_03112025_03_48_58_3763.jpg
/home/pi/Desktop/images/03112025/03/49/image_03112025_03_49_01_2644.jpg
/home/pi/Desktop/images/03112025/03/49/image_03112025_03_49_58_3113.jpg
/home/pi/Desktop/images/03112025/03/49/image_03112025_03_50_00_2779.jpg
/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_09_2774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016515","1392016532","1392016511","1392016529","1392016520","1392016525"],"photo_ids_order":["1392016511","1392016515","1392016520","1392016525","1392016529","1392016532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33234c4218dc4724c2c85019ea2bbf66.jpg","text":"TemporaryFile(/tmp/multipartBody652191321502516042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161208972,"filename":"image_03112025_03_48_58_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/3/2dfec6cb6fa1846f365f90247adfc08b.jpg","text":"TemporaryFile(/tmp/multipartBody8217440214357106186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161208972,"filename":"image_03112025_03_50_09_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/3/3bf78b46d8deadc3289eabbcf6ffce5e.jpg","text":"TemporaryFile(/tmp/multipartBody8052804511002724359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161208972,"filename":"image_03112025_03_48_54_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/3/2c3ea9740997ad646583497575ce638d.jpg","text":"TemporaryFile(/tmp/multipartBody343684041958582929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161208972,"filename":"image_03112025_03_50_00_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/3/c8ed75f576cc920add1c4e6942f4ed7b.jpg","text":"TemporaryFile(/tmp/multipartBody7967057413196599072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161208972,"filename":"image_03112025_03_49_01_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/3/a644e7b735adfcf705c6972ed1f1221f.jpg","text":"TemporaryFile(/tmp/multipartBody2074833466358277085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161208972,"filename":"image_03112025_03_49_58_3113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016520","file1":"1392016515","file0":"1392016511","file4":"1392016529","file5":"1392016532","file3":"1392016525"},"map_files_photo_id_array":[{"photo_id":"1392016532","filename":"file5"},{"photo_id":"1392016520","filename":"file2"},{"photo_id":"1392016529","filename":"file4"},{"photo_id":"1392016515","filename":"file1"},{"photo_id":"1392016511","filename":"file0"},{"photo_id":"1392016525","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016515":["hashtag1","hashtag2"]},{"1392016532":["hashtag1","hashtag2"]},{"1392016511":["hashtag1","hashtag2"]},{"1392016529":["hashtag1","hashtag2"]},{"1392016520":["hashtag1","hashtag2"]},{"1392016525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016515, 1392016532, 1392016511, 1392016529, 1392016520, 1392016525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61902117729187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:13:22.403033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_22_3610.jpg', '/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_48_2665.jpg', '/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_51_2650.jpg', '/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_55_3661.jpg', '/home/pi/Desktop/images/03112025/03/50/image_03112025_03_51_00_2649.jpg', '/home/pi/Desktop/images/03112025/03/51/image_03112025_03_51_03_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_22_3610.jpg
/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_48_2665.jpg
/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_51_2650.jpg
/home/pi/Desktop/images/03112025/03/50/image_03112025_03_50_55_3661.jpg
/home/pi/Desktop/images/03112025/03/50/image_03112025_03_51_00_2649.jpg
/home/pi/Desktop/images/03112025/03/51/image_03112025_03_51_03_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016572","1392016569","1392016580","1392016562","1392016565","1392016576"],"photo_ids_order":["1392016562","1392016565","1392016569","1392016572","1392016576","1392016580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f867e3cba16195c22d606a0de139296.jpg","text":"TemporaryFile(/tmp/multipartBody4142709291732420285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161263154,"filename":"image_03112025_03_50_55_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/3/19f894a6b1226b6ad1fafcb1f6fc2083.jpg","text":"TemporaryFile(/tmp/multipartBody763611877582459674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161263154,"filename":"image_03112025_03_50_51_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c4efd84afbb4cd507b2eddba1cc9fd4a.jpg","text":"TemporaryFile(/tmp/multipartBody5496567914768801405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161263154,"filename":"image_03112025_03_51_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/3/f805704da7f222155ed635fa199b1b27.jpg","text":"TemporaryFile(/tmp/multipartBody4622048998869079799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161263154,"filename":"image_03112025_03_50_22_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/3/c7436f6c77d3b8790d9d1f94e338a2ba.jpg","text":"TemporaryFile(/tmp/multipartBody3541337844864278815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161263154,"filename":"image_03112025_03_50_48_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/3/763ea20b55a3a51138077c826ba95d61.jpg","text":"TemporaryFile(/tmp/multipartBody6901039392737166453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161263154,"filename":"image_03112025_03_51_00_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016569","file1":"1392016565","file0":"1392016562","file4":"1392016576","file5":"1392016580","file3":"1392016572"},"map_files_photo_id_array":[{"photo_id":"1392016580","filename":"file5"},{"photo_id":"1392016569","filename":"file2"},{"photo_id":"1392016576","filename":"file4"},{"photo_id":"1392016565","filename":"file1"},{"photo_id":"1392016562","filename":"file0"},{"photo_id":"1392016572","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016572":["hashtag1","hashtag2"]},{"1392016569":["hashtag1","hashtag2"]},{"1392016580":["hashtag1","hashtag2"]},{"1392016562":["hashtag1","hashtag2"]},{"1392016565":["hashtag1","hashtag2"]},{"1392016576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016572, 1392016569, 1392016580, 1392016562, 1392016565, 1392016576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.854745388031006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:14:02.618603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_15_3634.jpg', '/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_18_2716.jpg', '/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_36_2698.jpg', '/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_39_2727.jpg', '/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_48_2678.jpg', '/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_57_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_15_3634.jpg
/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_18_2716.jpg
/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_36_2698.jpg
/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_39_2727.jpg
/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_48_2678.jpg
/home/pi/Desktop/images/03112025/03/52/image_03112025_03_52_57_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016592","1392016586","1392016601","1392016596","1392016590","1392016584"],"photo_ids_order":["1392016584","1392016586","1392016590","1392016592","1392016596","1392016601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/570dd320009915d2cdf651b6e109c36b.jpg","text":"TemporaryFile(/tmp/multipartBody1197677610623457596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161305985,"filename":"image_03112025_03_52_39_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/3/7d4c95bbc83cc69a9ad5d32686e4f5cf.jpg","text":"TemporaryFile(/tmp/multipartBody7728981987547342276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161305985,"filename":"image_03112025_03_52_18_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/61a09fdc7098588f9487e9a68249a440.jpg","text":"TemporaryFile(/tmp/multipartBody6833092594581896150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161305985,"filename":"image_03112025_03_52_57_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/3/bb6d7012576dc5be697c5a88972d226e.jpg","text":"TemporaryFile(/tmp/multipartBody1926281006858865967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161305985,"filename":"image_03112025_03_52_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/3/3af41fc4b689adaf336aecaa86435414.jpg","text":"TemporaryFile(/tmp/multipartBody804920642126773357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161305985,"filename":"image_03112025_03_52_36_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/3/7b712d6b2eac1e658fda36159a99cb17.jpg","text":"TemporaryFile(/tmp/multipartBody3946252536941629583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161305985,"filename":"image_03112025_03_52_15_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016590","file1":"1392016586","file0":"1392016584","file4":"1392016596","file5":"1392016601","file3":"1392016592"},"map_files_photo_id_array":[{"photo_id":"1392016601","filename":"file5"},{"photo_id":"1392016590","filename":"file2"},{"photo_id":"1392016596","filename":"file4"},{"photo_id":"1392016586","filename":"file1"},{"photo_id":"1392016584","filename":"file0"},{"photo_id":"1392016592","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016592":["hashtag1","hashtag2"]},{"1392016586":["hashtag1","hashtag2"]},{"1392016601":["hashtag1","hashtag2"]},{"1392016596":["hashtag1","hashtag2"]},{"1392016590":["hashtag1","hashtag2"]},{"1392016584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016592, 1392016586, 1392016601, 1392016596, 1392016590, 1392016584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05016493797302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:15:02.795901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/52/image_03112025_03_53_00_3754.jpg', '/home/pi/Desktop/images/03112025/03/54/image_03112025_03_54_15_2844.jpg', '/home/pi/Desktop/images/03112025/03/54/image_03112025_03_54_33_3543.jpg', '/home/pi/Desktop/images/03112025/03/54/image_03112025_03_55_00_2676.jpg', '/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_18_3194.jpg', '/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_42_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/52/image_03112025_03_53_00_3754.jpg
/home/pi/Desktop/images/03112025/03/54/image_03112025_03_54_15_2844.jpg
/home/pi/Desktop/images/03112025/03/54/image_03112025_03_54_33_3543.jpg
/home/pi/Desktop/images/03112025/03/54/image_03112025_03_55_00_2676.jpg
/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_18_3194.jpg
/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_42_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: 0.8121402263641357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:15:22.161010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/52/image_03112025_03_53_00_3754.jpg', '/home/pi/Desktop/images/03112025/03/54/image_03112025_03_54_15_2844.jpg', '/home/pi/Desktop/images/03112025/03/54/image_03112025_03_54_33_3543.jpg', '/home/pi/Desktop/images/03112025/03/54/image_03112025_03_55_00_2676.jpg', '/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_18_3194.jpg', '/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_42_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/52/image_03112025_03_53_00_3754.jpg
/home/pi/Desktop/images/03112025/03/54/image_03112025_03_54_15_2844.jpg
/home/pi/Desktop/images/03112025/03/54/image_03112025_03_54_33_3543.jpg
/home/pi/Desktop/images/03112025/03/54/image_03112025_03_55_00_2676.jpg
/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_18_3194.jpg
/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_42_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016809","1392016799","1392016803","1392016793","1392016783","1392016789"],"photo_ids_order":["1392016783","1392016789","1392016793","1392016799","1392016803","1392016809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/615f9d9de8e04a4afc80613636f48a4a.jpg","text":"TemporaryFile(/tmp/multipartBody3137698899835854994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161382915,"filename":"image_03112025_03_55_42_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/3/7dfed860721d1e54f2f173c6755df4f2.jpg","text":"TemporaryFile(/tmp/multipartBody2806192479854746079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161382915,"filename":"image_03112025_03_55_00_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/68422bae28198ca2527bff52fab00225.jpg","text":"TemporaryFile(/tmp/multipartBody3070498997447291996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161382915,"filename":"image_03112025_03_55_18_3194.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dd7947ecc2f4f8b43812c5313812aa7e.jpg","text":"TemporaryFile(/tmp/multipartBody9167051076658596094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161382915,"filename":"image_03112025_03_54_33_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/3/de71510b2895224395f56c674dcb6a73.jpg","text":"TemporaryFile(/tmp/multipartBody4055101796726520577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161382915,"filename":"image_03112025_03_53_00_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/3/43a3b37e1e81353ee538f907bd30b580.jpg","text":"TemporaryFile(/tmp/multipartBody477226320052722859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161382915,"filename":"image_03112025_03_54_15_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016793","file1":"1392016789","file0":"1392016783","file4":"1392016803","file5":"1392016809","file3":"1392016799"},"map_files_photo_id_array":[{"photo_id":"1392016809","filename":"file5"},{"photo_id":"1392016793","filename":"file2"},{"photo_id":"1392016803","filename":"file4"},{"photo_id":"1392016789","filename":"file1"},{"photo_id":"1392016783","filename":"file0"},{"photo_id":"1392016799","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016809":["hashtag1","hashtag2"]},{"1392016799":["hashtag1","hashtag2"]},{"1392016803":["hashtag1","hashtag2"]},{"1392016793":["hashtag1","hashtag2"]},{"1392016783":["hashtag1","hashtag2"]},{"1392016789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016809, 1392016799, 1392016803, 1392016793, 1392016783, 1392016789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.635841846466064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:16:02.874050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_48_2633.jpg', '/home/pi/Desktop/images/03112025/03/57/image_03112025_03_57_31_5201.jpg', '/home/pi/Desktop/images/03112025/03/57/image_03112025_03_57_45_6642.jpg', '/home/pi/Desktop/images/03112025/03/59/image_03112025_03_59_42_2715.jpg', '/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_06_5941.jpg', '/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_11_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/03/55/image_03112025_03_55_48_2633.jpg
/home/pi/Desktop/images/03112025/03/57/image_03112025_03_57_31_5201.jpg
/home/pi/Desktop/images/03112025/03/57/image_03112025_03_57_45_6642.jpg
/home/pi/Desktop/images/03112025/03/59/image_03112025_03_59_42_2715.jpg
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_06_5941.jpg
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_11_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016824","1392016821","1392016818","1392016829","1392016820","1392016822"],"photo_ids_order":["1392016818","1392016820","1392016821","1392016822","1392016824","1392016829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8c256da9ffdcbf44ff30ec07df82416a.jpg","text":"TemporaryFile(/tmp/multipartBody4254838661676951786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161423668,"filename":"image_03112025_04_01_06_5941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e64122ab83c62f4d3c7ae70ac3e2655.jpg","text":"TemporaryFile(/tmp/multipartBody5647257433258237867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161423668,"filename":"image_03112025_03_57_45_6642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e94e870ab5a6c6a81709664f1d1ab151.jpg","text":"TemporaryFile(/tmp/multipartBody5547923063156166446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161423668,"filename":"image_03112025_03_55_48_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/3/e351dfc920fea55647f0a67f8a8f1e7a.jpg","text":"TemporaryFile(/tmp/multipartBody2151972248409552994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161423668,"filename":"image_03112025_04_01_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/3/f1ba6154a164a82ce4e2ced911748ef7.jpg","text":"TemporaryFile(/tmp/multipartBody2174739472442928063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161423668,"filename":"image_03112025_03_57_31_5201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8c9d2cf78dc08600d775e365967429c1.jpg","text":"TemporaryFile(/tmp/multipartBody1329018566251243815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161423668,"filename":"image_03112025_03_59_42_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016821","file1":"1392016820","file0":"1392016818","file4":"1392016824","file5":"1392016829","file3":"1392016822"},"map_files_photo_id_array":[{"photo_id":"1392016829","filename":"file5"},{"photo_id":"1392016821","filename":"file2"},{"photo_id":"1392016824","filename":"file4"},{"photo_id":"1392016820","filename":"file1"},{"photo_id":"1392016818","filename":"file0"},{"photo_id":"1392016822","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016824":["hashtag1","hashtag2"]},{"1392016821":["hashtag1","hashtag2"]},{"1392016818":["hashtag1","hashtag2"]},{"1392016829":["hashtag1","hashtag2"]},{"1392016820":["hashtag1","hashtag2"]},{"1392016822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016824, 1392016821, 1392016818, 1392016829, 1392016820, 1392016822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.171140909194946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:16:42.424029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_23_1785.jpg', '/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_25_1619.jpg', '/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_26_1698.jpg', '/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_28_1671.jpg', '/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_33_1734.jpg', '/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_38_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_23_1785.jpg
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_25_1619.jpg
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_26_1698.jpg
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_28_1671.jpg
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_33_1734.jpg
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_38_1669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016904","1392016894","1392016873","1392016903","1392016893","1392016906"],"photo_ids_order":["1392016873","1392016893","1392016894","1392016903","1392016904","1392016906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ec624334b9a4bafb0b626de8fc5ac1b8.jpg","text":"TemporaryFile(/tmp/multipartBody3860931053473389969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161463244,"filename":"image_03112025_04_01_33_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0efc07480693b927e8a2f657a894cd6a.jpg","text":"TemporaryFile(/tmp/multipartBody4564054587066216762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161463244,"filename":"image_03112025_04_01_26_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/3/a9c46d0852b2073afa3626877baf27cf.jpg","text":"TemporaryFile(/tmp/multipartBody8367874232627427163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161463244,"filename":"image_03112025_04_01_23_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/3/64e52994624a978efcd7ca1daeaa2938.jpg","text":"TemporaryFile(/tmp/multipartBody2496659475294872275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161463244,"filename":"image_03112025_04_01_28_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/3/7e2052ff42e76df9df542b66dd3b6f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3162948470248719135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161463244,"filename":"image_03112025_04_01_25_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/3/8b389b6c2c762bbe12e5ce971e109afd.jpg","text":"TemporaryFile(/tmp/multipartBody3364217570106995575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161463244,"filename":"image_03112025_04_01_38_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016894","file1":"1392016893","file0":"1392016873","file4":"1392016904","file5":"1392016906","file3":"1392016903"},"map_files_photo_id_array":[{"photo_id":"1392016906","filename":"file5"},{"photo_id":"1392016894","filename":"file2"},{"photo_id":"1392016904","filename":"file4"},{"photo_id":"1392016893","filename":"file1"},{"photo_id":"1392016873","filename":"file0"},{"photo_id":"1392016903","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016904":["hashtag1","hashtag2"]},{"1392016894":["hashtag1","hashtag2"]},{"1392016873":["hashtag1","hashtag2"]},{"1392016903":["hashtag1","hashtag2"]},{"1392016893":["hashtag1","hashtag2"]},{"1392016906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016904, 1392016894, 1392016873, 1392016903, 1392016893, 1392016906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79377722740173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:17:22.550851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_41_1560.jpg', '/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_43_1837.jpg', '/home/pi/Desktop/images/03112025/04/02/image_03112025_04_02_03_2725.jpg', '/home/pi/Desktop/images/03112025/04/02/image_03112025_04_02_22_3568.jpg', '/home/pi/Desktop/images/03112025/04/02/image_03112025_04_02_36_2686.jpg', '/home/pi/Desktop/images/03112025/04/02/image_03112025_04_02_45_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_41_1560.jpg
/home/pi/Desktop/images/03112025/04/01/image_03112025_04_01_43_1837.jpg
/home/pi/Desktop/images/03112025/04/02/image_03112025_04_02_03_2725.jpg
/home/pi/Desktop/images/03112025/04/02/image_03112025_04_02_22_3568.jpg
/home/pi/Desktop/images/03112025/04/02/image_03112025_04_02_36_2686.jpg
/home/pi/Desktop/images/03112025/04/02/image_03112025_04_02_45_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016911","1392016928","1392016922","1392016916","1392016925","1392016919"],"photo_ids_order":["1392016911","1392016916","1392016919","1392016922","1392016925","1392016928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f831fd81122eb9765cb6cdbee39acc3.jpg","text":"TemporaryFile(/tmp/multipartBody1248012277330558716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161503266,"filename":"image_03112025_04_01_41_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/3/b7ab044727ade11a57a082ce42b0173e.jpg","text":"TemporaryFile(/tmp/multipartBody23152609025171486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161503266,"filename":"image_03112025_04_02_45_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/136a08d606780f9ba63a8de4c40639f2.jpg","text":"TemporaryFile(/tmp/multipartBody6085754877418984445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161503266,"filename":"image_03112025_04_02_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/3/5027629d0b13b713cbc11ca336c61662.jpg","text":"TemporaryFile(/tmp/multipartBody7497211794488483482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161503266,"filename":"image_03112025_04_01_43_1837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c717908216e713539ca7d08a8f9cd7c0.jpg","text":"TemporaryFile(/tmp/multipartBody2281041258850407272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161503266,"filename":"image_03112025_04_02_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/3/bd05ba22d1eaf79700ad1c07f312fc41.jpg","text":"TemporaryFile(/tmp/multipartBody3667741210111507703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161503266,"filename":"image_03112025_04_02_03_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016919","file1":"1392016916","file0":"1392016911","file4":"1392016925","file5":"1392016928","file3":"1392016922"},"map_files_photo_id_array":[{"photo_id":"1392016928","filename":"file5"},{"photo_id":"1392016919","filename":"file2"},{"photo_id":"1392016925","filename":"file4"},{"photo_id":"1392016916","filename":"file1"},{"photo_id":"1392016911","filename":"file0"},{"photo_id":"1392016922","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016911":["hashtag1","hashtag2"]},{"1392016928":["hashtag1","hashtag2"]},{"1392016922":["hashtag1","hashtag2"]},{"1392016916":["hashtag1","hashtag2"]},{"1392016925":["hashtag1","hashtag2"]},{"1392016919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016911, 1392016928, 1392016922, 1392016916, 1392016925, 1392016919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01729607582092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:18:03.323089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_07_3632.jpg', '/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_09_2771.jpg', '/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_19_3716.jpg', '/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_21_2663.jpg', '/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_27_3630.jpg', '/home/pi/Desktop/images/03112025/04/03/image_03112025_04_04_00_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_07_3632.jpg
/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_09_2771.jpg
/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_19_3716.jpg
/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_21_2663.jpg
/home/pi/Desktop/images/03112025/04/03/image_03112025_04_03_27_3630.jpg
/home/pi/Desktop/images/03112025/04/03/image_03112025_04_04_00_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016941","1392016949","1392016940","1392016943","1392016945","1392016936"],"photo_ids_order":["1392016936","1392016940","1392016941","1392016943","1392016945","1392016949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a31b73d8a953305339a50e94acb9f3d1.jpg","text":"TemporaryFile(/tmp/multipartBody7437439823807585141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161544127,"filename":"image_03112025_04_03_19_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/3/e5192ed327c22c1140cf8ffe798ec5e0.jpg","text":"TemporaryFile(/tmp/multipartBody5294926865412999048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161544127,"filename":"image_03112025_04_04_00_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/3/bf10c30f2ccc1ab8699fc31c2523e776.jpg","text":"TemporaryFile(/tmp/multipartBody4580962570526750491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161544127,"filename":"image_03112025_04_03_09_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/3/38cb28ea6b9806a0967ca0752b8957a2.jpg","text":"TemporaryFile(/tmp/multipartBody3140738519483013089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161544127,"filename":"image_03112025_04_03_21_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/3/ee108332c336593c45acf66447cfa719.jpg","text":"TemporaryFile(/tmp/multipartBody8344786784448795037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161544127,"filename":"image_03112025_04_03_27_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/3/3c3e8df8a87cb098215a0a7598e668d9.jpg","text":"TemporaryFile(/tmp/multipartBody1960430730284848661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161544127,"filename":"image_03112025_04_03_07_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016941","file1":"1392016940","file0":"1392016936","file4":"1392016945","file5":"1392016949","file3":"1392016943"},"map_files_photo_id_array":[{"photo_id":"1392016949","filename":"file5"},{"photo_id":"1392016941","filename":"file2"},{"photo_id":"1392016945","filename":"file4"},{"photo_id":"1392016940","filename":"file1"},{"photo_id":"1392016936","filename":"file0"},{"photo_id":"1392016943","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016941":["hashtag1","hashtag2"]},{"1392016949":["hashtag1","hashtag2"]},{"1392016940":["hashtag1","hashtag2"]},{"1392016943":["hashtag1","hashtag2"]},{"1392016945":["hashtag1","hashtag2"]},{"1392016936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016941, 1392016949, 1392016940, 1392016943, 1392016945, 1392016936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29917812347412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:18:42.743773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/04/image_03112025_04_04_06_3667.jpg', '/home/pi/Desktop/images/03112025/04/04/image_03112025_04_04_21_2872.jpg', '/home/pi/Desktop/images/03112025/04/04/image_03112025_04_04_24_2820.jpg', '/home/pi/Desktop/images/03112025/04/04/image_03112025_04_04_45_2535.jpg', '/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_03_2592.jpg', '/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_36_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/04/image_03112025_04_04_06_3667.jpg
/home/pi/Desktop/images/03112025/04/04/image_03112025_04_04_21_2872.jpg
/home/pi/Desktop/images/03112025/04/04/image_03112025_04_04_24_2820.jpg
/home/pi/Desktop/images/03112025/04/04/image_03112025_04_04_45_2535.jpg
/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_03_2592.jpg
/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_36_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392016979","1392016970","1392016976","1392016981","1392016980","1392016974"],"photo_ids_order":["1392016970","1392016974","1392016976","1392016979","1392016980","1392016981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e65a9dd89efcd8937a8ff42ea1fa142a.jpg","text":"TemporaryFile(/tmp/multipartBody4466206557917794211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161583578,"filename":"image_03112025_04_04_45_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b8a43335be1d388d28413a88afe2d590.jpg","text":"TemporaryFile(/tmp/multipartBody6287930030393923605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161583578,"filename":"image_03112025_04_04_06_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/3/f7d299aaa5de017e712bc66748fc7b0a.jpg","text":"TemporaryFile(/tmp/multipartBody8392182649526932496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161583578,"filename":"image_03112025_04_04_24_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/3/91582768bbda2ee393d10be1f10a8a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1543339279756159925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161583578,"filename":"image_03112025_04_05_36_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5a5ff9977ace234a7336ba6ecf186fee.jpg","text":"TemporaryFile(/tmp/multipartBody8289868260886733459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161583578,"filename":"image_03112025_04_05_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/3/ecc61631aa4e5a4304420b5682c7f441.jpg","text":"TemporaryFile(/tmp/multipartBody2098130634203435040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161583578,"filename":"image_03112025_04_04_21_2872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016976","file1":"1392016974","file0":"1392016970","file4":"1392016980","file5":"1392016981","file3":"1392016979"},"map_files_photo_id_array":[{"photo_id":"1392016981","filename":"file5"},{"photo_id":"1392016976","filename":"file2"},{"photo_id":"1392016980","filename":"file4"},{"photo_id":"1392016974","filename":"file1"},{"photo_id":"1392016970","filename":"file0"},{"photo_id":"1392016979","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392016979":["hashtag1","hashtag2"]},{"1392016970":["hashtag1","hashtag2"]},{"1392016976":["hashtag1","hashtag2"]},{"1392016981":["hashtag1","hashtag2"]},{"1392016980":["hashtag1","hashtag2"]},{"1392016974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392016979, 1392016970, 1392016976, 1392016981, 1392016980, 1392016974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.566622257232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:19:21.924479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_45_3599.jpg', '/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_51_3119.jpg', '/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_57_3608.jpg', '/home/pi/Desktop/images/03112025/04/06/image_03112025_04_06_03_2683.jpg', '/home/pi/Desktop/images/03112025/04/06/image_03112025_04_06_12_2851.jpg', '/home/pi/Desktop/images/03112025/04/06/image_03112025_04_06_51_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_45_3599.jpg
/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_51_3119.jpg
/home/pi/Desktop/images/03112025/04/05/image_03112025_04_05_57_3608.jpg
/home/pi/Desktop/images/03112025/04/06/image_03112025_04_06_03_2683.jpg
/home/pi/Desktop/images/03112025/04/06/image_03112025_04_06_12_2851.jpg
/home/pi/Desktop/images/03112025/04/06/image_03112025_04_06_51_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017007","1392016988","1392017003","1392017012","1392016993","1392016998"],"photo_ids_order":["1392016988","1392016993","1392016998","1392017003","1392017007","1392017012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5990911e6593544270d68cb4d1402f5e.jpg","text":"TemporaryFile(/tmp/multipartBody6662616475399761803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161622678,"filename":"image_03112025_04_06_12_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/3/0ea571aa3f6f7edfd5b237a3d34a9580.jpg","text":"TemporaryFile(/tmp/multipartBody5013311051664566842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161622678,"filename":"image_03112025_04_05_45_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/3/51a4875029706b54595f53d630d9e5e1.jpg","text":"TemporaryFile(/tmp/multipartBody3405469024813737343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161622678,"filename":"image_03112025_04_06_03_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/3/fd963bbb9ade01d8903df70faa4318fa.jpg","text":"TemporaryFile(/tmp/multipartBody1656632491948803564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161622678,"filename":"image_03112025_04_06_51_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/3/1d6a8a587c5c1703da2f21a46ddba112.jpg","text":"TemporaryFile(/tmp/multipartBody4063245037099780278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161622678,"filename":"image_03112025_04_05_51_3119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5aabb00f1f45b2d66a38492db9cff60b.jpg","text":"TemporaryFile(/tmp/multipartBody2922482316561672413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161622678,"filename":"image_03112025_04_05_57_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392016998","file1":"1392016993","file0":"1392016988","file4":"1392017007","file5":"1392017012","file3":"1392017003"},"map_files_photo_id_array":[{"photo_id":"1392017012","filename":"file5"},{"photo_id":"1392016998","filename":"file2"},{"photo_id":"1392017007","filename":"file4"},{"photo_id":"1392016993","filename":"file1"},{"photo_id":"1392016988","filename":"file0"},{"photo_id":"1392017003","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017007":["hashtag1","hashtag2"]},{"1392016988":["hashtag1","hashtag2"]},{"1392017003":["hashtag1","hashtag2"]},{"1392017012":["hashtag1","hashtag2"]},{"1392016993":["hashtag1","hashtag2"]},{"1392016998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017007, 1392016988, 1392017003, 1392017012, 1392016993, 1392016998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.591228008270264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:20:02.656669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/06/image_03112025_04_06_57_2545.jpg', '/home/pi/Desktop/images/03112025/04/07/image_03112025_04_07_01_4180.jpg', '/home/pi/Desktop/images/03112025/04/07/image_03112025_04_07_15_3655.jpg', '/home/pi/Desktop/images/03112025/04/07/image_03112025_04_07_18_2746.jpg', '/home/pi/Desktop/images/03112025/04/07/image_03112025_04_07_33_2625.jpg', '/home/pi/Desktop/images/03112025/04/08/image_03112025_04_08_30_3512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/06/image_03112025_04_06_57_2545.jpg
/home/pi/Desktop/images/03112025/04/07/image_03112025_04_07_01_4180.jpg
/home/pi/Desktop/images/03112025/04/07/image_03112025_04_07_15_3655.jpg
/home/pi/Desktop/images/03112025/04/07/image_03112025_04_07_18_2746.jpg
/home/pi/Desktop/images/03112025/04/07/image_03112025_04_07_33_2625.jpg
/home/pi/Desktop/images/03112025/04/08/image_03112025_04_08_30_3512.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017028","1392017015","1392017024","1392017032","1392017020","1392017037"],"photo_ids_order":["1392017015","1392017020","1392017024","1392017028","1392017032","1392017037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/14426ec3adfd16ffa3d7f688e5e3088b.jpg","text":"TemporaryFile(/tmp/multipartBody9184231555066430917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161664923,"filename":"image_03112025_04_07_18_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/3/0052e1269bb1a60eb67db89387cbe3fd.jpg","text":"TemporaryFile(/tmp/multipartBody7161660025670962792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161664923,"filename":"image_03112025_04_06_57_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/3/5c66394ff185a7e64dad1f7874b01cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7102958398380216280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161664923,"filename":"image_03112025_04_07_15_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/3/31cf826559dc5e507dcd94410b163659.jpg","text":"TemporaryFile(/tmp/multipartBody3135191446595010872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161664923,"filename":"image_03112025_04_07_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/3/9941eca273de0c3505a62d4ff65c826d.jpg","text":"TemporaryFile(/tmp/multipartBody8257621890867567550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161664923,"filename":"image_03112025_04_07_01_4180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/52edae76c8f86f73ebb5257dacecf72c.jpg","text":"TemporaryFile(/tmp/multipartBody8278996865686289442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161664923,"filename":"image_03112025_04_08_30_3512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017024","file1":"1392017020","file0":"1392017015","file4":"1392017032","file5":"1392017037","file3":"1392017028"},"map_files_photo_id_array":[{"photo_id":"1392017037","filename":"file5"},{"photo_id":"1392017024","filename":"file2"},{"photo_id":"1392017032","filename":"file4"},{"photo_id":"1392017020","filename":"file1"},{"photo_id":"1392017015","filename":"file0"},{"photo_id":"1392017028","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017028":["hashtag1","hashtag2"]},{"1392017015":["hashtag1","hashtag2"]},{"1392017024":["hashtag1","hashtag2"]},{"1392017032":["hashtag1","hashtag2"]},{"1392017020":["hashtag1","hashtag2"]},{"1392017037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017028, 1392017015, 1392017024, 1392017032, 1392017020, 1392017037)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.832828521728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:21:02.957753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/08/image_03112025_04_08_36_2703.jpg', '/home/pi/Desktop/images/03112025/04/08/image_03112025_04_08_38_2742.jpg', '/home/pi/Desktop/images/03112025/04/08/image_03112025_04_08_42_3772.jpg', '/home/pi/Desktop/images/03112025/04/08/image_03112025_04_09_00_2713.jpg', '/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_02_2777.jpg', '/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_06_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/08/image_03112025_04_08_36_2703.jpg
/home/pi/Desktop/images/03112025/04/08/image_03112025_04_08_38_2742.jpg
/home/pi/Desktop/images/03112025/04/08/image_03112025_04_08_42_3772.jpg
/home/pi/Desktop/images/03112025/04/08/image_03112025_04_09_00_2713.jpg
/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_02_2777.jpg
/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_06_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017066","1392017062","1392017056","1392017071","1392017059","1392017064"],"photo_ids_order":["1392017056","1392017059","1392017062","1392017064","1392017066","1392017071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b6778b60315e0c64f27e1a57820bd7dd.jpg","text":"TemporaryFile(/tmp/multipartBody5324001099495031835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161723938,"filename":"image_03112025_04_09_02_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/3/dd3af1465711775d813af7c25b1e59d3.jpg","text":"TemporaryFile(/tmp/multipartBody4505885382508242584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161723938,"filename":"image_03112025_04_08_42_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/3/959b5a928357a2f31bfa7cb8cca2080d.jpg","text":"TemporaryFile(/tmp/multipartBody5496347188204857864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161723938,"filename":"image_03112025_04_08_36_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/142d9f5c0ba3e72dcb2fd8268b3740a6.jpg","text":"TemporaryFile(/tmp/multipartBody2454141261848644263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161723938,"filename":"image_03112025_04_09_06_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/3/062d171a5cfe8cb27742fb85470516a8.jpg","text":"TemporaryFile(/tmp/multipartBody5507703153150949746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161723938,"filename":"image_03112025_04_08_38_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/3/1ecbe964404393b62a9e09e9622d796b.jpg","text":"TemporaryFile(/tmp/multipartBody6911704800151956197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161723938,"filename":"image_03112025_04_09_00_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017062","file1":"1392017059","file0":"1392017056","file4":"1392017066","file5":"1392017071","file3":"1392017064"},"map_files_photo_id_array":[{"photo_id":"1392017071","filename":"file5"},{"photo_id":"1392017062","filename":"file2"},{"photo_id":"1392017066","filename":"file4"},{"photo_id":"1392017059","filename":"file1"},{"photo_id":"1392017056","filename":"file0"},{"photo_id":"1392017064","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017066":["hashtag1","hashtag2"]},{"1392017062":["hashtag1","hashtag2"]},{"1392017056":["hashtag1","hashtag2"]},{"1392017071":["hashtag1","hashtag2"]},{"1392017059":["hashtag1","hashtag2"]},{"1392017064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017066, 1392017062, 1392017056, 1392017071, 1392017059, 1392017064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33901596069336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:21:42.339119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_09_2805.jpg', '/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_24_3737.jpg', '/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_29_2613.jpg', '/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_45_2688.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_08_1665.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_12_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_09_2805.jpg
/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_24_3737.jpg
/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_29_2613.jpg
/home/pi/Desktop/images/03112025/04/09/image_03112025_04_09_45_2688.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_08_1665.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_12_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017106","1392017087","1392017117","1392017091","1392017082","1392017121"],"photo_ids_order":["1392017082","1392017087","1392017091","1392017106","1392017117","1392017121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71f513c1cb7c3000855164d72c31180a.jpg","text":"TemporaryFile(/tmp/multipartBody3926049248865539046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161763133,"filename":"image_03112025_04_09_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/3/44269978fb33953654f934abc10beebf.jpg","text":"TemporaryFile(/tmp/multipartBody1255372529659886351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161763133,"filename":"image_03112025_04_09_24_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/3/61fd680b2fed02195740a4fd2d4e149c.jpg","text":"TemporaryFile(/tmp/multipartBody3341460290958334397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161763133,"filename":"image_03112025_04_10_08_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/3/8358c98fb876d600901cc0e35deec7f7.jpg","text":"TemporaryFile(/tmp/multipartBody6405778427868093004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161763133,"filename":"image_03112025_04_09_29_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/3/1423578877539a1961bc30806d8a6d49.jpg","text":"TemporaryFile(/tmp/multipartBody8995809374846042634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161763133,"filename":"image_03112025_04_09_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/3/fbe75d8bb318845f0484677909d5eb98.jpg","text":"TemporaryFile(/tmp/multipartBody884734925655517186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161763133,"filename":"image_03112025_04_10_12_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017091","file1":"1392017087","file0":"1392017082","file4":"1392017117","file5":"1392017121","file3":"1392017106"},"map_files_photo_id_array":[{"photo_id":"1392017121","filename":"file5"},{"photo_id":"1392017091","filename":"file2"},{"photo_id":"1392017117","filename":"file4"},{"photo_id":"1392017087","filename":"file1"},{"photo_id":"1392017082","filename":"file0"},{"photo_id":"1392017106","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017106":["hashtag1","hashtag2"]},{"1392017087":["hashtag1","hashtag2"]},{"1392017117":["hashtag1","hashtag2"]},{"1392017091":["hashtag1","hashtag2"]},{"1392017082":["hashtag1","hashtag2"]},{"1392017121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017106, 1392017087, 1392017117, 1392017091, 1392017082, 1392017121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.219024658203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:22:22.473475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_21_3678.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_24_2771.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_30_3802.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_53_2664.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_57_3697.jpg', '/home/pi/Desktop/images/03112025/04/11/image_03112025_04_11_27_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_21_3678.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_24_2771.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_30_3802.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_53_2664.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_57_3697.jpg
/home/pi/Desktop/images/03112025/04/11/image_03112025_04_11_27_3677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6614437103271484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:22:42.504977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_21_3678.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_24_2771.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_30_3802.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_53_2664.jpg', '/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_57_3697.jpg', '/home/pi/Desktop/images/03112025/04/11/image_03112025_04_11_27_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_21_3678.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_24_2771.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_30_3802.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_53_2664.jpg
/home/pi/Desktop/images/03112025/04/10/image_03112025_04_10_57_3697.jpg
/home/pi/Desktop/images/03112025/04/11/image_03112025_04_11_27_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017164","1392017158","1392017166","1392017169","1392017160","1392017154"],"photo_ids_order":["1392017154","1392017158","1392017160","1392017164","1392017166","1392017169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/83ee8c8d1969406328467bf4c3cab215.jpg","text":"TemporaryFile(/tmp/multipartBody3651679333432347425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161823330,"filename":"image_03112025_04_10_53_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/3/0ff88eca71e5f081eee848612f01f99f.jpg","text":"TemporaryFile(/tmp/multipartBody7438590725795696947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161823330,"filename":"image_03112025_04_10_24_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/3/2b918da8876032a1a21509404bcc5b79.jpg","text":"TemporaryFile(/tmp/multipartBody3309611296044020080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161823330,"filename":"image_03112025_04_10_57_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36bdfa5a71020aece44655328d825f94.jpg","text":"TemporaryFile(/tmp/multipartBody9143470326037997515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161823330,"filename":"image_03112025_04_11_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/3/aef452ea7c0bacb799cc25f97a699628.jpg","text":"TemporaryFile(/tmp/multipartBody2016350417552016507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161823330,"filename":"image_03112025_04_10_30_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/3/b1cb51c1bac5ed3b90cbc5ab65644e35.jpg","text":"TemporaryFile(/tmp/multipartBody3031111971304084291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161823330,"filename":"image_03112025_04_10_21_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017160","file1":"1392017158","file0":"1392017154","file4":"1392017166","file5":"1392017169","file3":"1392017164"},"map_files_photo_id_array":[{"photo_id":"1392017169","filename":"file5"},{"photo_id":"1392017160","filename":"file2"},{"photo_id":"1392017166","filename":"file4"},{"photo_id":"1392017158","filename":"file1"},{"photo_id":"1392017154","filename":"file0"},{"photo_id":"1392017164","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017164":["hashtag1","hashtag2"]},{"1392017158":["hashtag1","hashtag2"]},{"1392017166":["hashtag1","hashtag2"]},{"1392017169":["hashtag1","hashtag2"]},{"1392017160":["hashtag1","hashtag2"]},{"1392017154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017164, 1392017158, 1392017166, 1392017169, 1392017160, 1392017154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.994516134262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:23:22.640583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/11/image_03112025_04_11_39_3673.jpg', '/home/pi/Desktop/images/03112025/04/12/image_03112025_04_12_32_2600.jpg', '/home/pi/Desktop/images/03112025/04/12/image_03112025_04_12_38_2637.jpg', '/home/pi/Desktop/images/03112025/04/12/image_03112025_04_13_00_3648.jpg', '/home/pi/Desktop/images/03112025/04/13/image_03112025_04_13_09_3778.jpg', '/home/pi/Desktop/images/03112025/04/13/image_03112025_04_13_36_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/11/image_03112025_04_11_39_3673.jpg
/home/pi/Desktop/images/03112025/04/12/image_03112025_04_12_32_2600.jpg
/home/pi/Desktop/images/03112025/04/12/image_03112025_04_12_38_2637.jpg
/home/pi/Desktop/images/03112025/04/12/image_03112025_04_13_00_3648.jpg
/home/pi/Desktop/images/03112025/04/13/image_03112025_04_13_09_3778.jpg
/home/pi/Desktop/images/03112025/04/13/image_03112025_04_13_36_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017197","1392017182","1392017200","1392017190","1392017193","1392017187"],"photo_ids_order":["1392017182","1392017187","1392017190","1392017193","1392017197","1392017200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/27abfc5e352632d7f5112a0454f8c758.jpg","text":"TemporaryFile(/tmp/multipartBody6090172891974916815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161863399,"filename":"image_03112025_04_13_09_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2d6b27ad04eae534b21838d077452b45.jpg","text":"TemporaryFile(/tmp/multipartBody4621388731777413645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161863399,"filename":"image_03112025_04_11_39_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7586af558e65bd8a32ee717f6b04138b.jpg","text":"TemporaryFile(/tmp/multipartBody201846506472064328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161863399,"filename":"image_03112025_04_13_36_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/3/f45ebbeaa86414096e5ede4960f2777d.jpg","text":"TemporaryFile(/tmp/multipartBody6465422363415559556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161863399,"filename":"image_03112025_04_12_38_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40e3cd317d98c48c84f2d677039012a3.jpg","text":"TemporaryFile(/tmp/multipartBody6800629070490679833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161863399,"filename":"image_03112025_04_13_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/3/6ff15cd83c5d9f29b183bff9cffb1bb9.jpg","text":"TemporaryFile(/tmp/multipartBody348757673944425392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161863399,"filename":"image_03112025_04_12_32_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017190","file1":"1392017187","file0":"1392017182","file4":"1392017197","file5":"1392017200","file3":"1392017193"},"map_files_photo_id_array":[{"photo_id":"1392017200","filename":"file5"},{"photo_id":"1392017190","filename":"file2"},{"photo_id":"1392017197","filename":"file4"},{"photo_id":"1392017187","filename":"file1"},{"photo_id":"1392017182","filename":"file0"},{"photo_id":"1392017193","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017197":["hashtag1","hashtag2"]},{"1392017182":["hashtag1","hashtag2"]},{"1392017200":["hashtag1","hashtag2"]},{"1392017190":["hashtag1","hashtag2"]},{"1392017193":["hashtag1","hashtag2"]},{"1392017187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017197, 1392017182, 1392017200, 1392017190, 1392017193, 1392017187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.973265647888184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:24:02.588316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/13/image_03112025_04_13_41_2772.jpg', '/home/pi/Desktop/images/03112025/04/13/image_03112025_04_13_53_2634.jpg', '/home/pi/Desktop/images/03112025/04/14/image_03112025_04_14_35_2665.jpg', '/home/pi/Desktop/images/03112025/04/15/image_03112025_04_15_02_2717.jpg', '/home/pi/Desktop/images/03112025/04/15/image_03112025_04_15_29_2654.jpg', '/home/pi/Desktop/images/03112025/04/16/image_03112025_04_16_38_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/13/image_03112025_04_13_41_2772.jpg
/home/pi/Desktop/images/03112025/04/13/image_03112025_04_13_53_2634.jpg
/home/pi/Desktop/images/03112025/04/14/image_03112025_04_14_35_2665.jpg
/home/pi/Desktop/images/03112025/04/15/image_03112025_04_15_02_2717.jpg
/home/pi/Desktop/images/03112025/04/15/image_03112025_04_15_29_2654.jpg
/home/pi/Desktop/images/03112025/04/16/image_03112025_04_16_38_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017225","1392017228","1392017213","1392017218","1392017232","1392017229"],"photo_ids_order":["1392017213","1392017218","1392017225","1392017228","1392017229","1392017232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6710b2496514858de3c8648d9168ba4c.jpg","text":"TemporaryFile(/tmp/multipartBody7701287517289988333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161903495,"filename":"image_03112025_04_14_35_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/3/ac9b06144d484067d8dffd5a5fe2d170.jpg","text":"TemporaryFile(/tmp/multipartBody4666328899035914643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161903495,"filename":"image_03112025_04_15_02_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/3/8d8ed22d5c53465ef2628e9d8c0de92a.jpg","text":"TemporaryFile(/tmp/multipartBody2845106290281766008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161903495,"filename":"image_03112025_04_13_41_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/3/6bc84b00f79abdd94e9c590d52d4b978.jpg","text":"TemporaryFile(/tmp/multipartBody9206248548732885004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161903495,"filename":"image_03112025_04_13_53_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/3/9b246cf9a8a9486accb1221c10db8c21.jpg","text":"TemporaryFile(/tmp/multipartBody5283360975474386862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161903495,"filename":"image_03112025_04_16_38_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/3/1974a4c3672f1d7b79d4605f0f497b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7841202438583041945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161903495,"filename":"image_03112025_04_15_29_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017225","file1":"1392017218","file0":"1392017213","file4":"1392017229","file5":"1392017232","file3":"1392017228"},"map_files_photo_id_array":[{"photo_id":"1392017232","filename":"file5"},{"photo_id":"1392017225","filename":"file2"},{"photo_id":"1392017229","filename":"file4"},{"photo_id":"1392017218","filename":"file1"},{"photo_id":"1392017213","filename":"file0"},{"photo_id":"1392017228","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017225":["hashtag1","hashtag2"]},{"1392017228":["hashtag1","hashtag2"]},{"1392017213":["hashtag1","hashtag2"]},{"1392017218":["hashtag1","hashtag2"]},{"1392017232":["hashtag1","hashtag2"]},{"1392017229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017225, 1392017228, 1392017213, 1392017218, 1392017232, 1392017229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94830012321472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:24:41.872389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/16/image_03112025_04_16_56_3574.jpg', '/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_26_2880.jpg', '/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_32_3655.jpg', '/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_35_2681.jpg', '/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_53_3659.jpg', '/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_56_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/16/image_03112025_04_16_56_3574.jpg
/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_26_2880.jpg
/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_32_3655.jpg
/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_35_2681.jpg
/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_53_3659.jpg
/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_56_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017258","1392017246","1392017260","1392017254","1392017257","1392017250"],"photo_ids_order":["1392017246","1392017250","1392017254","1392017257","1392017258","1392017260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a311e4ada7b355d1b889a278d352ae15.jpg","text":"TemporaryFile(/tmp/multipartBody8565607407941051948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161942707,"filename":"image_03112025_04_17_53_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/663cad97ea08c684683d98021d032d9b.jpg","text":"TemporaryFile(/tmp/multipartBody3626586303976541864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161942707,"filename":"image_03112025_04_16_56_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/3/d0af3755c89aafc14da9131141c1707a.jpg","text":"TemporaryFile(/tmp/multipartBody3079303746348003947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161942707,"filename":"image_03112025_04_17_56_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/3/1074c86d74fee9506dc02c365c0c215c.jpg","text":"TemporaryFile(/tmp/multipartBody3966425017829911653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161942707,"filename":"image_03112025_04_17_32_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/3/bc69eec43d74f3675a8218250d5ec1ba.jpg","text":"TemporaryFile(/tmp/multipartBody3176957924452653125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161942707,"filename":"image_03112025_04_17_35_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/35c65f79b526d747c8539c1ab4036ca7.jpg","text":"TemporaryFile(/tmp/multipartBody230626357492659909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161942707,"filename":"image_03112025_04_17_26_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017254","file1":"1392017250","file0":"1392017246","file4":"1392017258","file5":"1392017260","file3":"1392017257"},"map_files_photo_id_array":[{"photo_id":"1392017260","filename":"file5"},{"photo_id":"1392017254","filename":"file2"},{"photo_id":"1392017258","filename":"file4"},{"photo_id":"1392017250","filename":"file1"},{"photo_id":"1392017246","filename":"file0"},{"photo_id":"1392017257","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017258":["hashtag1","hashtag2"]},{"1392017246":["hashtag1","hashtag2"]},{"1392017260":["hashtag1","hashtag2"]},{"1392017254":["hashtag1","hashtag2"]},{"1392017257":["hashtag1","hashtag2"]},{"1392017250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017258, 1392017246, 1392017260, 1392017254, 1392017257, 1392017250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08767247200012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:25:22.033516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_59_2669.jpg', '/home/pi/Desktop/images/03112025/04/18/image_03112025_04_18_08_2668.jpg', '/home/pi/Desktop/images/03112025/04/18/image_03112025_04_18_26_3645.jpg', '/home/pi/Desktop/images/03112025/04/18/image_03112025_04_18_50_2822.jpg', '/home/pi/Desktop/images/03112025/04/18/image_03112025_04_18_53_2666.jpg', '/home/pi/Desktop/images/03112025/04/19/image_03112025_04_19_04_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/17/image_03112025_04_17_59_2669.jpg
/home/pi/Desktop/images/03112025/04/18/image_03112025_04_18_08_2668.jpg
/home/pi/Desktop/images/03112025/04/18/image_03112025_04_18_26_3645.jpg
/home/pi/Desktop/images/03112025/04/18/image_03112025_04_18_50_2822.jpg
/home/pi/Desktop/images/03112025/04/18/image_03112025_04_18_53_2666.jpg
/home/pi/Desktop/images/03112025/04/19/image_03112025_04_19_04_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017301","1392017304","1392017288","1392017282","1392017273","1392017293"],"photo_ids_order":["1392017273","1392017282","1392017288","1392017293","1392017301","1392017304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b45d0bca72287730f0c0f587a57064b.jpg","text":"TemporaryFile(/tmp/multipartBody6899990198079501763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161982798,"filename":"image_03112025_04_18_53_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/3/89a5bc166a4fd6f91424c2a0b80a0f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2937226918694125683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161982798,"filename":"image_03112025_04_19_04_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/3/c958a48acd5f1a74b8a56db517859b9c.jpg","text":"TemporaryFile(/tmp/multipartBody565908502885177240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161982798,"filename":"image_03112025_04_18_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/3/dd1e0cf8d25b2b94ce7be62ed1af77c9.jpg","text":"TemporaryFile(/tmp/multipartBody6397093407728417483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161982798,"filename":"image_03112025_04_18_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/3/b5b8eb9d50d1e916b4cf4bfad1562c03.jpg","text":"TemporaryFile(/tmp/multipartBody2128763163344483929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161982798,"filename":"image_03112025_04_17_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/3/e99275c90ba8ccfcf97e54882bac366b.jpg","text":"TemporaryFile(/tmp/multipartBody3226697256777880921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762161982798,"filename":"image_03112025_04_18_50_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017288","file1":"1392017282","file0":"1392017273","file4":"1392017301","file5":"1392017304","file3":"1392017293"},"map_files_photo_id_array":[{"photo_id":"1392017304","filename":"file5"},{"photo_id":"1392017288","filename":"file2"},{"photo_id":"1392017301","filename":"file4"},{"photo_id":"1392017282","filename":"file1"},{"photo_id":"1392017273","filename":"file0"},{"photo_id":"1392017293","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017301":["hashtag1","hashtag2"]},{"1392017304":["hashtag1","hashtag2"]},{"1392017288":["hashtag1","hashtag2"]},{"1392017282":["hashtag1","hashtag2"]},{"1392017273":["hashtag1","hashtag2"]},{"1392017293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017301, 1392017304, 1392017288, 1392017282, 1392017273, 1392017293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00508761405945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:26:24.221235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/21/image_03112025_04_21_11_2741.jpg', '/home/pi/Desktop/images/03112025/04/21/image_03112025_04_21_22_2570.jpg', '/home/pi/Desktop/images/03112025/04/21/image_03112025_04_21_25_2678.jpg', '/home/pi/Desktop/images/03112025/04/23/image_03112025_04_23_24_4054.jpg', '/home/pi/Desktop/images/03112025/04/23/image_03112025_04_23_33_1626.jpg', '/home/pi/Desktop/images/03112025/04/23/image_03112025_04_23_58_11757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/21/image_03112025_04_21_11_2741.jpg
/home/pi/Desktop/images/03112025/04/21/image_03112025_04_21_22_2570.jpg
/home/pi/Desktop/images/03112025/04/21/image_03112025_04_21_25_2678.jpg
/home/pi/Desktop/images/03112025/04/23/image_03112025_04_23_24_4054.jpg
/home/pi/Desktop/images/03112025/04/23/image_03112025_04_23_33_1626.jpg
/home/pi/Desktop/images/03112025/04/23/image_03112025_04_23_58_11757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017337","1392017325","1392017342","1392017333","1392017321","1392017329"],"photo_ids_order":["1392017321","1392017325","1392017329","1392017333","1392017337","1392017342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c0bcd0bd4f39d22c6aefc8d785994650.jpg","text":"TemporaryFile(/tmp/multipartBody2870968924491110431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162044989,"filename":"image_03112025_04_23_33_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/3/e6b206537ecf951e82b85357a9e6a3c8.jpg","text":"TemporaryFile(/tmp/multipartBody8368906045951011497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162044989,"filename":"image_03112025_04_21_22_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/3/05ad0b95a14f421ef143a30142a4265e.jpg","text":"TemporaryFile(/tmp/multipartBody6323833225783530506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162044989,"filename":"image_03112025_04_23_58_11757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5200aad95e1622f96f94a7d7a30511bb.jpg","text":"TemporaryFile(/tmp/multipartBody4678619342364186221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162044989,"filename":"image_03112025_04_23_24_4054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/362cda4d0cf37660de128709d6a7ea67.jpg","text":"TemporaryFile(/tmp/multipartBody6494100952598674629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162044989,"filename":"image_03112025_04_21_11_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/3/886c03ae881e9c2569e2e526c5797850.jpg","text":"TemporaryFile(/tmp/multipartBody2900834905947393542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162044989,"filename":"image_03112025_04_21_25_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017329","file1":"1392017325","file0":"1392017321","file4":"1392017337","file5":"1392017342","file3":"1392017333"},"map_files_photo_id_array":[{"photo_id":"1392017342","filename":"file5"},{"photo_id":"1392017329","filename":"file2"},{"photo_id":"1392017337","filename":"file4"},{"photo_id":"1392017325","filename":"file1"},{"photo_id":"1392017321","filename":"file0"},{"photo_id":"1392017333","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017337":["hashtag1","hashtag2"]},{"1392017325":["hashtag1","hashtag2"]},{"1392017342":["hashtag1","hashtag2"]},{"1392017333":["hashtag1","hashtag2"]},{"1392017321":["hashtag1","hashtag2"]},{"1392017329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017337, 1392017325, 1392017342, 1392017333, 1392017321, 1392017329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69191217422485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:27:03.118382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 10:27:27.662733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/23/image_03112025_04_24_00_1669.jpg', '/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_10_6901.jpg', '/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_25_1614.jpg', '/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_38_4097.jpg', '/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_44_1802.jpg', '/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_57_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/23/image_03112025_04_24_00_1669.jpg
/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_10_6901.jpg
/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_25_1614.jpg
/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_38_4097.jpg
/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_44_1802.jpg
/home/pi/Desktop/images/03112025/04/24/image_03112025_04_24_57_1681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017378","1392017372","1392017395","1392017368","1392017382","1392017388"],"photo_ids_order":["1392017368","1392017372","1392017378","1392017382","1392017388","1392017395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/04d787a1bf7106ad4e9706d6a5f7532d.jpg","text":"TemporaryFile(/tmp/multipartBody6075661864763789366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162108422,"filename":"image_03112025_04_24_25_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/3/8d09c96afb7c816ee8cb8e265a3e9052.jpg","text":"TemporaryFile(/tmp/multipartBody7467194864270113485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162108422,"filename":"image_03112025_04_24_10_6901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cb1e5cbe986b4467b23941637d24d233.jpg","text":"TemporaryFile(/tmp/multipartBody7158435387796089415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162108422,"filename":"image_03112025_04_24_57_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/3/326818df87e6b77b9c046e7d8a9f8e4a.jpg","text":"TemporaryFile(/tmp/multipartBody6977551176687573424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162108422,"filename":"image_03112025_04_24_00_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/3/c14d984b84aa1bf22488887571f8d85e.jpg","text":"TemporaryFile(/tmp/multipartBody7773195656298447578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162108422,"filename":"image_03112025_04_24_38_4097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9b89d42f5070f9aa5eba4764d04256c8.jpg","text":"TemporaryFile(/tmp/multipartBody1562015780138781754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162108422,"filename":"image_03112025_04_24_44_1802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017378","file1":"1392017372","file0":"1392017368","file4":"1392017388","file5":"1392017395","file3":"1392017382"},"map_files_photo_id_array":[{"photo_id":"1392017395","filename":"file5"},{"photo_id":"1392017378","filename":"file2"},{"photo_id":"1392017388","filename":"file4"},{"photo_id":"1392017372","filename":"file1"},{"photo_id":"1392017368","filename":"file0"},{"photo_id":"1392017382","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017378":["hashtag1","hashtag2"]},{"1392017372":["hashtag1","hashtag2"]},{"1392017395":["hashtag1","hashtag2"]},{"1392017368":["hashtag1","hashtag2"]},{"1392017382":["hashtag1","hashtag2"]},{"1392017388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017378, 1392017372, 1392017395, 1392017368, 1392017382, 1392017388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41031312942505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:28:22.716428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_09_6992.jpg', '/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_23_1696.jpg', '/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_30_1659.jpg', '/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_44_6651.jpg', '/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_45_1667.jpg', '/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_11_1755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_09_6992.jpg
/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_23_1696.jpg
/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_30_1659.jpg
/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_44_6651.jpg
/home/pi/Desktop/images/03112025/04/25/image_03112025_04_25_45_1667.jpg
/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_11_1755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017418","1392017438","1392017423","1392017429","1392017434","1392017413"],"photo_ids_order":["1392017413","1392017418","1392017423","1392017429","1392017434","1392017438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4f6fb84b56995d49f0c4de03a5b7494c.jpg","text":"TemporaryFile(/tmp/multipartBody5914638053499831044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162163470,"filename":"image_03112025_04_25_23_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/3/d443fa81778fa333e803ca517bf8b7e8.jpg","text":"TemporaryFile(/tmp/multipartBody2838600138248169542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162163470,"filename":"image_03112025_04_26_11_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/3/2aedccf4c6bac84d48433c6752fcb795.jpg","text":"TemporaryFile(/tmp/multipartBody5661734265912505566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162163470,"filename":"image_03112025_04_25_30_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/3/6c8f8d7890d148de133c8339531d8b81.jpg","text":"TemporaryFile(/tmp/multipartBody1343136572284303395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162163470,"filename":"image_03112025_04_25_44_6651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c6a4fd596324f24aee3bafac33f5b45d.jpg","text":"TemporaryFile(/tmp/multipartBody6285198124034498572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162163470,"filename":"image_03112025_04_25_45_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/3/e5db4bcde68315b2ca980699b1716e99.jpg","text":"TemporaryFile(/tmp/multipartBody5817073474387209821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162163470,"filename":"image_03112025_04_25_09_6992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017423","file1":"1392017418","file0":"1392017413","file4":"1392017434","file5":"1392017438","file3":"1392017429"},"map_files_photo_id_array":[{"photo_id":"1392017438","filename":"file5"},{"photo_id":"1392017423","filename":"file2"},{"photo_id":"1392017434","filename":"file4"},{"photo_id":"1392017418","filename":"file1"},{"photo_id":"1392017413","filename":"file0"},{"photo_id":"1392017429","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017418":["hashtag1","hashtag2"]},{"1392017438":["hashtag1","hashtag2"]},{"1392017423":["hashtag1","hashtag2"]},{"1392017429":["hashtag1","hashtag2"]},{"1392017434":["hashtag1","hashtag2"]},{"1392017413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017418, 1392017438, 1392017423, 1392017429, 1392017434, 1392017413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18627858161926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:29:02.814422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_17_1825.jpg', '/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_21_3813.jpg', '/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_24_1634.jpg', '/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_26_1890.jpg', '/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_34_1646.jpg', '/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_39_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_17_1825.jpg
/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_21_3813.jpg
/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_24_1634.jpg
/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_26_1890.jpg
/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_34_1646.jpg
/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_39_1571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017468","1392017471","1392017464","1392017452","1392017478","1392017460"],"photo_ids_order":["1392017452","1392017460","1392017464","1392017468","1392017471","1392017478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/18b46deaee1d14cabc4dc16c8e8dadde.jpg","text":"TemporaryFile(/tmp/multipartBody5699587875129589392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162203907,"filename":"image_03112025_04_26_26_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/3/38a0552f7d0a55f206fda8b977b16ab0.jpg","text":"TemporaryFile(/tmp/multipartBody7382177063620629402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162203907,"filename":"image_03112025_04_26_34_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/3/7c4ecc4ced7ff03c459c735ae361c717.jpg","text":"TemporaryFile(/tmp/multipartBody4687060499864031989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162203907,"filename":"image_03112025_04_26_24_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/3/b2d1fd6cf97c1e5ce851a5169244f66d.jpg","text":"TemporaryFile(/tmp/multipartBody1439435787164647563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162203907,"filename":"image_03112025_04_26_17_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/3/e27c3ef4b3b9f5e15c86fa22f85a7177.jpg","text":"TemporaryFile(/tmp/multipartBody6131481311619930379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162203907,"filename":"image_03112025_04_26_39_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/3/832e9707fdb2cd38d16ba254f0941dff.jpg","text":"TemporaryFile(/tmp/multipartBody5339653131044339193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162203907,"filename":"image_03112025_04_26_21_3813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017464","file1":"1392017460","file0":"1392017452","file4":"1392017471","file5":"1392017478","file3":"1392017468"},"map_files_photo_id_array":[{"photo_id":"1392017478","filename":"file5"},{"photo_id":"1392017464","filename":"file2"},{"photo_id":"1392017471","filename":"file4"},{"photo_id":"1392017460","filename":"file1"},{"photo_id":"1392017452","filename":"file0"},{"photo_id":"1392017468","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017468":["hashtag1","hashtag2"]},{"1392017471":["hashtag1","hashtag2"]},{"1392017464":["hashtag1","hashtag2"]},{"1392017452":["hashtag1","hashtag2"]},{"1392017478":["hashtag1","hashtag2"]},{"1392017460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017468, 1392017471, 1392017464, 1392017452, 1392017478, 1392017460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.703648805618286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:29:41.830479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_43_1590.jpg', '/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_45_1820.jpg', '/home/pi/Desktop/images/03112025/04/27/image_03112025_04_27_02_1801.jpg', '/home/pi/Desktop/images/03112025/04/27/image_03112025_04_27_44_6214.jpg', '/home/pi/Desktop/images/03112025/04/27/image_03112025_04_27_47_1541.jpg', '/home/pi/Desktop/images/03112025/04/28/image_03112025_04_28_49_1746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_43_1590.jpg
/home/pi/Desktop/images/03112025/04/26/image_03112025_04_26_45_1820.jpg
/home/pi/Desktop/images/03112025/04/27/image_03112025_04_27_02_1801.jpg
/home/pi/Desktop/images/03112025/04/27/image_03112025_04_27_44_6214.jpg
/home/pi/Desktop/images/03112025/04/27/image_03112025_04_27_47_1541.jpg
/home/pi/Desktop/images/03112025/04/28/image_03112025_04_28_49_1746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017508","1392017504","1392017497","1392017501","1392017506","1392017490"],"photo_ids_order":["1392017490","1392017497","1392017501","1392017504","1392017506","1392017508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a3c6bf20ec5e31fea11b9e02e818ea5e.jpg","text":"TemporaryFile(/tmp/multipartBody251761046270446723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162242626,"filename":"image_03112025_04_28_49_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/3/3ecfc805c450c9a0939037a2f9f2dadf.jpg","text":"TemporaryFile(/tmp/multipartBody3200879851532884769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162242626,"filename":"image_03112025_04_27_44_6214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/54f8f09c02f6af0268fc6fadc61480b2.jpg","text":"TemporaryFile(/tmp/multipartBody3057278514252613581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162242626,"filename":"image_03112025_04_26_45_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/3/7019ffd2207c5867802ea11730f16b5a.jpg","text":"TemporaryFile(/tmp/multipartBody5788828051488564257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162242626,"filename":"image_03112025_04_27_02_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dde36b464c800a3325ff119f35f8c6bc.jpg","text":"TemporaryFile(/tmp/multipartBody2090688938094251852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162242626,"filename":"image_03112025_04_27_47_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/3/f5cfe9a907b9ae4a16bde0cda6e42418.jpg","text":"TemporaryFile(/tmp/multipartBody6054202042894779491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162242626,"filename":"image_03112025_04_26_43_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017501","file1":"1392017497","file0":"1392017490","file4":"1392017506","file5":"1392017508","file3":"1392017504"},"map_files_photo_id_array":[{"photo_id":"1392017508","filename":"file5"},{"photo_id":"1392017501","filename":"file2"},{"photo_id":"1392017506","filename":"file4"},{"photo_id":"1392017497","filename":"file1"},{"photo_id":"1392017490","filename":"file0"},{"photo_id":"1392017504","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017508":["hashtag1","hashtag2"]},{"1392017504":["hashtag1","hashtag2"]},{"1392017497":["hashtag1","hashtag2"]},{"1392017501":["hashtag1","hashtag2"]},{"1392017506":["hashtag1","hashtag2"]},{"1392017490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017508, 1392017504, 1392017497, 1392017501, 1392017506, 1392017490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71410942077637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:30:22.025904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/28/image_03112025_04_28_51_1625.jpg', '/home/pi/Desktop/images/03112025/04/29/image_03112025_04_29_28_1618.jpg', '/home/pi/Desktop/images/03112025/04/29/image_03112025_04_29_30_1744.jpg', '/home/pi/Desktop/images/03112025/04/29/image_03112025_04_29_49_1616.jpg', '/home/pi/Desktop/images/03112025/04/31/image_03112025_04_31_31_1608.jpg', '/home/pi/Desktop/images/03112025/04/32/image_03112025_04_32_42_17582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/28/image_03112025_04_28_51_1625.jpg
/home/pi/Desktop/images/03112025/04/29/image_03112025_04_29_28_1618.jpg
/home/pi/Desktop/images/03112025/04/29/image_03112025_04_29_30_1744.jpg
/home/pi/Desktop/images/03112025/04/29/image_03112025_04_29_49_1616.jpg
/home/pi/Desktop/images/03112025/04/31/image_03112025_04_31_31_1608.jpg
/home/pi/Desktop/images/03112025/04/32/image_03112025_04_32_42_17582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017520","1392017513","1392017516","1392017536","1392017530","1392017526"],"photo_ids_order":["1392017513","1392017516","1392017520","1392017526","1392017530","1392017536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f95dc1a85e382e85d9a06854daa94991.jpg","text":"TemporaryFile(/tmp/multipartBody9089620605998743590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162282783,"filename":"image_03112025_04_29_30_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/3/52b811de021542dabcefe208b4e5a3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6353542696713670044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162282783,"filename":"image_03112025_04_28_51_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/3/89521a0f74940c768698b22d8ce4dcc8.jpg","text":"TemporaryFile(/tmp/multipartBody3719076826776599204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162282783,"filename":"image_03112025_04_29_28_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/3/9b397f7e423998e1f243ad33a16b549d.jpg","text":"TemporaryFile(/tmp/multipartBody4672405289622330988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162282783,"filename":"image_03112025_04_32_42_17582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f967e23fcf4a3411bf71c0d027484e3.jpg","text":"TemporaryFile(/tmp/multipartBody5249961693919111512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162282783,"filename":"image_03112025_04_31_31_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/3/f99636256daa77274f7e31d467293415.jpg","text":"TemporaryFile(/tmp/multipartBody6067709763361139255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162282783,"filename":"image_03112025_04_29_49_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017520","file1":"1392017516","file0":"1392017513","file4":"1392017530","file5":"1392017536","file3":"1392017526"},"map_files_photo_id_array":[{"photo_id":"1392017536","filename":"file5"},{"photo_id":"1392017520","filename":"file2"},{"photo_id":"1392017530","filename":"file4"},{"photo_id":"1392017516","filename":"file1"},{"photo_id":"1392017513","filename":"file0"},{"photo_id":"1392017526","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017520":["hashtag1","hashtag2"]},{"1392017513":["hashtag1","hashtag2"]},{"1392017516":["hashtag1","hashtag2"]},{"1392017536":["hashtag1","hashtag2"]},{"1392017530":["hashtag1","hashtag2"]},{"1392017526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017520, 1392017513, 1392017516, 1392017536, 1392017530, 1392017526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47773098945618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:31:02.888024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/32/image_03112025_04_32_57_1693.jpg', '/home/pi/Desktop/images/03112025/04/32/image_03112025_04_32_59_1688.jpg', '/home/pi/Desktop/images/03112025/04/35/image_03112025_04_35_08_3014.jpg', '/home/pi/Desktop/images/03112025/04/35/image_03112025_04_35_26_2732.jpg', '/home/pi/Desktop/images/03112025/04/36/image_03112025_04_36_02_2789.jpg', '/home/pi/Desktop/images/03112025/04/36/image_03112025_04_36_11_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/32/image_03112025_04_32_57_1693.jpg
/home/pi/Desktop/images/03112025/04/32/image_03112025_04_32_59_1688.jpg
/home/pi/Desktop/images/03112025/04/35/image_03112025_04_35_08_3014.jpg
/home/pi/Desktop/images/03112025/04/35/image_03112025_04_35_26_2732.jpg
/home/pi/Desktop/images/03112025/04/36/image_03112025_04_36_02_2789.jpg
/home/pi/Desktop/images/03112025/04/36/image_03112025_04_36_11_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017573","1392017557","1392017559","1392017550","1392017553","1392017547"],"photo_ids_order":["1392017547","1392017550","1392017553","1392017557","1392017559","1392017573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0ad1514ec0a12e8cb8cea4fac4b5defc.jpg","text":"TemporaryFile(/tmp/multipartBody9082558757420085205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162323839,"filename":"image_03112025_04_36_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/3/7e9e7968d537742ec23db74ae51e814a.jpg","text":"TemporaryFile(/tmp/multipartBody7863979942039883437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162323839,"filename":"image_03112025_04_35_26_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/3/050719dfc12933a75652779640972a08.jpg","text":"TemporaryFile(/tmp/multipartBody6005435428755971562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162323839,"filename":"image_03112025_04_36_02_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/3/427ef00f49b0e686ad7d7d57c5bf75d9.jpg","text":"TemporaryFile(/tmp/multipartBody775352524595366380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162323839,"filename":"image_03112025_04_32_59_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/3/ac60f4a0f54d8e1aea8b0b18c4b08361.jpg","text":"TemporaryFile(/tmp/multipartBody5172533515971551434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162323839,"filename":"image_03112025_04_35_08_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f15c2cfddfa26d48a271a9b9a817a905.jpg","text":"TemporaryFile(/tmp/multipartBody7964173364671953650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162323839,"filename":"image_03112025_04_32_57_1693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017553","file1":"1392017550","file0":"1392017547","file4":"1392017559","file5":"1392017573","file3":"1392017557"},"map_files_photo_id_array":[{"photo_id":"1392017573","filename":"file5"},{"photo_id":"1392017553","filename":"file2"},{"photo_id":"1392017559","filename":"file4"},{"photo_id":"1392017550","filename":"file1"},{"photo_id":"1392017547","filename":"file0"},{"photo_id":"1392017557","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017573":["hashtag1","hashtag2"]},{"1392017557":["hashtag1","hashtag2"]},{"1392017559":["hashtag1","hashtag2"]},{"1392017550":["hashtag1","hashtag2"]},{"1392017553":["hashtag1","hashtag2"]},{"1392017547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017573, 1392017557, 1392017559, 1392017550, 1392017553, 1392017547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36065864562988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:31:42.185531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/36/image_03112025_04_36_35_3535.jpg', '/home/pi/Desktop/images/03112025/04/37/image_03112025_04_37_11_3708.jpg', '/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_01_1634.jpg', '/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_06_1578.jpg', '/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_08_1800.jpg', '/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_35_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/36/image_03112025_04_36_35_3535.jpg
/home/pi/Desktop/images/03112025/04/37/image_03112025_04_37_11_3708.jpg
/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_01_1634.jpg
/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_06_1578.jpg
/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_08_1800.jpg
/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_35_2798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017607","1392017612","1392017609","1392017600","1392017605","1392017610"],"photo_ids_order":["1392017600","1392017605","1392017607","1392017609","1392017610","1392017612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/587edbe85e3fc4ee99e02f83676978c2.jpg","text":"TemporaryFile(/tmp/multipartBody6698587055585001950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162362982,"filename":"image_03112025_04_39_01_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ce1eb8963156698628c20b5293d04a79.jpg","text":"TemporaryFile(/tmp/multipartBody8278798053542889754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162362982,"filename":"image_03112025_04_39_35_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/3/9eb5f33560925e3f685affd6daa746c2.jpg","text":"TemporaryFile(/tmp/multipartBody6374105829496891638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162362982,"filename":"image_03112025_04_39_06_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/3/0ecf9c90b479a6b4276317c327f6fcda.jpg","text":"TemporaryFile(/tmp/multipartBody8658111608717683922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162362982,"filename":"image_03112025_04_36_35_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/3/40442d3fa16e5abf5b913de62bb9b7cd.jpg","text":"TemporaryFile(/tmp/multipartBody7198298880761696453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162362982,"filename":"image_03112025_04_37_11_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/3/2e1783a118d37e584ff70fc764adf84a.jpg","text":"TemporaryFile(/tmp/multipartBody1490447728425114939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162362982,"filename":"image_03112025_04_39_08_1800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017607","file1":"1392017605","file0":"1392017600","file4":"1392017610","file5":"1392017612","file3":"1392017609"},"map_files_photo_id_array":[{"photo_id":"1392017612","filename":"file5"},{"photo_id":"1392017607","filename":"file2"},{"photo_id":"1392017610","filename":"file4"},{"photo_id":"1392017605","filename":"file1"},{"photo_id":"1392017600","filename":"file0"},{"photo_id":"1392017609","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017607":["hashtag1","hashtag2"]},{"1392017612":["hashtag1","hashtag2"]},{"1392017609":["hashtag1","hashtag2"]},{"1392017600":["hashtag1","hashtag2"]},{"1392017605":["hashtag1","hashtag2"]},{"1392017610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017607, 1392017612, 1392017609, 1392017600, 1392017605, 1392017610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78234624862671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:32:22.396007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_59_3770.jpg', '/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_10_2820.jpg', '/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_19_8466.jpg', '/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_33_7754.jpg', '/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_48_4193.jpg', '/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_52_1787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/39/image_03112025_04_39_59_3770.jpg
/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_10_2820.jpg
/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_19_8466.jpg
/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_33_7754.jpg
/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_48_4193.jpg
/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_52_1787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017640","1392017621","1392017624","1392017626","1392017635","1392017629"],"photo_ids_order":["1392017621","1392017624","1392017626","1392017629","1392017635","1392017640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e61412346e62f79ccff845012b11277.jpg","text":"TemporaryFile(/tmp/multipartBody466199827147087215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162403154,"filename":"image_03112025_04_40_52_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/3/dfc26b953590257df0d7710eed8e40b6.jpg","text":"TemporaryFile(/tmp/multipartBody5665145816940217283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162403154,"filename":"image_03112025_04_39_59_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/3/39768ead074865a14867736e809afd4b.jpg","text":"TemporaryFile(/tmp/multipartBody1982219641641981001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162403154,"filename":"image_03112025_04_40_10_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/3/1fa78f58d02687344a645e8c9cef3a99.jpg","text":"TemporaryFile(/tmp/multipartBody5249098745773003586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162403154,"filename":"image_03112025_04_40_19_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/3/7bdac270b49d5701c280af84ff438531.jpg","text":"TemporaryFile(/tmp/multipartBody8738324882974541160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162403154,"filename":"image_03112025_04_40_48_4193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33e5eb3e5ddbaa3a9ece256757246fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2422373624504419444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162403154,"filename":"image_03112025_04_40_33_7754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017626","file1":"1392017624","file0":"1392017621","file4":"1392017635","file5":"1392017640","file3":"1392017629"},"map_files_photo_id_array":[{"photo_id":"1392017640","filename":"file5"},{"photo_id":"1392017626","filename":"file2"},{"photo_id":"1392017635","filename":"file4"},{"photo_id":"1392017624","filename":"file1"},{"photo_id":"1392017621","filename":"file0"},{"photo_id":"1392017629","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017640":["hashtag1","hashtag2"]},{"1392017621":["hashtag1","hashtag2"]},{"1392017624":["hashtag1","hashtag2"]},{"1392017626":["hashtag1","hashtag2"]},{"1392017635":["hashtag1","hashtag2"]},{"1392017629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017640, 1392017621, 1392017624, 1392017626, 1392017635, 1392017629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80334281921387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:33:03.283124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_58_6398.jpg', '/home/pi/Desktop/images/03112025/04/41/image_03112025_04_41_05_1723.jpg', '/home/pi/Desktop/images/03112025/04/41/image_03112025_04_41_08_1696.jpg', '/home/pi/Desktop/images/03112025/04/41/image_03112025_04_41_16_4479.jpg', '/home/pi/Desktop/images/03112025/04/41/image_03112025_04_41_18_1582.jpg', '/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_30_8526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/40/image_03112025_04_40_58_6398.jpg
/home/pi/Desktop/images/03112025/04/41/image_03112025_04_41_05_1723.jpg
/home/pi/Desktop/images/03112025/04/41/image_03112025_04_41_08_1696.jpg
/home/pi/Desktop/images/03112025/04/41/image_03112025_04_41_16_4479.jpg
/home/pi/Desktop/images/03112025/04/41/image_03112025_04_41_18_1582.jpg
/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_30_8526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017660","1392017657","1392017655","1392017649","1392017658","1392017652"],"photo_ids_order":["1392017649","1392017652","1392017655","1392017657","1392017658","1392017660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5da6954ba74a0ea06747ccd68d8e2cf5.jpg","text":"TemporaryFile(/tmp/multipartBody6105280454178343015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162444151,"filename":"image_03112025_04_42_30_8526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5ef80de367a9386639459897b4b31c23.jpg","text":"TemporaryFile(/tmp/multipartBody462414286833720726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162444151,"filename":"image_03112025_04_41_16_4479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6c0e23df5c44083eaf130af8afe3ee17.jpg","text":"TemporaryFile(/tmp/multipartBody146605246482222196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162444151,"filename":"image_03112025_04_41_08_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/3/3f72fdca720dca339559110d79b41c81.jpg","text":"TemporaryFile(/tmp/multipartBody325769856041977483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162444151,"filename":"image_03112025_04_40_58_6398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c724ed47f7e52e9e956ab7fdc35bc556.jpg","text":"TemporaryFile(/tmp/multipartBody8021624550493890553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162444151,"filename":"image_03112025_04_41_18_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/3/76e62fe11fb7b37210cddb3740d5c90b.jpg","text":"TemporaryFile(/tmp/multipartBody1338764329651100219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162444151,"filename":"image_03112025_04_41_05_1723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017655","file1":"1392017652","file0":"1392017649","file4":"1392017658","file5":"1392017660","file3":"1392017657"},"map_files_photo_id_array":[{"photo_id":"1392017660","filename":"file5"},{"photo_id":"1392017655","filename":"file2"},{"photo_id":"1392017658","filename":"file4"},{"photo_id":"1392017652","filename":"file1"},{"photo_id":"1392017649","filename":"file0"},{"photo_id":"1392017657","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017660":["hashtag1","hashtag2"]},{"1392017657":["hashtag1","hashtag2"]},{"1392017655":["hashtag1","hashtag2"]},{"1392017649":["hashtag1","hashtag2"]},{"1392017658":["hashtag1","hashtag2"]},{"1392017652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017660, 1392017657, 1392017655, 1392017649, 1392017658, 1392017652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.777283668518066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:33:42.528690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_36_4234.jpg', '/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_40_4289.jpg', '/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_43_2924.jpg', '/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_49_2845.jpg', '/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_51_1685.jpg', '/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_57_1623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_36_4234.jpg
/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_40_4289.jpg
/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_43_2924.jpg
/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_49_2845.jpg
/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_51_1685.jpg
/home/pi/Desktop/images/03112025/04/42/image_03112025_04_42_57_1623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017678","1392017687","1392017695","1392017698","1392017676","1392017670"],"photo_ids_order":["1392017670","1392017676","1392017678","1392017687","1392017695","1392017698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4c96eaab15a1e502a226325dddc718be.jpg","text":"TemporaryFile(/tmp/multipartBody7420245891640647057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162483279,"filename":"image_03112025_04_42_43_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/3/ac33fec68a201a8bee34d5f08809514b.jpg","text":"TemporaryFile(/tmp/multipartBody1517081414403917347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162483279,"filename":"image_03112025_04_42_49_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/3/9d43a31ac08973a553efca5fe662fb84.jpg","text":"TemporaryFile(/tmp/multipartBody6895089669284331997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162483279,"filename":"image_03112025_04_42_51_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56b83d69db53c66de3d625595f813fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3288760580966604633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162483279,"filename":"image_03112025_04_42_57_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/3/2baef48ca88789dd0e3f410280cb04f5.jpg","text":"TemporaryFile(/tmp/multipartBody8473275812802630864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162483279,"filename":"image_03112025_04_42_40_4289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/96b1451222f732259d0aa9e17f47fd1e.jpg","text":"TemporaryFile(/tmp/multipartBody3198049379217701419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162483279,"filename":"image_03112025_04_42_36_4234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017678","file1":"1392017676","file0":"1392017670","file4":"1392017695","file5":"1392017698","file3":"1392017687"},"map_files_photo_id_array":[{"photo_id":"1392017698","filename":"file5"},{"photo_id":"1392017678","filename":"file2"},{"photo_id":"1392017695","filename":"file4"},{"photo_id":"1392017676","filename":"file1"},{"photo_id":"1392017670","filename":"file0"},{"photo_id":"1392017687","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017678":["hashtag1","hashtag2"]},{"1392017687":["hashtag1","hashtag2"]},{"1392017695":["hashtag1","hashtag2"]},{"1392017698":["hashtag1","hashtag2"]},{"1392017676":["hashtag1","hashtag2"]},{"1392017670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017678, 1392017687, 1392017695, 1392017698, 1392017676, 1392017670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3050811290741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:34:22.709383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/43/image_03112025_04_43_32_6025.jpg', '/home/pi/Desktop/images/03112025/04/44/image_03112025_04_44_22_2623.jpg', '/home/pi/Desktop/images/03112025/04/44/image_03112025_04_44_37_2819.jpg', '/home/pi/Desktop/images/03112025/04/44/image_03112025_04_44_59_3713.jpg', '/home/pi/Desktop/images/03112025/04/45/image_03112025_04_45_13_2720.jpg', '/home/pi/Desktop/images/03112025/04/45/image_03112025_04_45_20_6723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/43/image_03112025_04_43_32_6025.jpg
/home/pi/Desktop/images/03112025/04/44/image_03112025_04_44_22_2623.jpg
/home/pi/Desktop/images/03112025/04/44/image_03112025_04_44_37_2819.jpg
/home/pi/Desktop/images/03112025/04/44/image_03112025_04_44_59_3713.jpg
/home/pi/Desktop/images/03112025/04/45/image_03112025_04_45_13_2720.jpg
/home/pi/Desktop/images/03112025/04/45/image_03112025_04_45_20_6723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017738","1392017711","1392017731","1392017707","1392017719","1392017704"],"photo_ids_order":["1392017704","1392017707","1392017711","1392017719","1392017731","1392017738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/459045361c7a2c30baba37436da5db0c.jpg","text":"TemporaryFile(/tmp/multipartBody2212262964348670459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162523502,"filename":"image_03112025_04_45_20_6723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/69e355197ec071a446b863ab144b8571.jpg","text":"TemporaryFile(/tmp/multipartBody5373131832825484257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162523502,"filename":"image_03112025_04_44_37_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/3/8019274773a0de72b26eb726fc00fa00.jpg","text":"TemporaryFile(/tmp/multipartBody7368610667028503180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162523502,"filename":"image_03112025_04_45_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/3/1831953601881527c5ca7fac801a92e7.jpg","text":"TemporaryFile(/tmp/multipartBody1378082553620543962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162523502,"filename":"image_03112025_04_44_22_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/140a76ad5e2305efff85efde7d6166b0.jpg","text":"TemporaryFile(/tmp/multipartBody2115883623299799081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162523502,"filename":"image_03112025_04_44_59_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/3/9a132112ed48bcdd7357932e9cbbc1bc.jpg","text":"TemporaryFile(/tmp/multipartBody3894843330956991872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162523502,"filename":"image_03112025_04_43_32_6025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017711","file1":"1392017707","file0":"1392017704","file4":"1392017731","file5":"1392017738","file3":"1392017719"},"map_files_photo_id_array":[{"photo_id":"1392017738","filename":"file5"},{"photo_id":"1392017711","filename":"file2"},{"photo_id":"1392017731","filename":"file4"},{"photo_id":"1392017707","filename":"file1"},{"photo_id":"1392017704","filename":"file0"},{"photo_id":"1392017719","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017738":["hashtag1","hashtag2"]},{"1392017711":["hashtag1","hashtag2"]},{"1392017731":["hashtag1","hashtag2"]},{"1392017707":["hashtag1","hashtag2"]},{"1392017719":["hashtag1","hashtag2"]},{"1392017704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017738, 1392017711, 1392017731, 1392017707, 1392017719, 1392017704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21058011054993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:35:02.744360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/45/image_03112025_04_45_26_2571.jpg', '/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_16_2666.jpg', '/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_25_2761.jpg', '/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_37_2857.jpg', '/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_43_2733.jpg', '/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_49_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/45/image_03112025_04_45_26_2571.jpg
/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_16_2666.jpg
/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_25_2761.jpg
/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_37_2857.jpg
/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_43_2733.jpg
/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_49_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017792","1392017774","1392017788","1392017785","1392017781","1392017778"],"photo_ids_order":["1392017774","1392017778","1392017781","1392017785","1392017788","1392017792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e9ce8f2bbdc768c79b8f661ab5e7fa84.jpg","text":"TemporaryFile(/tmp/multipartBody463003267154970879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162563607,"filename":"image_03112025_04_46_49_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/3/08b563036788f19453a6fc81e69c7581.jpg","text":"TemporaryFile(/tmp/multipartBody8732405303370601675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162563607,"filename":"image_03112025_04_45_26_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/3/df8defc10ea438eafba382a4ad950bc8.jpg","text":"TemporaryFile(/tmp/multipartBody3983287219550553743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162563607,"filename":"image_03112025_04_46_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/3/7d7d497b59690bc836e8dd8c96bb0c4a.jpg","text":"TemporaryFile(/tmp/multipartBody7390930973672144636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162563607,"filename":"image_03112025_04_46_37_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/3/8d15ccd2d048165c8d17397fdabc62a4.jpg","text":"TemporaryFile(/tmp/multipartBody1456302644723613173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162563607,"filename":"image_03112025_04_46_25_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/3/9aeaf694c3fee8ee3ab4bad7a24c6fdb.jpg","text":"TemporaryFile(/tmp/multipartBody1095358326662202153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162563607,"filename":"image_03112025_04_46_16_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017781","file1":"1392017778","file0":"1392017774","file4":"1392017788","file5":"1392017792","file3":"1392017785"},"map_files_photo_id_array":[{"photo_id":"1392017792","filename":"file5"},{"photo_id":"1392017781","filename":"file2"},{"photo_id":"1392017788","filename":"file4"},{"photo_id":"1392017778","filename":"file1"},{"photo_id":"1392017774","filename":"file0"},{"photo_id":"1392017785","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017792":["hashtag1","hashtag2"]},{"1392017774":["hashtag1","hashtag2"]},{"1392017788":["hashtag1","hashtag2"]},{"1392017785":["hashtag1","hashtag2"]},{"1392017781":["hashtag1","hashtag2"]},{"1392017778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017792, 1392017774, 1392017788, 1392017785, 1392017781, 1392017778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2973690032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:35:42.053498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_58_2814.jpg', '/home/pi/Desktop/images/03112025/04/47/image_03112025_04_47_04_3645.jpg', '/home/pi/Desktop/images/03112025/04/47/image_03112025_04_47_07_2532.jpg', '/home/pi/Desktop/images/03112025/04/47/image_03112025_04_47_55_1679.jpg', '/home/pi/Desktop/images/03112025/04/47/image_03112025_04_47_57_1720.jpg', '/home/pi/Desktop/images/03112025/04/47/image_03112025_04_48_00_1751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/46/image_03112025_04_46_58_2814.jpg
/home/pi/Desktop/images/03112025/04/47/image_03112025_04_47_04_3645.jpg
/home/pi/Desktop/images/03112025/04/47/image_03112025_04_47_07_2532.jpg
/home/pi/Desktop/images/03112025/04/47/image_03112025_04_47_55_1679.jpg
/home/pi/Desktop/images/03112025/04/47/image_03112025_04_47_57_1720.jpg
/home/pi/Desktop/images/03112025/04/47/image_03112025_04_48_00_1751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017826","1392017814","1392017819","1392017809","1392017803","1392017823"],"photo_ids_order":["1392017803","1392017809","1392017814","1392017819","1392017823","1392017826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e0bf29260ddd580644730a6d47233578.jpg","text":"TemporaryFile(/tmp/multipartBody1567930533294893266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162602890,"filename":"image_03112025_04_48_00_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/3/58dbca143abb4e5a6c83cdb4350e2e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2293804606950146383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162602890,"filename":"image_03112025_04_47_07_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/3/a63a093525c30c55e5e326ff068529fe.jpg","text":"TemporaryFile(/tmp/multipartBody5467473978825397991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162602890,"filename":"image_03112025_04_47_55_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/3/91b642bd441abc841ff7cb1c145238bd.jpg","text":"TemporaryFile(/tmp/multipartBody8725617358764123298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162602890,"filename":"image_03112025_04_47_04_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/3/134a1c5b2d19544fc09b58d836574965.jpg","text":"TemporaryFile(/tmp/multipartBody2861196145758040155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162602890,"filename":"image_03112025_04_46_58_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/3/a979bd99e731cd84ebdfaa6d32cebcc6.jpg","text":"TemporaryFile(/tmp/multipartBody1439063809997243672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162602890,"filename":"image_03112025_04_47_57_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017814","file1":"1392017809","file0":"1392017803","file4":"1392017823","file5":"1392017826","file3":"1392017819"},"map_files_photo_id_array":[{"photo_id":"1392017826","filename":"file5"},{"photo_id":"1392017814","filename":"file2"},{"photo_id":"1392017823","filename":"file4"},{"photo_id":"1392017809","filename":"file1"},{"photo_id":"1392017803","filename":"file0"},{"photo_id":"1392017819","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017826":["hashtag1","hashtag2"]},{"1392017814":["hashtag1","hashtag2"]},{"1392017819":["hashtag1","hashtag2"]},{"1392017809":["hashtag1","hashtag2"]},{"1392017803":["hashtag1","hashtag2"]},{"1392017823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017826, 1392017814, 1392017819, 1392017809, 1392017803, 1392017823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58782935142517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:36:22.210992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_02_1613.jpg', '/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_07_2756.jpg', '/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_10_3597.jpg', '/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_13_2910.jpg', '/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_27_1669.jpg', '/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_05_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_02_1613.jpg
/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_07_2756.jpg
/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_10_3597.jpg
/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_13_2910.jpg
/home/pi/Desktop/images/03112025/04/48/image_03112025_04_48_27_1669.jpg
/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_05_1625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017852","1392017855","1392017840","1392017847","1392017835","1392017838"],"photo_ids_order":["1392017835","1392017838","1392017840","1392017847","1392017852","1392017855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/273b06517a4d1f2d029c6ea30b1fe0ea.jpg","text":"TemporaryFile(/tmp/multipartBody6772322888432777586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162642960,"filename":"image_03112025_04_48_27_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/3/bfefb8c9cdb2f77d5005cda52f9bd7f6.jpg","text":"TemporaryFile(/tmp/multipartBody1365173852790019231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162642960,"filename":"image_03112025_04_49_05_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/3/4646996e680472c75de696b674b105c3.jpg","text":"TemporaryFile(/tmp/multipartBody1665428434841325078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162642960,"filename":"image_03112025_04_48_10_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/3/cbd39c13d39dc08731441915ed7be0f5.jpg","text":"TemporaryFile(/tmp/multipartBody8086852544974698961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162642960,"filename":"image_03112025_04_48_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/3/50201fe83269d4a30c170aef9e70cda6.jpg","text":"TemporaryFile(/tmp/multipartBody4693322001959150119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162642960,"filename":"image_03112025_04_48_02_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/3/d9068b4e5390f3b2600eec9cb8046158.jpg","text":"TemporaryFile(/tmp/multipartBody9105594472360733518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162642960,"filename":"image_03112025_04_48_07_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017840","file1":"1392017838","file0":"1392017835","file4":"1392017852","file5":"1392017855","file3":"1392017847"},"map_files_photo_id_array":[{"photo_id":"1392017855","filename":"file5"},{"photo_id":"1392017840","filename":"file2"},{"photo_id":"1392017852","filename":"file4"},{"photo_id":"1392017838","filename":"file1"},{"photo_id":"1392017835","filename":"file0"},{"photo_id":"1392017847","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017852":["hashtag1","hashtag2"]},{"1392017855":["hashtag1","hashtag2"]},{"1392017840":["hashtag1","hashtag2"]},{"1392017847":["hashtag1","hashtag2"]},{"1392017835":["hashtag1","hashtag2"]},{"1392017838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017852, 1392017855, 1392017840, 1392017847, 1392017835, 1392017838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11969470977783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:37:03.068064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_25_3634.jpg', '/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_34_3699.jpg', '/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_49_2711.jpg', '/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_51_2666.jpg', '/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_55_3713.jpg', '/home/pi/Desktop/images/03112025/04/52/image_03112025_04_52_27_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_25_3634.jpg
/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_34_3699.jpg
/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_49_2711.jpg
/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_51_2666.jpg
/home/pi/Desktop/images/03112025/04/49/image_03112025_04_49_55_3713.jpg
/home/pi/Desktop/images/03112025/04/52/image_03112025_04_52_27_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017879","1392017869","1392017872","1392017886","1392017865","1392017874"],"photo_ids_order":["1392017865","1392017869","1392017872","1392017874","1392017879","1392017886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c52a58d7f55e3137a9160bdada3f1b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5541149449988428968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162683947,"filename":"image_03112025_04_49_55_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/3/881a80f9ecb70467659fd62364bb9edd.jpg","text":"TemporaryFile(/tmp/multipartBody122902558571048643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162683947,"filename":"image_03112025_04_49_34_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/3/896ec976ca91f056e61e9df2a3dcf0c9.jpg","text":"TemporaryFile(/tmp/multipartBody3989919310788611797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162683947,"filename":"image_03112025_04_49_49_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/3/f6f123a3c3f0d727bb0f00a3e741710c.jpg","text":"TemporaryFile(/tmp/multipartBody1451376094854413316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162683947,"filename":"image_03112025_04_52_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/3/bf9e9d93ad5bd391156b8084df1b84b1.jpg","text":"TemporaryFile(/tmp/multipartBody3451003970039239861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162683947,"filename":"image_03112025_04_49_25_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/3/6864d0e65b4f5ea9c5ea14dea6ed4416.jpg","text":"TemporaryFile(/tmp/multipartBody3569505727630970132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162683947,"filename":"image_03112025_04_49_51_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017872","file1":"1392017869","file0":"1392017865","file4":"1392017879","file5":"1392017886","file3":"1392017874"},"map_files_photo_id_array":[{"photo_id":"1392017886","filename":"file5"},{"photo_id":"1392017872","filename":"file2"},{"photo_id":"1392017879","filename":"file4"},{"photo_id":"1392017869","filename":"file1"},{"photo_id":"1392017865","filename":"file0"},{"photo_id":"1392017874","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017879":["hashtag1","hashtag2"]},{"1392017869":["hashtag1","hashtag2"]},{"1392017872":["hashtag1","hashtag2"]},{"1392017886":["hashtag1","hashtag2"]},{"1392017865":["hashtag1","hashtag2"]},{"1392017874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017879, 1392017869, 1392017872, 1392017886, 1392017865, 1392017874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.031413078308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:37:42.423593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/52/image_03112025_04_52_30_2582.jpg', '/home/pi/Desktop/images/03112025/04/53/image_03112025_04_53_03_2882.jpg', '/home/pi/Desktop/images/03112025/04/53/image_03112025_04_53_12_3652.jpg', '/home/pi/Desktop/images/03112025/04/53/image_03112025_04_53_18_2595.jpg', '/home/pi/Desktop/images/03112025/04/53/image_03112025_04_53_24_2763.jpg', '/home/pi/Desktop/images/03112025/04/55/image_03112025_04_55_42_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/52/image_03112025_04_52_30_2582.jpg
/home/pi/Desktop/images/03112025/04/53/image_03112025_04_53_03_2882.jpg
/home/pi/Desktop/images/03112025/04/53/image_03112025_04_53_12_3652.jpg
/home/pi/Desktop/images/03112025/04/53/image_03112025_04_53_18_2595.jpg
/home/pi/Desktop/images/03112025/04/53/image_03112025_04_53_24_2763.jpg
/home/pi/Desktop/images/03112025/04/55/image_03112025_04_55_42_3548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017894","1392017897","1392017900","1392017906","1392017898","1392017902"],"photo_ids_order":["1392017894","1392017897","1392017898","1392017900","1392017902","1392017906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/043af737ac7733e86049fcfcad39dd23.jpg","text":"TemporaryFile(/tmp/multipartBody2110661448506724581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162723227,"filename":"image_03112025_04_52_30_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/3/f58c3646340f46ba068f8ec54de2ad97.jpg","text":"TemporaryFile(/tmp/multipartBody2892785971402074916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162723227,"filename":"image_03112025_04_53_03_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/3/6ed94bda0a926914cb651a44cd16a2ee.jpg","text":"TemporaryFile(/tmp/multipartBody3887871711019374367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162723227,"filename":"image_03112025_04_53_18_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5288fd1e0042c7df6e8dd36734eb2739.jpg","text":"TemporaryFile(/tmp/multipartBody3977078560599307212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162723227,"filename":"image_03112025_04_55_42_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/3/c97ac3e50ffde5de9742cfeccce633f0.jpg","text":"TemporaryFile(/tmp/multipartBody7437810471056123819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162723227,"filename":"image_03112025_04_53_12_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5bd4baa9c218067d4d1bed6500a4b758.jpg","text":"TemporaryFile(/tmp/multipartBody8236594626771471637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162723227,"filename":"image_03112025_04_53_24_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017898","file1":"1392017897","file0":"1392017894","file4":"1392017902","file5":"1392017906","file3":"1392017900"},"map_files_photo_id_array":[{"photo_id":"1392017906","filename":"file5"},{"photo_id":"1392017898","filename":"file2"},{"photo_id":"1392017902","filename":"file4"},{"photo_id":"1392017897","filename":"file1"},{"photo_id":"1392017894","filename":"file0"},{"photo_id":"1392017900","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017894":["hashtag1","hashtag2"]},{"1392017897":["hashtag1","hashtag2"]},{"1392017900":["hashtag1","hashtag2"]},{"1392017906":["hashtag1","hashtag2"]},{"1392017898":["hashtag1","hashtag2"]},{"1392017902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017894, 1392017897, 1392017900, 1392017906, 1392017898, 1392017902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06398129463196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:38:22.555568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_03_2591.jpg', '/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_18_3685.jpg', '/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_30_2751.jpg', '/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_44_2699.jpg', '/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_56_2745.jpg', '/home/pi/Desktop/images/03112025/04/56/image_03112025_04_57_00_3823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_03_2591.jpg
/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_18_3685.jpg
/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_30_2751.jpg
/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_44_2699.jpg
/home/pi/Desktop/images/03112025/04/56/image_03112025_04_56_56_2745.jpg
/home/pi/Desktop/images/03112025/04/56/image_03112025_04_57_00_3823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017931","1392017919","1392017935","1392017923","1392017926","1392017929"],"photo_ids_order":["1392017919","1392017923","1392017926","1392017929","1392017931","1392017935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f31ccc9b864e89f81103fc938aacea2e.jpg","text":"TemporaryFile(/tmp/multipartBody6512478967240924989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162763317,"filename":"image_03112025_04_56_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/3/a88536494e171cadffddd66c25f2598a.jpg","text":"TemporaryFile(/tmp/multipartBody2906085185166821070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162763317,"filename":"image_03112025_04_56_03_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/3/bd9111ecb9347ef6202af601c857e9f4.jpg","text":"TemporaryFile(/tmp/multipartBody5243994251948915254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162763317,"filename":"image_03112025_04_57_00_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/3/119645e08f16429aabdc1e5216b53b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4323336798706990975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162763317,"filename":"image_03112025_04_56_18_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/3/d22badd64e9049c5172dd29144ad7496.jpg","text":"TemporaryFile(/tmp/multipartBody6235207915446546433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162763317,"filename":"image_03112025_04_56_30_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a7c1db930d2d70ad924b798363229205.jpg","text":"TemporaryFile(/tmp/multipartBody2030310253193027061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162763317,"filename":"image_03112025_04_56_44_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017926","file1":"1392017923","file0":"1392017919","file4":"1392017931","file5":"1392017935","file3":"1392017929"},"map_files_photo_id_array":[{"photo_id":"1392017935","filename":"file5"},{"photo_id":"1392017926","filename":"file2"},{"photo_id":"1392017931","filename":"file4"},{"photo_id":"1392017923","filename":"file1"},{"photo_id":"1392017919","filename":"file0"},{"photo_id":"1392017929","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017931":["hashtag1","hashtag2"]},{"1392017919":["hashtag1","hashtag2"]},{"1392017935":["hashtag1","hashtag2"]},{"1392017923":["hashtag1","hashtag2"]},{"1392017926":["hashtag1","hashtag2"]},{"1392017929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017931, 1392017919, 1392017935, 1392017923, 1392017926, 1392017929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.755605697631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:39:02.433299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/04/57/image_03112025_04_57_15_2772.jpg', '/home/pi/Desktop/images/03112025/04/58/image_03112025_04_58_53_1870.jpg', '/home/pi/Desktop/images/03112025/04/58/image_03112025_04_58_54_1571.jpg', '/home/pi/Desktop/images/03112025/04/58/image_03112025_04_58_56_1631.jpg', '/home/pi/Desktop/images/03112025/04/59/image_03112025_05_00_02_1780.jpg', '/home/pi/Desktop/images/03112025/05/00/image_03112025_05_00_30_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/04/57/image_03112025_04_57_15_2772.jpg
/home/pi/Desktop/images/03112025/04/58/image_03112025_04_58_53_1870.jpg
/home/pi/Desktop/images/03112025/04/58/image_03112025_04_58_54_1571.jpg
/home/pi/Desktop/images/03112025/04/58/image_03112025_04_58_56_1631.jpg
/home/pi/Desktop/images/03112025/04/59/image_03112025_05_00_02_1780.jpg
/home/pi/Desktop/images/03112025/05/00/image_03112025_05_00_30_1589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017960","1392017948","1392017953","1392017956","1392017965","1392017958"],"photo_ids_order":["1392017948","1392017953","1392017956","1392017958","1392017960","1392017965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/24205ab16e70b59fba73e04de8cd2284.jpg","text":"TemporaryFile(/tmp/multipartBody7428954385917047404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162803345,"filename":"image_03112025_05_00_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/3/f01bb4a35b1eb2a93f6cdb7cbbdac8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7683541586430181967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162803345,"filename":"image_03112025_04_57_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/3/016742ae5c13200e268c364c950d6948.jpg","text":"TemporaryFile(/tmp/multipartBody2440684337330424412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162803345,"filename":"image_03112025_04_58_53_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/3/df5d8496977811973c39b043a5368d22.jpg","text":"TemporaryFile(/tmp/multipartBody2013122994696509715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162803345,"filename":"image_03112025_04_58_54_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/3/312bc50ea2ab91051c7794dcabe14f5b.jpg","text":"TemporaryFile(/tmp/multipartBody3091799272945808156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162803345,"filename":"image_03112025_05_00_30_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/3/b50ced513e366a6728df0bc59bfda25a.jpg","text":"TemporaryFile(/tmp/multipartBody6413529829387770814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162803345,"filename":"image_03112025_04_58_56_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017956","file1":"1392017953","file0":"1392017948","file4":"1392017960","file5":"1392017965","file3":"1392017958"},"map_files_photo_id_array":[{"photo_id":"1392017965","filename":"file5"},{"photo_id":"1392017956","filename":"file2"},{"photo_id":"1392017960","filename":"file4"},{"photo_id":"1392017953","filename":"file1"},{"photo_id":"1392017948","filename":"file0"},{"photo_id":"1392017958","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017960":["hashtag1","hashtag2"]},{"1392017948":["hashtag1","hashtag2"]},{"1392017953":["hashtag1","hashtag2"]},{"1392017956":["hashtag1","hashtag2"]},{"1392017965":["hashtag1","hashtag2"]},{"1392017958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017960, 1392017948, 1392017953, 1392017956, 1392017965, 1392017958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49204349517822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:39:41.825532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/00/image_03112025_05_00_32_1619.jpg', '/home/pi/Desktop/images/03112025/05/00/image_03112025_05_00_40_8075.jpg', '/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_21_1643.jpg', '/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_23_1717.jpg', '/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_24_1688.jpg', '/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_26_1718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/00/image_03112025_05_00_32_1619.jpg
/home/pi/Desktop/images/03112025/05/00/image_03112025_05_00_40_8075.jpg
/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_21_1643.jpg
/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_23_1717.jpg
/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_24_1688.jpg
/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_26_1718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392017996","1392017999","1392017987","1392018002","1392017980","1392017974"],"photo_ids_order":["1392017974","1392017980","1392017987","1392017996","1392017999","1392018002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/57722940d6ee77276a698ef77bf9de29.jpg","text":"TemporaryFile(/tmp/multipartBody1685572780871274238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162842631,"filename":"image_03112025_05_01_23_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/3/03ecc86deb2fe9f3f26f62f7fb42bf3a.jpg","text":"TemporaryFile(/tmp/multipartBody5748709486720032367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162842631,"filename":"image_03112025_05_01_24_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a07476f17ff7f94972cdcaa6ff3ecb77.jpg","text":"TemporaryFile(/tmp/multipartBody6918654094964524517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162842631,"filename":"image_03112025_05_01_21_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/3/e4bdf1b6c183540aa022dd331f42163e.jpg","text":"TemporaryFile(/tmp/multipartBody6241973348243447131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162842631,"filename":"image_03112025_05_01_26_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/3/b009c0984acd9a4eca0949c1595e0d24.jpg","text":"TemporaryFile(/tmp/multipartBody3623089400969895459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162842631,"filename":"image_03112025_05_00_40_8075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/65d03a05d8f533e8fd9429763715bffd.jpg","text":"TemporaryFile(/tmp/multipartBody2213549921871782917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162842631,"filename":"image_03112025_05_00_32_1619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392017987","file1":"1392017980","file0":"1392017974","file4":"1392017999","file5":"1392018002","file3":"1392017996"},"map_files_photo_id_array":[{"photo_id":"1392018002","filename":"file5"},{"photo_id":"1392017987","filename":"file2"},{"photo_id":"1392017999","filename":"file4"},{"photo_id":"1392017980","filename":"file1"},{"photo_id":"1392017974","filename":"file0"},{"photo_id":"1392017996","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392017996":["hashtag1","hashtag2"]},{"1392017999":["hashtag1","hashtag2"]},{"1392017987":["hashtag1","hashtag2"]},{"1392018002":["hashtag1","hashtag2"]},{"1392017980":["hashtag1","hashtag2"]},{"1392017974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392017996, 1392017999, 1392017987, 1392018002, 1392017980, 1392017974)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.37735176086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:40:42.026571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_28_1774.jpg', '/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_58_1648.jpg', '/home/pi/Desktop/images/03112025/05/02/image_03112025_05_02_03_1609.jpg', '/home/pi/Desktop/images/03112025/05/02/image_03112025_05_02_04_1627.jpg', '/home/pi/Desktop/images/03112025/05/02/image_03112025_05_02_11_1781.jpg', '/home/pi/Desktop/images/03112025/05/02/image_03112025_05_02_56_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_28_1774.jpg
/home/pi/Desktop/images/03112025/05/01/image_03112025_05_01_58_1648.jpg
/home/pi/Desktop/images/03112025/05/02/image_03112025_05_02_03_1609.jpg
/home/pi/Desktop/images/03112025/05/02/image_03112025_05_02_04_1627.jpg
/home/pi/Desktop/images/03112025/05/02/image_03112025_05_02_11_1781.jpg
/home/pi/Desktop/images/03112025/05/02/image_03112025_05_02_56_1666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018083","1392018077","1392018085","1392018079","1392018076","1392018089"],"photo_ids_order":["1392018076","1392018077","1392018079","1392018083","1392018085","1392018089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1db915b9196761037150e7cb5d59b470.jpg","text":"TemporaryFile(/tmp/multipartBody4807538682409166819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162902818,"filename":"image_03112025_05_02_04_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/3/3be0031c018a9080f1150ceaac8c99fe.jpg","text":"TemporaryFile(/tmp/multipartBody6583373285096390282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162902818,"filename":"image_03112025_05_01_58_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/3/3265b1dcf7a1ade3f1d5274fae3e4cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1632146131689008447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162902818,"filename":"image_03112025_05_02_11_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/3/596383bf93b03f38359ad61e6ee2e257.jpg","text":"TemporaryFile(/tmp/multipartBody5918943149913373663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162902818,"filename":"image_03112025_05_02_03_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/3/a849dd4e6af13bdaf924d87f13eab6a7.jpg","text":"TemporaryFile(/tmp/multipartBody8332607131234063405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162902818,"filename":"image_03112025_05_01_28_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/3/f0e020b7600dccd1d90433ce17a0bb7a.jpg","text":"TemporaryFile(/tmp/multipartBody8717932279916923773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162902818,"filename":"image_03112025_05_02_56_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018079","file1":"1392018077","file0":"1392018076","file4":"1392018085","file5":"1392018089","file3":"1392018083"},"map_files_photo_id_array":[{"photo_id":"1392018089","filename":"file5"},{"photo_id":"1392018079","filename":"file2"},{"photo_id":"1392018085","filename":"file4"},{"photo_id":"1392018077","filename":"file1"},{"photo_id":"1392018076","filename":"file0"},{"photo_id":"1392018083","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018083":["hashtag1","hashtag2"]},{"1392018077":["hashtag1","hashtag2"]},{"1392018085":["hashtag1","hashtag2"]},{"1392018079":["hashtag1","hashtag2"]},{"1392018076":["hashtag1","hashtag2"]},{"1392018089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018083, 1392018077, 1392018085, 1392018079, 1392018076, 1392018089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.261821269989014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:41:22.179169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_02_4253.jpg', '/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_05_1808.jpg', '/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_21_3584.jpg', '/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_41_2666.jpg', '/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_50_3718.jpg', '/home/pi/Desktop/images/03112025/05/04/image_03112025_05_04_45_1806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_02_4253.jpg
/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_05_1808.jpg
/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_21_3584.jpg
/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_41_2666.jpg
/home/pi/Desktop/images/03112025/05/03/image_03112025_05_03_50_3718.jpg
/home/pi/Desktop/images/03112025/05/04/image_03112025_05_04_45_1806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018143","1392018119","1392018113","1392018103","1392018108","1392018117"],"photo_ids_order":["1392018103","1392018108","1392018113","1392018117","1392018119","1392018143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/537f98326da57660f9529dc895e35029.jpg","text":"TemporaryFile(/tmp/multipartBody1921276439955926959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162942941,"filename":"image_03112025_05_04_45_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/3/aa8ecf712160b92e2470f4e92b2aa652.jpg","text":"TemporaryFile(/tmp/multipartBody4217766206442873053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162942941,"filename":"image_03112025_05_03_50_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/3/00b86b6c5bb55f1aee3426702528f8e7.jpg","text":"TemporaryFile(/tmp/multipartBody2365667923973938984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162942941,"filename":"image_03112025_05_03_21_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/3/5f6cf2a2ba83d44b9eb54d335ff4a1d2.jpg","text":"TemporaryFile(/tmp/multipartBody5476747031909866494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162942941,"filename":"image_03112025_05_03_02_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/3/01d66bc7e9fb388d089bee78cd960cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3810782670137889730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162942941,"filename":"image_03112025_05_03_05_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/3/96b7b404429c2219b2da19523b117def.jpg","text":"TemporaryFile(/tmp/multipartBody5262456640900805550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162942941,"filename":"image_03112025_05_03_41_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018113","file1":"1392018108","file0":"1392018103","file4":"1392018119","file5":"1392018143","file3":"1392018117"},"map_files_photo_id_array":[{"photo_id":"1392018143","filename":"file5"},{"photo_id":"1392018113","filename":"file2"},{"photo_id":"1392018119","filename":"file4"},{"photo_id":"1392018108","filename":"file1"},{"photo_id":"1392018103","filename":"file0"},{"photo_id":"1392018117","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018143":["hashtag1","hashtag2"]},{"1392018119":["hashtag1","hashtag2"]},{"1392018113":["hashtag1","hashtag2"]},{"1392018103":["hashtag1","hashtag2"]},{"1392018108":["hashtag1","hashtag2"]},{"1392018117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018143, 1392018119, 1392018113, 1392018103, 1392018108, 1392018117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.827932834625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:42:02.834111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/04/image_03112025_05_04_52_1713.jpg', '/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_05_1651.jpg', '/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_07_1623.jpg', '/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_41_1707.jpg', '/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_43_1545.jpg', '/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_50_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/04/image_03112025_05_04_52_1713.jpg
/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_05_1651.jpg
/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_07_1623.jpg
/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_41_1707.jpg
/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_43_1545.jpg
/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_50_1622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018158","1392018154","1392018162","1392018171","1392018165","1392018167"],"photo_ids_order":["1392018154","1392018158","1392018162","1392018165","1392018167","1392018171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d8fa86e10d7f57db8cd34a497b92f799.jpg","text":"TemporaryFile(/tmp/multipartBody6405596469634312073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162983660,"filename":"image_03112025_05_06_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/3/ff279d15fd284ffca5bba25d141e08c7.jpg","text":"TemporaryFile(/tmp/multipartBody1539678599210509482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162983660,"filename":"image_03112025_05_04_52_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/3/e015a4663e81b63f665b840ebf9a1bc3.jpg","text":"TemporaryFile(/tmp/multipartBody6617714002566985290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162983660,"filename":"image_03112025_05_06_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/3/adbe644958414bdc5cb17ba0e7f13d35.jpg","text":"TemporaryFile(/tmp/multipartBody4205677926526766716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162983660,"filename":"image_03112025_05_06_50_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/3/fdd525503a20f9277fbf61c955ff85d6.jpg","text":"TemporaryFile(/tmp/multipartBody2540652494132886505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162983660,"filename":"image_03112025_05_06_41_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/3/48220cc822d5447fb8a69811301d64a1.jpg","text":"TemporaryFile(/tmp/multipartBody77700675313504563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762162983660,"filename":"image_03112025_05_06_43_1545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018162","file1":"1392018158","file0":"1392018154","file4":"1392018167","file5":"1392018171","file3":"1392018165"},"map_files_photo_id_array":[{"photo_id":"1392018171","filename":"file5"},{"photo_id":"1392018162","filename":"file2"},{"photo_id":"1392018167","filename":"file4"},{"photo_id":"1392018158","filename":"file1"},{"photo_id":"1392018154","filename":"file0"},{"photo_id":"1392018165","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018158":["hashtag1","hashtag2"]},{"1392018154":["hashtag1","hashtag2"]},{"1392018162":["hashtag1","hashtag2"]},{"1392018171":["hashtag1","hashtag2"]},{"1392018165":["hashtag1","hashtag2"]},{"1392018167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018158, 1392018154, 1392018162, 1392018171, 1392018165, 1392018167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.358152627944946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:42:42.421140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_53_1592.jpg', '/home/pi/Desktop/images/03112025/05/07/image_03112025_05_07_54_1651.jpg', '/home/pi/Desktop/images/03112025/05/07/image_03112025_05_07_57_1679.jpg', '/home/pi/Desktop/images/03112025/05/08/image_03112025_05_08_14_1694.jpg', '/home/pi/Desktop/images/03112025/05/08/image_03112025_05_08_16_1671.jpg', '/home/pi/Desktop/images/03112025/05/08/image_03112025_05_08_36_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/06/image_03112025_05_06_53_1592.jpg
/home/pi/Desktop/images/03112025/05/07/image_03112025_05_07_54_1651.jpg
/home/pi/Desktop/images/03112025/05/07/image_03112025_05_07_57_1679.jpg
/home/pi/Desktop/images/03112025/05/08/image_03112025_05_08_14_1694.jpg
/home/pi/Desktop/images/03112025/05/08/image_03112025_05_08_16_1671.jpg
/home/pi/Desktop/images/03112025/05/08/image_03112025_05_08_36_1747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018212","1392018209","1392018184","1392018195","1392018207","1392018204"],"photo_ids_order":["1392018184","1392018195","1392018204","1392018207","1392018209","1392018212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6fac1b40e57022753148b5e73b5609eb.jpg","text":"TemporaryFile(/tmp/multipartBody1737787669125127513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163023210,"filename":"image_03112025_05_08_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/3/cad3dfbef5e26409c29082895b2949cc.jpg","text":"TemporaryFile(/tmp/multipartBody8851432554983260441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163023210,"filename":"image_03112025_05_08_16_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/3/d23391d221828930c51a57fd520983e0.jpg","text":"TemporaryFile(/tmp/multipartBody5071521321563132090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163023210,"filename":"image_03112025_05_06_53_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/3/4e06c262cf6ee8fa9e6abad50258595c.jpg","text":"TemporaryFile(/tmp/multipartBody8359774155350485238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163023210,"filename":"image_03112025_05_07_54_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/3/7f9b3b713a4b4118aaaf706418fb7810.jpg","text":"TemporaryFile(/tmp/multipartBody9024539362045212969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163023210,"filename":"image_03112025_05_08_14_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/3/4e38353c96bb659d525519ff6abc69fc.jpg","text":"TemporaryFile(/tmp/multipartBody8063075074688219744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163023210,"filename":"image_03112025_05_07_57_1679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018204","file1":"1392018195","file0":"1392018184","file4":"1392018209","file5":"1392018212","file3":"1392018207"},"map_files_photo_id_array":[{"photo_id":"1392018212","filename":"file5"},{"photo_id":"1392018204","filename":"file2"},{"photo_id":"1392018209","filename":"file4"},{"photo_id":"1392018195","filename":"file1"},{"photo_id":"1392018184","filename":"file0"},{"photo_id":"1392018207","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018212":["hashtag1","hashtag2"]},{"1392018209":["hashtag1","hashtag2"]},{"1392018184":["hashtag1","hashtag2"]},{"1392018195":["hashtag1","hashtag2"]},{"1392018207":["hashtag1","hashtag2"]},{"1392018204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018212, 1392018209, 1392018184, 1392018195, 1392018207, 1392018204)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.59982419013977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:43:42.552076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/08/image_03112025_05_08_49_1703.jpg', '/home/pi/Desktop/images/03112025/05/09/image_03112025_05_09_37_1844.jpg', '/home/pi/Desktop/images/03112025/05/10/image_03112025_05_10_33_1721.jpg', '/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_01_16099.jpg', '/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_05_1635.jpg', '/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_22_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/08/image_03112025_05_08_49_1703.jpg
/home/pi/Desktop/images/03112025/05/09/image_03112025_05_09_37_1844.jpg
/home/pi/Desktop/images/03112025/05/10/image_03112025_05_10_33_1721.jpg
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_01_16099.jpg
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_05_1635.jpg
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_22_1643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018236","1392018239","1392018233","1392018241","1392018244","1392018237"],"photo_ids_order":["1392018233","1392018236","1392018237","1392018239","1392018241","1392018244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fde762771ba33a9f7173f03515584fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8884363237580495720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163083349,"filename":"image_03112025_05_09_37_1844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ff228c2b7f271f7c2098d431750355c.jpg","text":"TemporaryFile(/tmp/multipartBody5497951723429063178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163083349,"filename":"image_03112025_05_11_01_16099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/21b493d2594cdd9ddf2411ba0e11b2eb.jpg","text":"TemporaryFile(/tmp/multipartBody702211869687912303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163083349,"filename":"image_03112025_05_08_49_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6243f438e32550fb25465c7735d4ed34.jpg","text":"TemporaryFile(/tmp/multipartBody6852015409659320635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163083349,"filename":"image_03112025_05_11_05_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/3/758e0327e8c8d39e53f5f3744088f97f.jpg","text":"TemporaryFile(/tmp/multipartBody6565868391536978374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163083349,"filename":"image_03112025_05_11_22_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/3/360f7079f005bb914da19fe31512ce1e.jpg","text":"TemporaryFile(/tmp/multipartBody6515141612916183026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163083349,"filename":"image_03112025_05_10_33_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018237","file1":"1392018236","file0":"1392018233","file4":"1392018241","file5":"1392018244","file3":"1392018239"},"map_files_photo_id_array":[{"photo_id":"1392018244","filename":"file5"},{"photo_id":"1392018237","filename":"file2"},{"photo_id":"1392018241","filename":"file4"},{"photo_id":"1392018236","filename":"file1"},{"photo_id":"1392018233","filename":"file0"},{"photo_id":"1392018239","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018236":["hashtag1","hashtag2"]},{"1392018239":["hashtag1","hashtag2"]},{"1392018233":["hashtag1","hashtag2"]},{"1392018241":["hashtag1","hashtag2"]},{"1392018244":["hashtag1","hashtag2"]},{"1392018237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018236, 1392018239, 1392018233, 1392018241, 1392018244, 1392018237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56249284744263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:44:22.702907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_23_1693.jpg', '/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_27_1733.jpg', '/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_43_6299.jpg', '/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_45_1666.jpg', '/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_48_1616.jpg', '/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_54_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_23_1693.jpg
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_27_1733.jpg
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_43_6299.jpg
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_45_1666.jpg
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_48_1616.jpg
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_54_1589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018263","1392018257","1392018265","1392018270","1392018273","1392018267"],"photo_ids_order":["1392018257","1392018263","1392018265","1392018267","1392018270","1392018273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/48759b8d6b2e1bfa3aefa149884e15d0.jpg","text":"TemporaryFile(/tmp/multipartBody1736231955010744387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163123496,"filename":"image_03112025_05_11_27_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/3/ce20984442c32a4bc83c1954b6d6ed65.jpg","text":"TemporaryFile(/tmp/multipartBody6320976630828746741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163123496,"filename":"image_03112025_05_11_23_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/3/76d0f7b89398cbf7f6f609f6b336d696.jpg","text":"TemporaryFile(/tmp/multipartBody4803258640114867563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163123496,"filename":"image_03112025_05_11_43_6299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cdf983d161844e6402e6d0afa51d753.jpg","text":"TemporaryFile(/tmp/multipartBody288874873210138996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163123496,"filename":"image_03112025_05_11_48_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/3/f949f63ae88923b76084f5ea3fa7e37b.jpg","text":"TemporaryFile(/tmp/multipartBody8227775488553796823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163123496,"filename":"image_03112025_05_11_54_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/3/47fca8620994ca19e5b472b836d4142f.jpg","text":"TemporaryFile(/tmp/multipartBody6733114470165309355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163123496,"filename":"image_03112025_05_11_45_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018265","file1":"1392018263","file0":"1392018257","file4":"1392018270","file5":"1392018273","file3":"1392018267"},"map_files_photo_id_array":[{"photo_id":"1392018273","filename":"file5"},{"photo_id":"1392018265","filename":"file2"},{"photo_id":"1392018270","filename":"file4"},{"photo_id":"1392018263","filename":"file1"},{"photo_id":"1392018257","filename":"file0"},{"photo_id":"1392018267","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018263":["hashtag1","hashtag2"]},{"1392018257":["hashtag1","hashtag2"]},{"1392018265":["hashtag1","hashtag2"]},{"1392018270":["hashtag1","hashtag2"]},{"1392018273":["hashtag1","hashtag2"]},{"1392018267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018263, 1392018257, 1392018265, 1392018270, 1392018273, 1392018267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.049489974975586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:45:02.466285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_58_1558.jpg', '/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_09_1833.jpg', '/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_13_2699.jpg', '/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_28_2657.jpg', '/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_35_3811.jpg', '/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_46_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/11/image_03112025_05_11_58_1558.jpg
/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_09_1833.jpg
/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_13_2699.jpg
/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_28_2657.jpg
/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_35_3811.jpg
/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_46_1637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018305","1392018301","1392018297","1392018282","1392018291","1392018287"],"photo_ids_order":["1392018282","1392018287","1392018291","1392018297","1392018301","1392018305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a9e39a41b734653c484e82bd514b8506.jpg","text":"TemporaryFile(/tmp/multipartBody3199262668283511459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163163350,"filename":"image_03112025_05_12_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/3/b8191424163bab13ab029adb948913b8.jpg","text":"TemporaryFile(/tmp/multipartBody1160499972763193193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163163350,"filename":"image_03112025_05_12_35_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/277367a7231a281a7bbe2f6f1bd36498.jpg","text":"TemporaryFile(/tmp/multipartBody3249273268899899412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163163350,"filename":"image_03112025_05_12_28_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/3/501afba479ea94239ee4b887653c738e.jpg","text":"TemporaryFile(/tmp/multipartBody503393698944414286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163163350,"filename":"image_03112025_05_11_58_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/3/6fb8aef630e47d4ee8e460ab07f20b96.jpg","text":"TemporaryFile(/tmp/multipartBody4783653442851951671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163163350,"filename":"image_03112025_05_12_13_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/3/f6a93bdc69dda7cb74315a634e6709d4.jpg","text":"TemporaryFile(/tmp/multipartBody5918866932987225763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163163350,"filename":"image_03112025_05_12_09_1833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018291","file1":"1392018287","file0":"1392018282","file4":"1392018301","file5":"1392018305","file3":"1392018297"},"map_files_photo_id_array":[{"photo_id":"1392018305","filename":"file5"},{"photo_id":"1392018291","filename":"file2"},{"photo_id":"1392018301","filename":"file4"},{"photo_id":"1392018287","filename":"file1"},{"photo_id":"1392018282","filename":"file0"},{"photo_id":"1392018297","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018305":["hashtag1","hashtag2"]},{"1392018301":["hashtag1","hashtag2"]},{"1392018297":["hashtag1","hashtag2"]},{"1392018282":["hashtag1","hashtag2"]},{"1392018291":["hashtag1","hashtag2"]},{"1392018287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018305, 1392018301, 1392018297, 1392018282, 1392018291, 1392018287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43554377555847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:45:41.805188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_49_1667.jpg', '/home/pi/Desktop/images/03112025/05/13/image_03112025_05_13_06_1835.jpg', '/home/pi/Desktop/images/03112025/05/13/image_03112025_05_13_10_2560.jpg', '/home/pi/Desktop/images/03112025/05/13/image_03112025_05_13_16_2539.jpg', '/home/pi/Desktop/images/03112025/05/13/image_03112025_05_13_51_1796.jpg', '/home/pi/Desktop/images/03112025/05/14/image_03112025_05_14_46_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/12/image_03112025_05_12_49_1667.jpg
/home/pi/Desktop/images/03112025/05/13/image_03112025_05_13_06_1835.jpg
/home/pi/Desktop/images/03112025/05/13/image_03112025_05_13_10_2560.jpg
/home/pi/Desktop/images/03112025/05/13/image_03112025_05_13_16_2539.jpg
/home/pi/Desktop/images/03112025/05/13/image_03112025_05_13_51_1796.jpg
/home/pi/Desktop/images/03112025/05/14/image_03112025_05_14_46_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018329","1392018314","1392018319","1392018324","1392018327","1392018321"],"photo_ids_order":["1392018314","1392018319","1392018321","1392018324","1392018327","1392018329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97edabf6c11e7b957f57bea0d2081c44.jpg","text":"TemporaryFile(/tmp/multipartBody1145103926576685882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163202593,"filename":"image_03112025_05_14_46_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/3/9a3724e5b9e9abcd3da905ddedcc65cd.jpg","text":"TemporaryFile(/tmp/multipartBody7516976510360050066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163202593,"filename":"image_03112025_05_12_49_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/3/71fedff7aa2f74570227ad700d36e17e.jpg","text":"TemporaryFile(/tmp/multipartBody4616650891775838453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163202593,"filename":"image_03112025_05_13_06_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/3/d78f4762e7c0d46079c2494739c4971d.jpg","text":"TemporaryFile(/tmp/multipartBody5066091456408563559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163202593,"filename":"image_03112025_05_13_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/3/f3fca8fe0d2d2a25b4154921107c4800.jpg","text":"TemporaryFile(/tmp/multipartBody3893600877101683829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163202593,"filename":"image_03112025_05_13_51_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/3/0fda021698933885e7ab9b9002720b52.jpg","text":"TemporaryFile(/tmp/multipartBody5984616013640116106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163202593,"filename":"image_03112025_05_13_10_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018321","file1":"1392018319","file0":"1392018314","file4":"1392018327","file5":"1392018329","file3":"1392018324"},"map_files_photo_id_array":[{"photo_id":"1392018329","filename":"file5"},{"photo_id":"1392018321","filename":"file2"},{"photo_id":"1392018327","filename":"file4"},{"photo_id":"1392018319","filename":"file1"},{"photo_id":"1392018314","filename":"file0"},{"photo_id":"1392018324","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018329":["hashtag1","hashtag2"]},{"1392018314":["hashtag1","hashtag2"]},{"1392018319":["hashtag1","hashtag2"]},{"1392018324":["hashtag1","hashtag2"]},{"1392018327":["hashtag1","hashtag2"]},{"1392018321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018329, 1392018314, 1392018319, 1392018324, 1392018327, 1392018321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03375244140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:46:21.953265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/14/image_03112025_05_14_52_3231.jpg', '/home/pi/Desktop/images/03112025/05/15/image_03112025_05_15_29_18795.jpg', '/home/pi/Desktop/images/03112025/05/16/image_03112025_05_16_02_1560.jpg', '/home/pi/Desktop/images/03112025/05/16/image_03112025_05_16_04_1863.jpg', '/home/pi/Desktop/images/03112025/05/17/image_03112025_05_17_07_27453.jpg', '/home/pi/Desktop/images/03112025/05/17/image_03112025_05_17_09_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/14/image_03112025_05_14_52_3231.jpg
/home/pi/Desktop/images/03112025/05/15/image_03112025_05_15_29_18795.jpg
/home/pi/Desktop/images/03112025/05/16/image_03112025_05_16_02_1560.jpg
/home/pi/Desktop/images/03112025/05/16/image_03112025_05_16_04_1863.jpg
/home/pi/Desktop/images/03112025/05/17/image_03112025_05_17_07_27453.jpg
/home/pi/Desktop/images/03112025/05/17/image_03112025_05_17_09_1667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018356","1392018359","1392018350","1392018367","1392018343","1392018387"],"photo_ids_order":["1392018343","1392018350","1392018356","1392018359","1392018367","1392018387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b1393eae00f89ff9f30469ab167d94b.jpg","text":"TemporaryFile(/tmp/multipartBody7740459799619339878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163242706,"filename":"image_03112025_05_16_02_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/3/8925f29aed718bb7153704fd7b5140ee.jpg","text":"TemporaryFile(/tmp/multipartBody1059389571310693286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163242706,"filename":"image_03112025_05_16_04_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/3/2b276ff6a4955904e6dd56925b81eae2.jpg","text":"TemporaryFile(/tmp/multipartBody4804026086508382720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163242706,"filename":"image_03112025_05_15_29_18795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf9a34c48966427cf500165c35148bc6.jpg","text":"TemporaryFile(/tmp/multipartBody440027501265079606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163242706,"filename":"image_03112025_05_17_07_27453.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/72575135d8e49ffbc7863f5999cff586.jpg","text":"TemporaryFile(/tmp/multipartBody2418274854060139939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163242706,"filename":"image_03112025_05_14_52_3231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ea538c1b8aa5816414c3b9e8bc9a57b2.jpg","text":"TemporaryFile(/tmp/multipartBody4445238595390366710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163242706,"filename":"image_03112025_05_17_09_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018356","file1":"1392018350","file0":"1392018343","file4":"1392018367","file5":"1392018387","file3":"1392018359"},"map_files_photo_id_array":[{"photo_id":"1392018387","filename":"file5"},{"photo_id":"1392018356","filename":"file2"},{"photo_id":"1392018367","filename":"file4"},{"photo_id":"1392018350","filename":"file1"},{"photo_id":"1392018343","filename":"file0"},{"photo_id":"1392018359","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018356":["hashtag1","hashtag2"]},{"1392018359":["hashtag1","hashtag2"]},{"1392018350":["hashtag1","hashtag2"]},{"1392018367":["hashtag1","hashtag2"]},{"1392018343":["hashtag1","hashtag2"]},{"1392018387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018356, 1392018359, 1392018350, 1392018367, 1392018343, 1392018387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.293621301651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:47:03.032592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/20/image_03112025_05_20_02_1675.jpg', '/home/pi/Desktop/images/03112025/05/20/image_03112025_05_20_29_1604.jpg', '/home/pi/Desktop/images/03112025/05/20/image_03112025_05_20_43_1736.jpg', '/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_05_1659.jpg', '/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_15_1616.jpg', '/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_20_1786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/20/image_03112025_05_20_02_1675.jpg
/home/pi/Desktop/images/03112025/05/20/image_03112025_05_20_29_1604.jpg
/home/pi/Desktop/images/03112025/05/20/image_03112025_05_20_43_1736.jpg
/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_05_1659.jpg
/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_15_1616.jpg
/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_20_1786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018395","1392018401","1392018413","1392018391","1392018405","1392018408"],"photo_ids_order":["1392018391","1392018395","1392018401","1392018405","1392018408","1392018413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b42e5f1cfb79f4dbaeb06db2c742fdba.jpg","text":"TemporaryFile(/tmp/multipartBody889685889948134539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163283901,"filename":"image_03112025_05_20_29_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/3/c04293aa8d015a01c70b8141b20e82ed.jpg","text":"TemporaryFile(/tmp/multipartBody5368274669998811549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163283901,"filename":"image_03112025_05_20_43_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/3/7417fea347a06be2c2d90649a44c319f.jpg","text":"TemporaryFile(/tmp/multipartBody2917573727992843003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163283901,"filename":"image_03112025_05_21_20_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/3/527b1fecde2662a79cbfed60e470e356.jpg","text":"TemporaryFile(/tmp/multipartBody917220404633399685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163283901,"filename":"image_03112025_05_20_02_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/31c0ccbb4e9bc66d9208144c2fb0e2c2.jpg","text":"TemporaryFile(/tmp/multipartBody122110920971888119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163283901,"filename":"image_03112025_05_21_05_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/3/b8145a73eefc0323e5792a107ec5de86.jpg","text":"TemporaryFile(/tmp/multipartBody1096592791605938417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163283901,"filename":"image_03112025_05_21_15_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018401","file1":"1392018395","file0":"1392018391","file4":"1392018408","file5":"1392018413","file3":"1392018405"},"map_files_photo_id_array":[{"photo_id":"1392018413","filename":"file5"},{"photo_id":"1392018401","filename":"file2"},{"photo_id":"1392018408","filename":"file4"},{"photo_id":"1392018395","filename":"file1"},{"photo_id":"1392018391","filename":"file0"},{"photo_id":"1392018405","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018395":["hashtag1","hashtag2"]},{"1392018401":["hashtag1","hashtag2"]},{"1392018413":["hashtag1","hashtag2"]},{"1392018391":["hashtag1","hashtag2"]},{"1392018405":["hashtag1","hashtag2"]},{"1392018408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018395, 1392018401, 1392018413, 1392018391, 1392018405, 1392018408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75063443183899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:47:42.329639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_31_1692.jpg', '/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_33_1713.jpg', '/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_48_12041.jpg', '/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_52_2041.jpg', '/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_55_1609.jpg', '/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_57_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_31_1692.jpg
/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_33_1713.jpg
/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_48_12041.jpg
/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_52_2041.jpg
/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_55_1609.jpg
/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_57_1589.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7489144802093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:48:02.985126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_31_1692.jpg', '/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_33_1713.jpg', '/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_48_12041.jpg', '/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_52_2041.jpg', '/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_55_1609.jpg', '/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_57_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_31_1692.jpg
/home/pi/Desktop/images/03112025/05/21/image_03112025_05_21_33_1713.jpg
/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_48_12041.jpg
/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_52_2041.jpg
/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_55_1609.jpg
/home/pi/Desktop/images/03112025/05/22/image_03112025_05_22_57_1589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018437","1392018451","1392018445","1392018448","1392018441","1392018447"],"photo_ids_order":["1392018437","1392018441","1392018445","1392018447","1392018448","1392018451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1be6f23d08ec9d3ea8dbcd2e8ccb5a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1577013865029936817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163343799,"filename":"image_03112025_05_21_31_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/3/e0beb6947408c069f4ebe5c6917a48b8.jpg","text":"TemporaryFile(/tmp/multipartBody579361114871750393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163343799,"filename":"image_03112025_05_22_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/3/1dfefeb659984dbf629dc60e64a808d7.jpg","text":"TemporaryFile(/tmp/multipartBody7227849881768158274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163343799,"filename":"image_03112025_05_22_48_12041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/438607c8b56278ed7b9de909850e47a1.jpg","text":"TemporaryFile(/tmp/multipartBody1238416651230478225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163343799,"filename":"image_03112025_05_22_55_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/3/259b87282ea494cfdb158e95b92d0e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8174642944349224315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163343799,"filename":"image_03112025_05_21_33_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/3/2739815efd4d075e8a1968f0c3e6aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody3796054088458566715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163343799,"filename":"image_03112025_05_22_52_2041.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018445","file1":"1392018441","file0":"1392018437","file4":"1392018448","file5":"1392018451","file3":"1392018447"},"map_files_photo_id_array":[{"photo_id":"1392018451","filename":"file5"},{"photo_id":"1392018445","filename":"file2"},{"photo_id":"1392018448","filename":"file4"},{"photo_id":"1392018441","filename":"file1"},{"photo_id":"1392018437","filename":"file0"},{"photo_id":"1392018447","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018437":["hashtag1","hashtag2"]},{"1392018451":["hashtag1","hashtag2"]},{"1392018445":["hashtag1","hashtag2"]},{"1392018448":["hashtag1","hashtag2"]},{"1392018441":["hashtag1","hashtag2"]},{"1392018447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018437, 1392018451, 1392018445, 1392018448, 1392018441, 1392018447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60033917427063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:48:42.576681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_28_1585.jpg', '/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_30_1634.jpg', '/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_51_16389.jpg', '/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_56_1608.jpg', '/home/pi/Desktop/images/03112025/05/23/image_03112025_05_24_00_1601.jpg', '/home/pi/Desktop/images/03112025/05/24/image_03112025_05_24_18_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_28_1585.jpg
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_30_1634.jpg
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_51_16389.jpg
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_56_1608.jpg
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_24_00_1601.jpg
/home/pi/Desktop/images/03112025/05/24/image_03112025_05_24_18_1594.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7142016887664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:49:03.569432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_28_1585.jpg', '/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_30_1634.jpg', '/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_51_16389.jpg', '/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_56_1608.jpg', '/home/pi/Desktop/images/03112025/05/23/image_03112025_05_24_00_1601.jpg', '/home/pi/Desktop/images/03112025/05/24/image_03112025_05_24_18_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_28_1585.jpg
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_30_1634.jpg
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_51_16389.jpg
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_23_56_1608.jpg
/home/pi/Desktop/images/03112025/05/23/image_03112025_05_24_00_1601.jpg
/home/pi/Desktop/images/03112025/05/24/image_03112025_05_24_18_1594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018500","1392018487","1392018496","1392018490","1392018484","1392018482"],"photo_ids_order":["1392018482","1392018484","1392018487","1392018490","1392018496","1392018500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/50927af494c637c0dd17c025480c1d96.jpg","text":"TemporaryFile(/tmp/multipartBody7986989449677880831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163404586,"filename":"image_03112025_05_24_18_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/3/fd9b221ca7373e5f9543035b415eafc8.jpg","text":"TemporaryFile(/tmp/multipartBody5029902420862659674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163404586,"filename":"image_03112025_05_23_51_16389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36c7776302d93938c281fe99f06e71c5.jpg","text":"TemporaryFile(/tmp/multipartBody2689308818068404687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163404586,"filename":"image_03112025_05_24_00_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/3/cbe5a9694756f89857bb5669c0bc461e.jpg","text":"TemporaryFile(/tmp/multipartBody1580813374280792700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163404586,"filename":"image_03112025_05_23_56_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/3/cbe6b7ff67c76de4f92cbeebd1425f84.jpg","text":"TemporaryFile(/tmp/multipartBody1429435692021977165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163404586,"filename":"image_03112025_05_23_30_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/3/ff7c3bcd8a09d70dcda9a270f3ae0bca.jpg","text":"TemporaryFile(/tmp/multipartBody8306121943392513902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163404586,"filename":"image_03112025_05_23_28_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018487","file1":"1392018484","file0":"1392018482","file4":"1392018496","file5":"1392018500","file3":"1392018490"},"map_files_photo_id_array":[{"photo_id":"1392018500","filename":"file5"},{"photo_id":"1392018487","filename":"file2"},{"photo_id":"1392018496","filename":"file4"},{"photo_id":"1392018484","filename":"file1"},{"photo_id":"1392018482","filename":"file0"},{"photo_id":"1392018490","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018500":["hashtag1","hashtag2"]},{"1392018487":["hashtag1","hashtag2"]},{"1392018496":["hashtag1","hashtag2"]},{"1392018490":["hashtag1","hashtag2"]},{"1392018484":["hashtag1","hashtag2"]},{"1392018482":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018500, 1392018487, 1392018496, 1392018490, 1392018484, 1392018482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63215947151184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:49:42.742126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/24/image_03112025_05_24_19_1618.jpg', '/home/pi/Desktop/images/03112025/05/24/image_03112025_05_24_30_2603.jpg', '/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_18_1834.jpg', '/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_28_1640.jpg', '/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_48_2817.jpg', '/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_51_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/24/image_03112025_05_24_19_1618.jpg
/home/pi/Desktop/images/03112025/05/24/image_03112025_05_24_30_2603.jpg
/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_18_1834.jpg
/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_28_1640.jpg
/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_48_2817.jpg
/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_51_2759.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":["1392018529","1392018514","1392018523","1392018525","1392018510","1392018513"],"photo_ids_order":["1392018510","1392018513","1392018514","1392018523","1392018525","1392018529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e579a2c9f1b731301cb474a625d23eb0.jpg","text":"TemporaryFile(/tmp/multipartBody8236697558023651907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163443542,"filename":"image_03112025_05_25_51_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a99304ac55695ac7ac8310c8e70456c5.jpg","text":"TemporaryFile(/tmp/multipartBody5460691300705747032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163443542,"filename":"image_03112025_05_25_18_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/3/65cabe24a3f49f39b611554ec4cc6e73.jpg","text":"TemporaryFile(/tmp/multipartBody1570065943070264186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163443542,"filename":"image_03112025_05_25_28_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/3/bc55ab79ac24d03c055634b20830812b.jpg","text":"TemporaryFile(/tmp/multipartBody5986360655239153371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163443542,"filename":"image_03112025_05_25_48_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/3/f1a7411a2cfe650c61bc5c00ea18cc16.jpg","text":"TemporaryFile(/tmp/multipartBody2648065677122095104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163443542,"filename":"image_03112025_05_24_19_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/3/6b5ce4499cfb870cdaa51b1500c7cb87.jpg","text":"TemporaryFile(/tmp/multipartBody4420592186038025860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163443542,"filename":"image_03112025_05_24_30_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018514","file1":"1392018513","file0":"1392018510","file4":"1392018525","file5":"1392018529","file3":"1392018523"},"map_files_photo_id_array":[{"photo_id":"1392018529","filename":"file5"},{"photo_id":"1392018514","filename":"file2"},{"photo_id":"1392018525","filename":"file4"},{"photo_id":"1392018513","filename":"file1"},{"photo_id":"1392018510","filename":"file0"},{"photo_id":"1392018523","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018529":["hashtag1","hashtag2"]},{"1392018514":["hashtag1","hashtag2"]},{"1392018523":["hashtag1","hashtag2"]},{"1392018525":["hashtag1","hashtag2"]},{"1392018510":["hashtag1","hashtag2"]},{"1392018513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018529, 1392018514, 1392018523, 1392018525, 1392018510, 1392018513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.3996045589447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:50:43.757621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_57_3587.jpg', '/home/pi/Desktop/images/03112025/05/26/image_03112025_05_26_21_2567.jpg', '/home/pi/Desktop/images/03112025/05/26/image_03112025_05_26_24_3646.jpg', '/home/pi/Desktop/images/03112025/05/26/image_03112025_05_26_38_2570.jpg', '/home/pi/Desktop/images/03112025/05/26/image_03112025_05_26_57_1674.jpg', '/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_02_5322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/25/image_03112025_05_25_57_3587.jpg
/home/pi/Desktop/images/03112025/05/26/image_03112025_05_26_21_2567.jpg
/home/pi/Desktop/images/03112025/05/26/image_03112025_05_26_24_3646.jpg
/home/pi/Desktop/images/03112025/05/26/image_03112025_05_26_38_2570.jpg
/home/pi/Desktop/images/03112025/05/26/image_03112025_05_26_57_1674.jpg
/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_02_5322.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":["1392018575","1392018598","1392018591","1392018581","1392018584","1392018578"],"photo_ids_order":["1392018575","1392018578","1392018581","1392018584","1392018591","1392018598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/015af59a02f3848234716c3c6a900c65.jpg","text":"TemporaryFile(/tmp/multipartBody5392546259753583012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163504584,"filename":"image_03112025_05_25_57_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6acac785e03551cd14735e5397430e42.jpg","text":"TemporaryFile(/tmp/multipartBody6276262850258523757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163504584,"filename":"image_03112025_05_27_02_5322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/436ee8c3e3261e845f734c5095677077.jpg","text":"TemporaryFile(/tmp/multipartBody5119247640445934448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163504584,"filename":"image_03112025_05_26_57_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/3/a67559f305177209123b2e26ae3b48da.jpg","text":"TemporaryFile(/tmp/multipartBody2782264130117980399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163504584,"filename":"image_03112025_05_26_24_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/3/6cbae9df9bd014569afb90f76a104b96.jpg","text":"TemporaryFile(/tmp/multipartBody8715654992162063248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163504584,"filename":"image_03112025_05_26_38_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/3/4aef870169e9c26fed087707b914ecc0.jpg","text":"TemporaryFile(/tmp/multipartBody4358263322536715943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163504584,"filename":"image_03112025_05_26_21_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018581","file1":"1392018578","file0":"1392018575","file4":"1392018591","file5":"1392018598","file3":"1392018584"},"map_files_photo_id_array":[{"photo_id":"1392018598","filename":"file5"},{"photo_id":"1392018581","filename":"file2"},{"photo_id":"1392018591","filename":"file4"},{"photo_id":"1392018578","filename":"file1"},{"photo_id":"1392018575","filename":"file0"},{"photo_id":"1392018584","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018575":["hashtag1","hashtag2"]},{"1392018598":["hashtag1","hashtag2"]},{"1392018591":["hashtag1","hashtag2"]},{"1392018581":["hashtag1","hashtag2"]},{"1392018584":["hashtag1","hashtag2"]},{"1392018578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018575, 1392018598, 1392018591, 1392018581, 1392018584, 1392018578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.8729944229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:51:41.940479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_26_4336.jpg', '/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_38_1657.jpg', '/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_48_4115.jpg', '/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_49_1749.jpg', '/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_56_2667.jpg', '/home/pi/Desktop/images/03112025/05/28/image_03112025_05_28_38_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_26_4336.jpg
/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_38_1657.jpg
/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_48_4115.jpg
/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_49_1749.jpg
/home/pi/Desktop/images/03112025/05/27/image_03112025_05_27_56_2667.jpg
/home/pi/Desktop/images/03112025/05/28/image_03112025_05_28_38_2868.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018671","1392018623","1392018664","1392018646","1392018672","1392018669"],"photo_ids_order":["1392018623","1392018646","1392018664","1392018669","1392018671","1392018672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1c5b71e76dbbe329436ee9f6c4a40163.jpg","text":"TemporaryFile(/tmp/multipartBody4720869127427590027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163562713,"filename":"image_03112025_05_27_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/3/db299859c2c0a5e568d436d81f9b8de9.jpg","text":"TemporaryFile(/tmp/multipartBody8778642622137590859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163562713,"filename":"image_03112025_05_27_26_4336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb11bfae9ffda6a5e80fffa3db0556ac.jpg","text":"TemporaryFile(/tmp/multipartBody5426915427717482940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163562713,"filename":"image_03112025_05_27_48_4115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c83f73b0774ffa15c599226239c6c7ea.jpg","text":"TemporaryFile(/tmp/multipartBody6358469751907671681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163562713,"filename":"image_03112025_05_27_38_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/3/203277726b4e1a266ae3854406d6c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody2279648011965059829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163562713,"filename":"image_03112025_05_28_38_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/3/71b5e0e61aaf1412923654f8e57f0a55.jpg","text":"TemporaryFile(/tmp/multipartBody6426368956617801740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163562713,"filename":"image_03112025_05_27_49_1749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018664","file1":"1392018646","file0":"1392018623","file4":"1392018671","file5":"1392018672","file3":"1392018669"},"map_files_photo_id_array":[{"photo_id":"1392018672","filename":"file5"},{"photo_id":"1392018664","filename":"file2"},{"photo_id":"1392018671","filename":"file4"},{"photo_id":"1392018646","filename":"file1"},{"photo_id":"1392018623","filename":"file0"},{"photo_id":"1392018669","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018671":["hashtag1","hashtag2"]},{"1392018623":["hashtag1","hashtag2"]},{"1392018664":["hashtag1","hashtag2"]},{"1392018646":["hashtag1","hashtag2"]},{"1392018672":["hashtag1","hashtag2"]},{"1392018669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018671, 1392018623, 1392018664, 1392018646, 1392018672, 1392018669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.696154832839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:52:22.147914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/28/image_03112025_05_28_39_1725.jpg', '/home/pi/Desktop/images/03112025/05/28/image_03112025_05_28_41_1658.jpg', '/home/pi/Desktop/images/03112025/05/28/image_03112025_05_28_43_1841.jpg', '/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_05_2387.jpg', '/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_09_1639.jpg', '/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_17_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/28/image_03112025_05_28_39_1725.jpg
/home/pi/Desktop/images/03112025/05/28/image_03112025_05_28_41_1658.jpg
/home/pi/Desktop/images/03112025/05/28/image_03112025_05_28_43_1841.jpg
/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_05_2387.jpg
/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_09_1639.jpg
/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_17_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018692","1392018701","1392018688","1392018697","1392018682","1392018695"],"photo_ids_order":["1392018682","1392018688","1392018692","1392018695","1392018697","1392018701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/502923c333e6a06a1ca99e0173defd16.jpg","text":"TemporaryFile(/tmp/multipartBody2134683205360577788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163602904,"filename":"image_03112025_05_28_43_1841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/552944999c9eacbd3ca84f9aadd1b758.jpg","text":"TemporaryFile(/tmp/multipartBody5416817919251433237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163602904,"filename":"image_03112025_05_29_17_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/3/7ee7853e64c51b2e0bad224e4f15e147.jpg","text":"TemporaryFile(/tmp/multipartBody6886297299300223980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163602904,"filename":"image_03112025_05_28_41_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/3/99907d5c9c69c4eca167f136a6d6a589.jpg","text":"TemporaryFile(/tmp/multipartBody7903928391857089230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163602904,"filename":"image_03112025_05_29_09_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/3/293cfa0dcec6a60fa4b589c1cfe6d7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6406472620892217261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163602904,"filename":"image_03112025_05_28_39_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/3/553f03437d7ec84c97dc16b005041e27.jpg","text":"TemporaryFile(/tmp/multipartBody3099245745320701356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163602904,"filename":"image_03112025_05_29_05_2387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018692","file1":"1392018688","file0":"1392018682","file4":"1392018697","file5":"1392018701","file3":"1392018695"},"map_files_photo_id_array":[{"photo_id":"1392018701","filename":"file5"},{"photo_id":"1392018692","filename":"file2"},{"photo_id":"1392018697","filename":"file4"},{"photo_id":"1392018688","filename":"file1"},{"photo_id":"1392018682","filename":"file0"},{"photo_id":"1392018695","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018692":["hashtag1","hashtag2"]},{"1392018701":["hashtag1","hashtag2"]},{"1392018688":["hashtag1","hashtag2"]},{"1392018697":["hashtag1","hashtag2"]},{"1392018682":["hashtag1","hashtag2"]},{"1392018695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018692, 1392018701, 1392018688, 1392018697, 1392018682, 1392018695)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.6388635635376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:53:22.166054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_21_3706.jpg', '/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_27_1685.jpg', '/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_31_4065.jpg', '/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_33_1716.jpg', '/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_41_2682.jpg', '/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_51_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_21_3706.jpg
/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_27_1685.jpg
/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_31_4065.jpg
/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_33_1716.jpg
/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_41_2682.jpg
/home/pi/Desktop/images/03112025/05/29/image_03112025_05_29_51_2827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018743","1392018737","1392018739","1392018733","1392018747","1392018741"],"photo_ids_order":["1392018733","1392018737","1392018739","1392018741","1392018743","1392018747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/627e39951959a139711b98d16b407c02.jpg","text":"TemporaryFile(/tmp/multipartBody3449427812829476582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163662884,"filename":"image_03112025_05_29_41_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/3/4fe522c6ac70a26943cef6886b6d4fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5177435193615165159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163662884,"filename":"image_03112025_05_29_27_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/455fec5b3e1c3adfb2c28d0d4c9f7da8.jpg","text":"TemporaryFile(/tmp/multipartBody4683164609473478847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163662884,"filename":"image_03112025_05_29_31_4065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/663f04b0fc1049402142e5414f5b528b.jpg","text":"TemporaryFile(/tmp/multipartBody3470623698048810190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163662884,"filename":"image_03112025_05_29_21_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/3/4190e4e02abe28fb51f06fa31959e6cf.jpg","text":"TemporaryFile(/tmp/multipartBody9120468340524428618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163662884,"filename":"image_03112025_05_29_51_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/3/2ada0956df204ec374bf97adad3fedfb.jpg","text":"TemporaryFile(/tmp/multipartBody8015457073684945235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163662884,"filename":"image_03112025_05_29_33_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018739","file1":"1392018737","file0":"1392018733","file4":"1392018743","file5":"1392018747","file3":"1392018741"},"map_files_photo_id_array":[{"photo_id":"1392018747","filename":"file5"},{"photo_id":"1392018739","filename":"file2"},{"photo_id":"1392018743","filename":"file4"},{"photo_id":"1392018737","filename":"file1"},{"photo_id":"1392018733","filename":"file0"},{"photo_id":"1392018741","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018743":["hashtag1","hashtag2"]},{"1392018737":["hashtag1","hashtag2"]},{"1392018739":["hashtag1","hashtag2"]},{"1392018733":["hashtag1","hashtag2"]},{"1392018747":["hashtag1","hashtag2"]},{"1392018741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018743, 1392018737, 1392018739, 1392018733, 1392018747, 1392018741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.792370557785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:54:03.190834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_12_3643.jpg', '/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_17_2733.jpg', '/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_21_3575.jpg', '/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_27_3646.jpg', '/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_30_2707.jpg', '/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_39_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_12_3643.jpg
/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_17_2733.jpg
/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_21_3575.jpg
/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_27_3646.jpg
/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_30_2707.jpg
/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_39_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018772","1392018766","1392018763","1392018759","1392018768","1392018755"],"photo_ids_order":["1392018755","1392018759","1392018763","1392018766","1392018768","1392018772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6167bd02f05630683f9acb48ea95decf.jpg","text":"TemporaryFile(/tmp/multipartBody929164122838794985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163704022,"filename":"image_03112025_05_30_39_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/3/9b3054bfebbba4fd9e043f67f763f3d1.jpg","text":"TemporaryFile(/tmp/multipartBody2045028984268876279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163704022,"filename":"image_03112025_05_30_27_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8173df3f5053f84d8343f1f95ff10c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4659477824891953363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163704022,"filename":"image_03112025_05_30_21_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db93036d1ca539130448039f79579ca3.jpg","text":"TemporaryFile(/tmp/multipartBody7957978751415586041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163704022,"filename":"image_03112025_05_30_17_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/391180be109044a8bfc7829b024467fd.jpg","text":"TemporaryFile(/tmp/multipartBody5989771306408413143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163704022,"filename":"image_03112025_05_30_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/3/62c221c4d3a00905cf8a456a086cd2aa.jpg","text":"TemporaryFile(/tmp/multipartBody8998908591377348942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163704022,"filename":"image_03112025_05_30_12_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018763","file1":"1392018759","file0":"1392018755","file4":"1392018768","file5":"1392018772","file3":"1392018766"},"map_files_photo_id_array":[{"photo_id":"1392018772","filename":"file5"},{"photo_id":"1392018763","filename":"file2"},{"photo_id":"1392018768","filename":"file4"},{"photo_id":"1392018759","filename":"file1"},{"photo_id":"1392018755","filename":"file0"},{"photo_id":"1392018766","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018772":["hashtag1","hashtag2"]},{"1392018766":["hashtag1","hashtag2"]},{"1392018763":["hashtag1","hashtag2"]},{"1392018759":["hashtag1","hashtag2"]},{"1392018768":["hashtag1","hashtag2"]},{"1392018755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018772, 1392018766, 1392018763, 1392018759, 1392018768, 1392018755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.381741523742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:54:42.462509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_48_2678.jpg', '/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_50_2679.jpg', '/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_53_2641.jpg', '/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_08_2569.jpg', '/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_11_2688.jpg', '/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_29_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_48_2678.jpg
/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_50_2679.jpg
/home/pi/Desktop/images/03112025/05/30/image_03112025_05_30_53_2641.jpg
/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_08_2569.jpg
/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_11_2688.jpg
/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_29_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018806","1392018809","1392018803","1392018811","1392018801","1392018788"],"photo_ids_order":["1392018788","1392018801","1392018803","1392018806","1392018809","1392018811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6bc93a600d40e6b526eacc45e8c491e1.jpg","text":"TemporaryFile(/tmp/multipartBody652473036638219431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163743304,"filename":"image_03112025_05_31_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/3/032d56e6963d1a031216f20907938297.jpg","text":"TemporaryFile(/tmp/multipartBody3174594410853153168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163743304,"filename":"image_03112025_05_31_11_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6483fc90cb526a760afe7ed03498e15d.jpg","text":"TemporaryFile(/tmp/multipartBody1931496178126030722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163743304,"filename":"image_03112025_05_30_53_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8f0d2d3cfbc9cc2adb30c59cbf115b6a.jpg","text":"TemporaryFile(/tmp/multipartBody4408337598749187917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163743304,"filename":"image_03112025_05_31_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/3/64b0ba85ef46be6bf42545508b9a2fe1.jpg","text":"TemporaryFile(/tmp/multipartBody8050914986429347266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163743304,"filename":"image_03112025_05_30_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/3/8bf32141de91e256747b3936bc301fef.jpg","text":"TemporaryFile(/tmp/multipartBody182994475647679031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163743304,"filename":"image_03112025_05_30_48_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018803","file1":"1392018801","file0":"1392018788","file4":"1392018809","file5":"1392018811","file3":"1392018806"},"map_files_photo_id_array":[{"photo_id":"1392018811","filename":"file5"},{"photo_id":"1392018803","filename":"file2"},{"photo_id":"1392018809","filename":"file4"},{"photo_id":"1392018801","filename":"file1"},{"photo_id":"1392018788","filename":"file0"},{"photo_id":"1392018806","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018806":["hashtag1","hashtag2"]},{"1392018809":["hashtag1","hashtag2"]},{"1392018803":["hashtag1","hashtag2"]},{"1392018811":["hashtag1","hashtag2"]},{"1392018801":["hashtag1","hashtag2"]},{"1392018788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018806, 1392018809, 1392018803, 1392018811, 1392018801, 1392018788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66105580329895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:55:22.691607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_36_3680.jpg', '/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_41_2651.jpg', '/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_59_2659.jpg', '/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_08_2718.jpg', '/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_11_2613.jpg', '/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_15_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_36_3680.jpg
/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_41_2651.jpg
/home/pi/Desktop/images/03112025/05/31/image_03112025_05_31_59_2659.jpg
/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_08_2718.jpg
/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_11_2613.jpg
/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_15_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018857","1392018851","1392018848","1392018833","1392018829","1392018854"],"photo_ids_order":["1392018829","1392018833","1392018848","1392018851","1392018854","1392018857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0642ed59fc1ddc2f8e108d08c5ce72b5.jpg","text":"TemporaryFile(/tmp/multipartBody7664932348987406914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163783447,"filename":"image_03112025_05_32_15_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/3/24b2155af29ad8ee50204cad6f5d5fcd.jpg","text":"TemporaryFile(/tmp/multipartBody3742137162468615277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163783447,"filename":"image_03112025_05_32_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/3/a45012d588ff043f3b6357286b5197d3.jpg","text":"TemporaryFile(/tmp/multipartBody8405869642774794172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163783447,"filename":"image_03112025_05_31_59_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/3/5a2d4fc7d89a36ae8869a92217045e61.jpg","text":"TemporaryFile(/tmp/multipartBody4507194984438523124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163783447,"filename":"image_03112025_05_31_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/3/d29da73f9185e2642f77caba381ba128.jpg","text":"TemporaryFile(/tmp/multipartBody7289675646782403943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163783447,"filename":"image_03112025_05_31_36_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/3/cb26422395614bf844034db4cb5c0ed7.jpg","text":"TemporaryFile(/tmp/multipartBody1358138609458540011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163783447,"filename":"image_03112025_05_32_11_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018848","file1":"1392018833","file0":"1392018829","file4":"1392018854","file5":"1392018857","file3":"1392018851"},"map_files_photo_id_array":[{"photo_id":"1392018857","filename":"file5"},{"photo_id":"1392018848","filename":"file2"},{"photo_id":"1392018854","filename":"file4"},{"photo_id":"1392018833","filename":"file1"},{"photo_id":"1392018829","filename":"file0"},{"photo_id":"1392018851","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018857":["hashtag1","hashtag2"]},{"1392018851":["hashtag1","hashtag2"]},{"1392018848":["hashtag1","hashtag2"]},{"1392018833":["hashtag1","hashtag2"]},{"1392018829":["hashtag1","hashtag2"]},{"1392018854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018857, 1392018851, 1392018848, 1392018833, 1392018829, 1392018854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.923972368240356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:56:03.187902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_38_2993.jpg', '/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_53_2726.jpg', '/home/pi/Desktop/images/03112025/05/32/image_03112025_05_33_00_3614.jpg', '/home/pi/Desktop/images/03112025/05/33/image_03112025_05_33_50_11744.jpg', '/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_09_1625.jpg', '/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_11_1780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_38_2993.jpg
/home/pi/Desktop/images/03112025/05/32/image_03112025_05_32_53_2726.jpg
/home/pi/Desktop/images/03112025/05/32/image_03112025_05_33_00_3614.jpg
/home/pi/Desktop/images/03112025/05/33/image_03112025_05_33_50_11744.jpg
/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_09_1625.jpg
/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_11_1780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018883","1392018865","1392018876","1392018879","1392018870","1392018887"],"photo_ids_order":["1392018865","1392018870","1392018876","1392018879","1392018883","1392018887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/325f7a36ede2fede895d800d6045042d.jpg","text":"TemporaryFile(/tmp/multipartBody7060508281693051800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163824053,"filename":"image_03112025_05_34_09_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/3/f51a6feec867d22548b1654beca092a5.jpg","text":"TemporaryFile(/tmp/multipartBody2197077016468106591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163824053,"filename":"image_03112025_05_32_38_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/3/7d5beae98f7de000d1afb85555162a7a.jpg","text":"TemporaryFile(/tmp/multipartBody6654624356385998091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163824053,"filename":"image_03112025_05_33_00_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/3/ae416dac8c98e62869eda81d35a10c69.jpg","text":"TemporaryFile(/tmp/multipartBody4117559894903071986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163824053,"filename":"image_03112025_05_33_50_11744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b637807ef3dfcd3e03700b0477fe2a0.jpg","text":"TemporaryFile(/tmp/multipartBody3467075444204104753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163824053,"filename":"image_03112025_05_32_53_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/3/350e3ec1f841b0841ea2f25135b81dbe.jpg","text":"TemporaryFile(/tmp/multipartBody5075652724868784202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163824053,"filename":"image_03112025_05_34_11_1780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018876","file1":"1392018870","file0":"1392018865","file4":"1392018883","file5":"1392018887","file3":"1392018879"},"map_files_photo_id_array":[{"photo_id":"1392018887","filename":"file5"},{"photo_id":"1392018876","filename":"file2"},{"photo_id":"1392018883","filename":"file4"},{"photo_id":"1392018870","filename":"file1"},{"photo_id":"1392018865","filename":"file0"},{"photo_id":"1392018879","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018883":["hashtag1","hashtag2"]},{"1392018865":["hashtag1","hashtag2"]},{"1392018876":["hashtag1","hashtag2"]},{"1392018879":["hashtag1","hashtag2"]},{"1392018870":["hashtag1","hashtag2"]},{"1392018887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018883, 1392018865, 1392018876, 1392018879, 1392018870, 1392018887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3448441028595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 10:56:42.657980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_13_1636.jpg', '/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_21_1918.jpg', '/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_25_4107.jpg', '/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_44_10173.jpg', '/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_48_1907.jpg', '/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_50_1774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_13_1636.jpg
/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_21_1918.jpg
/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_25_4107.jpg
/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_44_10173.jpg
/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_48_1907.jpg
/home/pi/Desktop/images/03112025/05/34/image_03112025_05_34_50_1774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018908","1392018904","1392018897","1392018912","1392018915","1392018900"],"photo_ids_order":["1392018897","1392018900","1392018904","1392018908","1392018912","1392018915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3a28e5f2fcad82e1813e3d0be9b278aa.jpg","text":"TemporaryFile(/tmp/multipartBody9036716611091844627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163863450,"filename":"image_03112025_05_34_44_10173.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/34f88cd49a41d94b0d6e7299f12f838a.jpg","text":"TemporaryFile(/tmp/multipartBody8231002081857056355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163863450,"filename":"image_03112025_05_34_25_4107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/17a89d78ff3a4b960cad91451ab54935.jpg","text":"TemporaryFile(/tmp/multipartBody1127469339311700502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163863450,"filename":"image_03112025_05_34_13_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/3/0c839078697857f1e8c1089372e373b6.jpg","text":"TemporaryFile(/tmp/multipartBody5906496881062083047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163863450,"filename":"image_03112025_05_34_48_1907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/efe04f9fdadf08b12439f8e0f319a4da.jpg","text":"TemporaryFile(/tmp/multipartBody38673852153133654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163863450,"filename":"image_03112025_05_34_50_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/3/836f496648c370ee4d0902ead9a61704.jpg","text":"TemporaryFile(/tmp/multipartBody5047716314189316326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163863450,"filename":"image_03112025_05_34_21_1918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018904","file1":"1392018900","file0":"1392018897","file4":"1392018912","file5":"1392018915","file3":"1392018908"},"map_files_photo_id_array":[{"photo_id":"1392018915","filename":"file5"},{"photo_id":"1392018904","filename":"file2"},{"photo_id":"1392018912","filename":"file4"},{"photo_id":"1392018900","filename":"file1"},{"photo_id":"1392018897","filename":"file0"},{"photo_id":"1392018908","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018908":["hashtag1","hashtag2"]},{"1392018904":["hashtag1","hashtag2"]},{"1392018897":["hashtag1","hashtag2"]},{"1392018912":["hashtag1","hashtag2"]},{"1392018915":["hashtag1","hashtag2"]},{"1392018900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018908, 1392018904, 1392018897, 1392018912, 1392018915, 1392018900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.075944900512695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 10:57:21.869004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_02_4250.jpg', '/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_17_1583.jpg', '/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_38_5883.jpg', '/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_46_1792.jpg', '/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_47_1650.jpg', '/home/pi/Desktop/images/03112025/05/37/image_03112025_05_37_44_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_02_4250.jpg
/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_17_1583.jpg
/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_38_5883.jpg
/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_46_1792.jpg
/home/pi/Desktop/images/03112025/05/35/image_03112025_05_35_47_1650.jpg
/home/pi/Desktop/images/03112025/05/37/image_03112025_05_37_44_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392018938","1392018926","1392018934","1392018928","1392018931","1392018924"],"photo_ids_order":["1392018924","1392018926","1392018928","1392018931","1392018934","1392018938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe7af731fdf85bf63e0def8a98e66338.jpg","text":"TemporaryFile(/tmp/multipartBody680401853134941142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163902618,"filename":"image_03112025_05_37_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/3/d56fbe23828a6669e868623b1af574e2.jpg","text":"TemporaryFile(/tmp/multipartBody5000680047850825366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163902618,"filename":"image_03112025_05_35_17_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/3/39594a29823a35daa117273f9dac92a3.jpg","text":"TemporaryFile(/tmp/multipartBody1357277199108278914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163902618,"filename":"image_03112025_05_35_47_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/3/9134dcc519c5514c2daa19f8f09cb7e0.jpg","text":"TemporaryFile(/tmp/multipartBody3541157506775081374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163902618,"filename":"image_03112025_05_35_38_5883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5fe31f6363921c3a1736b20a8b5d2599.jpg","text":"TemporaryFile(/tmp/multipartBody8043273316695285717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163902618,"filename":"image_03112025_05_35_46_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/3/f29d72f2ce3908f0cbb9adfa90eebe38.jpg","text":"TemporaryFile(/tmp/multipartBody7392398848018168273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762163902618,"filename":"image_03112025_05_35_02_4250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392018928","file1":"1392018926","file0":"1392018924","file4":"1392018934","file5":"1392018938","file3":"1392018931"},"map_files_photo_id_array":[{"photo_id":"1392018938","filename":"file5"},{"photo_id":"1392018928","filename":"file2"},{"photo_id":"1392018934","filename":"file4"},{"photo_id":"1392018926","filename":"file1"},{"photo_id":"1392018924","filename":"file0"},{"photo_id":"1392018931","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392018938":["hashtag1","hashtag2"]},{"1392018926":["hashtag1","hashtag2"]},{"1392018934":["hashtag1","hashtag2"]},{"1392018928":["hashtag1","hashtag2"]},{"1392018931":["hashtag1","hashtag2"]},{"1392018924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392018938, 1392018926, 1392018934, 1392018928, 1392018931, 1392018924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30660319328308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 10:59:03.168869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/37/image_03112025_05_37_53_3609.jpg', '/home/pi/Desktop/images/03112025/05/38/image_03112025_05_38_17_2881.jpg', '/home/pi/Desktop/images/03112025/05/38/image_03112025_05_38_44_3589.jpg', '/home/pi/Desktop/images/03112025/05/38/image_03112025_05_38_49_2664.jpg', '/home/pi/Desktop/images/03112025/05/40/image_03112025_05_40_49_2726.jpg', '/home/pi/Desktop/images/03112025/05/40/image_03112025_05_40_52_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/37/image_03112025_05_37_53_3609.jpg
/home/pi/Desktop/images/03112025/05/38/image_03112025_05_38_17_2881.jpg
/home/pi/Desktop/images/03112025/05/38/image_03112025_05_38_44_3589.jpg
/home/pi/Desktop/images/03112025/05/38/image_03112025_05_38_49_2664.jpg
/home/pi/Desktop/images/03112025/05/40/image_03112025_05_40_49_2726.jpg
/home/pi/Desktop/images/03112025/05/40/image_03112025_05_40_52_2785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392019516","1392019494","1392019521","1392019511","1392019505","1392019454"],"photo_ids_order":["1392019454","1392019494","1392019505","1392019511","1392019516","1392019521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/038b4cb8585a42667c46d68a8f4e285d.jpg","text":"TemporaryFile(/tmp/multipartBody3654585020754148891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164004128,"filename":"image_03112025_05_40_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/3/c25147d1e5165201b2b0faf6377f679b.jpg","text":"TemporaryFile(/tmp/multipartBody6963964002867391191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164004128,"filename":"image_03112025_05_38_17_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/3/f9e21229056e2216b93ddfd5ce1bed79.jpg","text":"TemporaryFile(/tmp/multipartBody2364837983228718702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164004128,"filename":"image_03112025_05_40_52_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db5961f9473ea2a612697232198ff9ad.jpg","text":"TemporaryFile(/tmp/multipartBody7048022865230130866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164004128,"filename":"image_03112025_05_38_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/3/3d91d91cbafdcf21a3955c0e777ad075.jpg","text":"TemporaryFile(/tmp/multipartBody6532700193953330475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164004128,"filename":"image_03112025_05_38_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/3/825ed4fc2aa46e8b2917def19ad33caf.jpg","text":"TemporaryFile(/tmp/multipartBody4980024935600692233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164004128,"filename":"image_03112025_05_37_53_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392019505","file1":"1392019494","file0":"1392019454","file4":"1392019516","file5":"1392019521","file3":"1392019511"},"map_files_photo_id_array":[{"photo_id":"1392019521","filename":"file5"},{"photo_id":"1392019505","filename":"file2"},{"photo_id":"1392019516","filename":"file4"},{"photo_id":"1392019494","filename":"file1"},{"photo_id":"1392019454","filename":"file0"},{"photo_id":"1392019511","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392019516":["hashtag1","hashtag2"]},{"1392019494":["hashtag1","hashtag2"]},{"1392019521":["hashtag1","hashtag2"]},{"1392019511":["hashtag1","hashtag2"]},{"1392019505":["hashtag1","hashtag2"]},{"1392019454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392019516, 1392019494, 1392019521, 1392019511, 1392019505, 1392019454)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.513418674468994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:00:02.750256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_07_2600.jpg', '/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_14_3666.jpg', '/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_25_2774.jpg', '/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_40_2712.jpg', '/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_43_2920.jpg', '/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_47_3876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_07_2600.jpg
/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_14_3666.jpg
/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_25_2774.jpg
/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_40_2712.jpg
/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_43_2920.jpg
/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_47_3876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392019700","1392019753","1392019695","1392019671","1392019749","1392019724"],"photo_ids_order":["1392019671","1392019695","1392019700","1392019724","1392019749","1392019753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9b28e5efad0b64d604e3020ef7292a47.jpg","text":"TemporaryFile(/tmp/multipartBody1057797454083120727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164063579,"filename":"image_03112025_05_41_25_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/3/5857a86e63a5f73b03f269ec142212ee.jpg","text":"TemporaryFile(/tmp/multipartBody739477751507808594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164063579,"filename":"image_03112025_05_41_47_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/3/c940e92369ef7eb2161c49289c5a536e.jpg","text":"TemporaryFile(/tmp/multipartBody2424741326035331063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164063579,"filename":"image_03112025_05_41_14_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/3/d226926b63c6083bb6fc02f7b8c68c22.jpg","text":"TemporaryFile(/tmp/multipartBody5042415901564094363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164063579,"filename":"image_03112025_05_41_07_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/3/1026622efe88cac712c11b755e9bc5ce.jpg","text":"TemporaryFile(/tmp/multipartBody8386385040642930208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164063579,"filename":"image_03112025_05_41_43_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/3/9704011dee90311f436d54385ff2d80a.jpg","text":"TemporaryFile(/tmp/multipartBody6984941828046648168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164063579,"filename":"image_03112025_05_41_40_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392019700","file1":"1392019695","file0":"1392019671","file4":"1392019749","file5":"1392019753","file3":"1392019724"},"map_files_photo_id_array":[{"photo_id":"1392019753","filename":"file5"},{"photo_id":"1392019700","filename":"file2"},{"photo_id":"1392019749","filename":"file4"},{"photo_id":"1392019695","filename":"file1"},{"photo_id":"1392019671","filename":"file0"},{"photo_id":"1392019724","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392019700":["hashtag1","hashtag2"]},{"1392019753":["hashtag1","hashtag2"]},{"1392019695":["hashtag1","hashtag2"]},{"1392019671":["hashtag1","hashtag2"]},{"1392019749":["hashtag1","hashtag2"]},{"1392019724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392019700, 1392019753, 1392019695, 1392019671, 1392019749, 1392019724)","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 = 1392019700 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/05/41/image_03112025_05_41_25_2774.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.2649610042572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:01:03.107517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_08_3692.jpg', '/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_10_2668.jpg', '/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_26_3669.jpg', '/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_28_2663.jpg', '/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_34_2843.jpg', '/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_38_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_08_3692.jpg
/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_10_2668.jpg
/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_26_3669.jpg
/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_28_2663.jpg
/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_34_2843.jpg
/home/pi/Desktop/images/03112025/05/42/image_03112025_05_42_38_3756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392020150","1392020336","1392020027","1392020443","1392020233","1392020070"],"photo_ids_order":["1392020027","1392020070","1392020150","1392020233","1392020336","1392020443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b011014c0f7fe8c6bf052c83fc455aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1660751410343460786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164125999,"filename":"image_03112025_05_42_26_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/3/58d8e967c5e14110b0ff92e38509e3ba.jpg","text":"TemporaryFile(/tmp/multipartBody8343699706741205742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164125999,"filename":"image_03112025_05_42_34_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/3/d33d2a741e75d73a8731897e1996c8fd.jpg","text":"TemporaryFile(/tmp/multipartBody2698470076174442973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164125999,"filename":"image_03112025_05_42_08_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/3/e8d51715dd8d80e3b09e3a89d7718e3c.jpg","text":"TemporaryFile(/tmp/multipartBody3940885279707233245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164125999,"filename":"image_03112025_05_42_38_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/3/04747503da575b6f91e486806969aa9b.jpg","text":"TemporaryFile(/tmp/multipartBody1488162961818568594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164125999,"filename":"image_03112025_05_42_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/3/e634bcb5d2dc55bd382a8d0f495aaf7e.jpg","text":"TemporaryFile(/tmp/multipartBody3048399204561787497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164125999,"filename":"image_03112025_05_42_10_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392020150","file1":"1392020070","file0":"1392020027","file4":"1392020336","file5":"1392020443","file3":"1392020233"},"map_files_photo_id_array":[{"photo_id":"1392020443","filename":"file5"},{"photo_id":"1392020150","filename":"file2"},{"photo_id":"1392020336","filename":"file4"},{"photo_id":"1392020070","filename":"file1"},{"photo_id":"1392020027","filename":"file0"},{"photo_id":"1392020233","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392020150":["hashtag1","hashtag2"]},{"1392020336":["hashtag1","hashtag2"]},{"1392020027":["hashtag1","hashtag2"]},{"1392020443":["hashtag1","hashtag2"]},{"1392020233":["hashtag1","hashtag2"]},{"1392020070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392020150, 1392020336, 1392020027, 1392020443, 1392020233, 1392020070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93323254585266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:02:02.271932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/43/image_03112025_05_43_20_3680.jpg', '/home/pi/Desktop/images/03112025/05/43/image_03112025_05_43_32_3854.jpg', '/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_19_2627.jpg', '/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_22_2772.jpg', '/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_40_3632.jpg', '/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_46_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/43/image_03112025_05_43_20_3680.jpg
/home/pi/Desktop/images/03112025/05/43/image_03112025_05_43_32_3854.jpg
/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_19_2627.jpg
/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_22_2772.jpg
/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_40_3632.jpg
/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_46_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":["1392021202","1392020985","1392021114","1392021024","1392021158","1392021065"],"photo_ids_order":["1392020985","1392021024","1392021065","1392021114","1392021158","1392021202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d96272424169f304c2b8e69d72851f70.jpg","text":"TemporaryFile(/tmp/multipartBody1829665277910427297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164185832,"filename":"image_03112025_05_44_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/3/4c0efa481a374c8d1b78b66444a4f170.jpg","text":"TemporaryFile(/tmp/multipartBody7802592671104109539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164185832,"filename":"image_03112025_05_43_20_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/3/3b4add80a360efeceb2e2809c0bdf4d8.jpg","text":"TemporaryFile(/tmp/multipartBody5087845429096340377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164185832,"filename":"image_03112025_05_44_22_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/3/8debdb810ae7ed44517dae4ee72650b4.jpg","text":"TemporaryFile(/tmp/multipartBody6576151336485876529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164185832,"filename":"image_03112025_05_43_32_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/3/9d51fe06699d3b679e0a29de7647060b.jpg","text":"TemporaryFile(/tmp/multipartBody1951127814924020891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164185832,"filename":"image_03112025_05_44_40_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/3/407b41beb7ba5f751b03581f6caacd93.jpg","text":"TemporaryFile(/tmp/multipartBody6456485535428110625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164185832,"filename":"image_03112025_05_44_19_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392021065","file1":"1392021024","file0":"1392020985","file4":"1392021158","file5":"1392021202","file3":"1392021114"},"map_files_photo_id_array":[{"photo_id":"1392021202","filename":"file5"},{"photo_id":"1392021065","filename":"file2"},{"photo_id":"1392021158","filename":"file4"},{"photo_id":"1392021024","filename":"file1"},{"photo_id":"1392020985","filename":"file0"},{"photo_id":"1392021114","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392021202":["hashtag1","hashtag2"]},{"1392020985":["hashtag1","hashtag2"]},{"1392021114":["hashtag1","hashtag2"]},{"1392021024":["hashtag1","hashtag2"]},{"1392021158":["hashtag1","hashtag2"]},{"1392021065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392021202, 1392020985, 1392021114, 1392021024, 1392021158, 1392021065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.51567196846008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:03:05.304584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 11:03:22.743324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_49_3726.jpg', '/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_52_2585.jpg', '/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_55_2857.jpg', '/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_10_2656.jpg', '/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_13_2724.jpg', '/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_44_4303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_49_3726.jpg
/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_52_2585.jpg
/home/pi/Desktop/images/03112025/05/44/image_03112025_05_44_55_2857.jpg
/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_10_2656.jpg
/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_13_2724.jpg
/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_44_4303.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392021902","1392021949","1392021907","1392021885","1392021899","1392021911"],"photo_ids_order":["1392021885","1392021899","1392021902","1392021907","1392021911","1392021949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2480238206f33c6c27be2d7e1678bd49.jpg","text":"TemporaryFile(/tmp/multipartBody1414246453368568607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164263548,"filename":"image_03112025_05_44_55_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/3/be271a21cc2993d7515e2c5a8c4f1035.jpg","text":"TemporaryFile(/tmp/multipartBody3960793643273347411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164263548,"filename":"image_03112025_05_45_44_4303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e2b7c4a31aa1d483719df474f1675ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7803575841400540143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164263548,"filename":"image_03112025_05_45_10_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6472771027ebe7dfcebcfee4b4db699d.jpg","text":"TemporaryFile(/tmp/multipartBody2869193207179894800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164263548,"filename":"image_03112025_05_44_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/3/c21b2e8e6119d69b046eb563a66a2673.jpg","text":"TemporaryFile(/tmp/multipartBody8982405322297639811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164263548,"filename":"image_03112025_05_44_52_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/3/73254d6a3ab1e852525707a04e19e8a5.jpg","text":"TemporaryFile(/tmp/multipartBody8454110324029603277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164263548,"filename":"image_03112025_05_45_13_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392021902","file1":"1392021899","file0":"1392021885","file4":"1392021911","file5":"1392021949","file3":"1392021907"},"map_files_photo_id_array":[{"photo_id":"1392021949","filename":"file5"},{"photo_id":"1392021902","filename":"file2"},{"photo_id":"1392021911","filename":"file4"},{"photo_id":"1392021899","filename":"file1"},{"photo_id":"1392021885","filename":"file0"},{"photo_id":"1392021907","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392021902":["hashtag1","hashtag2"]},{"1392021949":["hashtag1","hashtag2"]},{"1392021907":["hashtag1","hashtag2"]},{"1392021885":["hashtag1","hashtag2"]},{"1392021899":["hashtag1","hashtag2"]},{"1392021911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392021902, 1392021949, 1392021907, 1392021885, 1392021899, 1392021911)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.49188828468323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:04:24.559710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_52_3691.jpg', '/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_55_2923.jpg', '/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_07_2715.jpg', '/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_13_3683.jpg', '/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_16_2772.jpg', '/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_33_8483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_52_3691.jpg
/home/pi/Desktop/images/03112025/05/45/image_03112025_05_45_55_2923.jpg
/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_07_2715.jpg
/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_13_3683.jpg
/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_16_2772.jpg
/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_33_8483.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392022095","1392022098","1392022077","1392022071","1392022097","1392022085"],"photo_ids_order":["1392022071","1392022077","1392022085","1392022095","1392022097","1392022098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b47adce1910b365cf544edc7d0832955.jpg","text":"TemporaryFile(/tmp/multipartBody2849857149997277794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164325350,"filename":"image_03112025_05_46_13_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/3/05e3c182fa369908c573e6959a5ec67e.jpg","text":"TemporaryFile(/tmp/multipartBody1018867288471871449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164325350,"filename":"image_03112025_05_46_33_8483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/122bb20f347db6690251bf8e2162f18e.jpg","text":"TemporaryFile(/tmp/multipartBody6229756763944323235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164325350,"filename":"image_03112025_05_45_55_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/3/19a838623c5d4edc8fe0046cd4a39766.jpg","text":"TemporaryFile(/tmp/multipartBody1262971996911189555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164325350,"filename":"image_03112025_05_45_52_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/3/84d7f7316fe8f23340fcaca1d895af98.jpg","text":"TemporaryFile(/tmp/multipartBody1193822279411758345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164325350,"filename":"image_03112025_05_46_16_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/3/54202cd97916c3c6ab8c50438fb9c48b.jpg","text":"TemporaryFile(/tmp/multipartBody7526724393370809986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164325350,"filename":"image_03112025_05_46_07_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392022085","file1":"1392022077","file0":"1392022071","file4":"1392022097","file5":"1392022098","file3":"1392022095"},"map_files_photo_id_array":[{"photo_id":"1392022098","filename":"file5"},{"photo_id":"1392022085","filename":"file2"},{"photo_id":"1392022097","filename":"file4"},{"photo_id":"1392022077","filename":"file1"},{"photo_id":"1392022071","filename":"file0"},{"photo_id":"1392022095","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392022095":["hashtag1","hashtag2"]},{"1392022098":["hashtag1","hashtag2"]},{"1392022077":["hashtag1","hashtag2"]},{"1392022071":["hashtag1","hashtag2"]},{"1392022097":["hashtag1","hashtag2"]},{"1392022085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392022095, 1392022098, 1392022077, 1392022071, 1392022097, 1392022085)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.96234583854675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:05:22.656242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 11:05:47.639188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_36_3155.jpg', '/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_46_3698.jpg', '/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_52_2561.jpg', '/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_55_3700.jpg', '/home/pi/Desktop/images/03112025/05/47/image_03112025_05_47_04_3656.jpg', '/home/pi/Desktop/images/03112025/05/47/image_03112025_05_47_24_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_36_3155.jpg
/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_46_3698.jpg
/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_52_2561.jpg
/home/pi/Desktop/images/03112025/05/46/image_03112025_05_46_55_3700.jpg
/home/pi/Desktop/images/03112025/05/47/image_03112025_05_47_04_3656.jpg
/home/pi/Desktop/images/03112025/05/47/image_03112025_05_47_24_2793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392022630","1392022563","1392022719","1392022691","1392022703","1392022709"],"photo_ids_order":["1392022563","1392022630","1392022691","1392022703","1392022709","1392022719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/969326df43a54e47fa6b6600f021058a.jpg","text":"TemporaryFile(/tmp/multipartBody5931487755870534897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164412810,"filename":"image_03112025_05_46_46_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/3/0dc3ec99bad5e5c86091d3f0161535f9.jpg","text":"TemporaryFile(/tmp/multipartBody7371137534935214197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164412810,"filename":"image_03112025_05_46_36_3155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9769f4dfcbcdb80f3804bcdf0e90bb8e.jpg","text":"TemporaryFile(/tmp/multipartBody8146477453163791710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164412810,"filename":"image_03112025_05_47_24_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/3/439440899d0066cb0de3023b32890332.jpg","text":"TemporaryFile(/tmp/multipartBody460831670663806015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164412810,"filename":"image_03112025_05_46_52_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/3/2c8bb75ce202531196167e45783a500f.jpg","text":"TemporaryFile(/tmp/multipartBody8576999896467999232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164412810,"filename":"image_03112025_05_46_55_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/3/bb64fd53f42deeb3840431831d11aa2f.jpg","text":"TemporaryFile(/tmp/multipartBody2300622148010285381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164412810,"filename":"image_03112025_05_47_04_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392022691","file1":"1392022630","file0":"1392022563","file4":"1392022709","file5":"1392022719","file3":"1392022703"},"map_files_photo_id_array":[{"photo_id":"1392022719","filename":"file5"},{"photo_id":"1392022691","filename":"file2"},{"photo_id":"1392022709","filename":"file4"},{"photo_id":"1392022630","filename":"file1"},{"photo_id":"1392022563","filename":"file0"},{"photo_id":"1392022703","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392022630":["hashtag1","hashtag2"]},{"1392022563":["hashtag1","hashtag2"]},{"1392022719":["hashtag1","hashtag2"]},{"1392022691":["hashtag1","hashtag2"]},{"1392022703":["hashtag1","hashtag2"]},{"1392022709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392022630, 1392022563, 1392022719, 1392022691, 1392022703, 1392022709)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 97.68293309211731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:07:42.080673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/47/image_03112025_05_47_28_3798.jpg', '/home/pi/Desktop/images/03112025/05/47/image_03112025_05_47_36_2697.jpg', '/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_07_3611.jpg', '/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_10_2651.jpg', '/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_13_3665.jpg', '/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_22_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/47/image_03112025_05_47_28_3798.jpg
/home/pi/Desktop/images/03112025/05/47/image_03112025_05_47_36_2697.jpg
/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_07_3611.jpg
/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_10_2651.jpg
/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_13_3665.jpg
/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_22_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392022873","1392022854","1392022857","1392022851","1392022856","1392022876"],"photo_ids_order":["1392022851","1392022854","1392022856","1392022857","1392022873","1392022876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8834b7af78348d9aa39cfdb3358e2491.jpg","text":"TemporaryFile(/tmp/multipartBody946013833776617463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164525787,"filename":"image_03112025_05_48_13_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/3/beb63f70d06ef0991e7d2e1163e7403c.jpg","text":"TemporaryFile(/tmp/multipartBody3569338868566416799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164525787,"filename":"image_03112025_05_47_36_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b50b49e72251a0544b1c86d173d6a88f.jpg","text":"TemporaryFile(/tmp/multipartBody6545804728118113773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164525787,"filename":"image_03112025_05_48_10_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/3/822d522166c47a7673147e67abd8804d.jpg","text":"TemporaryFile(/tmp/multipartBody4105129205062988093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164525787,"filename":"image_03112025_05_47_28_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/3/a70d6cd9a2a97f0e1fa4fcb62083b47c.jpg","text":"TemporaryFile(/tmp/multipartBody7881769615498578383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164525787,"filename":"image_03112025_05_48_07_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/414e0e6fb3e281c1286249516527bc51.jpg","text":"TemporaryFile(/tmp/multipartBody9189061920056925225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164525787,"filename":"image_03112025_05_48_22_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392022856","file1":"1392022854","file0":"1392022851","file4":"1392022873","file5":"1392022876","file3":"1392022857"},"map_files_photo_id_array":[{"photo_id":"1392022876","filename":"file5"},{"photo_id":"1392022856","filename":"file2"},{"photo_id":"1392022873","filename":"file4"},{"photo_id":"1392022854","filename":"file1"},{"photo_id":"1392022851","filename":"file0"},{"photo_id":"1392022857","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392022873":["hashtag1","hashtag2"]},{"1392022854":["hashtag1","hashtag2"]},{"1392022857":["hashtag1","hashtag2"]},{"1392022851":["hashtag1","hashtag2"]},{"1392022856":["hashtag1","hashtag2"]},{"1392022876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392022873, 1392022854, 1392022857, 1392022851, 1392022856, 1392022876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20350384712219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:08:22.226071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_31_3683.jpg', '/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_40_3620.jpg', '/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_43_2550.jpg', '/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_52_2651.jpg', '/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_01_2718.jpg', '/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_12_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_31_3683.jpg
/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_40_3620.jpg
/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_43_2550.jpg
/home/pi/Desktop/images/03112025/05/48/image_03112025_05_48_52_2651.jpg
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_01_2718.jpg
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_12_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392022974","1392023063","1392022929","1392023075","1392023015","1392023053"],"photo_ids_order":["1392022929","1392022974","1392023015","1392023053","1392023063","1392023075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36498abbe4e78e4fa8c701234ccecd03.jpg","text":"TemporaryFile(/tmp/multipartBody2243743706864432375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164562976,"filename":"image_03112025_05_48_40_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9e8c5fa1482e336c45d2b74e6764405c.jpg","text":"TemporaryFile(/tmp/multipartBody7072478891857893247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164562976,"filename":"image_03112025_05_49_01_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/edf1c92e7291d7e02ce57a7295dc7e03.jpg","text":"TemporaryFile(/tmp/multipartBody8571795713331106390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164562976,"filename":"image_03112025_05_48_31_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/3/5ab9c292f101c0b60196156335dcc238.jpg","text":"TemporaryFile(/tmp/multipartBody5763008029490979114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164562976,"filename":"image_03112025_05_49_12_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/3/9768870c4e65f3c59cc3769965387c65.jpg","text":"TemporaryFile(/tmp/multipartBody4047534269071206774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164562976,"filename":"image_03112025_05_48_43_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71ad866261263325ad9f0317d2e750aa.jpg","text":"TemporaryFile(/tmp/multipartBody4624867282414024702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164562976,"filename":"image_03112025_05_48_52_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023015","file1":"1392022974","file0":"1392022929","file4":"1392023063","file5":"1392023075","file3":"1392023053"},"map_files_photo_id_array":[{"photo_id":"1392023075","filename":"file5"},{"photo_id":"1392023015","filename":"file2"},{"photo_id":"1392023063","filename":"file4"},{"photo_id":"1392022974","filename":"file1"},{"photo_id":"1392022929","filename":"file0"},{"photo_id":"1392023053","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392022974":["hashtag1","hashtag2"]},{"1392023063":["hashtag1","hashtag2"]},{"1392022929":["hashtag1","hashtag2"]},{"1392023075":["hashtag1","hashtag2"]},{"1392023015":["hashtag1","hashtag2"]},{"1392023053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392022974, 1392023063, 1392022929, 1392023075, 1392023015, 1392023053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04439640045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:09:03.253300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_16_3674.jpg', '/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_19_2624.jpg', '/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_28_2745.jpg', '/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_30_2579.jpg', '/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_34_3703.jpg', '/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_36_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_16_3674.jpg
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_19_2624.jpg
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_28_2745.jpg
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_30_2579.jpg
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_34_3703.jpg
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_36_2549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392023091","1392023085","1392023088","1392023090","1392023114","1392023149"],"photo_ids_order":["1392023085","1392023088","1392023090","1392023091","1392023114","1392023149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c7e014a5275371e00eb96a5517de0f4.jpg","text":"TemporaryFile(/tmp/multipartBody6089545574003249192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164604327,"filename":"image_03112025_05_49_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/3/6e2a5bee128fb26c74355f1b72b1e0c2.jpg","text":"TemporaryFile(/tmp/multipartBody6086205929068326421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164604327,"filename":"image_03112025_05_49_16_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/3/272d3e912a752b109b605bdfc3d8d796.jpg","text":"TemporaryFile(/tmp/multipartBody6455507731016161673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164604327,"filename":"image_03112025_05_49_19_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/3/8f9ebba493baab2b68f0b3587e30aa41.jpg","text":"TemporaryFile(/tmp/multipartBody2886754950810482621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164604327,"filename":"image_03112025_05_49_28_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/3/4b3aaf28dd9cd9d772fe3e219f129549.jpg","text":"TemporaryFile(/tmp/multipartBody5525877812486106372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164604327,"filename":"image_03112025_05_49_34_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/3/f43f84c36915698d68b820c36ebb6acc.jpg","text":"TemporaryFile(/tmp/multipartBody4862345561048260411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164604327,"filename":"image_03112025_05_49_36_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023090","file1":"1392023088","file0":"1392023085","file4":"1392023114","file5":"1392023149","file3":"1392023091"},"map_files_photo_id_array":[{"photo_id":"1392023149","filename":"file5"},{"photo_id":"1392023090","filename":"file2"},{"photo_id":"1392023114","filename":"file4"},{"photo_id":"1392023088","filename":"file1"},{"photo_id":"1392023085","filename":"file0"},{"photo_id":"1392023091","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392023091":["hashtag1","hashtag2"]},{"1392023085":["hashtag1","hashtag2"]},{"1392023088":["hashtag1","hashtag2"]},{"1392023090":["hashtag1","hashtag2"]},{"1392023114":["hashtag1","hashtag2"]},{"1392023149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392023091, 1392023085, 1392023088, 1392023090, 1392023114, 1392023149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59732437133789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:09:42.550517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_46_2599.jpg', '/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_54_2541.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_07_3571.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_10_2625.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_30_2557.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_39_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_46_2599.jpg
/home/pi/Desktop/images/03112025/05/49/image_03112025_05_49_54_2541.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_07_3571.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_10_2625.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_30_2557.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_39_2825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392023445","1392023331","1392023492","1392023307","1392023366","1392023405"],"photo_ids_order":["1392023307","1392023331","1392023366","1392023405","1392023445","1392023492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ce4fedf1dbe20507b67dd1fc86dfbbb3.jpg","text":"TemporaryFile(/tmp/multipartBody5280040744013680101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164643343,"filename":"image_03112025_05_50_30_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/3/18b3fb9cd5ec37f2e902b5957f70a5bd.jpg","text":"TemporaryFile(/tmp/multipartBody949145057091807027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164643343,"filename":"image_03112025_05_49_54_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/3/a0136431dd6f32b034bbba7ae48cdc90.jpg","text":"TemporaryFile(/tmp/multipartBody2194069798203297028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164643343,"filename":"image_03112025_05_50_39_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/3/f9d1f2b2cd6064f9c6864e93fdf36108.jpg","text":"TemporaryFile(/tmp/multipartBody4309189316778672757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164643343,"filename":"image_03112025_05_49_46_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa64b00f1d183ec1d3a78dea554bc578.jpg","text":"TemporaryFile(/tmp/multipartBody2120147936163958070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164643343,"filename":"image_03112025_05_50_07_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/3/885d2350ca5bb6dc4c56aa003607985b.jpg","text":"TemporaryFile(/tmp/multipartBody2840481893443948665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164643343,"filename":"image_03112025_05_50_10_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023366","file1":"1392023331","file0":"1392023307","file4":"1392023445","file5":"1392023492","file3":"1392023405"},"map_files_photo_id_array":[{"photo_id":"1392023492","filename":"file5"},{"photo_id":"1392023366","filename":"file2"},{"photo_id":"1392023445","filename":"file4"},{"photo_id":"1392023331","filename":"file1"},{"photo_id":"1392023307","filename":"file0"},{"photo_id":"1392023405","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392023445":["hashtag1","hashtag2"]},{"1392023331":["hashtag1","hashtag2"]},{"1392023492":["hashtag1","hashtag2"]},{"1392023307":["hashtag1","hashtag2"]},{"1392023366":["hashtag1","hashtag2"]},{"1392023405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392023445, 1392023331, 1392023492, 1392023307, 1392023366, 1392023405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31263852119446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:10:22.848673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_43_3544.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_51_2553.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_55_3599.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_57_2816.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_04_3768.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_09_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_43_3544.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_51_2553.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_55_3599.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_57_2816.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_04_3768.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_09_2526.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6599216461181641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:10:49.713970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_43_3544.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_51_2553.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_55_3599.jpg', '/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_57_2816.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_04_3768.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_09_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_43_3544.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_51_2553.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_55_3599.jpg
/home/pi/Desktop/images/03112025/05/50/image_03112025_05_50_57_2816.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_04_3768.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_09_2526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392023628","1392023630","1392023638","1392023587","1392023635","1392023620"],"photo_ids_order":["1392023587","1392023620","1392023628","1392023630","1392023635","1392023638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e296de425fc531796b87ffd0128aaac2.jpg","text":"TemporaryFile(/tmp/multipartBody4666362844958696972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164710469,"filename":"image_03112025_05_50_55_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d6ddd1be1842a167e154a0fdd002475.jpg","text":"TemporaryFile(/tmp/multipartBody8867049156010163720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164710469,"filename":"image_03112025_05_50_57_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/3/432e19b4baed62f8de228f54b21539df.jpg","text":"TemporaryFile(/tmp/multipartBody8218393639348513035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164710469,"filename":"image_03112025_05_51_09_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/3/edfbe05ae5ce4207d579dbda52c16342.jpg","text":"TemporaryFile(/tmp/multipartBody6831678803974269772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164710469,"filename":"image_03112025_05_50_43_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/3/cad6b94c5d28e60497cc7640a3adb15d.jpg","text":"TemporaryFile(/tmp/multipartBody8338715321691983604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164710469,"filename":"image_03112025_05_51_04_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/3/60b8d4b40a804d3011a6a114ffeead66.jpg","text":"TemporaryFile(/tmp/multipartBody3210097504586893768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164710469,"filename":"image_03112025_05_50_51_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023628","file1":"1392023620","file0":"1392023587","file4":"1392023635","file5":"1392023638","file3":"1392023630"},"map_files_photo_id_array":[{"photo_id":"1392023638","filename":"file5"},{"photo_id":"1392023628","filename":"file2"},{"photo_id":"1392023635","filename":"file4"},{"photo_id":"1392023620","filename":"file1"},{"photo_id":"1392023587","filename":"file0"},{"photo_id":"1392023630","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392023628":["hashtag1","hashtag2"]},{"1392023630":["hashtag1","hashtag2"]},{"1392023638":["hashtag1","hashtag2"]},{"1392023587":["hashtag1","hashtag2"]},{"1392023635":["hashtag1","hashtag2"]},{"1392023620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392023628, 1392023630, 1392023638, 1392023587, 1392023635, 1392023620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26042437553406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:11:41.924725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_13_3594.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_19_3578.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_28_3656.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_31_2879.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_33_2600.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_42_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_13_3594.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_19_3578.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_28_3656.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_31_2879.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_33_2600.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_42_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392023667","1392023669","1392023663","1392023674","1392023671","1392023659"],"photo_ids_order":["1392023659","1392023663","1392023667","1392023669","1392023671","1392023674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9ed8017d6f8ce35d9f32988f559e10e2.jpg","text":"TemporaryFile(/tmp/multipartBody834394626754431380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164762700,"filename":"image_03112025_05_51_28_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/3/0a1a23061ab4749452d04de72d90ba9b.jpg","text":"TemporaryFile(/tmp/multipartBody8952775115952056658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164762700,"filename":"image_03112025_05_51_31_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/3/8311894f6511c721f7f7920c93a4e7fa.jpg","text":"TemporaryFile(/tmp/multipartBody7938106578350211043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164762700,"filename":"image_03112025_05_51_19_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/3/504852511b99d5da9ea914e02faeafbe.jpg","text":"TemporaryFile(/tmp/multipartBody970699692044528332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164762700,"filename":"image_03112025_05_51_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/3/8771dbe989670d466054c20cab921df7.jpg","text":"TemporaryFile(/tmp/multipartBody1519859749800387174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164762700,"filename":"image_03112025_05_51_33_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa0c71a8cc222e0f20468965b44b3d14.jpg","text":"TemporaryFile(/tmp/multipartBody8956034432117334702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164762700,"filename":"image_03112025_05_51_13_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023667","file1":"1392023663","file0":"1392023659","file4":"1392023671","file5":"1392023674","file3":"1392023669"},"map_files_photo_id_array":[{"photo_id":"1392023674","filename":"file5"},{"photo_id":"1392023667","filename":"file2"},{"photo_id":"1392023671","filename":"file4"},{"photo_id":"1392023663","filename":"file1"},{"photo_id":"1392023659","filename":"file0"},{"photo_id":"1392023669","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392023667":["hashtag1","hashtag2"]},{"1392023669":["hashtag1","hashtag2"]},{"1392023663":["hashtag1","hashtag2"]},{"1392023674":["hashtag1","hashtag2"]},{"1392023671":["hashtag1","hashtag2"]},{"1392023659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392023667, 1392023669, 1392023663, 1392023674, 1392023671, 1392023659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14267563819885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:12:24.394980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 11:12:44.521018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_48_2647.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_54_2725.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_57_3280.jpg', '/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_06_2773.jpg', '/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_09_2728.jpg', '/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_12_3274.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_48_2647.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_54_2725.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_57_3280.jpg
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_06_2773.jpg
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_09_2728.jpg
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_12_3274.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392023722","1392023727","1392023715","1392023717","1392023713","1392023707"],"photo_ids_order":["1392023707","1392023713","1392023715","1392023717","1392023722","1392023727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c69bcfc451beb6f569af70432746f233.jpg","text":"TemporaryFile(/tmp/multipartBody9038814664647486745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164831240,"filename":"image_03112025_05_52_09_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/3/531a252ba56801bedeaec517da4c819f.jpg","text":"TemporaryFile(/tmp/multipartBody3339119620086324093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164831240,"filename":"image_03112025_05_52_12_3274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9fed3f18e8630b17921d2a710e9c5988.jpg","text":"TemporaryFile(/tmp/multipartBody8138542947056358418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164831240,"filename":"image_03112025_05_51_57_3280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf849423d4379d0e917d53c92693059f.jpg","text":"TemporaryFile(/tmp/multipartBody8408709313327330721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164831240,"filename":"image_03112025_05_52_06_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/3/16d5986b7d82fb4cfc0f2c88c1841620.jpg","text":"TemporaryFile(/tmp/multipartBody6452504718034913376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164831240,"filename":"image_03112025_05_51_54_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/3/47eb2916e97904fdccd4c6645e3eb7e9.jpg","text":"TemporaryFile(/tmp/multipartBody1101485954536650473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164831240,"filename":"image_03112025_05_51_48_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023715","file1":"1392023713","file0":"1392023707","file4":"1392023722","file5":"1392023727","file3":"1392023717"},"map_files_photo_id_array":[{"photo_id":"1392023727","filename":"file5"},{"photo_id":"1392023715","filename":"file2"},{"photo_id":"1392023722","filename":"file4"},{"photo_id":"1392023713","filename":"file1"},{"photo_id":"1392023707","filename":"file0"},{"photo_id":"1392023717","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392023722":["hashtag1","hashtag2"]},{"1392023727":["hashtag1","hashtag2"]},{"1392023715":["hashtag1","hashtag2"]},{"1392023717":["hashtag1","hashtag2"]},{"1392023713":["hashtag1","hashtag2"]},{"1392023707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392023722, 1392023727, 1392023715, 1392023717, 1392023713, 1392023707)","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 = 1392023715 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_57_3280.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392023715 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_57_3280.jpg";
uploaded 6 photos
time to upload: 67.92542338371277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:14:37.196806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-03 11:14:59.460141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_48_2647.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_54_2725.jpg', '/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_57_3280.jpg', '/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_06_2773.jpg', '/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_09_2728.jpg', '/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_12_3274.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_48_2647.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_54_2725.jpg
/home/pi/Desktop/images/03112025/05/51/image_03112025_05_51_57_3280.jpg
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_06_2773.jpg
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_09_2728.jpg
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_12_3274.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392023835","1392023820","1392023831","1392023825","1392023840","1392023816"],"photo_ids_order":["1392023816","1392023820","1392023825","1392023831","1392023835","1392023840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/309e05c48f6f8c2d67a131786309540e.jpg","text":"TemporaryFile(/tmp/multipartBody1215885362330855720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164962525,"filename":"image_03112025_05_52_09_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/3/d6d1886a42687085caa0ece9ab165aef.jpg","text":"TemporaryFile(/tmp/multipartBody4927877286345192527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164962525,"filename":"image_03112025_05_51_54_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/3/15bc0cc8098583fd0294f783ceb521d2.jpg","text":"TemporaryFile(/tmp/multipartBody2432975252553555373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164962525,"filename":"image_03112025_05_52_06_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/3/17e4d3416d915f73e79bbbca6b16f9c1.jpg","text":"TemporaryFile(/tmp/multipartBody907870276483478604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164962525,"filename":"image_03112025_05_51_57_3280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f5cd0e81bb51800d5ad720cf5b48435d.jpg","text":"TemporaryFile(/tmp/multipartBody1469394894242394464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164962525,"filename":"image_03112025_05_52_12_3274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9ba2c1f66acad55cfdd9512d4a0a68b3.jpg","text":"TemporaryFile(/tmp/multipartBody496955154495477872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762164962525,"filename":"image_03112025_05_51_48_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023825","file1":"1392023820","file0":"1392023816","file4":"1392023835","file5":"1392023840","file3":"1392023831"},"map_files_photo_id_array":[{"photo_id":"1392023840","filename":"file5"},{"photo_id":"1392023825","filename":"file2"},{"photo_id":"1392023835","filename":"file4"},{"photo_id":"1392023820","filename":"file1"},{"photo_id":"1392023816","filename":"file0"},{"photo_id":"1392023831","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392023835":["hashtag1","hashtag2"]},{"1392023820":["hashtag1","hashtag2"]},{"1392023831":["hashtag1","hashtag2"]},{"1392023825":["hashtag1","hashtag2"]},{"1392023840":["hashtag1","hashtag2"]},{"1392023816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392023835, 1392023820, 1392023831, 1392023825, 1392023840, 1392023816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.227325677871704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:15:41.912191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_15_2689.jpg', '/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_30_2747.jpg', '/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_39_2772.jpg', '/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_42_2618.jpg', '/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_03_3009.jpg', '/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_25_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_15_2689.jpg
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_30_2747.jpg
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_39_2772.jpg
/home/pi/Desktop/images/03112025/05/52/image_03112025_05_52_42_2618.jpg
/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_03_3009.jpg
/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_25_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392023859","1392023853","1392023856","1392023850","1392023861","1392023866"],"photo_ids_order":["1392023850","1392023853","1392023856","1392023859","1392023861","1392023866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/72270043f6dcac7be4bba9d2df32512d.jpg","text":"TemporaryFile(/tmp/multipartBody1467159465982367200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165002711,"filename":"image_03112025_05_52_42_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/3/c3f45532ce56a59469dc9f9a21343e9e.jpg","text":"TemporaryFile(/tmp/multipartBody2840819081101850783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165002711,"filename":"image_03112025_05_52_30_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/3/0caa4f33f27c7dff04fc91745bd8124c.jpg","text":"TemporaryFile(/tmp/multipartBody3546996013159656656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165002711,"filename":"image_03112025_05_52_39_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b7cc1d53d5c41a7f1d82d566ebd1c62d.jpg","text":"TemporaryFile(/tmp/multipartBody2996785373621338684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165002711,"filename":"image_03112025_05_52_15_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/3/5dc1fc75c52a9a9686aaf42c82ca6f21.jpg","text":"TemporaryFile(/tmp/multipartBody8645751207998388660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165002711,"filename":"image_03112025_05_53_03_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/3/5e025e786fd32c89535697626c72f10f.jpg","text":"TemporaryFile(/tmp/multipartBody1632337300691065741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165002711,"filename":"image_03112025_05_53_25_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023856","file1":"1392023853","file0":"1392023850","file4":"1392023861","file5":"1392023866","file3":"1392023859"},"map_files_photo_id_array":[{"photo_id":"1392023866","filename":"file5"},{"photo_id":"1392023856","filename":"file2"},{"photo_id":"1392023861","filename":"file4"},{"photo_id":"1392023853","filename":"file1"},{"photo_id":"1392023850","filename":"file0"},{"photo_id":"1392023859","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392023859":["hashtag1","hashtag2"]},{"1392023853":["hashtag1","hashtag2"]},{"1392023856":["hashtag1","hashtag2"]},{"1392023850":["hashtag1","hashtag2"]},{"1392023861":["hashtag1","hashtag2"]},{"1392023866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392023859, 1392023853, 1392023856, 1392023850, 1392023861, 1392023866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8142728805542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:16:22.044923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_27_2738.jpg', '/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_33_2708.jpg', '/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_36_3643.jpg', '/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_39_2714.jpg', '/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_45_2771.jpg', '/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_51_3752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_27_2738.jpg
/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_33_2708.jpg
/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_36_3643.jpg
/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_39_2714.jpg
/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_45_2771.jpg
/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_51_3752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392023889","1392023874","1392023882","1392023903","1392023896","1392023878"],"photo_ids_order":["1392023874","1392023878","1392023882","1392023889","1392023896","1392023903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/85a8875a6d0a255f5f35a8647c99f3c9.jpg","text":"TemporaryFile(/tmp/multipartBody4774963535509702337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165042796,"filename":"image_03112025_05_53_39_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/3/970298fdef4e1df0339e4520bfd77cf1.jpg","text":"TemporaryFile(/tmp/multipartBody3256008290480004373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165042796,"filename":"image_03112025_05_53_27_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f59ecb50f77d0e9ea4badbe5f93fd5c.jpg","text":"TemporaryFile(/tmp/multipartBody238603355229127647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165042796,"filename":"image_03112025_05_53_36_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c94e78fc11847d0c4e68c33189081528.jpg","text":"TemporaryFile(/tmp/multipartBody2911498366776101569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165042796,"filename":"image_03112025_05_53_51_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/3/e6fee880f4ee32c38a82b2c92d53092f.jpg","text":"TemporaryFile(/tmp/multipartBody2422690300545232776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165042796,"filename":"image_03112025_05_53_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/3/5914c7f4fa1b6b0c8a2b952cce973256.jpg","text":"TemporaryFile(/tmp/multipartBody7349213727314669582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165042796,"filename":"image_03112025_05_53_33_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023882","file1":"1392023878","file0":"1392023874","file4":"1392023896","file5":"1392023903","file3":"1392023889"},"map_files_photo_id_array":[{"photo_id":"1392023903","filename":"file5"},{"photo_id":"1392023882","filename":"file2"},{"photo_id":"1392023896","filename":"file4"},{"photo_id":"1392023878","filename":"file1"},{"photo_id":"1392023874","filename":"file0"},{"photo_id":"1392023889","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392023889":["hashtag1","hashtag2"]},{"1392023874":["hashtag1","hashtag2"]},{"1392023882":["hashtag1","hashtag2"]},{"1392023903":["hashtag1","hashtag2"]},{"1392023896":["hashtag1","hashtag2"]},{"1392023878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392023889, 1392023874, 1392023882, 1392023903, 1392023896, 1392023878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91218042373657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:17:02.947989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_54_2593.jpg', '/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_33_2697.jpg', '/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_42_3033.jpg', '/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_45_2752.jpg', '/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_48_3574.jpg', '/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_51_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/53/image_03112025_05_53_54_2593.jpg
/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_33_2697.jpg
/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_42_3033.jpg
/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_45_2752.jpg
/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_48_3574.jpg
/home/pi/Desktop/images/03112025/05/54/image_03112025_05_54_51_2672.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":["1392023964","1392024036","1392024000","1392023928","1392023916","1392024077"],"photo_ids_order":["1392023916","1392023928","1392023964","1392024000","1392024036","1392024077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/67bfb1590d30f61b9bf72a9b344e03f1.jpg","text":"TemporaryFile(/tmp/multipartBody3351614590316347357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165083906,"filename":"image_03112025_05_54_42_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/3/6681f4e4d5173ee587251774694b3e7d.jpg","text":"TemporaryFile(/tmp/multipartBody8443655474935128387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165083906,"filename":"image_03112025_05_54_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/3/8134abf10b5cc9bf5c193f04f12f4235.jpg","text":"TemporaryFile(/tmp/multipartBody6948061738649719471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165083906,"filename":"image_03112025_05_54_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/3/195bdb3eb303cffd2dfcc5e428dbeb87.jpg","text":"TemporaryFile(/tmp/multipartBody3852850017799295732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165083906,"filename":"image_03112025_05_54_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/3/8cfcefc578caebac8ac5784ae973c262.jpg","text":"TemporaryFile(/tmp/multipartBody4979810639333389566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165083906,"filename":"image_03112025_05_53_54_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/3/754989b7b4477fedbbfef8a39ceb6092.jpg","text":"TemporaryFile(/tmp/multipartBody4493512799505981410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165083906,"filename":"image_03112025_05_54_51_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392023964","file1":"1392023928","file0":"1392023916","file4":"1392024036","file5":"1392024077","file3":"1392024000"},"map_files_photo_id_array":[{"photo_id":"1392024077","filename":"file5"},{"photo_id":"1392023964","filename":"file2"},{"photo_id":"1392024036","filename":"file4"},{"photo_id":"1392023928","filename":"file1"},{"photo_id":"1392023916","filename":"file0"},{"photo_id":"1392024000","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392023964":["hashtag1","hashtag2"]},{"1392024036":["hashtag1","hashtag2"]},{"1392024000":["hashtag1","hashtag2"]},{"1392023928":["hashtag1","hashtag2"]},{"1392023916":["hashtag1","hashtag2"]},{"1392024077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392023964, 1392024036, 1392024000, 1392023928, 1392023916, 1392024077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11425590515137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:18:02.996490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_03_2770.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_06_2944.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_15_2709.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_21_2637.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_24_2691.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_33_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_03_2770.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_06_2944.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_15_2709.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_21_2637.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_24_2691.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_33_2643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7212002277374268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:18:22.348434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_03_2770.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_06_2944.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_15_2709.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_21_2637.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_24_2691.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_33_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_03_2770.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_06_2944.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_15_2709.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_21_2637.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_24_2691.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_33_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392024363","1392024377","1392024380","1392024368","1392024372","1392024375"],"photo_ids_order":["1392024363","1392024368","1392024372","1392024375","1392024377","1392024380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/706d839c0fb431e54e3ca3fa8924fccc.jpg","text":"TemporaryFile(/tmp/multipartBody8850575352686229512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165163109,"filename":"image_03112025_05_55_03_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/3/9639dec765885149578787b85a4697e1.jpg","text":"TemporaryFile(/tmp/multipartBody1799545324146620883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165163109,"filename":"image_03112025_05_55_24_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/3/c542f77ec3e446de312c87d1dddcdbb3.jpg","text":"TemporaryFile(/tmp/multipartBody7316440559731435032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165163109,"filename":"image_03112025_05_55_33_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/3/89dbb1bdd6a5d7b51f77cca5ead9cf48.jpg","text":"TemporaryFile(/tmp/multipartBody7626653945365174826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165163109,"filename":"image_03112025_05_55_06_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/3/f9000bd9962cdcbf263621ed09f532f4.jpg","text":"TemporaryFile(/tmp/multipartBody1971638174707548790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165163109,"filename":"image_03112025_05_55_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/3/afea43fc7bf493b8581e2456ad422a22.jpg","text":"TemporaryFile(/tmp/multipartBody685274870188385789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165163109,"filename":"image_03112025_05_55_21_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392024372","file1":"1392024368","file0":"1392024363","file4":"1392024377","file5":"1392024380","file3":"1392024375"},"map_files_photo_id_array":[{"photo_id":"1392024380","filename":"file5"},{"photo_id":"1392024372","filename":"file2"},{"photo_id":"1392024377","filename":"file4"},{"photo_id":"1392024368","filename":"file1"},{"photo_id":"1392024363","filename":"file0"},{"photo_id":"1392024375","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392024363":["hashtag1","hashtag2"]},{"1392024377":["hashtag1","hashtag2"]},{"1392024380":["hashtag1","hashtag2"]},{"1392024368":["hashtag1","hashtag2"]},{"1392024372":["hashtag1","hashtag2"]},{"1392024375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392024363, 1392024377, 1392024380, 1392024368, 1392024372, 1392024375)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.50986170768738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:19:27.136418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_36_2764.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_45_2692.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_48_3674.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_51_2746.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_54_2757.jpg', '/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_57_2885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_36_2764.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_45_2692.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_48_3674.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_51_2746.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_54_2757.jpg
/home/pi/Desktop/images/03112025/05/55/image_03112025_05_55_57_2885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392024423","1392024426","1392024414","1392024419","1392024409","1392024403"],"photo_ids_order":["1392024403","1392024409","1392024414","1392024419","1392024423","1392024426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7fd3f0427fcdbfcf398a58fbbab23b49.jpg","text":"TemporaryFile(/tmp/multipartBody1474484989916922914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165237421,"filename":"image_03112025_05_55_54_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/3/adcdf2311d79cde6171d90a498b4556e.jpg","text":"TemporaryFile(/tmp/multipartBody2116553794801989867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165237421,"filename":"image_03112025_05_55_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/3/795155f1c3f25b21effcf2fbd0a0e588.jpg","text":"TemporaryFile(/tmp/multipartBody8451085403806334863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165237421,"filename":"image_03112025_05_55_48_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/3/921159a26541a8b147407f9d367df14c.jpg","text":"TemporaryFile(/tmp/multipartBody1687387983678221619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165237421,"filename":"image_03112025_05_55_51_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/3/2149254f52d9a01ff265521a3d214e0a.jpg","text":"TemporaryFile(/tmp/multipartBody3813249869540254022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165237421,"filename":"image_03112025_05_55_45_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f35a2afd6e8d7de119325efc53c925a8.jpg","text":"TemporaryFile(/tmp/multipartBody750123087221816234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165237421,"filename":"image_03112025_05_55_36_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392024414","file1":"1392024409","file0":"1392024403","file4":"1392024423","file5":"1392024426","file3":"1392024419"},"map_files_photo_id_array":[{"photo_id":"1392024426","filename":"file5"},{"photo_id":"1392024414","filename":"file2"},{"photo_id":"1392024423","filename":"file4"},{"photo_id":"1392024409","filename":"file1"},{"photo_id":"1392024403","filename":"file0"},{"photo_id":"1392024419","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392024423":["hashtag1","hashtag2"]},{"1392024426":["hashtag1","hashtag2"]},{"1392024414":["hashtag1","hashtag2"]},{"1392024419":["hashtag1","hashtag2"]},{"1392024409":["hashtag1","hashtag2"]},{"1392024403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392024423, 1392024426, 1392024414, 1392024419, 1392024409, 1392024403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.79047393798828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:20:22.352129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_12_3699.jpg', '/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_18_2677.jpg', '/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_27_2548.jpg', '/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_30_3598.jpg', '/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_39_3683.jpg', '/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_42_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_12_3699.jpg
/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_18_2677.jpg
/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_27_2548.jpg
/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_30_3598.jpg
/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_39_3683.jpg
/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_42_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392024462","1392024435","1392024458","1392024452","1392024440","1392024445"],"photo_ids_order":["1392024435","1392024440","1392024445","1392024452","1392024458","1392024462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/57c0fd83c5954aecaf816ef31e4335df.jpg","text":"TemporaryFile(/tmp/multipartBody2609689573978728166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165283203,"filename":"image_03112025_05_56_42_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/3/37d7d97ab938a8fa58618fb8790454a5.jpg","text":"TemporaryFile(/tmp/multipartBody6237809036687834663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165283203,"filename":"image_03112025_05_56_12_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f3535637ef9291888d83f89e83e1d942.jpg","text":"TemporaryFile(/tmp/multipartBody469605669822009805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165283203,"filename":"image_03112025_05_56_39_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/3/e994a059109b8dac1656eee8efd23f1f.jpg","text":"TemporaryFile(/tmp/multipartBody1965339435732870195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165283203,"filename":"image_03112025_05_56_30_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/3/7a6c3ae5c3d7ddc72e0a9ed5046a071f.jpg","text":"TemporaryFile(/tmp/multipartBody4460458681602185587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165283203,"filename":"image_03112025_05_56_18_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/3/19012b564fd1ce958c3220eb9fa2f123.jpg","text":"TemporaryFile(/tmp/multipartBody7787962946110012339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165283203,"filename":"image_03112025_05_56_27_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392024445","file1":"1392024440","file0":"1392024435","file4":"1392024458","file5":"1392024462","file3":"1392024452"},"map_files_photo_id_array":[{"photo_id":"1392024462","filename":"file5"},{"photo_id":"1392024445","filename":"file2"},{"photo_id":"1392024458","filename":"file4"},{"photo_id":"1392024440","filename":"file1"},{"photo_id":"1392024435","filename":"file0"},{"photo_id":"1392024452","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392024462":["hashtag1","hashtag2"]},{"1392024435":["hashtag1","hashtag2"]},{"1392024458":["hashtag1","hashtag2"]},{"1392024452":["hashtag1","hashtag2"]},{"1392024440":["hashtag1","hashtag2"]},{"1392024445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392024462, 1392024435, 1392024458, 1392024452, 1392024440, 1392024445)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.90211343765259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:21:22.445862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_51_3576.jpg', '/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_03_2736.jpg', '/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_24_2761.jpg', '/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_27_2553.jpg', '/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_30_3562.jpg', '/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_42_3796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/56/image_03112025_05_56_51_3576.jpg
/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_03_2736.jpg
/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_24_2761.jpg
/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_27_2553.jpg
/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_30_3562.jpg
/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_42_3796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392024593","1392024539","1392024623","1392024583","1392024565","1392024597"],"photo_ids_order":["1392024539","1392024565","1392024583","1392024593","1392024597","1392024623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f908e7f839adfe8c7139ef2b98e13cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2454682811933685651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165343200,"filename":"image_03112025_05_57_27_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/3/92a003fa39de7865fbd38b16e0d78967.jpg","text":"TemporaryFile(/tmp/multipartBody5210087307775966633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165343200,"filename":"image_03112025_05_56_51_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/3/72abd509cc6f7a853729c15cd94007db.jpg","text":"TemporaryFile(/tmp/multipartBody469891223048087734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165343200,"filename":"image_03112025_05_57_42_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/3/9130cbaabbb8d9ae599f62fe618b479c.jpg","text":"TemporaryFile(/tmp/multipartBody3142078664869598253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165343200,"filename":"image_03112025_05_57_24_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/3/4b022f9830c2e3c82559918ad6fda9da.jpg","text":"TemporaryFile(/tmp/multipartBody7912242642603017265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165343200,"filename":"image_03112025_05_57_03_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7395a70c168c349f0925f19f8d8b9d56.jpg","text":"TemporaryFile(/tmp/multipartBody1162864825991676319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165343200,"filename":"image_03112025_05_57_30_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392024583","file1":"1392024565","file0":"1392024539","file4":"1392024597","file5":"1392024623","file3":"1392024593"},"map_files_photo_id_array":[{"photo_id":"1392024623","filename":"file5"},{"photo_id":"1392024583","filename":"file2"},{"photo_id":"1392024597","filename":"file4"},{"photo_id":"1392024565","filename":"file1"},{"photo_id":"1392024539","filename":"file0"},{"photo_id":"1392024593","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392024593":["hashtag1","hashtag2"]},{"1392024539":["hashtag1","hashtag2"]},{"1392024623":["hashtag1","hashtag2"]},{"1392024583":["hashtag1","hashtag2"]},{"1392024565":["hashtag1","hashtag2"]},{"1392024597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392024593, 1392024539, 1392024623, 1392024583, 1392024565, 1392024597)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.515990018844604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:22:23.145605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_47_2689.jpg', '/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_01_4080.jpg', '/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_17_2989.jpg', '/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_19_1697.jpg', '/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_25_4652.jpg', '/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_27_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/57/image_03112025_05_57_47_2689.jpg
/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_01_4080.jpg
/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_17_2989.jpg
/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_19_1697.jpg
/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_25_4652.jpg
/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_27_1589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392024656","1392024665","1392024659","1392024668","1392024647","1392024652"],"photo_ids_order":["1392024647","1392024652","1392024656","1392024659","1392024665","1392024668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be4f3fd45b138b909f25308b3331ceff.jpg","text":"TemporaryFile(/tmp/multipartBody3794062317667716710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165403913,"filename":"image_03112025_05_58_17_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/3/b86cb9ddb684a0e0391a3666586be903.jpg","text":"TemporaryFile(/tmp/multipartBody1960052830068311259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165403913,"filename":"image_03112025_05_58_25_4652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4da54920647ecf199b7adef6e9d8eb11.jpg","text":"TemporaryFile(/tmp/multipartBody3347351685292480463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165403913,"filename":"image_03112025_05_58_19_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/31fc7aaf979b4e310496f18708881095.jpg","text":"TemporaryFile(/tmp/multipartBody5293260083946880678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165403913,"filename":"image_03112025_05_58_27_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/3/cd41a45be701bd0980afb36a54d24331.jpg","text":"TemporaryFile(/tmp/multipartBody9157336429523818039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165403913,"filename":"image_03112025_05_57_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/3/ff6c6c844da9d86f43e6da26a179a79d.jpg","text":"TemporaryFile(/tmp/multipartBody4835348642443840061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165403913,"filename":"image_03112025_05_58_01_4080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392024656","file1":"1392024652","file0":"1392024647","file4":"1392024665","file5":"1392024668","file3":"1392024659"},"map_files_photo_id_array":[{"photo_id":"1392024668","filename":"file5"},{"photo_id":"1392024656","filename":"file2"},{"photo_id":"1392024665","filename":"file4"},{"photo_id":"1392024652","filename":"file1"},{"photo_id":"1392024647","filename":"file0"},{"photo_id":"1392024659","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392024656":["hashtag1","hashtag2"]},{"1392024665":["hashtag1","hashtag2"]},{"1392024659":["hashtag1","hashtag2"]},{"1392024668":["hashtag1","hashtag2"]},{"1392024647":["hashtag1","hashtag2"]},{"1392024652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392024656, 1392024665, 1392024659, 1392024668, 1392024647, 1392024652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00970101356506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:23:03.041101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_29_2687.jpg', '/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_32_2913.jpg', '/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_48_2818.jpg', '/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_03_3625.jpg', '/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_08_2825.jpg', '/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_12_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_29_2687.jpg
/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_32_2913.jpg
/home/pi/Desktop/images/03112025/05/58/image_03112025_05_58_48_2818.jpg
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_03_3625.jpg
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_08_2825.jpg
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_12_3564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392024695","1392024689","1392024680","1392024677","1392024673","1392024684"],"photo_ids_order":["1392024673","1392024677","1392024680","1392024684","1392024689","1392024695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f228b315465e659d12e45f20d4f775ff.jpg","text":"TemporaryFile(/tmp/multipartBody7423334708232024074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165444099,"filename":"image_03112025_05_59_12_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/3/56daeb594d6ebbc2d832f9b727a6348c.jpg","text":"TemporaryFile(/tmp/multipartBody354675665179044869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165444099,"filename":"image_03112025_05_59_08_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/3/06c183bd7be61f0ecff3887d59b0b600.jpg","text":"TemporaryFile(/tmp/multipartBody8498937903549682496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165444099,"filename":"image_03112025_05_58_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/3/d3127bfa5e85396c1b237cc593bd56db.jpg","text":"TemporaryFile(/tmp/multipartBody1344779616235063699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165444099,"filename":"image_03112025_05_58_32_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/3/d5000333e525a0dc22052c037bd70153.jpg","text":"TemporaryFile(/tmp/multipartBody5452064318724097784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165444099,"filename":"image_03112025_05_58_29_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4721acce2898bfdf8bf97e824018e6d2.jpg","text":"TemporaryFile(/tmp/multipartBody413964864184123426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165444099,"filename":"image_03112025_05_59_03_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392024680","file1":"1392024677","file0":"1392024673","file4":"1392024689","file5":"1392024695","file3":"1392024684"},"map_files_photo_id_array":[{"photo_id":"1392024695","filename":"file5"},{"photo_id":"1392024680","filename":"file2"},{"photo_id":"1392024689","filename":"file4"},{"photo_id":"1392024677","filename":"file1"},{"photo_id":"1392024673","filename":"file0"},{"photo_id":"1392024684","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392024695":["hashtag1","hashtag2"]},{"1392024689":["hashtag1","hashtag2"]},{"1392024680":["hashtag1","hashtag2"]},{"1392024677":["hashtag1","hashtag2"]},{"1392024673":["hashtag1","hashtag2"]},{"1392024684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392024695, 1392024689, 1392024680, 1392024677, 1392024673, 1392024684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.454612493515015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:23:42.437009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_17_2688.jpg', '/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_20_2695.jpg', '/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_40_16331.jpg', '/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_42_1578.jpg', '/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_44_1775.jpg', '/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_51_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_17_2688.jpg
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_20_2695.jpg
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_40_16331.jpg
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_42_1578.jpg
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_44_1775.jpg
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_51_1652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392024726","1392024720","1392024723","1392024721","1392024706","1392024709"],"photo_ids_order":["1392024706","1392024709","1392024720","1392024721","1392024723","1392024726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b613bb42c0a683f55f51aa6b395d1e27.jpg","text":"TemporaryFile(/tmp/multipartBody3132417403594933318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165483189,"filename":"image_03112025_05_59_51_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/3/ccc2cfc16c5bd8584974af39aa2f00d6.jpg","text":"TemporaryFile(/tmp/multipartBody878629694917069602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165483189,"filename":"image_03112025_05_59_40_16331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a59e816fe540f3543f56c42ea1758dd.jpg","text":"TemporaryFile(/tmp/multipartBody5969803011982547799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165483189,"filename":"image_03112025_05_59_44_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1a623d9376b0099afbf80e17cc4308aa.jpg","text":"TemporaryFile(/tmp/multipartBody7042608474115842826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165483189,"filename":"image_03112025_05_59_42_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/3/1e695f5ce62d894441271cc06779865a.jpg","text":"TemporaryFile(/tmp/multipartBody1164359102806259938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165483189,"filename":"image_03112025_05_59_17_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/3/2c5378efbffba567b597c42e820f9c99.jpg","text":"TemporaryFile(/tmp/multipartBody2932847911758915169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165483189,"filename":"image_03112025_05_59_20_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392024720","file1":"1392024709","file0":"1392024706","file4":"1392024723","file5":"1392024726","file3":"1392024721"},"map_files_photo_id_array":[{"photo_id":"1392024726","filename":"file5"},{"photo_id":"1392024720","filename":"file2"},{"photo_id":"1392024723","filename":"file4"},{"photo_id":"1392024709","filename":"file1"},{"photo_id":"1392024706","filename":"file0"},{"photo_id":"1392024721","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392024726":["hashtag1","hashtag2"]},{"1392024720":["hashtag1","hashtag2"]},{"1392024723":["hashtag1","hashtag2"]},{"1392024721":["hashtag1","hashtag2"]},{"1392024706":["hashtag1","hashtag2"]},{"1392024709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392024726, 1392024720, 1392024723, 1392024721, 1392024706, 1392024709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00548601150513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:24:22.807251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_55_1912.jpg', '/home/pi/Desktop/images/03112025/06/00/image_03112025_06_00_13_1700.jpg', '/home/pi/Desktop/images/03112025/06/00/image_03112025_06_00_18_2690.jpg', '/home/pi/Desktop/images/03112025/06/00/image_03112025_06_00_47_3184.jpg', '/home/pi/Desktop/images/03112025/06/00/image_03112025_06_00_52_1649.jpg', '/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_02_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/05/59/image_03112025_05_59_55_1912.jpg
/home/pi/Desktop/images/03112025/06/00/image_03112025_06_00_13_1700.jpg
/home/pi/Desktop/images/03112025/06/00/image_03112025_06_00_18_2690.jpg
/home/pi/Desktop/images/03112025/06/00/image_03112025_06_00_47_3184.jpg
/home/pi/Desktop/images/03112025/06/00/image_03112025_06_00_52_1649.jpg
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_02_1697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392024753","1392024738","1392024743","1392024748","1392024751","1392024745"],"photo_ids_order":["1392024738","1392024743","1392024745","1392024748","1392024751","1392024753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3c29ce17914b6e03bd05e38c96e0c2ee.jpg","text":"TemporaryFile(/tmp/multipartBody3819424759324551870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165523566,"filename":"image_03112025_06_01_02_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/3/bd610d1b0d13e8113e8b3277b16ad49e.jpg","text":"TemporaryFile(/tmp/multipartBody1434336286075256471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165523566,"filename":"image_03112025_05_59_55_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/3/b347eff82b0b664d9af30d342844ffd2.jpg","text":"TemporaryFile(/tmp/multipartBody7569334413330675606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165523566,"filename":"image_03112025_06_00_13_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/3/cf505d0753eba2a6cd5383a9bf9be74e.jpg","text":"TemporaryFile(/tmp/multipartBody7311850121725416291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165523566,"filename":"image_03112025_06_00_47_3184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ecc16f99ecd3e6b51fc2799aa4f64c06.jpg","text":"TemporaryFile(/tmp/multipartBody1027845501547099612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165523566,"filename":"image_03112025_06_00_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/3/222847eefa9a071dc673a9ec228d6daa.jpg","text":"TemporaryFile(/tmp/multipartBody707838742440634812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165523566,"filename":"image_03112025_06_00_18_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392024745","file1":"1392024743","file0":"1392024738","file4":"1392024751","file5":"1392024753","file3":"1392024748"},"map_files_photo_id_array":[{"photo_id":"1392024753","filename":"file5"},{"photo_id":"1392024745","filename":"file2"},{"photo_id":"1392024751","filename":"file4"},{"photo_id":"1392024743","filename":"file1"},{"photo_id":"1392024738","filename":"file0"},{"photo_id":"1392024748","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392024753":["hashtag1","hashtag2"]},{"1392024738":["hashtag1","hashtag2"]},{"1392024743":["hashtag1","hashtag2"]},{"1392024748":["hashtag1","hashtag2"]},{"1392024751":["hashtag1","hashtag2"]},{"1392024745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392024753, 1392024738, 1392024743, 1392024748, 1392024751, 1392024745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.980427265167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:25:02.678164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_07_1570.jpg', '/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_10_1689.jpg', '/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_12_1769.jpg', '/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_17_3208.jpg', '/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_19_1662.jpg', '/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_41_1807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_07_1570.jpg
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_10_1689.jpg
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_12_1769.jpg
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_17_3208.jpg
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_19_1662.jpg
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_41_1807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392024939","1392024899","1392024788","1392024860","1392024761","1392024823"],"photo_ids_order":["1392024761","1392024788","1392024823","1392024860","1392024899","1392024939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a43d363513d2ac6756bda57d02bab36.jpg","text":"TemporaryFile(/tmp/multipartBody8697733628739332589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165563541,"filename":"image_03112025_06_01_41_1807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/376c029b89807874cd717b73eafd6847.jpg","text":"TemporaryFile(/tmp/multipartBody3363720885852011252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165563541,"filename":"image_03112025_06_01_19_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/3/313918dc11d061c55c2831a1781ad842.jpg","text":"TemporaryFile(/tmp/multipartBody8219439125136099959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165563541,"filename":"image_03112025_06_01_10_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/3/1e15880879dd70476315d9ceca7e83d4.jpg","text":"TemporaryFile(/tmp/multipartBody3968905261477750248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165563541,"filename":"image_03112025_06_01_17_3208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3899a1fbe110f6be7702d7365a587640.jpg","text":"TemporaryFile(/tmp/multipartBody5031774367562720796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165563541,"filename":"image_03112025_06_01_07_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/3/7cd0e8949f6f7e45f161482afd0c8dec.jpg","text":"TemporaryFile(/tmp/multipartBody6550153622417622735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165563541,"filename":"image_03112025_06_01_12_1769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392024823","file1":"1392024788","file0":"1392024761","file4":"1392024899","file5":"1392024939","file3":"1392024860"},"map_files_photo_id_array":[{"photo_id":"1392024939","filename":"file5"},{"photo_id":"1392024823","filename":"file2"},{"photo_id":"1392024899","filename":"file4"},{"photo_id":"1392024788","filename":"file1"},{"photo_id":"1392024761","filename":"file0"},{"photo_id":"1392024860","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392024939":["hashtag1","hashtag2"]},{"1392024899":["hashtag1","hashtag2"]},{"1392024788":["hashtag1","hashtag2"]},{"1392024860":["hashtag1","hashtag2"]},{"1392024761":["hashtag1","hashtag2"]},{"1392024823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392024939, 1392024899, 1392024788, 1392024860, 1392024761, 1392024823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55039024353027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:25:42.066362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_48_1634.jpg', '/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_53_1654.jpg', '/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_54_1599.jpg', '/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_56_1613.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_06_3693.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_15_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_48_1634.jpg
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_53_1654.jpg
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_54_1599.jpg
/home/pi/Desktop/images/03112025/06/01/image_03112025_06_01_56_1613.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_06_3693.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_15_3686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392025055","1392025114","1392025092","1392025140","1392025137","1392025104"],"photo_ids_order":["1392025055","1392025092","1392025104","1392025114","1392025137","1392025140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/13ab9307c5264f1cf831df51b21db460.jpg","text":"TemporaryFile(/tmp/multipartBody23367539307075339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165602856,"filename":"image_03112025_06_01_48_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/3/ced97095e3f5788450a6c55562ff8121.jpg","text":"TemporaryFile(/tmp/multipartBody8092176749741894992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165602856,"filename":"image_03112025_06_01_56_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/3/4de081243715a565ee1573b6214f61bc.jpg","text":"TemporaryFile(/tmp/multipartBody841412230790987123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165602856,"filename":"image_03112025_06_01_53_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/3/a335dc6b81d2253da7a8982ae62f970b.jpg","text":"TemporaryFile(/tmp/multipartBody6431128951124294990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165602856,"filename":"image_03112025_06_02_15_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/3/8565c36d45d2ecee8d29be3eb896f6cb.jpg","text":"TemporaryFile(/tmp/multipartBody4549611937783367183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165602856,"filename":"image_03112025_06_02_06_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/3/f5112daa7ebc4f460839f5848ddf8ba3.jpg","text":"TemporaryFile(/tmp/multipartBody1877657159712167460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165602856,"filename":"image_03112025_06_01_54_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392025104","file1":"1392025092","file0":"1392025055","file4":"1392025137","file5":"1392025140","file3":"1392025114"},"map_files_photo_id_array":[{"photo_id":"1392025140","filename":"file5"},{"photo_id":"1392025104","filename":"file2"},{"photo_id":"1392025137","filename":"file4"},{"photo_id":"1392025092","filename":"file1"},{"photo_id":"1392025055","filename":"file0"},{"photo_id":"1392025114","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392025055":["hashtag1","hashtag2"]},{"1392025114":["hashtag1","hashtag2"]},{"1392025092":["hashtag1","hashtag2"]},{"1392025140":["hashtag1","hashtag2"]},{"1392025137":["hashtag1","hashtag2"]},{"1392025104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392025055, 1392025114, 1392025092, 1392025140, 1392025137, 1392025104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90412735939026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:26:22.189680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_44_5809.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_47_3035.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_51_1789.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_52_1712.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_54_1679.jpg', '/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_02_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_44_5809.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_47_3035.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_51_1789.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_52_1712.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_54_1679.jpg
/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_02_1657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6688985824584961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:26:42.268549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_44_5809.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_47_3035.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_51_1789.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_52_1712.jpg', '/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_54_1679.jpg', '/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_02_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_44_5809.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_47_3035.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_51_1789.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_52_1712.jpg
/home/pi/Desktop/images/03112025/06/02/image_03112025_06_02_54_1679.jpg
/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_02_1657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392025292","1392025217","1392025165","1392025252","1392025167","1392025182"],"photo_ids_order":["1392025165","1392025167","1392025182","1392025217","1392025252","1392025292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/356eb302150087f81ffd7f6ed8a814f8.jpg","text":"TemporaryFile(/tmp/multipartBody7635025166338741692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165663087,"filename":"image_03112025_06_03_02_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/3/da5de903db02d3e12181aa17635ec156.jpg","text":"TemporaryFile(/tmp/multipartBody1339074066638411836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165663087,"filename":"image_03112025_06_02_52_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/3/1908ac728e5b169642c228dcbfe0722b.jpg","text":"TemporaryFile(/tmp/multipartBody6659083139682198695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165663087,"filename":"image_03112025_06_02_44_5809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3ab3762687c61ae89e2b620e0410877a.jpg","text":"TemporaryFile(/tmp/multipartBody5635206141929786668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165663087,"filename":"image_03112025_06_02_54_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/3/9892b069c6ce68030bfac048dc2068a4.jpg","text":"TemporaryFile(/tmp/multipartBody5782871069479750239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165663087,"filename":"image_03112025_06_02_47_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/3/fafe5f1d233c36c5d2d7c266daea1ae0.jpg","text":"TemporaryFile(/tmp/multipartBody6886947658406758568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165663087,"filename":"image_03112025_06_02_51_1789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392025182","file1":"1392025167","file0":"1392025165","file4":"1392025252","file5":"1392025292","file3":"1392025217"},"map_files_photo_id_array":[{"photo_id":"1392025292","filename":"file5"},{"photo_id":"1392025182","filename":"file2"},{"photo_id":"1392025252","filename":"file4"},{"photo_id":"1392025167","filename":"file1"},{"photo_id":"1392025165","filename":"file0"},{"photo_id":"1392025217","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392025292":["hashtag1","hashtag2"]},{"1392025217":["hashtag1","hashtag2"]},{"1392025165":["hashtag1","hashtag2"]},{"1392025252":["hashtag1","hashtag2"]},{"1392025167":["hashtag1","hashtag2"]},{"1392025182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392025292, 1392025217, 1392025165, 1392025252, 1392025167, 1392025182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67384719848633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:27:22.504494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_08_2760.jpg', '/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_12_3637.jpg', '/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_29_2654.jpg', '/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_59_2851.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_08_2563.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_11_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_08_2760.jpg
/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_12_3637.jpg
/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_29_2654.jpg
/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_59_2851.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_08_2563.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_11_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392025357","1392025353","1392025347","1392025350","1392025344","1392025338"],"photo_ids_order":["1392025338","1392025344","1392025347","1392025350","1392025353","1392025357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0a32d191385957df98ac14ea7d4102a7.jpg","text":"TemporaryFile(/tmp/multipartBody4995901552107030661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165703259,"filename":"image_03112025_06_04_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/3/7058fbba20b8364244b2ffb9045fe6ff.jpg","text":"TemporaryFile(/tmp/multipartBody2255818229136466802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165703259,"filename":"image_03112025_06_04_08_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/3/c417943d3149a3c218caf38731d65a9d.jpg","text":"TemporaryFile(/tmp/multipartBody4567085959345886398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165703259,"filename":"image_03112025_06_03_29_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/3/2d0a1a06e1299b172a8b6397218f7acd.jpg","text":"TemporaryFile(/tmp/multipartBody223547826512793992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165703259,"filename":"image_03112025_06_03_59_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/3/cee9ffe5ecc178e91f4c9152900fb23d.jpg","text":"TemporaryFile(/tmp/multipartBody3760429841271532320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165703259,"filename":"image_03112025_06_03_12_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/3/706002fad1ea87812587eb2fcf2527e5.jpg","text":"TemporaryFile(/tmp/multipartBody6133276387813586586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165703259,"filename":"image_03112025_06_03_08_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392025347","file1":"1392025344","file0":"1392025338","file4":"1392025353","file5":"1392025357","file3":"1392025350"},"map_files_photo_id_array":[{"photo_id":"1392025357","filename":"file5"},{"photo_id":"1392025347","filename":"file2"},{"photo_id":"1392025353","filename":"file4"},{"photo_id":"1392025344","filename":"file1"},{"photo_id":"1392025338","filename":"file0"},{"photo_id":"1392025350","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392025357":["hashtag1","hashtag2"]},{"1392025353":["hashtag1","hashtag2"]},{"1392025347":["hashtag1","hashtag2"]},{"1392025350":["hashtag1","hashtag2"]},{"1392025344":["hashtag1","hashtag2"]},{"1392025338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392025357, 1392025353, 1392025347, 1392025350, 1392025344, 1392025338)","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 = 1392025347 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/06/03/image_03112025_06_03_29_2654.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.501567363739014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:28:41.928581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_17_2577.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_20_2651.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_23_3638.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_32_3701.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_35_2656.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_47_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_17_2577.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_20_2651.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_23_3638.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_32_3701.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_35_2656.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_47_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392025409","1392025400","1392025390","1392025387","1392025462","1392025428"],"photo_ids_order":["1392025387","1392025390","1392025400","1392025409","1392025428","1392025462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/110baa0b06c036b7ba9c6fce893954d0.jpg","text":"TemporaryFile(/tmp/multipartBody1772341668317459403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165782687,"filename":"image_03112025_06_04_32_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/3/f5c1ae6f3820663b937d10890d2ade90.jpg","text":"TemporaryFile(/tmp/multipartBody6701481979926288318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165782687,"filename":"image_03112025_06_04_23_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/3/ae38bd1ed61229264a5b63b65a77480e.jpg","text":"TemporaryFile(/tmp/multipartBody12862649195346271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165782687,"filename":"image_03112025_06_04_20_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/3/bd31981f43cfe4bc902eb165eb53df46.jpg","text":"TemporaryFile(/tmp/multipartBody2750615132542030402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165782687,"filename":"image_03112025_06_04_17_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/3/ba6adc3c069254c68d16341257d32864.jpg","text":"TemporaryFile(/tmp/multipartBody835880029885741573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165782687,"filename":"image_03112025_06_04_47_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/3/b28a7a5448c3dbb277a631ac6aba2d5b.jpg","text":"TemporaryFile(/tmp/multipartBody8266723977900128713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165782687,"filename":"image_03112025_06_04_35_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392025400","file1":"1392025390","file0":"1392025387","file4":"1392025428","file5":"1392025462","file3":"1392025409"},"map_files_photo_id_array":[{"photo_id":"1392025462","filename":"file5"},{"photo_id":"1392025400","filename":"file2"},{"photo_id":"1392025428","filename":"file4"},{"photo_id":"1392025390","filename":"file1"},{"photo_id":"1392025387","filename":"file0"},{"photo_id":"1392025409","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392025409":["hashtag1","hashtag2"]},{"1392025400":["hashtag1","hashtag2"]},{"1392025390":["hashtag1","hashtag2"]},{"1392025387":["hashtag1","hashtag2"]},{"1392025462":["hashtag1","hashtag2"]},{"1392025428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392025409, 1392025400, 1392025390, 1392025387, 1392025462, 1392025428)","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 = 1392025400 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_23_3638.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392025400 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_23_3638.jpg";
uploaded 6 photos
time to upload: 64.49564170837402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:30:03.263735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_17_2577.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_20_2651.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_23_3638.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_32_3701.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_35_2656.jpg', '/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_47_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_17_2577.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_20_2651.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_23_3638.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_32_3701.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_35_2656.jpg
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_47_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392025772","1392025757","1392025777","1392025762","1392025768","1392025753"],"photo_ids_order":["1392025753","1392025757","1392025762","1392025768","1392025772","1392025777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b363c9c66ed48564791d29a8a240e9d3.jpg","text":"TemporaryFile(/tmp/multipartBody5551623184165377509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165864051,"filename":"image_03112025_06_04_35_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/3/0f0b49b1f10dcc4acbda00ecb769b296.jpg","text":"TemporaryFile(/tmp/multipartBody5010016684304078623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165864051,"filename":"image_03112025_06_04_20_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/3/e18449b9b75ecda39cae27c9e5cd74ed.jpg","text":"TemporaryFile(/tmp/multipartBody6876940806395383035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165864051,"filename":"image_03112025_06_04_47_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/3/42774a4985c6b0e2a686f5081fe3b190.jpg","text":"TemporaryFile(/tmp/multipartBody2624580299381097695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165864051,"filename":"image_03112025_06_04_23_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/3/06bdf8dc47b3b7bdd1d65d56b2994172.jpg","text":"TemporaryFile(/tmp/multipartBody3879230715166603118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165864051,"filename":"image_03112025_06_04_32_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/3/9bb4abfbac3f672f9573d3b421679b5b.jpg","text":"TemporaryFile(/tmp/multipartBody3781755620684809748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165864051,"filename":"image_03112025_06_04_17_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392025762","file1":"1392025757","file0":"1392025753","file4":"1392025772","file5":"1392025777","file3":"1392025768"},"map_files_photo_id_array":[{"photo_id":"1392025777","filename":"file5"},{"photo_id":"1392025762","filename":"file2"},{"photo_id":"1392025772","filename":"file4"},{"photo_id":"1392025757","filename":"file1"},{"photo_id":"1392025753","filename":"file0"},{"photo_id":"1392025768","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392025772":["hashtag1","hashtag2"]},{"1392025757":["hashtag1","hashtag2"]},{"1392025777":["hashtag1","hashtag2"]},{"1392025762":["hashtag1","hashtag2"]},{"1392025768":["hashtag1","hashtag2"]},{"1392025753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392025772, 1392025757, 1392025777, 1392025762, 1392025768, 1392025753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.690340757369995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:30:42.755940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_56_2541.jpg', '/home/pi/Desktop/images/03112025/06/05/image_03112025_06_05_26_2624.jpg', '/home/pi/Desktop/images/03112025/06/05/image_03112025_06_05_32_3588.jpg', '/home/pi/Desktop/images/03112025/06/05/image_03112025_06_05_35_2577.jpg', '/home/pi/Desktop/images/03112025/06/05/image_03112025_06_05_53_2689.jpg', '/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_02_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/04/image_03112025_06_04_56_2541.jpg
/home/pi/Desktop/images/03112025/06/05/image_03112025_06_05_26_2624.jpg
/home/pi/Desktop/images/03112025/06/05/image_03112025_06_05_32_3588.jpg
/home/pi/Desktop/images/03112025/06/05/image_03112025_06_05_35_2577.jpg
/home/pi/Desktop/images/03112025/06/05/image_03112025_06_05_53_2689.jpg
/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_02_3644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392025799","1392025790","1392025803","1392025805","1392025795","1392025816"],"photo_ids_order":["1392025790","1392025795","1392025799","1392025803","1392025805","1392025816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/41b72ece368ee23bf642ee5735adf5de.jpg","text":"TemporaryFile(/tmp/multipartBody916005299871002321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165903546,"filename":"image_03112025_06_05_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/3/53ad5f402968ebc622090c2ffd4795b4.jpg","text":"TemporaryFile(/tmp/multipartBody987505759727676113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165903546,"filename":"image_03112025_06_04_56_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/3/32a799cea50ec54f454bc6606aabefec.jpg","text":"TemporaryFile(/tmp/multipartBody4414816402497301255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165903546,"filename":"image_03112025_06_05_35_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/87adc332399439a3d4c39734fc9eedcb.jpg","text":"TemporaryFile(/tmp/multipartBody7668863299545947986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165903546,"filename":"image_03112025_06_05_53_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/3/86b3eaa75423d751150bbe3b8f66b671.jpg","text":"TemporaryFile(/tmp/multipartBody5334961306169975759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165903546,"filename":"image_03112025_06_05_26_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/3/531d37da835b91ee58c7dc9d90db8cbb.jpg","text":"TemporaryFile(/tmp/multipartBody5985420958948938511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165903546,"filename":"image_03112025_06_06_02_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392025799","file1":"1392025795","file0":"1392025790","file4":"1392025805","file5":"1392025816","file3":"1392025803"},"map_files_photo_id_array":[{"photo_id":"1392025816","filename":"file5"},{"photo_id":"1392025799","filename":"file2"},{"photo_id":"1392025805","filename":"file4"},{"photo_id":"1392025795","filename":"file1"},{"photo_id":"1392025790","filename":"file0"},{"photo_id":"1392025803","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392025799":["hashtag1","hashtag2"]},{"1392025790":["hashtag1","hashtag2"]},{"1392025803":["hashtag1","hashtag2"]},{"1392025805":["hashtag1","hashtag2"]},{"1392025795":["hashtag1","hashtag2"]},{"1392025816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392025799, 1392025790, 1392025803, 1392025805, 1392025795, 1392025816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83076524734497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:31:27.743532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_11_3602.jpg', '/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_14_2985.jpg', '/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_17_2787.jpg', '/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_20_2756.jpg', '/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_23_3603.jpg', '/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_32_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_11_3602.jpg
/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_14_2985.jpg
/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_17_2787.jpg
/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_20_2756.jpg
/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_23_3603.jpg
/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_32_3724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392025864","1392025855","1392025860","1392025848","1392025842","1392025827"],"photo_ids_order":["1392025827","1392025842","1392025848","1392025855","1392025860","1392025864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/585722e329cb17f823af0d9fa8f74b22.jpg","text":"TemporaryFile(/tmp/multipartBody5337921580122464835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165948485,"filename":"image_03112025_06_06_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/3/b0f9f5b7f0de73b58c0d502726c40095.jpg","text":"TemporaryFile(/tmp/multipartBody4184055145152046082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165948485,"filename":"image_03112025_06_06_20_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/3/548b5a699d0229d97024fc1c564f68cd.jpg","text":"TemporaryFile(/tmp/multipartBody3981598734298784960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165948485,"filename":"image_03112025_06_06_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/3/2350666fccf119ae0bb93744bd1b8f45.jpg","text":"TemporaryFile(/tmp/multipartBody2580425643905371897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165948485,"filename":"image_03112025_06_06_17_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/3/fc9fa92301179b3cebfdefc4b57889b8.jpg","text":"TemporaryFile(/tmp/multipartBody3344244223315307209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165948485,"filename":"image_03112025_06_06_14_2985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc79d40a1bd1991a7055e922d1103a77.jpg","text":"TemporaryFile(/tmp/multipartBody2323860606537077215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762165948485,"filename":"image_03112025_06_06_11_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392025848","file1":"1392025842","file0":"1392025827","file4":"1392025860","file5":"1392025864","file3":"1392025855"},"map_files_photo_id_array":[{"photo_id":"1392025864","filename":"file5"},{"photo_id":"1392025848","filename":"file2"},{"photo_id":"1392025860","filename":"file4"},{"photo_id":"1392025842","filename":"file1"},{"photo_id":"1392025827","filename":"file0"},{"photo_id":"1392025855","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392025864":["hashtag1","hashtag2"]},{"1392025855":["hashtag1","hashtag2"]},{"1392025860":["hashtag1","hashtag2"]},{"1392025848":["hashtag1","hashtag2"]},{"1392025842":["hashtag1","hashtag2"]},{"1392025827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392025864, 1392025855, 1392025860, 1392025848, 1392025842, 1392025827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.698010206222534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:32:21.860195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_38_2654.jpg', '/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_40_2792.jpg', '/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_05_2640.jpg', '/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_07_2656.jpg', '/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_20_3694.jpg', '/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_31_8515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_38_2654.jpg
/home/pi/Desktop/images/03112025/06/06/image_03112025_06_06_40_2792.jpg
/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_05_2640.jpg
/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_07_2656.jpg
/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_20_3694.jpg
/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_31_8515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392025898","1392025902","1392025894","1392025912","1392025906","1392025909"],"photo_ids_order":["1392025894","1392025898","1392025902","1392025906","1392025909","1392025912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a6fa5e83fb945d931bce4edcf8b0f6dd.jpg","text":"TemporaryFile(/tmp/multipartBody4874562420332848651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166002614,"filename":"image_03112025_06_06_40_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/3/8e22c3eb6c9fec6cd12ed1d7bb2906ed.jpg","text":"TemporaryFile(/tmp/multipartBody7010280061084262563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166002614,"filename":"image_03112025_06_07_05_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/3/7aead8eb6d51daa06a307a9dde02cffb.jpg","text":"TemporaryFile(/tmp/multipartBody6530164475937685856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166002614,"filename":"image_03112025_06_06_38_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/3/2865da61e1e76c83a3b9278f618a556a.jpg","text":"TemporaryFile(/tmp/multipartBody3434310728806414765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166002614,"filename":"image_03112025_06_07_31_8515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ec31c854e483eba76955c907cad35dd.jpg","text":"TemporaryFile(/tmp/multipartBody7671632590926217990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166002614,"filename":"image_03112025_06_07_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/3/fc277e71ebe0db83a7c4d3c6530c69e0.jpg","text":"TemporaryFile(/tmp/multipartBody3619424594332161649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166002614,"filename":"image_03112025_06_07_20_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392025902","file1":"1392025898","file0":"1392025894","file4":"1392025909","file5":"1392025912","file3":"1392025906"},"map_files_photo_id_array":[{"photo_id":"1392025912","filename":"file5"},{"photo_id":"1392025902","filename":"file2"},{"photo_id":"1392025909","filename":"file4"},{"photo_id":"1392025898","filename":"file1"},{"photo_id":"1392025894","filename":"file0"},{"photo_id":"1392025906","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392025898":["hashtag1","hashtag2"]},{"1392025902":["hashtag1","hashtag2"]},{"1392025894":["hashtag1","hashtag2"]},{"1392025912":["hashtag1","hashtag2"]},{"1392025906":["hashtag1","hashtag2"]},{"1392025909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392025898, 1392025902, 1392025894, 1392025912, 1392025906, 1392025909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84043264389038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:33:02.818013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_56_2551.jpg', '/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_05_3699.jpg', '/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_28_2639.jpg', '/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_32_3607.jpg', '/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_35_2756.jpg', '/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_41_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/07/image_03112025_06_07_56_2551.jpg
/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_05_3699.jpg
/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_28_2639.jpg
/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_32_3607.jpg
/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_35_2756.jpg
/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_41_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392025920","1392025931","1392025934","1392025924","1392025927","1392025938"],"photo_ids_order":["1392025920","1392025924","1392025927","1392025931","1392025934","1392025938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d889691a069c567bd838c0b24c78b28.jpg","text":"TemporaryFile(/tmp/multipartBody425168061808814016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166043687,"filename":"image_03112025_06_07_56_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/3/ef883bd2013e4e008c89f70bd67fce14.jpg","text":"TemporaryFile(/tmp/multipartBody4683410459850495991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166043687,"filename":"image_03112025_06_08_32_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/3/ebc6ded0dc9479b367a128f4a3668d82.jpg","text":"TemporaryFile(/tmp/multipartBody6774022309774227014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166043687,"filename":"image_03112025_06_08_35_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/3/134dac2ed9de436c6f86f54a8f16ffee.jpg","text":"TemporaryFile(/tmp/multipartBody6040609570433944116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166043687,"filename":"image_03112025_06_08_05_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/3/2982a686d5dd023eab3b51aa17ee1a11.jpg","text":"TemporaryFile(/tmp/multipartBody237835872607524730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166043687,"filename":"image_03112025_06_08_28_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa5ace06d4167befafa91f1c608d1038.jpg","text":"TemporaryFile(/tmp/multipartBody280738371962952519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166043687,"filename":"image_03112025_06_08_41_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392025927","file1":"1392025924","file0":"1392025920","file4":"1392025934","file5":"1392025938","file3":"1392025931"},"map_files_photo_id_array":[{"photo_id":"1392025938","filename":"file5"},{"photo_id":"1392025927","filename":"file2"},{"photo_id":"1392025934","filename":"file4"},{"photo_id":"1392025924","filename":"file1"},{"photo_id":"1392025920","filename":"file0"},{"photo_id":"1392025931","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392025920":["hashtag1","hashtag2"]},{"1392025931":["hashtag1","hashtag2"]},{"1392025934":["hashtag1","hashtag2"]},{"1392025924":["hashtag1","hashtag2"]},{"1392025927":["hashtag1","hashtag2"]},{"1392025938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392025920, 1392025931, 1392025934, 1392025924, 1392025927, 1392025938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34966707229614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:33:42.231098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_44_2661.jpg', '/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_50_3582.jpg', '/home/pi/Desktop/images/03112025/06/09/image_03112025_06_09_23_1649.jpg', '/home/pi/Desktop/images/03112025/06/09/image_03112025_06_09_46_1545.jpg', '/home/pi/Desktop/images/03112025/06/09/image_03112025_06_09_48_1753.jpg', '/home/pi/Desktop/images/03112025/06/10/image_03112025_06_10_17_1861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_44_2661.jpg
/home/pi/Desktop/images/03112025/06/08/image_03112025_06_08_50_3582.jpg
/home/pi/Desktop/images/03112025/06/09/image_03112025_06_09_23_1649.jpg
/home/pi/Desktop/images/03112025/06/09/image_03112025_06_09_46_1545.jpg
/home/pi/Desktop/images/03112025/06/09/image_03112025_06_09_48_1753.jpg
/home/pi/Desktop/images/03112025/06/10/image_03112025_06_10_17_1861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026165","1392026159","1392026098","1392026020","1392026127","1392026162"],"photo_ids_order":["1392026020","1392026098","1392026127","1392026159","1392026162","1392026165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be6ec640d1a527ba714e733e225be0c9.jpg","text":"TemporaryFile(/tmp/multipartBody8062921847470180010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166083021,"filename":"image_03112025_06_10_17_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f257f42cc05b83d2397aab9f0f25ede2.jpg","text":"TemporaryFile(/tmp/multipartBody5788313842162100624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166083021,"filename":"image_03112025_06_09_46_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/3/7e5daca8769e2ae8835ceb8b292c8b16.jpg","text":"TemporaryFile(/tmp/multipartBody4967137605460024028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166083021,"filename":"image_03112025_06_08_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/3/c4afb39da5a3293ea69937f6a40fc93f.jpg","text":"TemporaryFile(/tmp/multipartBody2364287008314643798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166083021,"filename":"image_03112025_06_08_44_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/3/b549daab0587ba312bd3d979b8ffdc0a.jpg","text":"TemporaryFile(/tmp/multipartBody5570876345660769041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166083021,"filename":"image_03112025_06_09_23_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/3/4f791ad26792cb7c8014630569e3e7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5132441611496357546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166083021,"filename":"image_03112025_06_09_48_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026127","file1":"1392026098","file0":"1392026020","file4":"1392026162","file5":"1392026165","file3":"1392026159"},"map_files_photo_id_array":[{"photo_id":"1392026165","filename":"file5"},{"photo_id":"1392026127","filename":"file2"},{"photo_id":"1392026162","filename":"file4"},{"photo_id":"1392026098","filename":"file1"},{"photo_id":"1392026020","filename":"file0"},{"photo_id":"1392026159","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026165":["hashtag1","hashtag2"]},{"1392026159":["hashtag1","hashtag2"]},{"1392026098":["hashtag1","hashtag2"]},{"1392026020":["hashtag1","hashtag2"]},{"1392026127":["hashtag1","hashtag2"]},{"1392026162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026165, 1392026159, 1392026098, 1392026020, 1392026127, 1392026162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.450108766555786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:34:22.404884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/10/image_03112025_06_10_18_1755.jpg', '/home/pi/Desktop/images/03112025/06/10/image_03112025_06_10_51_1773.jpg', '/home/pi/Desktop/images/03112025/06/10/image_03112025_06_10_56_2562.jpg', '/home/pi/Desktop/images/03112025/06/11/image_03112025_06_11_47_1570.jpg', '/home/pi/Desktop/images/03112025/06/11/image_03112025_06_11_50_1597.jpg', '/home/pi/Desktop/images/03112025/06/12/image_03112025_06_13_00_30423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/10/image_03112025_06_10_18_1755.jpg
/home/pi/Desktop/images/03112025/06/10/image_03112025_06_10_51_1773.jpg
/home/pi/Desktop/images/03112025/06/10/image_03112025_06_10_56_2562.jpg
/home/pi/Desktop/images/03112025/06/11/image_03112025_06_11_47_1570.jpg
/home/pi/Desktop/images/03112025/06/11/image_03112025_06_11_50_1597.jpg
/home/pi/Desktop/images/03112025/06/12/image_03112025_06_13_00_30423.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026176","1392026215","1392026193","1392026172","1392026220","1392026189"],"photo_ids_order":["1392026172","1392026176","1392026189","1392026193","1392026215","1392026220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a36d2b2ad3511deda5d033f49c03d301.jpg","text":"TemporaryFile(/tmp/multipartBody3615773683060768006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166123187,"filename":"image_03112025_06_10_51_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0eed91b7ecec7bc8e1f22378f210b6ca.jpg","text":"TemporaryFile(/tmp/multipartBody4423825349114869890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166123187,"filename":"image_03112025_06_11_50_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/3/a83279be0d2ba5a0ddd3e8afe481ba01.jpg","text":"TemporaryFile(/tmp/multipartBody3299318162929863723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166123187,"filename":"image_03112025_06_11_47_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/3/5d4208c1849cf2873c527252ef691b00.jpg","text":"TemporaryFile(/tmp/multipartBody1579655111405066515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166123187,"filename":"image_03112025_06_10_18_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/3/7f5cd1a2b080239504cd55f1d7f9cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody3566157205690763600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166123187,"filename":"image_03112025_06_13_00_30423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a4e8481c34688a0735d7c23a7f7c5aca.jpg","text":"TemporaryFile(/tmp/multipartBody8581581558157131729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166123187,"filename":"image_03112025_06_10_56_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026189","file1":"1392026176","file0":"1392026172","file4":"1392026215","file5":"1392026220","file3":"1392026193"},"map_files_photo_id_array":[{"photo_id":"1392026220","filename":"file5"},{"photo_id":"1392026189","filename":"file2"},{"photo_id":"1392026215","filename":"file4"},{"photo_id":"1392026176","filename":"file1"},{"photo_id":"1392026172","filename":"file0"},{"photo_id":"1392026193","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026176":["hashtag1","hashtag2"]},{"1392026215":["hashtag1","hashtag2"]},{"1392026193":["hashtag1","hashtag2"]},{"1392026172":["hashtag1","hashtag2"]},{"1392026220":["hashtag1","hashtag2"]},{"1392026189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026176, 1392026215, 1392026193, 1392026172, 1392026220, 1392026189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88421964645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:35:03.201795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_07_3011.jpg', '/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_11_3557.jpg', '/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_14_2864.jpg', '/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_32_2629.jpg', '/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_34_2664.jpg', '/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_43_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_07_3011.jpg
/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_11_3557.jpg
/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_14_2864.jpg
/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_32_2629.jpg
/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_34_2664.jpg
/home/pi/Desktop/images/03112025/06/15/image_03112025_06_15_43_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026285","1392026270","1392026266","1392026281","1392026277","1392026273"],"photo_ids_order":["1392026266","1392026270","1392026273","1392026277","1392026281","1392026285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7c161321bf1fc8bab57d3a87b477dceb.jpg","text":"TemporaryFile(/tmp/multipartBody1563517320146277168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166164141,"filename":"image_03112025_06_15_43_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/3/4e287f5d65c97ca9152303268e016ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2855799061815577649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166164141,"filename":"image_03112025_06_15_11_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/560080f27494ffe10f12dd151d736447.jpg","text":"TemporaryFile(/tmp/multipartBody1545625069239003509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166164141,"filename":"image_03112025_06_15_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/3/fba4438b7dc11b0702e3a2a19aab182c.jpg","text":"TemporaryFile(/tmp/multipartBody5763947655084404202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166164141,"filename":"image_03112025_06_15_34_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3c4e8067f9adf6a1c84b7688baead9a7.jpg","text":"TemporaryFile(/tmp/multipartBody1534328748617633826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166164141,"filename":"image_03112025_06_15_32_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/3/1842f5860eb203f3a6f40ebdda67af0a.jpg","text":"TemporaryFile(/tmp/multipartBody7276896610361860304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166164141,"filename":"image_03112025_06_15_14_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026273","file1":"1392026270","file0":"1392026266","file4":"1392026281","file5":"1392026285","file3":"1392026277"},"map_files_photo_id_array":[{"photo_id":"1392026285","filename":"file5"},{"photo_id":"1392026273","filename":"file2"},{"photo_id":"1392026281","filename":"file4"},{"photo_id":"1392026270","filename":"file1"},{"photo_id":"1392026266","filename":"file0"},{"photo_id":"1392026277","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026285":["hashtag1","hashtag2"]},{"1392026270":["hashtag1","hashtag2"]},{"1392026266":["hashtag1","hashtag2"]},{"1392026281":["hashtag1","hashtag2"]},{"1392026277":["hashtag1","hashtag2"]},{"1392026273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026285, 1392026270, 1392026266, 1392026281, 1392026277, 1392026273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50166940689087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:35:42.657938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_05_6825.jpg', '/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_27_4370.jpg', '/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_32_1646.jpg', '/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_40_1724.jpg', '/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_49_5558.jpg', '/home/pi/Desktop/images/03112025/06/16/image_03112025_06_17_00_1891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_05_6825.jpg
/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_27_4370.jpg
/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_32_1646.jpg
/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_40_1724.jpg
/home/pi/Desktop/images/03112025/06/16/image_03112025_06_16_49_5558.jpg
/home/pi/Desktop/images/03112025/06/16/image_03112025_06_17_00_1891.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026383","1392026488","1392026452","1392026500","1392026343","1392026418"],"photo_ids_order":["1392026343","1392026383","1392026418","1392026452","1392026488","1392026500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ccac336ca6c7dbde76cc0d80dc60f68.jpg","text":"TemporaryFile(/tmp/multipartBody4282509453744586721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166203442,"filename":"image_03112025_06_16_27_4370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/953eb1bfcac80171cc5eafec7e2803cf.jpg","text":"TemporaryFile(/tmp/multipartBody4608575556577049708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166203442,"filename":"image_03112025_06_16_49_5558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1998d7d1d419a4a8402af57759864235.jpg","text":"TemporaryFile(/tmp/multipartBody7719932817433345173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166203442,"filename":"image_03112025_06_16_40_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/3/0df3c80d382fcf0ec61a05f6390b2767.jpg","text":"TemporaryFile(/tmp/multipartBody7125760258519967306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166203442,"filename":"image_03112025_06_17_00_1891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/94ff61e8e737b6169808765837aa6ace.jpg","text":"TemporaryFile(/tmp/multipartBody2215657746635665064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166203442,"filename":"image_03112025_06_16_05_6825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/858db4ebadd9b505ecc044b0df4e0b78.jpg","text":"TemporaryFile(/tmp/multipartBody2045508318673547045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166203442,"filename":"image_03112025_06_16_32_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026418","file1":"1392026383","file0":"1392026343","file4":"1392026488","file5":"1392026500","file3":"1392026452"},"map_files_photo_id_array":[{"photo_id":"1392026500","filename":"file5"},{"photo_id":"1392026418","filename":"file2"},{"photo_id":"1392026488","filename":"file4"},{"photo_id":"1392026383","filename":"file1"},{"photo_id":"1392026343","filename":"file0"},{"photo_id":"1392026452","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026383":["hashtag1","hashtag2"]},{"1392026488":["hashtag1","hashtag2"]},{"1392026452":["hashtag1","hashtag2"]},{"1392026500":["hashtag1","hashtag2"]},{"1392026343":["hashtag1","hashtag2"]},{"1392026418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026383, 1392026488, 1392026452, 1392026500, 1392026343, 1392026418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35819959640503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:36:21.884380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/17/image_03112025_06_17_06_4283.jpg', '/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_13_2666.jpg', '/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_17_3530.jpg', '/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_25_2712.jpg', '/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_29_3617.jpg', '/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_52_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/17/image_03112025_06_17_06_4283.jpg
/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_13_2666.jpg
/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_17_3530.jpg
/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_25_2712.jpg
/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_29_3617.jpg
/home/pi/Desktop/images/03112025/06/18/image_03112025_06_18_52_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026555","1392026549","1392026596","1392026553","1392026544","1392026588"],"photo_ids_order":["1392026544","1392026549","1392026553","1392026555","1392026588","1392026596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d1dd5893303e44d3e6a96d47469f7ed2.jpg","text":"TemporaryFile(/tmp/multipartBody8050600491606718226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166242715,"filename":"image_03112025_06_18_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/3/5cc50ec888c991d4b2331aa4d93d8879.jpg","text":"TemporaryFile(/tmp/multipartBody4905703648973887498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166242715,"filename":"image_03112025_06_18_13_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cb6c638e8a8a6164ce29f14c89ed9e7a.jpg","text":"TemporaryFile(/tmp/multipartBody216191894947007125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166242715,"filename":"image_03112025_06_18_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/3/d6d803c63fa82aab5ea39ab370fd64f5.jpg","text":"TemporaryFile(/tmp/multipartBody5102360895146463510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166242715,"filename":"image_03112025_06_18_17_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/21ef02f37e887554d6a2cf2bbb51239d.jpg","text":"TemporaryFile(/tmp/multipartBody3464121118451549685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166242715,"filename":"image_03112025_06_17_06_4283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6628a6514f573984e2be1c3df0127969.jpg","text":"TemporaryFile(/tmp/multipartBody1794699355890924485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166242715,"filename":"image_03112025_06_18_29_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026553","file1":"1392026549","file0":"1392026544","file4":"1392026588","file5":"1392026596","file3":"1392026555"},"map_files_photo_id_array":[{"photo_id":"1392026596","filename":"file5"},{"photo_id":"1392026553","filename":"file2"},{"photo_id":"1392026588","filename":"file4"},{"photo_id":"1392026549","filename":"file1"},{"photo_id":"1392026544","filename":"file0"},{"photo_id":"1392026555","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026555":["hashtag1","hashtag2"]},{"1392026549":["hashtag1","hashtag2"]},{"1392026596":["hashtag1","hashtag2"]},{"1392026553":["hashtag1","hashtag2"]},{"1392026544":["hashtag1","hashtag2"]},{"1392026588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026555, 1392026549, 1392026596, 1392026553, 1392026544, 1392026588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33798956871033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:37:02.920042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_22_2673.jpg', '/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_34_2548.jpg', '/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_38_3640.jpg', '/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_46_2699.jpg', '/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_56_3582.jpg', '/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_01_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_22_2673.jpg
/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_34_2548.jpg
/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_38_3640.jpg
/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_46_2699.jpg
/home/pi/Desktop/images/03112025/06/19/image_03112025_06_19_56_3582.jpg
/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_01_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026698","1392026671","1392026635","1392026691","1392026688","1392026607"],"photo_ids_order":["1392026607","1392026635","1392026671","1392026688","1392026691","1392026698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d792f71674720730f38b105c5819089.jpg","text":"TemporaryFile(/tmp/multipartBody8039564232971356368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166283771,"filename":"image_03112025_06_20_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/3/866498ebd154158e83788d6f80ac14f9.jpg","text":"TemporaryFile(/tmp/multipartBody87001986842168831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166283771,"filename":"image_03112025_06_19_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/3/841764598c8637d55118122ff2aa9953.jpg","text":"TemporaryFile(/tmp/multipartBody970501916172464038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166283771,"filename":"image_03112025_06_19_34_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c4f99909db35f495c19025c0ac36a134.jpg","text":"TemporaryFile(/tmp/multipartBody4423254275136908448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166283771,"filename":"image_03112025_06_19_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/3/828520ed938a3a1a9eb071b0ac175177.jpg","text":"TemporaryFile(/tmp/multipartBody375470560458266643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166283771,"filename":"image_03112025_06_19_46_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc6cc1bafcd6666af0920467fac666a7.jpg","text":"TemporaryFile(/tmp/multipartBody294236810950722100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166283771,"filename":"image_03112025_06_19_22_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026671","file1":"1392026635","file0":"1392026607","file4":"1392026691","file5":"1392026698","file3":"1392026688"},"map_files_photo_id_array":[{"photo_id":"1392026698","filename":"file5"},{"photo_id":"1392026671","filename":"file2"},{"photo_id":"1392026691","filename":"file4"},{"photo_id":"1392026635","filename":"file1"},{"photo_id":"1392026607","filename":"file0"},{"photo_id":"1392026688","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026698":["hashtag1","hashtag2"]},{"1392026671":["hashtag1","hashtag2"]},{"1392026635":["hashtag1","hashtag2"]},{"1392026691":["hashtag1","hashtag2"]},{"1392026688":["hashtag1","hashtag2"]},{"1392026607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026698, 1392026671, 1392026635, 1392026691, 1392026688, 1392026607)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.7222056388855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:38:02.842356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_05_3623.jpg', '/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_10_2562.jpg', '/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_14_3800.jpg', '/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_28_2565.jpg', '/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_34_2773.jpg', '/home/pi/Desktop/images/03112025/06/24/image_03112025_06_24_16_7991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_05_3623.jpg
/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_10_2562.jpg
/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_14_3800.jpg
/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_28_2565.jpg
/home/pi/Desktop/images/03112025/06/20/image_03112025_06_20_34_2773.jpg
/home/pi/Desktop/images/03112025/06/24/image_03112025_06_24_16_7991.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026732","1392026723","1392026725","1392026728","1392026721","1392026739"],"photo_ids_order":["1392026721","1392026723","1392026725","1392026728","1392026732","1392026739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aa109f84bcb83991e7f7ed207da6249d.jpg","text":"TemporaryFile(/tmp/multipartBody7286305591187281730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166343642,"filename":"image_03112025_06_20_34_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/3/f666c5ebad1b98d9db7d9ca0b2f531a1.jpg","text":"TemporaryFile(/tmp/multipartBody1686024515510740204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166343642,"filename":"image_03112025_06_20_10_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/3/f68b0950abbae49c58822523fccaeede.jpg","text":"TemporaryFile(/tmp/multipartBody7282049046363250981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166343642,"filename":"image_03112025_06_20_14_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/3/344b580059b5b7ddc40682a7edfd04d5.jpg","text":"TemporaryFile(/tmp/multipartBody3854527217480936132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166343642,"filename":"image_03112025_06_20_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/3/6ee22b46c2d2bf595dcb2bacfc33581f.jpg","text":"TemporaryFile(/tmp/multipartBody8917098629186798373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166343642,"filename":"image_03112025_06_20_05_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/3/a7d62ed918f4d6841710b4bcf3b0499c.jpg","text":"TemporaryFile(/tmp/multipartBody2607431054370174843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166343642,"filename":"image_03112025_06_24_16_7991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026725","file1":"1392026723","file0":"1392026721","file4":"1392026732","file5":"1392026739","file3":"1392026728"},"map_files_photo_id_array":[{"photo_id":"1392026739","filename":"file5"},{"photo_id":"1392026725","filename":"file2"},{"photo_id":"1392026732","filename":"file4"},{"photo_id":"1392026723","filename":"file1"},{"photo_id":"1392026721","filename":"file0"},{"photo_id":"1392026728","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026732":["hashtag1","hashtag2"]},{"1392026723":["hashtag1","hashtag2"]},{"1392026725":["hashtag1","hashtag2"]},{"1392026728":["hashtag1","hashtag2"]},{"1392026721":["hashtag1","hashtag2"]},{"1392026739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026732, 1392026723, 1392026725, 1392026728, 1392026721, 1392026739)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 65.05459237098694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:39:23.081003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/24/image_03112025_06_24_19_1650.jpg', '/home/pi/Desktop/images/03112025/06/24/image_03112025_06_24_36_1618.jpg', '/home/pi/Desktop/images/03112025/06/24/image_03112025_06_24_39_1650.jpg', '/home/pi/Desktop/images/03112025/06/26/image_03112025_06_26_10_1815.jpg', '/home/pi/Desktop/images/03112025/06/26/image_03112025_06_26_21_9184.jpg', '/home/pi/Desktop/images/03112025/06/26/image_03112025_06_26_38_13229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/24/image_03112025_06_24_19_1650.jpg
/home/pi/Desktop/images/03112025/06/24/image_03112025_06_24_36_1618.jpg
/home/pi/Desktop/images/03112025/06/24/image_03112025_06_24_39_1650.jpg
/home/pi/Desktop/images/03112025/06/26/image_03112025_06_26_10_1815.jpg
/home/pi/Desktop/images/03112025/06/26/image_03112025_06_26_21_9184.jpg
/home/pi/Desktop/images/03112025/06/26/image_03112025_06_26_38_13229.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026801","1392026788","1392026782","1392026793","1392026805","1392026798"],"photo_ids_order":["1392026782","1392026788","1392026793","1392026798","1392026801","1392026805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/700d6f9cc8665b05432fc60323bc25af.jpg","text":"TemporaryFile(/tmp/multipartBody5851984593394090014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166423821,"filename":"image_03112025_06_26_21_9184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56c472496eabc66eaad35a1a7b9fb753.jpg","text":"TemporaryFile(/tmp/multipartBody8211170126437259105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166423821,"filename":"image_03112025_06_24_36_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/3/389191df54557768dbbc32eaca839a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1570195638782765423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166423821,"filename":"image_03112025_06_24_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/3/d7c3016f959d8520e63b61033a219f0c.jpg","text":"TemporaryFile(/tmp/multipartBody3880208450470248661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166423821,"filename":"image_03112025_06_24_39_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/3/07623475eae38de86b1ac0a2cf0e530c.jpg","text":"TemporaryFile(/tmp/multipartBody155369761884009781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166423821,"filename":"image_03112025_06_26_38_13229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7663ae32fda05de7b7d5f0f7bcd1463b.jpg","text":"TemporaryFile(/tmp/multipartBody1843466999536827725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166423821,"filename":"image_03112025_06_26_10_1815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026793","file1":"1392026788","file0":"1392026782","file4":"1392026801","file5":"1392026805","file3":"1392026798"},"map_files_photo_id_array":[{"photo_id":"1392026805","filename":"file5"},{"photo_id":"1392026793","filename":"file2"},{"photo_id":"1392026801","filename":"file4"},{"photo_id":"1392026788","filename":"file1"},{"photo_id":"1392026782","filename":"file0"},{"photo_id":"1392026798","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026801":["hashtag1","hashtag2"]},{"1392026788":["hashtag1","hashtag2"]},{"1392026782":["hashtag1","hashtag2"]},{"1392026793":["hashtag1","hashtag2"]},{"1392026805":["hashtag1","hashtag2"]},{"1392026798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026801, 1392026788, 1392026782, 1392026793, 1392026805, 1392026798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.254629373550415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:40:22.184439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_07_1941.jpg', '/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_15_1764.jpg', '/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_27_1847.jpg', '/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_32_1570.jpg', '/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_35_1703.jpg', '/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_39_1683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_07_1941.jpg
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_15_1764.jpg
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_27_1847.jpg
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_32_1570.jpg
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_35_1703.jpg
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_39_1683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026846","1392026837","1392026842","1392026851","1392026865","1392026859"],"photo_ids_order":["1392026837","1392026842","1392026846","1392026851","1392026859","1392026865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c7f5c879399c0fad7fbea2b57c10fb3e.jpg","text":"TemporaryFile(/tmp/multipartBody2787461090221102787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166482930,"filename":"image_03112025_06_27_27_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/3/0f63493a4918d1d0d8c29ab938e10181.jpg","text":"TemporaryFile(/tmp/multipartBody3754820329428730050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166482930,"filename":"image_03112025_06_27_07_1941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/161d6d72fe4eaf4482c9b48ae08e8e20.jpg","text":"TemporaryFile(/tmp/multipartBody3082702104288490023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166482930,"filename":"image_03112025_06_27_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/3/b618fd5c080de5af5caa81070c421af2.jpg","text":"TemporaryFile(/tmp/multipartBody6621961828250980434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166482930,"filename":"image_03112025_06_27_32_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/3/032de2be41dff46b8308def25d874118.jpg","text":"TemporaryFile(/tmp/multipartBody982223345770222050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166482930,"filename":"image_03112025_06_27_39_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/3/7aa8284e7785bd6c6d5e32ee4371e49d.jpg","text":"TemporaryFile(/tmp/multipartBody4693084551348019754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166482930,"filename":"image_03112025_06_27_35_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026846","file1":"1392026842","file0":"1392026837","file4":"1392026859","file5":"1392026865","file3":"1392026851"},"map_files_photo_id_array":[{"photo_id":"1392026865","filename":"file5"},{"photo_id":"1392026846","filename":"file2"},{"photo_id":"1392026859","filename":"file4"},{"photo_id":"1392026842","filename":"file1"},{"photo_id":"1392026837","filename":"file0"},{"photo_id":"1392026851","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026846":["hashtag1","hashtag2"]},{"1392026837":["hashtag1","hashtag2"]},{"1392026842":["hashtag1","hashtag2"]},{"1392026851":["hashtag1","hashtag2"]},{"1392026865":["hashtag1","hashtag2"]},{"1392026859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026846, 1392026837, 1392026842, 1392026851, 1392026865, 1392026859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.066025495529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:41:03.050488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_43_1740.jpg', '/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_48_1626.jpg', '/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_59_1732.jpg', '/home/pi/Desktop/images/03112025/06/27/image_03112025_06_28_00_1779.jpg', '/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_28_1601.jpg', '/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_38_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_43_1740.jpg
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_48_1626.jpg
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_27_59_1732.jpg
/home/pi/Desktop/images/03112025/06/27/image_03112025_06_28_00_1779.jpg
/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_28_1601.jpg
/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_38_1587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026902","1392026883","1392026892","1392026874","1392026888","1392026897"],"photo_ids_order":["1392026874","1392026883","1392026888","1392026892","1392026897","1392026902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cdb4b664ed90d414bb7401a45f522182.jpg","text":"TemporaryFile(/tmp/multipartBody2377725462795401855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166523914,"filename":"image_03112025_06_28_38_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/3/daa0635c8631bac186c0588bb842e0f5.jpg","text":"TemporaryFile(/tmp/multipartBody8662189412702984630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166523914,"filename":"image_03112025_06_27_48_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/3/d4c64275afbc907116926b3b781e49d2.jpg","text":"TemporaryFile(/tmp/multipartBody1059968730122819527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166523914,"filename":"image_03112025_06_28_00_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/3/ff678e729bce0d9a1de472e37bbc0813.jpg","text":"TemporaryFile(/tmp/multipartBody790633099037077241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166523914,"filename":"image_03112025_06_27_43_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/3/a3ccb681edb41e61d44b637938a8b318.jpg","text":"TemporaryFile(/tmp/multipartBody2803666380889803154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166523914,"filename":"image_03112025_06_27_59_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/3/415555fa1a2d256261bfb34cbd24aa81.jpg","text":"TemporaryFile(/tmp/multipartBody7214857458465664293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166523914,"filename":"image_03112025_06_28_28_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026888","file1":"1392026883","file0":"1392026874","file4":"1392026897","file5":"1392026902","file3":"1392026892"},"map_files_photo_id_array":[{"photo_id":"1392026902","filename":"file5"},{"photo_id":"1392026888","filename":"file2"},{"photo_id":"1392026897","filename":"file4"},{"photo_id":"1392026883","filename":"file1"},{"photo_id":"1392026874","filename":"file0"},{"photo_id":"1392026892","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026902":["hashtag1","hashtag2"]},{"1392026883":["hashtag1","hashtag2"]},{"1392026892":["hashtag1","hashtag2"]},{"1392026874":["hashtag1","hashtag2"]},{"1392026888":["hashtag1","hashtag2"]},{"1392026897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026902, 1392026883, 1392026892, 1392026874, 1392026888, 1392026897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42147994041443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:41:42.454020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_40_1580.jpg', '/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_43_1760.jpg', '/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_53_2999.jpg', '/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_55_1798.jpg', '/home/pi/Desktop/images/03112025/06/28/image_03112025_06_29_00_2618.jpg', '/home/pi/Desktop/images/03112025/06/29/image_03112025_06_29_21_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_40_1580.jpg
/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_43_1760.jpg
/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_53_2999.jpg
/home/pi/Desktop/images/03112025/06/28/image_03112025_06_28_55_1798.jpg
/home/pi/Desktop/images/03112025/06/28/image_03112025_06_29_00_2618.jpg
/home/pi/Desktop/images/03112025/06/29/image_03112025_06_29_21_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026924","1392026918","1392026921","1392026920","1392026913","1392026919"],"photo_ids_order":["1392026913","1392026918","1392026919","1392026920","1392026921","1392026924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef8e7474fe9eeee06f08c2de23a5b009.jpg","text":"TemporaryFile(/tmp/multipartBody8957388583537601423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166563243,"filename":"image_03112025_06_29_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/3/c8cfc41d640efbe9bcdf6819132ea619.jpg","text":"TemporaryFile(/tmp/multipartBody3953733422658066726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166563243,"filename":"image_03112025_06_28_43_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a80bb70f055f9816d3d8b2d84cf182d4.jpg","text":"TemporaryFile(/tmp/multipartBody7321771452882123195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166563243,"filename":"image_03112025_06_29_00_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f0d48fb320925e83892cd36466dbeed.jpg","text":"TemporaryFile(/tmp/multipartBody5088201298750260755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166563243,"filename":"image_03112025_06_28_55_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3545229a78a9491b5cb6a5c338ae66ec.jpg","text":"TemporaryFile(/tmp/multipartBody7566183893340990733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166563243,"filename":"image_03112025_06_28_40_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/3/57f3063e26ec36355f0f35b81f65e88a.jpg","text":"TemporaryFile(/tmp/multipartBody8661302185990118470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166563243,"filename":"image_03112025_06_28_53_2999.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026919","file1":"1392026918","file0":"1392026913","file4":"1392026921","file5":"1392026924","file3":"1392026920"},"map_files_photo_id_array":[{"photo_id":"1392026924","filename":"file5"},{"photo_id":"1392026919","filename":"file2"},{"photo_id":"1392026921","filename":"file4"},{"photo_id":"1392026918","filename":"file1"},{"photo_id":"1392026913","filename":"file0"},{"photo_id":"1392026920","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026924":["hashtag1","hashtag2"]},{"1392026918":["hashtag1","hashtag2"]},{"1392026921":["hashtag1","hashtag2"]},{"1392026920":["hashtag1","hashtag2"]},{"1392026913":["hashtag1","hashtag2"]},{"1392026919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026924, 1392026918, 1392026921, 1392026920, 1392026913, 1392026919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26552867889404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:42:22.615226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/29/image_03112025_06_29_36_3635.jpg', '/home/pi/Desktop/images/03112025/06/29/image_03112025_06_29_42_2633.jpg', '/home/pi/Desktop/images/03112025/06/29/image_03112025_06_29_58_3658.jpg', '/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_03_2673.jpg', '/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_09_3060.jpg', '/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_18_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/29/image_03112025_06_29_36_3635.jpg
/home/pi/Desktop/images/03112025/06/29/image_03112025_06_29_42_2633.jpg
/home/pi/Desktop/images/03112025/06/29/image_03112025_06_29_58_3658.jpg
/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_03_2673.jpg
/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_09_3060.jpg
/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_18_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026951","1392026947","1392026958","1392026954","1392026942","1392026936"],"photo_ids_order":["1392026936","1392026942","1392026947","1392026951","1392026954","1392026958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9e5cdf9122a45d07a94919352a30884c.jpg","text":"TemporaryFile(/tmp/multipartBody2599796907861341640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166603362,"filename":"image_03112025_06_30_03_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/30d8511c1cbc7d79b23a67875fbf8fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3169590237869130235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166603362,"filename":"image_03112025_06_29_58_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/3/1c8673cdaaae3cb904f913b38293be07.jpg","text":"TemporaryFile(/tmp/multipartBody5407719950135058807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166603362,"filename":"image_03112025_06_30_18_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/3/5aec98b8839083f248dab1284334a1e4.jpg","text":"TemporaryFile(/tmp/multipartBody7452927009245224002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166603362,"filename":"image_03112025_06_30_09_3060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d4c77d3b409c1a172a92a3d50c6f7b1.jpg","text":"TemporaryFile(/tmp/multipartBody2564834146077868934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166603362,"filename":"image_03112025_06_29_42_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/3/9e7bb40472b1c8753f6e11a6b904471f.jpg","text":"TemporaryFile(/tmp/multipartBody4651683563962196338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166603362,"filename":"image_03112025_06_29_36_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026947","file1":"1392026942","file0":"1392026936","file4":"1392026954","file5":"1392026958","file3":"1392026951"},"map_files_photo_id_array":[{"photo_id":"1392026958","filename":"file5"},{"photo_id":"1392026947","filename":"file2"},{"photo_id":"1392026954","filename":"file4"},{"photo_id":"1392026942","filename":"file1"},{"photo_id":"1392026936","filename":"file0"},{"photo_id":"1392026951","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026951":["hashtag1","hashtag2"]},{"1392026947":["hashtag1","hashtag2"]},{"1392026958":["hashtag1","hashtag2"]},{"1392026954":["hashtag1","hashtag2"]},{"1392026942":["hashtag1","hashtag2"]},{"1392026936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026951, 1392026947, 1392026958, 1392026954, 1392026942, 1392026936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09604215621948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:43:03.462935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_24_2652.jpg', '/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_30_2722.jpg', '/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_42_2652.jpg', '/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_45_3627.jpg', '/home/pi/Desktop/images/03112025/06/31/image_03112025_06_31_31_4230.jpg', '/home/pi/Desktop/images/03112025/06/31/image_03112025_06_31_36_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_24_2652.jpg
/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_30_2722.jpg
/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_42_2652.jpg
/home/pi/Desktop/images/03112025/06/30/image_03112025_06_30_45_3627.jpg
/home/pi/Desktop/images/03112025/06/31/image_03112025_06_31_31_4230.jpg
/home/pi/Desktop/images/03112025/06/31/image_03112025_06_31_36_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392026982","1392026973","1392026990","1392026987","1392026984","1392026978"],"photo_ids_order":["1392026973","1392026978","1392026982","1392026984","1392026987","1392026990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/597c1ca8ecadd8ea8826b58ef1177d7c.jpg","text":"TemporaryFile(/tmp/multipartBody2137949978361177107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166646644,"filename":"image_03112025_06_30_42_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/3/0bc730cd5ef690c5b88e2c2d7c2be526.jpg","text":"TemporaryFile(/tmp/multipartBody2516554940003894385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166646644,"filename":"image_03112025_06_30_24_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/3/99085f1d1fdf41ffa428f02ec19a4e39.jpg","text":"TemporaryFile(/tmp/multipartBody4057137216060677294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166646644,"filename":"image_03112025_06_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/3/4b7b936043053ffb5b917f3823ad86f7.jpg","text":"TemporaryFile(/tmp/multipartBody6760466552769470567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166646644,"filename":"image_03112025_06_31_31_4230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5dd3289c6d5440380efd7af299839c9.jpg","text":"TemporaryFile(/tmp/multipartBody8142306814224320933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166646644,"filename":"image_03112025_06_30_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/3/8499d0598b3246ef448aacfd0916cbb6.jpg","text":"TemporaryFile(/tmp/multipartBody8080692995917597127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166646644,"filename":"image_03112025_06_30_30_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392026982","file1":"1392026978","file0":"1392026973","file4":"1392026987","file5":"1392026990","file3":"1392026984"},"map_files_photo_id_array":[{"photo_id":"1392026990","filename":"file5"},{"photo_id":"1392026982","filename":"file2"},{"photo_id":"1392026987","filename":"file4"},{"photo_id":"1392026978","filename":"file1"},{"photo_id":"1392026973","filename":"file0"},{"photo_id":"1392026984","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392026982":["hashtag1","hashtag2"]},{"1392026973":["hashtag1","hashtag2"]},{"1392026990":["hashtag1","hashtag2"]},{"1392026987":["hashtag1","hashtag2"]},{"1392026984":["hashtag1","hashtag2"]},{"1392026978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392026982, 1392026973, 1392026990, 1392026987, 1392026984, 1392026978)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.684690952301025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:44:02.902634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/31/image_03112025_06_31_54_2553.jpg', '/home/pi/Desktop/images/03112025/06/31/image_03112025_06_31_57_3619.jpg', '/home/pi/Desktop/images/03112025/06/31/image_03112025_06_32_00_2580.jpg', '/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_06_3605.jpg', '/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_09_2624.jpg', '/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_18_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/31/image_03112025_06_31_54_2553.jpg
/home/pi/Desktop/images/03112025/06/31/image_03112025_06_31_57_3619.jpg
/home/pi/Desktop/images/03112025/06/31/image_03112025_06_32_00_2580.jpg
/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_06_3605.jpg
/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_09_2624.jpg
/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_18_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392027039","1392027048","1392027036","1392027053","1392027041","1392027044"],"photo_ids_order":["1392027036","1392027039","1392027041","1392027044","1392027048","1392027053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/47d2ec2c920937bbec2525d1babe52e4.jpg","text":"TemporaryFile(/tmp/multipartBody5483846870712999678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166703717,"filename":"image_03112025_06_31_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/3/44e7bb7650b9b04f36b3564b495be19a.jpg","text":"TemporaryFile(/tmp/multipartBody6609724599262738717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166703717,"filename":"image_03112025_06_32_09_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/3/61926251157fe74fbb385815517246ad.jpg","text":"TemporaryFile(/tmp/multipartBody2157388214966593465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166703717,"filename":"image_03112025_06_31_54_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/532a8a16862fa12408f2af633d0d7071.jpg","text":"TemporaryFile(/tmp/multipartBody4367828591437204566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166703717,"filename":"image_03112025_06_32_18_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/3/bb0a4796d38a1e814e3aac407e9c1424.jpg","text":"TemporaryFile(/tmp/multipartBody736791186340737922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166703717,"filename":"image_03112025_06_32_00_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/3/aa9d0be2c1a96df76d8120e405e368f9.jpg","text":"TemporaryFile(/tmp/multipartBody2117698621127229329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166703717,"filename":"image_03112025_06_32_06_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392027041","file1":"1392027039","file0":"1392027036","file4":"1392027048","file5":"1392027053","file3":"1392027044"},"map_files_photo_id_array":[{"photo_id":"1392027053","filename":"file5"},{"photo_id":"1392027041","filename":"file2"},{"photo_id":"1392027048","filename":"file4"},{"photo_id":"1392027039","filename":"file1"},{"photo_id":"1392027036","filename":"file0"},{"photo_id":"1392027044","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392027039":["hashtag1","hashtag2"]},{"1392027048":["hashtag1","hashtag2"]},{"1392027036":["hashtag1","hashtag2"]},{"1392027053":["hashtag1","hashtag2"]},{"1392027041":["hashtag1","hashtag2"]},{"1392027044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392027039, 1392027048, 1392027036, 1392027053, 1392027041, 1392027044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12009358406067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:44:42.298885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_37_6628.jpg', '/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_39_1651.jpg', '/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_45_2759.jpg', '/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_47_2660.jpg', '/home/pi/Desktop/images/03112025/06/32/image_03112025_06_33_00_3652.jpg', '/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_08_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_37_6628.jpg
/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_39_1651.jpg
/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_45_2759.jpg
/home/pi/Desktop/images/03112025/06/32/image_03112025_06_32_47_2660.jpg
/home/pi/Desktop/images/03112025/06/32/image_03112025_06_33_00_3652.jpg
/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_08_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392027082","1392027109","1392027072","1392027179","1392027086","1392027146"],"photo_ids_order":["1392027072","1392027082","1392027086","1392027109","1392027146","1392027179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f30c23af67e6d1b1eed77cb3a3772dce.jpg","text":"TemporaryFile(/tmp/multipartBody6394165331216252135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166743091,"filename":"image_03112025_06_32_39_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/3/5101ce86d7de80248510cdb7ba8362bf.jpg","text":"TemporaryFile(/tmp/multipartBody2935800955959220027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166743091,"filename":"image_03112025_06_32_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/3/9f016f2980368087e3849dd26a4be578.jpg","text":"TemporaryFile(/tmp/multipartBody1699790876869882951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166743091,"filename":"image_03112025_06_32_37_6628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2a65dae5d028ce170405dba0a17519e.jpg","text":"TemporaryFile(/tmp/multipartBody1020398786279845388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166743091,"filename":"image_03112025_06_33_08_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/3/8b31545e72b11109c14a9203f1b5ce31.jpg","text":"TemporaryFile(/tmp/multipartBody3473040305532671921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166743091,"filename":"image_03112025_06_32_45_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/3/ed335a9600b6885d21b8ac08a4248360.jpg","text":"TemporaryFile(/tmp/multipartBody8095520541399449427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166743091,"filename":"image_03112025_06_33_00_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392027086","file1":"1392027082","file0":"1392027072","file4":"1392027146","file5":"1392027179","file3":"1392027109"},"map_files_photo_id_array":[{"photo_id":"1392027179","filename":"file5"},{"photo_id":"1392027086","filename":"file2"},{"photo_id":"1392027146","filename":"file4"},{"photo_id":"1392027082","filename":"file1"},{"photo_id":"1392027072","filename":"file0"},{"photo_id":"1392027109","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392027082":["hashtag1","hashtag2"]},{"1392027109":["hashtag1","hashtag2"]},{"1392027072":["hashtag1","hashtag2"]},{"1392027179":["hashtag1","hashtag2"]},{"1392027086":["hashtag1","hashtag2"]},{"1392027146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392027082, 1392027109, 1392027072, 1392027179, 1392027086, 1392027146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04197406768799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:45:22.435965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_29_1754.jpg', '/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_33_3660.jpg', '/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_36_2604.jpg', '/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_44_5064.jpg', '/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_46_1630.jpg', '/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_05_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_29_1754.jpg
/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_33_3660.jpg
/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_36_2604.jpg
/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_44_5064.jpg
/home/pi/Desktop/images/03112025/06/33/image_03112025_06_33_46_1630.jpg
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_05_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392027298","1392027304","1392027354","1392027339","1392027306","1392027309"],"photo_ids_order":["1392027298","1392027304","1392027306","1392027309","1392027339","1392027354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/385a24fa4657bee6ba81a715ffe0f83f.jpg","text":"TemporaryFile(/tmp/multipartBody8110686937826904211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166783201,"filename":"image_03112025_06_33_29_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/3/a4ad13aa6c9081c05982f27a51a565d1.jpg","text":"TemporaryFile(/tmp/multipartBody7006513113219758792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166783201,"filename":"image_03112025_06_33_33_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/457f1c895c1e0143ae1e63f6cd92a71e.jpg","text":"TemporaryFile(/tmp/multipartBody3831697166767318509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166783201,"filename":"image_03112025_06_34_05_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/3/195bd7fdac6acf1f17e055c75cec075a.jpg","text":"TemporaryFile(/tmp/multipartBody3388412448136036789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166783201,"filename":"image_03112025_06_33_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/3/30ff55b62e6b88c22b5414b46d2ae884.jpg","text":"TemporaryFile(/tmp/multipartBody973541077841129599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166783201,"filename":"image_03112025_06_33_36_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/3/5da744c6995b239535aa4fbd8836dc88.jpg","text":"TemporaryFile(/tmp/multipartBody5948453542744604525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166783201,"filename":"image_03112025_06_33_44_5064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392027306","file1":"1392027304","file0":"1392027298","file4":"1392027339","file5":"1392027354","file3":"1392027309"},"map_files_photo_id_array":[{"photo_id":"1392027354","filename":"file5"},{"photo_id":"1392027306","filename":"file2"},{"photo_id":"1392027339","filename":"file4"},{"photo_id":"1392027304","filename":"file1"},{"photo_id":"1392027298","filename":"file0"},{"photo_id":"1392027309","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392027298":["hashtag1","hashtag2"]},{"1392027304":["hashtag1","hashtag2"]},{"1392027354":["hashtag1","hashtag2"]},{"1392027339":["hashtag1","hashtag2"]},{"1392027306":["hashtag1","hashtag2"]},{"1392027309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392027298, 1392027304, 1392027354, 1392027339, 1392027306, 1392027309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1161322593689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:46:03.094691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_36_3560.jpg', '/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_42_2801.jpg', '/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_48_2650.jpg', '/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_54_3636.jpg', '/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_57_2723.jpg', '/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_06_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_36_3560.jpg
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_42_2801.jpg
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_48_2650.jpg
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_54_3636.jpg
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_57_2723.jpg
/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_06_1687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7450816631317139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:46:22.664520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_36_3560.jpg', '/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_42_2801.jpg', '/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_48_2650.jpg', '/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_54_3636.jpg', '/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_57_2723.jpg', '/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_06_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_36_3560.jpg
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_42_2801.jpg
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_48_2650.jpg
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_54_3636.jpg
/home/pi/Desktop/images/03112025/06/34/image_03112025_06_34_57_2723.jpg
/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_06_1687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392027481","1392027505","1392027448","1392027495","1392027420","1392027500"],"photo_ids_order":["1392027420","1392027448","1392027481","1392027495","1392027500","1392027505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a4960cae3f18ebb0a15068d23d5e8e3b.jpg","text":"TemporaryFile(/tmp/multipartBody4186472763182389074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166843413,"filename":"image_03112025_06_34_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/3/884b88fc43bdd1fa9a35d1308b1ec425.jpg","text":"TemporaryFile(/tmp/multipartBody7899352823943805141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166843413,"filename":"image_03112025_06_35_06_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/3/b277935ed463c7ac9a41d015b4316d22.jpg","text":"TemporaryFile(/tmp/multipartBody3047558918844168057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166843413,"filename":"image_03112025_06_34_42_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/3/c314227e24348e40da77351ae8634eb3.jpg","text":"TemporaryFile(/tmp/multipartBody5318223864219736872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166843413,"filename":"image_03112025_06_34_54_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/3/3b416fa007d1b5a60865f176d0f8fa9b.jpg","text":"TemporaryFile(/tmp/multipartBody6031426915837361526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166843413,"filename":"image_03112025_06_34_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/3/2f47b707e95484d729b9722621f1062a.jpg","text":"TemporaryFile(/tmp/multipartBody8402406570503249318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166843413,"filename":"image_03112025_06_34_57_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392027481","file1":"1392027448","file0":"1392027420","file4":"1392027500","file5":"1392027505","file3":"1392027495"},"map_files_photo_id_array":[{"photo_id":"1392027505","filename":"file5"},{"photo_id":"1392027481","filename":"file2"},{"photo_id":"1392027500","filename":"file4"},{"photo_id":"1392027448","filename":"file1"},{"photo_id":"1392027420","filename":"file0"},{"photo_id":"1392027495","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392027481":["hashtag1","hashtag2"]},{"1392027505":["hashtag1","hashtag2"]},{"1392027448":["hashtag1","hashtag2"]},{"1392027495":["hashtag1","hashtag2"]},{"1392027420":["hashtag1","hashtag2"]},{"1392027500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392027481, 1392027505, 1392027448, 1392027495, 1392027420, 1392027500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01713705062866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:47:02.472129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_29_2669.jpg', '/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_33_3649.jpg', '/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_39_2865.jpg', '/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_41_2624.jpg', '/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_50_2603.jpg', '/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_59_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_29_2669.jpg
/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_33_3649.jpg
/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_39_2865.jpg
/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_41_2624.jpg
/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_50_2603.jpg
/home/pi/Desktop/images/03112025/06/35/image_03112025_06_35_59_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392027526","1392027564","1392027555","1392027551","1392027530","1392027533"],"photo_ids_order":["1392027526","1392027530","1392027533","1392027551","1392027555","1392027564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee1e9f58f053ce3efff79c2d4e60090c.jpg","text":"TemporaryFile(/tmp/multipartBody2442025615842082361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166883325,"filename":"image_03112025_06_35_29_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/3/eebdf899b653190788210d83dcf13e00.jpg","text":"TemporaryFile(/tmp/multipartBody4213784067474978522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166883325,"filename":"image_03112025_06_35_59_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d992afd2264a172b027b79dedfeadc5.jpg","text":"TemporaryFile(/tmp/multipartBody4854117357124118227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166883325,"filename":"image_03112025_06_35_50_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/3/96930a4b916edff2b1b1cae4f2daf482.jpg","text":"TemporaryFile(/tmp/multipartBody6511798835768059504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166883325,"filename":"image_03112025_06_35_41_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/3/a4392ed2a3699546ef43d3b2062b660e.jpg","text":"TemporaryFile(/tmp/multipartBody6844577926667406340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166883325,"filename":"image_03112025_06_35_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/3/6ac1578d24db39d3fe83e04d6ff9349d.jpg","text":"TemporaryFile(/tmp/multipartBody3516335297089164830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166883325,"filename":"image_03112025_06_35_39_2865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392027533","file1":"1392027530","file0":"1392027526","file4":"1392027555","file5":"1392027564","file3":"1392027551"},"map_files_photo_id_array":[{"photo_id":"1392027564","filename":"file5"},{"photo_id":"1392027533","filename":"file2"},{"photo_id":"1392027555","filename":"file4"},{"photo_id":"1392027530","filename":"file1"},{"photo_id":"1392027526","filename":"file0"},{"photo_id":"1392027551","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392027526":["hashtag1","hashtag2"]},{"1392027564":["hashtag1","hashtag2"]},{"1392027555":["hashtag1","hashtag2"]},{"1392027551":["hashtag1","hashtag2"]},{"1392027530":["hashtag1","hashtag2"]},{"1392027533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392027526, 1392027564, 1392027555, 1392027551, 1392027530, 1392027533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56003260612488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:47:41.825026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_12_3745.jpg', '/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_15_2624.jpg', '/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_17_2700.jpg', '/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_20_2862.jpg', '/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_23_2860.jpg', '/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_32_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_12_3745.jpg
/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_15_2624.jpg
/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_17_2700.jpg
/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_20_2862.jpg
/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_23_2860.jpg
/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_32_2756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392027583","1392027585","1392027587","1392027581","1392027590","1392027578"],"photo_ids_order":["1392027578","1392027581","1392027583","1392027585","1392027587","1392027590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/578a64e5a18f1dea6ee772386ea11d9e.jpg","text":"TemporaryFile(/tmp/multipartBody423181390545832729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166922677,"filename":"image_03112025_06_36_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/3/23ee097cff44a88f633b3a85c4935560.jpg","text":"TemporaryFile(/tmp/multipartBody7772481293329267833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166922677,"filename":"image_03112025_06_36_20_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/3/e57652fdc11b9f51cc5f4dcfe35ba707.jpg","text":"TemporaryFile(/tmp/multipartBody4920127428250101340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166922677,"filename":"image_03112025_06_36_23_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/3/1ccb8d2c53c1841b6f62e3a4aae9e9a6.jpg","text":"TemporaryFile(/tmp/multipartBody3340771582876656488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166922677,"filename":"image_03112025_06_36_15_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/3/184cc71022fa96589ae89251727e5b70.jpg","text":"TemporaryFile(/tmp/multipartBody3969121292572317776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166922677,"filename":"image_03112025_06_36_32_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/3/5baae32f2459b8caa086fe2a21ceceae.jpg","text":"TemporaryFile(/tmp/multipartBody8814848758439024543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166922677,"filename":"image_03112025_06_36_12_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392027583","file1":"1392027581","file0":"1392027578","file4":"1392027587","file5":"1392027590","file3":"1392027585"},"map_files_photo_id_array":[{"photo_id":"1392027590","filename":"file5"},{"photo_id":"1392027583","filename":"file2"},{"photo_id":"1392027587","filename":"file4"},{"photo_id":"1392027581","filename":"file1"},{"photo_id":"1392027578","filename":"file0"},{"photo_id":"1392027585","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392027583":["hashtag1","hashtag2"]},{"1392027585":["hashtag1","hashtag2"]},{"1392027587":["hashtag1","hashtag2"]},{"1392027581":["hashtag1","hashtag2"]},{"1392027590":["hashtag1","hashtag2"]},{"1392027578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392027583, 1392027585, 1392027587, 1392027581, 1392027590, 1392027578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39914679527283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:48:21.981499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_36_3695.jpg', '/home/pi/Desktop/images/03112025/06/37/image_03112025_06_37_21_3748.jpg', '/home/pi/Desktop/images/03112025/06/37/image_03112025_06_37_26_2849.jpg', '/home/pi/Desktop/images/03112025/06/37/image_03112025_06_37_33_3580.jpg', '/home/pi/Desktop/images/03112025/06/37/image_03112025_06_37_57_3302.jpg', '/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_02_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/36/image_03112025_06_36_36_3695.jpg
/home/pi/Desktop/images/03112025/06/37/image_03112025_06_37_21_3748.jpg
/home/pi/Desktop/images/03112025/06/37/image_03112025_06_37_26_2849.jpg
/home/pi/Desktop/images/03112025/06/37/image_03112025_06_37_33_3580.jpg
/home/pi/Desktop/images/03112025/06/37/image_03112025_06_37_57_3302.jpg
/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_02_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392027679","1392027610","1392027603","1392027788","1392027606","1392027599"],"photo_ids_order":["1392027599","1392027603","1392027606","1392027610","1392027679","1392027788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/adbbf495c9036e24d2b3d187a920f96d.jpg","text":"TemporaryFile(/tmp/multipartBody1928827766051277704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166962732,"filename":"image_03112025_06_37_57_3302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d9916190314c65efe17a7ee7ad42f7e.jpg","text":"TemporaryFile(/tmp/multipartBody2724450194940644083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166962732,"filename":"image_03112025_06_37_33_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/3/0803c87fe8e1d2d33b1618966dea2fc7.jpg","text":"TemporaryFile(/tmp/multipartBody5800980793886450499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166962732,"filename":"image_03112025_06_37_21_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/3/48ea6e344cf3a3451f371d37342c3770.jpg","text":"TemporaryFile(/tmp/multipartBody4601014569280461436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166962732,"filename":"image_03112025_06_38_02_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/3/9469c3b594f3e46fd24e862e4a5c0945.jpg","text":"TemporaryFile(/tmp/multipartBody8916668715671119411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166962732,"filename":"image_03112025_06_37_26_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/34968489e1b05a6a946f2f22a25ba63c.jpg","text":"TemporaryFile(/tmp/multipartBody5477421591451586921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762166962732,"filename":"image_03112025_06_36_36_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392027606","file1":"1392027603","file0":"1392027599","file4":"1392027679","file5":"1392027788","file3":"1392027610"},"map_files_photo_id_array":[{"photo_id":"1392027788","filename":"file5"},{"photo_id":"1392027606","filename":"file2"},{"photo_id":"1392027679","filename":"file4"},{"photo_id":"1392027603","filename":"file1"},{"photo_id":"1392027599","filename":"file0"},{"photo_id":"1392027610","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392027679":["hashtag1","hashtag2"]},{"1392027610":["hashtag1","hashtag2"]},{"1392027603":["hashtag1","hashtag2"]},{"1392027788":["hashtag1","hashtag2"]},{"1392027606":["hashtag1","hashtag2"]},{"1392027599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392027679, 1392027610, 1392027603, 1392027788, 1392027606, 1392027599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.531189918518066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:49:03.163169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_26_2734.jpg', '/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_32_2812.jpg', '/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_43_4331.jpg', '/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_44_1697.jpg', '/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_47_2854.jpg', '/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_53_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_26_2734.jpg
/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_32_2812.jpg
/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_43_4331.jpg
/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_44_1697.jpg
/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_47_2854.jpg
/home/pi/Desktop/images/03112025/06/38/image_03112025_06_38_53_2797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392027815","1392027861","1392027864","1392027813","1392027816","1392027810"],"photo_ids_order":["1392027810","1392027813","1392027815","1392027816","1392027861","1392027864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e61b671d47a8edc88cee46a61265d1a0.jpg","text":"TemporaryFile(/tmp/multipartBody5231899089690259385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167004130,"filename":"image_03112025_06_38_43_4331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a01ef85a40a3e304220f2649fe5af68.jpg","text":"TemporaryFile(/tmp/multipartBody5119259972952132392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167004130,"filename":"image_03112025_06_38_47_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/3/868ede108389481ed95d1ace10b6481f.jpg","text":"TemporaryFile(/tmp/multipartBody4786314414319059683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167004130,"filename":"image_03112025_06_38_53_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/00f42778e7b9ef85efe8c42a40d3609c.jpg","text":"TemporaryFile(/tmp/multipartBody1892877434051004511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167004130,"filename":"image_03112025_06_38_32_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/3/a314a24a2f2539caa932b9d365579f56.jpg","text":"TemporaryFile(/tmp/multipartBody2494407011389445888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167004130,"filename":"image_03112025_06_38_44_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/3/1e4002251b5638ed6b1051b64d60f1ee.jpg","text":"TemporaryFile(/tmp/multipartBody6445944148283052604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167004130,"filename":"image_03112025_06_38_26_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392027815","file1":"1392027813","file0":"1392027810","file4":"1392027861","file5":"1392027864","file3":"1392027816"},"map_files_photo_id_array":[{"photo_id":"1392027864","filename":"file5"},{"photo_id":"1392027815","filename":"file2"},{"photo_id":"1392027861","filename":"file4"},{"photo_id":"1392027813","filename":"file1"},{"photo_id":"1392027810","filename":"file0"},{"photo_id":"1392027816","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392027815":["hashtag1","hashtag2"]},{"1392027861":["hashtag1","hashtag2"]},{"1392027864":["hashtag1","hashtag2"]},{"1392027813":["hashtag1","hashtag2"]},{"1392027816":["hashtag1","hashtag2"]},{"1392027810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392027815, 1392027861, 1392027864, 1392027813, 1392027816, 1392027810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13658666610718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:49:42.152307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_04_4233.jpg', '/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_11_2721.jpg', '/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_14_2851.jpg', '/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_29_2659.jpg', '/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_35_3640.jpg', '/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_38_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_04_4233.jpg
/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_11_2721.jpg
/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_14_2851.jpg
/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_29_2659.jpg
/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_35_3640.jpg
/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_38_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392027883","1392027877","1392027918","1392027921","1392027915","1392027911"],"photo_ids_order":["1392027877","1392027883","1392027911","1392027915","1392027918","1392027921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3518304faeaecf390de180c7f8a20344.jpg","text":"TemporaryFile(/tmp/multipartBody577605912302104326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167042900,"filename":"image_03112025_06_39_11_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/3/56120699f351ba6e06c5f1aa05f40320.jpg","text":"TemporaryFile(/tmp/multipartBody1740581201409112217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167042900,"filename":"image_03112025_06_39_04_4233.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1a90de3b59691fddfb5d17cacb8d7b5c.jpg","text":"TemporaryFile(/tmp/multipartBody1832093950313728084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167042900,"filename":"image_03112025_06_39_35_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/3/6e016966801ca020ff3fd886c1f877f8.jpg","text":"TemporaryFile(/tmp/multipartBody6695500386985115154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167042900,"filename":"image_03112025_06_39_38_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1df1e71ef4e6822fa3bc38f0cddf3f02.jpg","text":"TemporaryFile(/tmp/multipartBody1219055072716919151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167042900,"filename":"image_03112025_06_39_29_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/3/147e18108d2e26165f63984c5df0b9cf.jpg","text":"TemporaryFile(/tmp/multipartBody5440084079094940692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167042900,"filename":"image_03112025_06_39_14_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392027911","file1":"1392027883","file0":"1392027877","file4":"1392027918","file5":"1392027921","file3":"1392027915"},"map_files_photo_id_array":[{"photo_id":"1392027921","filename":"file5"},{"photo_id":"1392027911","filename":"file2"},{"photo_id":"1392027918","filename":"file4"},{"photo_id":"1392027883","filename":"file1"},{"photo_id":"1392027877","filename":"file0"},{"photo_id":"1392027915","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392027883":["hashtag1","hashtag2"]},{"1392027877":["hashtag1","hashtag2"]},{"1392027918":["hashtag1","hashtag2"]},{"1392027921":["hashtag1","hashtag2"]},{"1392027915":["hashtag1","hashtag2"]},{"1392027911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392027883, 1392027877, 1392027918, 1392027921, 1392027915, 1392027911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42786169052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:50:22.364996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_42_3627.jpg', '/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_44_2655.jpg', '/home/pi/Desktop/images/03112025/06/40/image_03112025_06_40_20_2931.jpg', '/home/pi/Desktop/images/03112025/06/40/image_03112025_06_40_35_2674.jpg', '/home/pi/Desktop/images/03112025/06/40/image_03112025_06_40_50_2628.jpg', '/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_02_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_42_3627.jpg
/home/pi/Desktop/images/03112025/06/39/image_03112025_06_39_44_2655.jpg
/home/pi/Desktop/images/03112025/06/40/image_03112025_06_40_20_2931.jpg
/home/pi/Desktop/images/03112025/06/40/image_03112025_06_40_35_2674.jpg
/home/pi/Desktop/images/03112025/06/40/image_03112025_06_40_50_2628.jpg
/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_02_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028011","1392028020","1392028002","1392027927","1392028025","1392028007"],"photo_ids_order":["1392027927","1392028002","1392028007","1392028011","1392028020","1392028025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/63ef2e6c254a604646c354ad38516354.jpg","text":"TemporaryFile(/tmp/multipartBody3738761780059390394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167083113,"filename":"image_03112025_06_40_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/3/e37cc6740914b07d6d3e7f1fdb4af1ee.jpg","text":"TemporaryFile(/tmp/multipartBody4579962426473930512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167083113,"filename":"image_03112025_06_40_50_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/3/7df1b3921756d1819ce0b4a2a38986c0.jpg","text":"TemporaryFile(/tmp/multipartBody4180205887949277328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167083113,"filename":"image_03112025_06_39_44_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/3/e8c9e8f829b20e317b4420482e0a96e6.jpg","text":"TemporaryFile(/tmp/multipartBody2301393056412659311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167083113,"filename":"image_03112025_06_39_42_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/3/b50f1e344bbea4746d52fb9b34a2bff8.jpg","text":"TemporaryFile(/tmp/multipartBody4200192481242428084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167083113,"filename":"image_03112025_06_41_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/3/44f18101e9222f82452c020e8ecf4b63.jpg","text":"TemporaryFile(/tmp/multipartBody5767438745386580281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167083113,"filename":"image_03112025_06_40_20_2931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028007","file1":"1392028002","file0":"1392027927","file4":"1392028020","file5":"1392028025","file3":"1392028011"},"map_files_photo_id_array":[{"photo_id":"1392028025","filename":"file5"},{"photo_id":"1392028007","filename":"file2"},{"photo_id":"1392028020","filename":"file4"},{"photo_id":"1392028002","filename":"file1"},{"photo_id":"1392027927","filename":"file0"},{"photo_id":"1392028011","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028011":["hashtag1","hashtag2"]},{"1392028020":["hashtag1","hashtag2"]},{"1392028002":["hashtag1","hashtag2"]},{"1392027927":["hashtag1","hashtag2"]},{"1392028025":["hashtag1","hashtag2"]},{"1392028007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028011, 1392028020, 1392028002, 1392027927, 1392028025, 1392028007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.127540826797485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:51:03.205311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_11_2639.jpg', '/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_17_2607.jpg', '/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_32_2596.jpg', '/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_35_2834.jpg', '/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_54_1569.jpg', '/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_59_1695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_11_2639.jpg
/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_17_2607.jpg
/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_32_2596.jpg
/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_35_2834.jpg
/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_54_1569.jpg
/home/pi/Desktop/images/03112025/06/41/image_03112025_06_41_59_1695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028066","1392028051","1392028048","1392028042","1392028056","1392028046"],"photo_ids_order":["1392028042","1392028046","1392028048","1392028051","1392028056","1392028066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1c31c075f5a46aeb7f451f0107d8e6ec.jpg","text":"TemporaryFile(/tmp/multipartBody475768774088429661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167124059,"filename":"image_03112025_06_41_59_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/3/eec3e4a3a5ac51b32970c90864bc9795.jpg","text":"TemporaryFile(/tmp/multipartBody8290088577492405154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167124059,"filename":"image_03112025_06_41_35_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8147f2d1ef3c367df6747bccaff67277.jpg","text":"TemporaryFile(/tmp/multipartBody2303329054864514900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167124059,"filename":"image_03112025_06_41_32_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/3/fc111a368aa16e8a524c7a57d47608cb.jpg","text":"TemporaryFile(/tmp/multipartBody5846898210359917669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167124059,"filename":"image_03112025_06_41_11_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5bc0c1f81e1faf7a0eb9956f2becdf5.jpg","text":"TemporaryFile(/tmp/multipartBody6904844319787542062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167124059,"filename":"image_03112025_06_41_54_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/3/23383bae714e4f57ca83faaf6c95c61c.jpg","text":"TemporaryFile(/tmp/multipartBody4856731600496014862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167124059,"filename":"image_03112025_06_41_17_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028048","file1":"1392028046","file0":"1392028042","file4":"1392028056","file5":"1392028066","file3":"1392028051"},"map_files_photo_id_array":[{"photo_id":"1392028066","filename":"file5"},{"photo_id":"1392028048","filename":"file2"},{"photo_id":"1392028056","filename":"file4"},{"photo_id":"1392028046","filename":"file1"},{"photo_id":"1392028042","filename":"file0"},{"photo_id":"1392028051","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028066":["hashtag1","hashtag2"]},{"1392028051":["hashtag1","hashtag2"]},{"1392028048":["hashtag1","hashtag2"]},{"1392028042":["hashtag1","hashtag2"]},{"1392028056":["hashtag1","hashtag2"]},{"1392028046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028066, 1392028051, 1392028048, 1392028042, 1392028056, 1392028046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83999705314636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:51:42.710319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/42/image_03112025_06_42_19_2675.jpg', '/home/pi/Desktop/images/03112025/06/42/image_03112025_06_42_23_3635.jpg', '/home/pi/Desktop/images/03112025/06/42/image_03112025_06_42_53_2598.jpg', '/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_20_2691.jpg', '/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_22_2696.jpg', '/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_29_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/42/image_03112025_06_42_19_2675.jpg
/home/pi/Desktop/images/03112025/06/42/image_03112025_06_42_23_3635.jpg
/home/pi/Desktop/images/03112025/06/42/image_03112025_06_42_53_2598.jpg
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_20_2691.jpg
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_22_2696.jpg
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_29_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028114","1392028092","1392028080","1392028122","1392028124","1392028099"],"photo_ids_order":["1392028080","1392028092","1392028099","1392028114","1392028122","1392028124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c4e5c8ba0ecb5e3aed1b9e11786d519d.jpg","text":"TemporaryFile(/tmp/multipartBody3075922695563248942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167163503,"filename":"image_03112025_06_43_20_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3257bf6299d17918aa751fc2456cc683.jpg","text":"TemporaryFile(/tmp/multipartBody884044765861674138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167163503,"filename":"image_03112025_06_42_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/3/377775f68bb4cd02c2d21d87e0ecd918.jpg","text":"TemporaryFile(/tmp/multipartBody5841719680390391999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167163503,"filename":"image_03112025_06_42_19_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/3/47215dbf09799d29b8ca7413c450ac72.jpg","text":"TemporaryFile(/tmp/multipartBody3909223791768353784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167163503,"filename":"image_03112025_06_43_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/3/d9a2564bcb0ffdcb1e831e4554ef66c1.jpg","text":"TemporaryFile(/tmp/multipartBody6271654902165814373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167163503,"filename":"image_03112025_06_43_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/3/ea96a22f715e58cceb0218e4f97ba83d.jpg","text":"TemporaryFile(/tmp/multipartBody3167241324094742753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167163503,"filename":"image_03112025_06_42_53_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028099","file1":"1392028092","file0":"1392028080","file4":"1392028122","file5":"1392028124","file3":"1392028114"},"map_files_photo_id_array":[{"photo_id":"1392028124","filename":"file5"},{"photo_id":"1392028099","filename":"file2"},{"photo_id":"1392028122","filename":"file4"},{"photo_id":"1392028092","filename":"file1"},{"photo_id":"1392028080","filename":"file0"},{"photo_id":"1392028114","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028114":["hashtag1","hashtag2"]},{"1392028092":["hashtag1","hashtag2"]},{"1392028080":["hashtag1","hashtag2"]},{"1392028122":["hashtag1","hashtag2"]},{"1392028124":["hashtag1","hashtag2"]},{"1392028099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028114, 1392028092, 1392028080, 1392028122, 1392028124, 1392028099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.516030073165894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:52:21.846999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_32_2822.jpg', '/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_34_2727.jpg', '/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_38_3572.jpg', '/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_47_3669.jpg', '/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_50_2770.jpg', '/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_53_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_32_2822.jpg
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_34_2727.jpg
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_38_3572.jpg
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_47_3669.jpg
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_50_2770.jpg
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_53_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028150","1392028144","1392028135","1392028140","1392028137","1392028156"],"photo_ids_order":["1392028135","1392028137","1392028140","1392028144","1392028150","1392028156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/23766fda47fbb38b0f50423c25a669cb.jpg","text":"TemporaryFile(/tmp/multipartBody4189088817133612876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167202580,"filename":"image_03112025_06_43_50_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/3/4d81a07b1ebe25efbf55fc41cf8603aa.jpg","text":"TemporaryFile(/tmp/multipartBody1517987243934786466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167202580,"filename":"image_03112025_06_43_47_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8105c6c5d0b8934890cbfd340ac08b24.jpg","text":"TemporaryFile(/tmp/multipartBody2249104634290128107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167202580,"filename":"image_03112025_06_43_32_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/3/66396b85fc8c5d41a95b8f676ca562ad.jpg","text":"TemporaryFile(/tmp/multipartBody836395185936145742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167202580,"filename":"image_03112025_06_43_38_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/69ed1fbe964f60f1dd78652550566542.jpg","text":"TemporaryFile(/tmp/multipartBody8981227805449713812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167202580,"filename":"image_03112025_06_43_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/3/5ddb73dd93c45de0a8f8624e88a3f5b3.jpg","text":"TemporaryFile(/tmp/multipartBody4117015291492256806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167202580,"filename":"image_03112025_06_43_53_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028140","file1":"1392028137","file0":"1392028135","file4":"1392028150","file5":"1392028156","file3":"1392028144"},"map_files_photo_id_array":[{"photo_id":"1392028156","filename":"file5"},{"photo_id":"1392028140","filename":"file2"},{"photo_id":"1392028150","filename":"file4"},{"photo_id":"1392028137","filename":"file1"},{"photo_id":"1392028135","filename":"file0"},{"photo_id":"1392028144","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028150":["hashtag1","hashtag2"]},{"1392028144":["hashtag1","hashtag2"]},{"1392028135":["hashtag1","hashtag2"]},{"1392028140":["hashtag1","hashtag2"]},{"1392028137":["hashtag1","hashtag2"]},{"1392028156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028150, 1392028144, 1392028135, 1392028140, 1392028137, 1392028156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.117857694625854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:53:02.918490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_56_2867.jpg', '/home/pi/Desktop/images/03112025/06/44/image_03112025_06_44_02_2596.jpg', '/home/pi/Desktop/images/03112025/06/44/image_03112025_06_44_08_3530.jpg', '/home/pi/Desktop/images/03112025/06/44/image_03112025_06_44_58_2608.jpg', '/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_05_2680.jpg', '/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_23_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/43/image_03112025_06_43_56_2867.jpg
/home/pi/Desktop/images/03112025/06/44/image_03112025_06_44_02_2596.jpg
/home/pi/Desktop/images/03112025/06/44/image_03112025_06_44_08_3530.jpg
/home/pi/Desktop/images/03112025/06/44/image_03112025_06_44_58_2608.jpg
/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_05_2680.jpg
/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_23_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028269","1392028373","1392028358","1392028316","1392028366","1392028369"],"photo_ids_order":["1392028269","1392028316","1392028358","1392028366","1392028369","1392028373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b7a7ed193e2d28945ad53dbe7caa234e.jpg","text":"TemporaryFile(/tmp/multipartBody1029251525025362069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167243786,"filename":"image_03112025_06_43_56_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/3/86722cc784c50f2cee130a867450f3d6.jpg","text":"TemporaryFile(/tmp/multipartBody9117515903203250488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167243786,"filename":"image_03112025_06_45_23_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/3/4bad980deeab68245de910d34b015db5.jpg","text":"TemporaryFile(/tmp/multipartBody4984307692549614696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167243786,"filename":"image_03112025_06_44_08_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9ae2fbaaf24c4940cb2947dd1409e284.jpg","text":"TemporaryFile(/tmp/multipartBody8569007844960165043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167243786,"filename":"image_03112025_06_44_02_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/3/18850815e6183e78f49ed8c4e5375739.jpg","text":"TemporaryFile(/tmp/multipartBody7548199311418989965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167243786,"filename":"image_03112025_06_44_58_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cac8bbccd31be205f687ddeeb2b717e2.jpg","text":"TemporaryFile(/tmp/multipartBody2890365924842583592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167243786,"filename":"image_03112025_06_45_05_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028358","file1":"1392028316","file0":"1392028269","file4":"1392028369","file5":"1392028373","file3":"1392028366"},"map_files_photo_id_array":[{"photo_id":"1392028373","filename":"file5"},{"photo_id":"1392028358","filename":"file2"},{"photo_id":"1392028369","filename":"file4"},{"photo_id":"1392028316","filename":"file1"},{"photo_id":"1392028269","filename":"file0"},{"photo_id":"1392028366","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028269":["hashtag1","hashtag2"]},{"1392028373":["hashtag1","hashtag2"]},{"1392028358":["hashtag1","hashtag2"]},{"1392028316":["hashtag1","hashtag2"]},{"1392028366":["hashtag1","hashtag2"]},{"1392028369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028269, 1392028373, 1392028358, 1392028316, 1392028366, 1392028369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20055603981018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:53:42.135075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_28_2807.jpg', '/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_32_3614.jpg', '/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_44_2703.jpg', '/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_52_2554.jpg', '/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_55_2738.jpg', '/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_02_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_28_2807.jpg
/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_32_3614.jpg
/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_44_2703.jpg
/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_52_2554.jpg
/home/pi/Desktop/images/03112025/06/45/image_03112025_06_45_55_2738.jpg
/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_02_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028408","1392028479","1392028394","1392028407","1392028436","1392028387"],"photo_ids_order":["1392028387","1392028394","1392028407","1392028408","1392028436","1392028479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fc29ed6c281283cf1b9a883b84db0467.jpg","text":"TemporaryFile(/tmp/multipartBody4766396244821076423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167282916,"filename":"image_03112025_06_45_52_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/3/1f04daf3375fb9053bd29e309244900b.jpg","text":"TemporaryFile(/tmp/multipartBody4189938254414937203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167282916,"filename":"image_03112025_06_46_02_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/3/7d2b2582ec06af4cec61e9f56d482847.jpg","text":"TemporaryFile(/tmp/multipartBody2915602960693558877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167282916,"filename":"image_03112025_06_45_32_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b06588285f5736e0543e0f1005f5d813.jpg","text":"TemporaryFile(/tmp/multipartBody5244055088170384774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167282916,"filename":"image_03112025_06_45_44_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/3/3066b30d7d68681ddceed63a31a9ca0c.jpg","text":"TemporaryFile(/tmp/multipartBody8669209616141449587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167282916,"filename":"image_03112025_06_45_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/3/b77da7e90a35153c1e5bb1447734fc91.jpg","text":"TemporaryFile(/tmp/multipartBody2427679013680494062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167282916,"filename":"image_03112025_06_45_28_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028407","file1":"1392028394","file0":"1392028387","file4":"1392028436","file5":"1392028479","file3":"1392028408"},"map_files_photo_id_array":[{"photo_id":"1392028479","filename":"file5"},{"photo_id":"1392028407","filename":"file2"},{"photo_id":"1392028436","filename":"file4"},{"photo_id":"1392028394","filename":"file1"},{"photo_id":"1392028387","filename":"file0"},{"photo_id":"1392028408","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028408":["hashtag1","hashtag2"]},{"1392028479":["hashtag1","hashtag2"]},{"1392028394":["hashtag1","hashtag2"]},{"1392028407":["hashtag1","hashtag2"]},{"1392028436":["hashtag1","hashtag2"]},{"1392028387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028408, 1392028479, 1392028394, 1392028407, 1392028436, 1392028387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69803023338318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:54:22.294062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_04_2795.jpg', '/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_17_3546.jpg', '/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_26_3558.jpg', '/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_31_2771.jpg', '/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_35_3515.jpg', '/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_56_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_04_2795.jpg
/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_17_3546.jpg
/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_26_3558.jpg
/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_31_2771.jpg
/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_35_3515.jpg
/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_56_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028549","1392028543","1392028590","1392028551","1392028554","1392028559"],"photo_ids_order":["1392028543","1392028549","1392028551","1392028554","1392028559","1392028590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e86bbc0f4e626fc8fef39d66a8c13b1a.jpg","text":"TemporaryFile(/tmp/multipartBody304853307590383159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167323175,"filename":"image_03112025_06_46_17_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/3/cfca67427e53885a1e0921cf232fbe40.jpg","text":"TemporaryFile(/tmp/multipartBody7949263522897151345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167323175,"filename":"image_03112025_06_46_04_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/3/7ffa8546b41ae4317e5fe22ff93519e5.jpg","text":"TemporaryFile(/tmp/multipartBody1955138215429645125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167323175,"filename":"image_03112025_06_46_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/3/1b1988230d20cfec0ef44093760c9f5f.jpg","text":"TemporaryFile(/tmp/multipartBody6742302988001783123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167323175,"filename":"image_03112025_06_46_26_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/3/6748659406f8664139769688befa3d5d.jpg","text":"TemporaryFile(/tmp/multipartBody2651451790899608688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167323175,"filename":"image_03112025_06_46_31_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/3/fbb616af6f71be9b4847896c9677dee6.jpg","text":"TemporaryFile(/tmp/multipartBody4878074225368517062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167323175,"filename":"image_03112025_06_46_35_3515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028551","file1":"1392028549","file0":"1392028543","file4":"1392028559","file5":"1392028590","file3":"1392028554"},"map_files_photo_id_array":[{"photo_id":"1392028590","filename":"file5"},{"photo_id":"1392028551","filename":"file2"},{"photo_id":"1392028559","filename":"file4"},{"photo_id":"1392028549","filename":"file1"},{"photo_id":"1392028543","filename":"file0"},{"photo_id":"1392028554","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028549":["hashtag1","hashtag2"]},{"1392028543":["hashtag1","hashtag2"]},{"1392028590":["hashtag1","hashtag2"]},{"1392028551":["hashtag1","hashtag2"]},{"1392028554":["hashtag1","hashtag2"]},{"1392028559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028549, 1392028543, 1392028590, 1392028551, 1392028554, 1392028559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.135241746902466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:55:03.112622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_59_2762.jpg', '/home/pi/Desktop/images/03112025/06/47/image_03112025_06_47_01_2725.jpg', '/home/pi/Desktop/images/03112025/06/47/image_03112025_06_47_04_2711.jpg', '/home/pi/Desktop/images/03112025/06/47/image_03112025_06_47_08_3717.jpg', '/home/pi/Desktop/images/03112025/06/47/image_03112025_06_47_40_2718.jpg', '/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_05_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/46/image_03112025_06_46_59_2762.jpg
/home/pi/Desktop/images/03112025/06/47/image_03112025_06_47_01_2725.jpg
/home/pi/Desktop/images/03112025/06/47/image_03112025_06_47_04_2711.jpg
/home/pi/Desktop/images/03112025/06/47/image_03112025_06_47_08_3717.jpg
/home/pi/Desktop/images/03112025/06/47/image_03112025_06_47_40_2718.jpg
/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_05_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028668","1392028681","1392028675","1392028678","1392028672","1392028639"],"photo_ids_order":["1392028639","1392028668","1392028672","1392028675","1392028678","1392028681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/abbc642ad99cf04cd9923c4c4273f525.jpg","text":"TemporaryFile(/tmp/multipartBody8539344512413389319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167363954,"filename":"image_03112025_06_47_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/3/377e13f2758a9ba92bdbc637f283835a.jpg","text":"TemporaryFile(/tmp/multipartBody4332851536934929758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167363954,"filename":"image_03112025_06_48_05_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7ff30b6cc40fa6df4d35a2bf381a1c76.jpg","text":"TemporaryFile(/tmp/multipartBody4910110298425220701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167363954,"filename":"image_03112025_06_47_08_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/3/1430b5725f2afe8b99601f23f29d5492.jpg","text":"TemporaryFile(/tmp/multipartBody2207026969101243156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167363954,"filename":"image_03112025_06_47_40_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/3/59860ae41e72c6fc45a4b778118feced.jpg","text":"TemporaryFile(/tmp/multipartBody4768610967386329539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167363954,"filename":"image_03112025_06_47_04_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/3/db6a373e76ef05c7507b60279001d54d.jpg","text":"TemporaryFile(/tmp/multipartBody2183884166727873497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167363954,"filename":"image_03112025_06_46_59_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028672","file1":"1392028668","file0":"1392028639","file4":"1392028678","file5":"1392028681","file3":"1392028675"},"map_files_photo_id_array":[{"photo_id":"1392028681","filename":"file5"},{"photo_id":"1392028672","filename":"file2"},{"photo_id":"1392028678","filename":"file4"},{"photo_id":"1392028668","filename":"file1"},{"photo_id":"1392028639","filename":"file0"},{"photo_id":"1392028675","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028668":["hashtag1","hashtag2"]},{"1392028681":["hashtag1","hashtag2"]},{"1392028675":["hashtag1","hashtag2"]},{"1392028678":["hashtag1","hashtag2"]},{"1392028672":["hashtag1","hashtag2"]},{"1392028639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028668, 1392028681, 1392028675, 1392028678, 1392028672, 1392028639)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.22041726112366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:56:02.978642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_08_2832.jpg', '/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_10_2863.jpg', '/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_22_2558.jpg', '/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_31_2686.jpg', '/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_34_2796.jpg', '/home/pi/Desktop/images/03112025/06/49/image_03112025_06_49_29_3805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_08_2832.jpg
/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_10_2863.jpg
/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_22_2558.jpg
/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_31_2686.jpg
/home/pi/Desktop/images/03112025/06/48/image_03112025_06_48_34_2796.jpg
/home/pi/Desktop/images/03112025/06/49/image_03112025_06_49_29_3805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028720","1392028725","1392028707","1392028715","1392028718","1392028712"],"photo_ids_order":["1392028707","1392028712","1392028715","1392028718","1392028720","1392028725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ae8fc91a21f077e4793bfb3084ed597.jpg","text":"TemporaryFile(/tmp/multipartBody293520505038541080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167423808,"filename":"image_03112025_06_48_34_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/3/b6f2d0fc9db9614f667fcbd17db3589b.jpg","text":"TemporaryFile(/tmp/multipartBody3617588459508923013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167423808,"filename":"image_03112025_06_49_29_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/3/1ce4c09388119b23395a02b71ef90d94.jpg","text":"TemporaryFile(/tmp/multipartBody1384104243464733115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167423808,"filename":"image_03112025_06_48_08_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/3/77f539f27f73eb9be9b4b21b8eedf12f.jpg","text":"TemporaryFile(/tmp/multipartBody7503610583716395036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167423808,"filename":"image_03112025_06_48_22_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/3/c74bf91384c47f59fd0450743bba6cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5452333716543417171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167423808,"filename":"image_03112025_06_48_31_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/3/d6a0bf5c3a486c3ac575668fd6c44ce2.jpg","text":"TemporaryFile(/tmp/multipartBody3823670598213053496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167423808,"filename":"image_03112025_06_48_10_2863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028715","file1":"1392028712","file0":"1392028707","file4":"1392028720","file5":"1392028725","file3":"1392028718"},"map_files_photo_id_array":[{"photo_id":"1392028725","filename":"file5"},{"photo_id":"1392028715","filename":"file2"},{"photo_id":"1392028720","filename":"file4"},{"photo_id":"1392028712","filename":"file1"},{"photo_id":"1392028707","filename":"file0"},{"photo_id":"1392028718","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028720":["hashtag1","hashtag2"]},{"1392028725":["hashtag1","hashtag2"]},{"1392028707":["hashtag1","hashtag2"]},{"1392028715":["hashtag1","hashtag2"]},{"1392028718":["hashtag1","hashtag2"]},{"1392028712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028720, 1392028725, 1392028707, 1392028715, 1392028718, 1392028712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.612491846084595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 11:56:42.611116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/49/image_03112025_06_49_33_4259.jpg', '/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_08_3042.jpg', '/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_11_1735.jpg', '/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_51_14726.jpg', '/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_52_1532.jpg', '/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_56_3822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/49/image_03112025_06_49_33_4259.jpg
/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_08_3042.jpg
/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_11_1735.jpg
/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_51_14726.jpg
/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_52_1532.jpg
/home/pi/Desktop/images/03112025/06/51/image_03112025_06_51_56_3822.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392028959","1392028914","1392028931","1392028934","1392028919","1392028936"],"photo_ids_order":["1392028914","1392028919","1392028931","1392028934","1392028936","1392028959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/41d17c71643e15d8330231cfa599fb6d.jpg","text":"TemporaryFile(/tmp/multipartBody5577746323711246979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167463392,"filename":"image_03112025_06_51_56_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/3/8e1d3aaa35a54215490ac1db9d0b0736.jpg","text":"TemporaryFile(/tmp/multipartBody4722437757325648242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167463392,"filename":"image_03112025_06_49_33_4259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/47f37152c7b57e7154f6b18ce1f51db6.jpg","text":"TemporaryFile(/tmp/multipartBody631669004168150711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167463392,"filename":"image_03112025_06_51_11_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/3/94ba757ab3c2acecdc947e9badc3b020.jpg","text":"TemporaryFile(/tmp/multipartBody8112012644814750656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167463392,"filename":"image_03112025_06_51_51_14726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b0a38922908b60eeab6430876f6ed4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5692037444000950263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167463392,"filename":"image_03112025_06_51_08_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/3/dce1c0b8ee12f02d9e38d6825bb2ded4.jpg","text":"TemporaryFile(/tmp/multipartBody8447641291577468241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167463392,"filename":"image_03112025_06_51_52_1532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028931","file1":"1392028919","file0":"1392028914","file4":"1392028936","file5":"1392028959","file3":"1392028934"},"map_files_photo_id_array":[{"photo_id":"1392028959","filename":"file5"},{"photo_id":"1392028931","filename":"file2"},{"photo_id":"1392028936","filename":"file4"},{"photo_id":"1392028919","filename":"file1"},{"photo_id":"1392028914","filename":"file0"},{"photo_id":"1392028934","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392028959":["hashtag1","hashtag2"]},{"1392028914":["hashtag1","hashtag2"]},{"1392028931":["hashtag1","hashtag2"]},{"1392028934":["hashtag1","hashtag2"]},{"1392028919":["hashtag1","hashtag2"]},{"1392028936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392028959, 1392028914, 1392028931, 1392028934, 1392028919, 1392028936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54661774635315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 11:57:22.845470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/52/image_03112025_06_52_02_1812.jpg', '/home/pi/Desktop/images/03112025/06/52/image_03112025_06_52_04_1681.jpg', '/home/pi/Desktop/images/03112025/06/52/image_03112025_06_52_12_1626.jpg', '/home/pi/Desktop/images/03112025/06/52/image_03112025_06_52_14_1637.jpg', '/home/pi/Desktop/images/03112025/06/53/image_03112025_06_53_46_1762.jpg', '/home/pi/Desktop/images/03112025/06/53/image_03112025_06_53_47_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/52/image_03112025_06_52_02_1812.jpg
/home/pi/Desktop/images/03112025/06/52/image_03112025_06_52_04_1681.jpg
/home/pi/Desktop/images/03112025/06/52/image_03112025_06_52_12_1626.jpg
/home/pi/Desktop/images/03112025/06/52/image_03112025_06_52_14_1637.jpg
/home/pi/Desktop/images/03112025/06/53/image_03112025_06_53_46_1762.jpg
/home/pi/Desktop/images/03112025/06/53/image_03112025_06_53_47_1607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392029029","1392028989","1392029025","1392029033","1392028985","1392028981"],"photo_ids_order":["1392028981","1392028985","1392028989","1392029025","1392029029","1392029033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/90950b60ee199454fce5a7fc9657939e.jpg","text":"TemporaryFile(/tmp/multipartBody8131608009309004767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167503646,"filename":"image_03112025_06_53_46_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/3/a60969291012ddf93a130f6dc378ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody6686471963970179722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167503646,"filename":"image_03112025_06_52_12_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/3/27a7260e8e03cdc5a7db54fa3fc03ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2801264445959382395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167503646,"filename":"image_03112025_06_52_14_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/3/18d74dc471b47c10b5033de2234c7410.jpg","text":"TemporaryFile(/tmp/multipartBody7071853333580808332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167503646,"filename":"image_03112025_06_53_47_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/3/b9e3fb66d015938f7b05d0811b8dd104.jpg","text":"TemporaryFile(/tmp/multipartBody3838772650407481854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167503646,"filename":"image_03112025_06_52_04_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/3/2257cbdacbc998b9e9994576c96c8b8a.jpg","text":"TemporaryFile(/tmp/multipartBody2422231165521172104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167503646,"filename":"image_03112025_06_52_02_1812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392028989","file1":"1392028985","file0":"1392028981","file4":"1392029029","file5":"1392029033","file3":"1392029025"},"map_files_photo_id_array":[{"photo_id":"1392029033","filename":"file5"},{"photo_id":"1392028989","filename":"file2"},{"photo_id":"1392029029","filename":"file4"},{"photo_id":"1392028985","filename":"file1"},{"photo_id":"1392028981","filename":"file0"},{"photo_id":"1392029025","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392029029":["hashtag1","hashtag2"]},{"1392028989":["hashtag1","hashtag2"]},{"1392029025":["hashtag1","hashtag2"]},{"1392029033":["hashtag1","hashtag2"]},{"1392028985":["hashtag1","hashtag2"]},{"1392028981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392029029, 1392028989, 1392029025, 1392029033, 1392028985, 1392028981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30192470550537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 11:59:02.886780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/54/image_03112025_06_54_15_1768.jpg', '/home/pi/Desktop/images/03112025/06/54/image_03112025_06_54_20_1636.jpg', '/home/pi/Desktop/images/03112025/06/54/image_03112025_06_54_22_1747.jpg', '/home/pi/Desktop/images/03112025/06/54/image_03112025_06_54_37_3945.jpg', '/home/pi/Desktop/images/03112025/06/54/image_03112025_06_55_00_22656.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_17_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/54/image_03112025_06_54_15_1768.jpg
/home/pi/Desktop/images/03112025/06/54/image_03112025_06_54_20_1636.jpg
/home/pi/Desktop/images/03112025/06/54/image_03112025_06_54_22_1747.jpg
/home/pi/Desktop/images/03112025/06/54/image_03112025_06_54_37_3945.jpg
/home/pi/Desktop/images/03112025/06/54/image_03112025_06_55_00_22656.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_17_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392029128","1392029115","1392029132","1392029143","1392029137","1392029122"],"photo_ids_order":["1392029115","1392029122","1392029128","1392029132","1392029137","1392029143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e1326611a4fc9d559913667d30841ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4162775818566087608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167604178,"filename":"image_03112025_06_54_22_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/3/daca8209a046b74a186a478099de2a42.jpg","text":"TemporaryFile(/tmp/multipartBody6973792113888830242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167604178,"filename":"image_03112025_06_54_15_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/3/563c19bfa24a4966c58444aa72aede2b.jpg","text":"TemporaryFile(/tmp/multipartBody2548729050633469609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167604178,"filename":"image_03112025_06_54_37_3945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b079c2cabb546c1f805cd6f22714c6e.jpg","text":"TemporaryFile(/tmp/multipartBody997551991878256895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167604178,"filename":"image_03112025_06_55_17_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/3/3b76c86b4f561d2dd3ea4c58d4f9506d.jpg","text":"TemporaryFile(/tmp/multipartBody7127185524850181230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167604178,"filename":"image_03112025_06_55_00_22656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9f738afcea94e6cc46217a5f388636a1.jpg","text":"TemporaryFile(/tmp/multipartBody2960506446375946761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167604178,"filename":"image_03112025_06_54_20_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392029128","file1":"1392029122","file0":"1392029115","file4":"1392029137","file5":"1392029143","file3":"1392029132"},"map_files_photo_id_array":[{"photo_id":"1392029143","filename":"file5"},{"photo_id":"1392029128","filename":"file2"},{"photo_id":"1392029137","filename":"file4"},{"photo_id":"1392029122","filename":"file1"},{"photo_id":"1392029115","filename":"file0"},{"photo_id":"1392029132","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392029128":["hashtag1","hashtag2"]},{"1392029115":["hashtag1","hashtag2"]},{"1392029132":["hashtag1","hashtag2"]},{"1392029143":["hashtag1","hashtag2"]},{"1392029137":["hashtag1","hashtag2"]},{"1392029122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392029128, 1392029115, 1392029132, 1392029143, 1392029137, 1392029122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00273036956787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:00:02.700265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_18_1586.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_22_1664.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_25_1687.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_31_1626.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_35_1750.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_36_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_18_1586.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_22_1664.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_25_1687.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_31_1626.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_35_1750.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_36_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":["1392029518","1392029556","1392029631","1392029594","1392029450","1392029647"],"photo_ids_order":["1392029450","1392029518","1392029556","1392029594","1392029631","1392029647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ca493abbd5bfd7f3b8dbc02891c6d4ba.jpg","text":"TemporaryFile(/tmp/multipartBody4556146381101705284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167663909,"filename":"image_03112025_06_55_22_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/3/a19cf349718fb785f3c3691b05bc9da3.jpg","text":"TemporaryFile(/tmp/multipartBody8098787118238342887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167663909,"filename":"image_03112025_06_55_25_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/3/3be64f7b43464f54b65af854a6034256.jpg","text":"TemporaryFile(/tmp/multipartBody7098658631549496872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167663909,"filename":"image_03112025_06_55_35_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/3/1d759bd821ca181c41716d279675755a.jpg","text":"TemporaryFile(/tmp/multipartBody6023834620411068303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167663909,"filename":"image_03112025_06_55_31_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/3/7a838670c8783a0594aaaec9cbb01bb7.jpg","text":"TemporaryFile(/tmp/multipartBody1066011154045059871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167663909,"filename":"image_03112025_06_55_18_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/3/7821ea6430ea85d6413eed062cf386f2.jpg","text":"TemporaryFile(/tmp/multipartBody4660546691877716550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167663909,"filename":"image_03112025_06_55_36_1580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392029556","file1":"1392029518","file0":"1392029450","file4":"1392029631","file5":"1392029647","file3":"1392029594"},"map_files_photo_id_array":[{"photo_id":"1392029647","filename":"file5"},{"photo_id":"1392029556","filename":"file2"},{"photo_id":"1392029631","filename":"file4"},{"photo_id":"1392029518","filename":"file1"},{"photo_id":"1392029450","filename":"file0"},{"photo_id":"1392029594","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392029518":["hashtag1","hashtag2"]},{"1392029556":["hashtag1","hashtag2"]},{"1392029631":["hashtag1","hashtag2"]},{"1392029594":["hashtag1","hashtag2"]},{"1392029450":["hashtag1","hashtag2"]},{"1392029647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392029518, 1392029556, 1392029631, 1392029594, 1392029450, 1392029647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63517761230469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:01:03.059438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_38_1674.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_40_1636.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_48_1688.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_50_1546.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_01_5491.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_03_1799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_38_1674.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_40_1636.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_48_1688.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_50_1546.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_01_5491.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_03_1799.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7895731925964355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:01:22.479734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_38_1674.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_40_1636.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_48_1688.jpg', '/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_50_1546.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_01_5491.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_03_1799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_38_1674.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_40_1636.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_48_1688.jpg
/home/pi/Desktop/images/03112025/06/55/image_03112025_06_55_50_1546.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_01_5491.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_03_1799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392030445","1392030348","1392030243","1392030306","1392030500","1392030401"],"photo_ids_order":["1392030243","1392030306","1392030348","1392030401","1392030445","1392030500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/19295448f463d9376d41acb5a7fb8bd4.jpg","text":"TemporaryFile(/tmp/multipartBody6150734908877641913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167743271,"filename":"image_03112025_06_56_01_5491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/21229b0514afa13437c47b44f456a4db.jpg","text":"TemporaryFile(/tmp/multipartBody9180185619403905655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167743271,"filename":"image_03112025_06_55_48_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/3/e6b74f64083abb98e819bf10e49ed830.jpg","text":"TemporaryFile(/tmp/multipartBody1638239599221914177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167743271,"filename":"image_03112025_06_55_38_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/3/b4a18a032267ef4880e2e18ae64db26b.jpg","text":"TemporaryFile(/tmp/multipartBody2292088633965279629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167743271,"filename":"image_03112025_06_55_40_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/3/1ab52974f9e4d48697850552f088f456.jpg","text":"TemporaryFile(/tmp/multipartBody675077795056568848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167743271,"filename":"image_03112025_06_56_03_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/3/706fe379382f80ccd7e1d11086f7d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody8755375902272102140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167743271,"filename":"image_03112025_06_55_50_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392030348","file1":"1392030306","file0":"1392030243","file4":"1392030445","file5":"1392030500","file3":"1392030401"},"map_files_photo_id_array":[{"photo_id":"1392030500","filename":"file5"},{"photo_id":"1392030348","filename":"file2"},{"photo_id":"1392030445","filename":"file4"},{"photo_id":"1392030306","filename":"file1"},{"photo_id":"1392030243","filename":"file0"},{"photo_id":"1392030401","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392030445":["hashtag1","hashtag2"]},{"1392030348":["hashtag1","hashtag2"]},{"1392030243":["hashtag1","hashtag2"]},{"1392030306":["hashtag1","hashtag2"]},{"1392030500":["hashtag1","hashtag2"]},{"1392030401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392030445, 1392030348, 1392030243, 1392030306, 1392030500, 1392030401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6267569065094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:02:03.119012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_05_1847.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_09_2819.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_14_4036.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_15_1582.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_28_3586.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_33_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_05_1847.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_09_2819.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_14_4036.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_15_1582.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_28_3586.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_33_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392030742","1392030817","1392030631","1392030666","1392030778","1392030704"],"photo_ids_order":["1392030631","1392030666","1392030704","1392030742","1392030778","1392030817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e83f51961a53df5139fa5ae643617ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6820908441171174917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167783917,"filename":"image_03112025_06_56_15_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/3/e93b75345e7114fd5ec3b3b5c164630a.jpg","text":"TemporaryFile(/tmp/multipartBody5996397628074354332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167783917,"filename":"image_03112025_06_56_33_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/3/6b6db6f88d06aa54b00f80f4458018a6.jpg","text":"TemporaryFile(/tmp/multipartBody8238471062729143973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167783917,"filename":"image_03112025_06_56_05_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/3/f57f187f5fad20988b7110e5082bca42.jpg","text":"TemporaryFile(/tmp/multipartBody5696026941799983345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167783917,"filename":"image_03112025_06_56_09_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/3/b1026dc15421f4c8cf742074d62f259c.jpg","text":"TemporaryFile(/tmp/multipartBody4400349512439571603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167783917,"filename":"image_03112025_06_56_28_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/3/a5ac5645fd09c5643bc784c69710ffb6.jpg","text":"TemporaryFile(/tmp/multipartBody4857684960290246696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167783917,"filename":"image_03112025_06_56_14_4036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392030704","file1":"1392030666","file0":"1392030631","file4":"1392030778","file5":"1392030817","file3":"1392030742"},"map_files_photo_id_array":[{"photo_id":"1392030817","filename":"file5"},{"photo_id":"1392030704","filename":"file2"},{"photo_id":"1392030778","filename":"file4"},{"photo_id":"1392030666","filename":"file1"},{"photo_id":"1392030631","filename":"file0"},{"photo_id":"1392030742","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392030742":["hashtag1","hashtag2"]},{"1392030817":["hashtag1","hashtag2"]},{"1392030631":["hashtag1","hashtag2"]},{"1392030666":["hashtag1","hashtag2"]},{"1392030778":["hashtag1","hashtag2"]},{"1392030704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392030742, 1392030817, 1392030631, 1392030666, 1392030778, 1392030704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.305625677108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:03:03.426530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_39_2668.jpg', '/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_46_4334.jpg', '/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_04_3703.jpg', '/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_06_2690.jpg', '/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_13_3784.jpg', '/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_15_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_39_2668.jpg
/home/pi/Desktop/images/03112025/06/56/image_03112025_06_56_46_4334.jpg
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_04_3703.jpg
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_06_2690.jpg
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_13_3784.jpg
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_15_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392031140","1392031143","1392031107","1392031151","1392031136","1392031147"],"photo_ids_order":["1392031107","1392031136","1392031140","1392031143","1392031147","1392031151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d6236b7086f70d7f6ced976dfe82dcca.jpg","text":"TemporaryFile(/tmp/multipartBody7591344824320950107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167844334,"filename":"image_03112025_06_57_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/3/242a4e862d88df1eda0b823d2858e048.jpg","text":"TemporaryFile(/tmp/multipartBody1511638200763251556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167844334,"filename":"image_03112025_06_57_06_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/3/52f7493f9bd3a4c82a4e10d637a458ef.jpg","text":"TemporaryFile(/tmp/multipartBody4082121898668641870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167844334,"filename":"image_03112025_06_56_39_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4894d78af0438666968dacd5c3f532e5.jpg","text":"TemporaryFile(/tmp/multipartBody7628409251212396676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167844334,"filename":"image_03112025_06_57_15_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/3/45cc30a163b6a6a1f664116973925e27.jpg","text":"TemporaryFile(/tmp/multipartBody6351771272371205352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167844334,"filename":"image_03112025_06_56_46_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/3/dde9d989b5a13c771ba48561065790fc.jpg","text":"TemporaryFile(/tmp/multipartBody8021583809065142246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167844334,"filename":"image_03112025_06_57_13_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392031140","file1":"1392031136","file0":"1392031107","file4":"1392031147","file5":"1392031151","file3":"1392031143"},"map_files_photo_id_array":[{"photo_id":"1392031151","filename":"file5"},{"photo_id":"1392031140","filename":"file2"},{"photo_id":"1392031147","filename":"file4"},{"photo_id":"1392031136","filename":"file1"},{"photo_id":"1392031107","filename":"file0"},{"photo_id":"1392031143","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392031140":["hashtag1","hashtag2"]},{"1392031143":["hashtag1","hashtag2"]},{"1392031107":["hashtag1","hashtag2"]},{"1392031151":["hashtag1","hashtag2"]},{"1392031136":["hashtag1","hashtag2"]},{"1392031147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392031140, 1392031143, 1392031107, 1392031151, 1392031136, 1392031147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.419861793518066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:03:42.814149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_39_2602.jpg', '/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_43_3716.jpg', '/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_52_3560.jpg', '/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_54_2757.jpg', '/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_57_2566.jpg', '/home/pi/Desktop/images/03112025/06/57/image_03112025_06_58_01_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_39_2602.jpg
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_43_3716.jpg
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_52_3560.jpg
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_54_2757.jpg
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_57_57_2566.jpg
/home/pi/Desktop/images/03112025/06/57/image_03112025_06_58_01_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392031170","1392031158","1392031163","1392031166","1392031168","1392031159"],"photo_ids_order":["1392031158","1392031159","1392031163","1392031166","1392031168","1392031170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3abfc535b6fc79437ed0e98656a9be34.jpg","text":"TemporaryFile(/tmp/multipartBody7027000506610515725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167883598,"filename":"image_03112025_06_58_01_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/3/52ad5cda5f96c3f3551d723b087abd07.jpg","text":"TemporaryFile(/tmp/multipartBody5702381440191597655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167883598,"filename":"image_03112025_06_57_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/3/180f78a513b2e70841540ed9b50d6c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4267712743493933161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167883598,"filename":"image_03112025_06_57_52_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/3/15ab4be1a7eb3a8fc7bafc8aa5d3ff90.jpg","text":"TemporaryFile(/tmp/multipartBody6399896627917610318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167883598,"filename":"image_03112025_06_57_54_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/3/3e117d2b4e21d0cb92879b7a3d5caf4c.jpg","text":"TemporaryFile(/tmp/multipartBody2020813867438607504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167883598,"filename":"image_03112025_06_57_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/3/0ee4e41250c85a7426c6ce6a0233c0ba.jpg","text":"TemporaryFile(/tmp/multipartBody3733996124858210260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167883598,"filename":"image_03112025_06_57_43_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392031163","file1":"1392031159","file0":"1392031158","file4":"1392031168","file5":"1392031170","file3":"1392031166"},"map_files_photo_id_array":[{"photo_id":"1392031170","filename":"file5"},{"photo_id":"1392031163","filename":"file2"},{"photo_id":"1392031168","filename":"file4"},{"photo_id":"1392031159","filename":"file1"},{"photo_id":"1392031158","filename":"file0"},{"photo_id":"1392031166","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392031170":["hashtag1","hashtag2"]},{"1392031158":["hashtag1","hashtag2"]},{"1392031163":["hashtag1","hashtag2"]},{"1392031166":["hashtag1","hashtag2"]},{"1392031168":["hashtag1","hashtag2"]},{"1392031159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392031170, 1392031158, 1392031163, 1392031166, 1392031168, 1392031159)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.58555579185486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:04:42.092413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_03_2592.jpg', '/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_17_4312.jpg', '/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_21_2708.jpg', '/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_24_2544.jpg', '/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_28_3610.jpg', '/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_33_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_03_2592.jpg
/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_17_4312.jpg
/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_21_2708.jpg
/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_24_2544.jpg
/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_28_3610.jpg
/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_33_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392031482","1392031371","1392031445","1392031331","1392031406","1392031529"],"photo_ids_order":["1392031331","1392031371","1392031406","1392031445","1392031482","1392031529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/68861624d15f611c042f6924e8747a49.jpg","text":"TemporaryFile(/tmp/multipartBody6961304938277959216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167942827,"filename":"image_03112025_06_58_28_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/3/5ad659b3d344bd17ba5fe85c5a37cbb4.jpg","text":"TemporaryFile(/tmp/multipartBody4867767141204568148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167942827,"filename":"image_03112025_06_58_17_4312.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73f4b5742317ec8dc89d0f16fca01a65.jpg","text":"TemporaryFile(/tmp/multipartBody7987915179646715753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167942827,"filename":"image_03112025_06_58_24_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/847e6504e98baa674161240e4b26ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody3707750227816823428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167942827,"filename":"image_03112025_06_58_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/3/6d66cf43ac3129967bab95feaee6c0bd.jpg","text":"TemporaryFile(/tmp/multipartBody1447973003589700312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167942827,"filename":"image_03112025_06_58_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/3/dc00ba8d68c0605bba6fa2aba27fe364.jpg","text":"TemporaryFile(/tmp/multipartBody8576332096916117368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167942827,"filename":"image_03112025_06_58_33_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392031406","file1":"1392031371","file0":"1392031331","file4":"1392031482","file5":"1392031529","file3":"1392031445"},"map_files_photo_id_array":[{"photo_id":"1392031529","filename":"file5"},{"photo_id":"1392031406","filename":"file2"},{"photo_id":"1392031482","filename":"file4"},{"photo_id":"1392031371","filename":"file1"},{"photo_id":"1392031331","filename":"file0"},{"photo_id":"1392031445","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392031482":["hashtag1","hashtag2"]},{"1392031371":["hashtag1","hashtag2"]},{"1392031445":["hashtag1","hashtag2"]},{"1392031331":["hashtag1","hashtag2"]},{"1392031406":["hashtag1","hashtag2"]},{"1392031529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392031482, 1392031371, 1392031445, 1392031331, 1392031406, 1392031529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.213380575180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:05:24.791984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_48_2660.jpg', '/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_55_3719.jpg', '/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_12_2678.jpg', '/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_24_2768.jpg', '/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_27_3563.jpg', '/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_30_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_48_2660.jpg
/home/pi/Desktop/images/03112025/06/58/image_03112025_06_58_55_3719.jpg
/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_12_2678.jpg
/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_24_2768.jpg
/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_27_3563.jpg
/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_30_2754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392031656","1392031694","1392031699","1392031675","1392031735","1392031615"],"photo_ids_order":["1392031615","1392031656","1392031675","1392031694","1392031699","1392031735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a6bb51b498b38743c81b700c38d283d7.jpg","text":"TemporaryFile(/tmp/multipartBody7785749484911046714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167985566,"filename":"image_03112025_06_58_55_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/3/316e3ec7876695fc975edb095c535193.jpg","text":"TemporaryFile(/tmp/multipartBody2516737116060172076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167985566,"filename":"image_03112025_06_59_24_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/3/12ee2a05e4949731b9f3db4cbf130d1a.jpg","text":"TemporaryFile(/tmp/multipartBody748683348187687456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167985566,"filename":"image_03112025_06_59_27_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/3/b25f690a512d0c084d02a78cce54ef91.jpg","text":"TemporaryFile(/tmp/multipartBody4094974914427153491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167985566,"filename":"image_03112025_06_59_12_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/3/56ce8d2f938067d2b6ffa7d84954a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody70602046082941034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167985566,"filename":"image_03112025_06_59_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/3/44cef3932d99cf7ec04b7e72ffab6621.jpg","text":"TemporaryFile(/tmp/multipartBody1306525067777534726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762167985566,"filename":"image_03112025_06_58_48_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392031675","file1":"1392031656","file0":"1392031615","file4":"1392031699","file5":"1392031735","file3":"1392031694"},"map_files_photo_id_array":[{"photo_id":"1392031735","filename":"file5"},{"photo_id":"1392031675","filename":"file2"},{"photo_id":"1392031699","filename":"file4"},{"photo_id":"1392031656","filename":"file1"},{"photo_id":"1392031615","filename":"file0"},{"photo_id":"1392031694","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392031656":["hashtag1","hashtag2"]},{"1392031694":["hashtag1","hashtag2"]},{"1392031699":["hashtag1","hashtag2"]},{"1392031675":["hashtag1","hashtag2"]},{"1392031735":["hashtag1","hashtag2"]},{"1392031615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392031656, 1392031694, 1392031699, 1392031675, 1392031735, 1392031615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09959650039673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:06:22.186767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_33_2707.jpg', '/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_37_3811.jpg', '/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_39_2597.jpg', '/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_49_3806.jpg', '/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_51_2781.jpg', '/home/pi/Desktop/images/03112025/06/59/image_03112025_07_00_01_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_33_2707.jpg
/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_37_3811.jpg
/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_39_2597.jpg
/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_49_3806.jpg
/home/pi/Desktop/images/03112025/06/59/image_03112025_06_59_51_2781.jpg
/home/pi/Desktop/images/03112025/06/59/image_03112025_07_00_01_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392031810","1392031806","1392031800","1392031823","1392031813","1392031816"],"photo_ids_order":["1392031800","1392031806","1392031810","1392031813","1392031816","1392031823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3818f102527576051d78ac4b6e25bfa0.jpg","text":"TemporaryFile(/tmp/multipartBody8373468596045974734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168042909,"filename":"image_03112025_06_59_39_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/3/9ece132b1917600ad06e5442eda96122.jpg","text":"TemporaryFile(/tmp/multipartBody5265756864637257910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168042909,"filename":"image_03112025_06_59_37_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be7c0ef6b512067938c3df2e69eeb672.jpg","text":"TemporaryFile(/tmp/multipartBody4606595686823416364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168042909,"filename":"image_03112025_06_59_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/3/b04eef5a823c744bac90b4d79c958fdd.jpg","text":"TemporaryFile(/tmp/multipartBody9160448773127150744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168042909,"filename":"image_03112025_07_00_01_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/3/aa8dd71b182a765da85004749c0cd85d.jpg","text":"TemporaryFile(/tmp/multipartBody974851015792844923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168042909,"filename":"image_03112025_06_59_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/3/9ca739f7ba2cb34b17d7b8685dd4734c.jpg","text":"TemporaryFile(/tmp/multipartBody2175697398998875825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168042909,"filename":"image_03112025_06_59_51_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392031810","file1":"1392031806","file0":"1392031800","file4":"1392031816","file5":"1392031823","file3":"1392031813"},"map_files_photo_id_array":[{"photo_id":"1392031823","filename":"file5"},{"photo_id":"1392031810","filename":"file2"},{"photo_id":"1392031816","filename":"file4"},{"photo_id":"1392031806","filename":"file1"},{"photo_id":"1392031800","filename":"file0"},{"photo_id":"1392031813","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392031810":["hashtag1","hashtag2"]},{"1392031806":["hashtag1","hashtag2"]},{"1392031800":["hashtag1","hashtag2"]},{"1392031823":["hashtag1","hashtag2"]},{"1392031813":["hashtag1","hashtag2"]},{"1392031816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392031810, 1392031806, 1392031800, 1392031823, 1392031813, 1392031816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2459454536438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:07:02.698743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_06_3022.jpg', '/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_09_2601.jpg', '/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_24_3582.jpg', '/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_30_2591.jpg', '/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_33_3701.jpg', '/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_39_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_06_3022.jpg
/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_09_2601.jpg
/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_24_3582.jpg
/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_30_2591.jpg
/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_33_3701.jpg
/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_39_2785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392031863","1392031839","1392031841","1392031843","1392031849","1392031834"],"photo_ids_order":["1392031834","1392031839","1392031841","1392031843","1392031849","1392031863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/89b5f97cdcab1aeb4ef3288fa3e66d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5547847147649408538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168085795,"filename":"image_03112025_07_00_39_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/3/12e4edd5c0b06777def3de6b3b788b20.jpg","text":"TemporaryFile(/tmp/multipartBody8506826250174809895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168085795,"filename":"image_03112025_07_00_09_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/3/10171df38ac670d600a8ac93fb1bb166.jpg","text":"TemporaryFile(/tmp/multipartBody7487395667488798902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168085795,"filename":"image_03112025_07_00_24_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/3/fc91e8ce95a7d3d7579249e970e6f554.jpg","text":"TemporaryFile(/tmp/multipartBody4341699498880953017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168085795,"filename":"image_03112025_07_00_30_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/3/6e511184f3a5862126f0fe65175975e4.jpg","text":"TemporaryFile(/tmp/multipartBody9162206886229763606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168085795,"filename":"image_03112025_07_00_33_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/3/e2117af674f679260354d807316c871f.jpg","text":"TemporaryFile(/tmp/multipartBody9214308549123966483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168085795,"filename":"image_03112025_07_00_06_3022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392031841","file1":"1392031839","file0":"1392031834","file4":"1392031849","file5":"1392031863","file3":"1392031843"},"map_files_photo_id_array":[{"photo_id":"1392031863","filename":"file5"},{"photo_id":"1392031841","filename":"file2"},{"photo_id":"1392031849","filename":"file4"},{"photo_id":"1392031839","filename":"file1"},{"photo_id":"1392031834","filename":"file0"},{"photo_id":"1392031843","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392031863":["hashtag1","hashtag2"]},{"1392031839":["hashtag1","hashtag2"]},{"1392031841":["hashtag1","hashtag2"]},{"1392031843":["hashtag1","hashtag2"]},{"1392031849":["hashtag1","hashtag2"]},{"1392031834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392031863, 1392031839, 1392031841, 1392031843, 1392031849, 1392031834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26472234725952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:08:03.103951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_45_3608.jpg', '/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_48_2664.jpg', '/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_57_2623.jpg', '/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_06_2634.jpg', '/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_09_3658.jpg', '/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_18_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_45_3608.jpg
/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_48_2664.jpg
/home/pi/Desktop/images/03112025/07/00/image_03112025_07_00_57_2623.jpg
/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_06_2634.jpg
/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_09_3658.jpg
/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_18_3713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392031902","1392031892","1392031894","1392031888","1392031909","1392031890"],"photo_ids_order":["1392031888","1392031890","1392031892","1392031894","1392031902","1392031909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db4ea1b63dc335e9462cb1dde47a2eb3.jpg","text":"TemporaryFile(/tmp/multipartBody1345416556537338895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168143939,"filename":"image_03112025_07_01_09_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/3/20edd1f0d5df94d67868347769a0f89c.jpg","text":"TemporaryFile(/tmp/multipartBody6728433284950500227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168143939,"filename":"image_03112025_07_00_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/3/e3d103a590a0fdb02b270e6f0c55d1b7.jpg","text":"TemporaryFile(/tmp/multipartBody3947416047614181073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168143939,"filename":"image_03112025_07_01_06_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/3/d05bf71c5a9c215bbdd89649bc0dd4cd.jpg","text":"TemporaryFile(/tmp/multipartBody7615529899916468351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168143939,"filename":"image_03112025_07_00_45_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/3/0cd4812592f8da09b1ebe10d531ca93c.jpg","text":"TemporaryFile(/tmp/multipartBody3414058838977818693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168143939,"filename":"image_03112025_07_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/3/9d2f02d605704f4514a54963fb9fcf2b.jpg","text":"TemporaryFile(/tmp/multipartBody7441254582938293095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168143939,"filename":"image_03112025_07_00_48_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392031892","file1":"1392031890","file0":"1392031888","file4":"1392031902","file5":"1392031909","file3":"1392031894"},"map_files_photo_id_array":[{"photo_id":"1392031909","filename":"file5"},{"photo_id":"1392031892","filename":"file2"},{"photo_id":"1392031902","filename":"file4"},{"photo_id":"1392031890","filename":"file1"},{"photo_id":"1392031888","filename":"file0"},{"photo_id":"1392031894","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392031902":["hashtag1","hashtag2"]},{"1392031892":["hashtag1","hashtag2"]},{"1392031894":["hashtag1","hashtag2"]},{"1392031888":["hashtag1","hashtag2"]},{"1392031909":["hashtag1","hashtag2"]},{"1392031890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392031902, 1392031892, 1392031894, 1392031888, 1392031909, 1392031890)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.550830602645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:09:03.565981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_27_3728.jpg', '/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_30_2711.jpg', '/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_33_2599.jpg', '/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_42_2665.jpg', '/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_51_2923.jpg', '/home/pi/Desktop/images/03112025/07/01/image_03112025_07_02_00_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_27_3728.jpg
/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_30_2711.jpg
/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_33_2599.jpg
/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_42_2665.jpg
/home/pi/Desktop/images/03112025/07/01/image_03112025_07_01_51_2923.jpg
/home/pi/Desktop/images/03112025/07/01/image_03112025_07_02_00_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392031941","1392031935","1392031932","1392031943","1392031939","1392031948"],"photo_ids_order":["1392031932","1392031935","1392031939","1392031941","1392031943","1392031948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae7bf8c345eb82673633991d45178da6.jpg","text":"TemporaryFile(/tmp/multipartBody8171552461424783711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168204773,"filename":"image_03112025_07_01_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/3/0436df898f50a564d442f76ffcab8f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4899379625464244965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168204773,"filename":"image_03112025_07_01_30_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/3/80be74279bd9bc20dabf3f7d6124c3be.jpg","text":"TemporaryFile(/tmp/multipartBody5120404550959462971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168204773,"filename":"image_03112025_07_01_27_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/3/522b6aa10ba8abf842b682275fe88bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4016219188905831230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168204773,"filename":"image_03112025_07_01_51_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/3/a5510510e70c4ab1bd920904e630690a.jpg","text":"TemporaryFile(/tmp/multipartBody1517701888953948980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168204773,"filename":"image_03112025_07_01_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/3/a8f5dff2fc15a333df0e251d83b6b5c9.jpg","text":"TemporaryFile(/tmp/multipartBody2604867805291182889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168204773,"filename":"image_03112025_07_02_00_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392031939","file1":"1392031935","file0":"1392031932","file4":"1392031943","file5":"1392031948","file3":"1392031941"},"map_files_photo_id_array":[{"photo_id":"1392031948","filename":"file5"},{"photo_id":"1392031939","filename":"file2"},{"photo_id":"1392031943","filename":"file4"},{"photo_id":"1392031935","filename":"file1"},{"photo_id":"1392031932","filename":"file0"},{"photo_id":"1392031941","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392031941":["hashtag1","hashtag2"]},{"1392031935":["hashtag1","hashtag2"]},{"1392031932":["hashtag1","hashtag2"]},{"1392031943":["hashtag1","hashtag2"]},{"1392031939":["hashtag1","hashtag2"]},{"1392031948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392031941, 1392031935, 1392031932, 1392031943, 1392031939, 1392031948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.64781880378723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:10:02.205939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_03_2697.jpg', '/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_15_3536.jpg', '/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_18_2625.jpg', '/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_24_3654.jpg', '/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_27_2579.jpg', '/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_54_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_03_2697.jpg
/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_15_3536.jpg
/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_18_2625.jpg
/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_24_3654.jpg
/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_27_2579.jpg
/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_54_3655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392031986","1392031994","1392031997","1392031991","1392032000","1392031983"],"photo_ids_order":["1392031983","1392031986","1392031991","1392031994","1392031997","1392032000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e5172a2ed15d6868d7f037a699966818.jpg","text":"TemporaryFile(/tmp/multipartBody2457412434195005850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168263050,"filename":"image_03112025_07_02_15_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/3/a2a7a38b499f8c12152cb7d5ac0e27de.jpg","text":"TemporaryFile(/tmp/multipartBody2530870261644064795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168263050,"filename":"image_03112025_07_02_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/3/1c6fb4e83bc264d8ca03e326eb359eec.jpg","text":"TemporaryFile(/tmp/multipartBody2215209316797384848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168263050,"filename":"image_03112025_07_02_27_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/893ee5acb41ae10b3014f10678485365.jpg","text":"TemporaryFile(/tmp/multipartBody9198846112435757366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168263050,"filename":"image_03112025_07_02_18_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/3/92113e1ec4c9f89f576a4929874a9464.jpg","text":"TemporaryFile(/tmp/multipartBody4931301248468749190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168263050,"filename":"image_03112025_07_02_54_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/3/29c4d3a4f3204533b04fdfe1f67c59a9.jpg","text":"TemporaryFile(/tmp/multipartBody898496362437836494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168263050,"filename":"image_03112025_07_02_03_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392031991","file1":"1392031986","file0":"1392031983","file4":"1392031997","file5":"1392032000","file3":"1392031994"},"map_files_photo_id_array":[{"photo_id":"1392032000","filename":"file5"},{"photo_id":"1392031991","filename":"file2"},{"photo_id":"1392031997","filename":"file4"},{"photo_id":"1392031986","filename":"file1"},{"photo_id":"1392031983","filename":"file0"},{"photo_id":"1392031994","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392031986":["hashtag1","hashtag2"]},{"1392031994":["hashtag1","hashtag2"]},{"1392031997":["hashtag1","hashtag2"]},{"1392031991":["hashtag1","hashtag2"]},{"1392032000":["hashtag1","hashtag2"]},{"1392031983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392031986, 1392031994, 1392031997, 1392031991, 1392032000, 1392031983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53379940986633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:10:41.873844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_57_2619.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_09_2667.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_11_2650.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_14_2830.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_18_3726.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_21_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/02/image_03112025_07_02_57_2619.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_09_2667.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_11_2650.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_14_2830.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_18_3726.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_21_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392032022","1392032025","1392032019","1392032024","1392032017","1392032011"],"photo_ids_order":["1392032011","1392032017","1392032019","1392032022","1392032024","1392032025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e43297a60670a3148d86c9add6a232a.jpg","text":"TemporaryFile(/tmp/multipartBody5313864010897625870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168302617,"filename":"image_03112025_07_03_14_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/3/87b909528f5e7dc5403af610231f208d.jpg","text":"TemporaryFile(/tmp/multipartBody9132650099274277666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168302617,"filename":"image_03112025_07_03_21_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9dc77e7a74ae26aa109267c47babbf18.jpg","text":"TemporaryFile(/tmp/multipartBody5144666707724059938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168302617,"filename":"image_03112025_07_03_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/3/c84491eb24b0f746b6ed03c1f0b865e4.jpg","text":"TemporaryFile(/tmp/multipartBody1609708444084668819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168302617,"filename":"image_03112025_07_03_18_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/3/97d261ebb2843f597ba08f0dd43fd28a.jpg","text":"TemporaryFile(/tmp/multipartBody5122643507962659814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168302617,"filename":"image_03112025_07_03_09_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7e76c6baf0c6455d711fde0b06a4557c.jpg","text":"TemporaryFile(/tmp/multipartBody7203316546173932842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168302617,"filename":"image_03112025_07_02_57_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032019","file1":"1392032017","file0":"1392032011","file4":"1392032024","file5":"1392032025","file3":"1392032022"},"map_files_photo_id_array":[{"photo_id":"1392032025","filename":"file5"},{"photo_id":"1392032019","filename":"file2"},{"photo_id":"1392032024","filename":"file4"},{"photo_id":"1392032017","filename":"file1"},{"photo_id":"1392032011","filename":"file0"},{"photo_id":"1392032022","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032022":["hashtag1","hashtag2"]},{"1392032025":["hashtag1","hashtag2"]},{"1392032019":["hashtag1","hashtag2"]},{"1392032024":["hashtag1","hashtag2"]},{"1392032017":["hashtag1","hashtag2"]},{"1392032011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032022, 1392032025, 1392032019, 1392032024, 1392032017, 1392032011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77018594741821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:11:22.074166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_24_2892.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_27_3749.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_30_2672.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_33_2856.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_35_2617.jpg', '/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_39_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_24_2892.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_27_3749.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_30_2672.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_33_2856.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_35_2617.jpg
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_39_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392032081","1392032063","1392032071","1392032074","1392032068","1392032077"],"photo_ids_order":["1392032063","1392032068","1392032071","1392032074","1392032077","1392032081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40c0f7218a61f450eef9cdc59933354f.jpg","text":"TemporaryFile(/tmp/multipartBody6248438955541757377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168342891,"filename":"image_03112025_07_03_39_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/3/57e3e67dec2740a6ada620e02d959499.jpg","text":"TemporaryFile(/tmp/multipartBody8646745578228366583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168342891,"filename":"image_03112025_07_03_24_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/3/e5cc261b301eb5299264e8ab02ee77af.jpg","text":"TemporaryFile(/tmp/multipartBody4243317332347140325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168342891,"filename":"image_03112025_07_03_30_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/3/4725fea6713ce7c8ef75709ead95346f.jpg","text":"TemporaryFile(/tmp/multipartBody4220833848926352123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168342891,"filename":"image_03112025_07_03_33_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/3/591f356dba961d6bd848b030d869626c.jpg","text":"TemporaryFile(/tmp/multipartBody990269712180743605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168342891,"filename":"image_03112025_07_03_27_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/3/c1855620e2bdf9260b1652ec78bf472d.jpg","text":"TemporaryFile(/tmp/multipartBody5568126037090719174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168342891,"filename":"image_03112025_07_03_35_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032071","file1":"1392032068","file0":"1392032063","file4":"1392032077","file5":"1392032081","file3":"1392032074"},"map_files_photo_id_array":[{"photo_id":"1392032081","filename":"file5"},{"photo_id":"1392032071","filename":"file2"},{"photo_id":"1392032077","filename":"file4"},{"photo_id":"1392032068","filename":"file1"},{"photo_id":"1392032063","filename":"file0"},{"photo_id":"1392032074","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032081":["hashtag1","hashtag2"]},{"1392032063":["hashtag1","hashtag2"]},{"1392032071":["hashtag1","hashtag2"]},{"1392032074":["hashtag1","hashtag2"]},{"1392032068":["hashtag1","hashtag2"]},{"1392032077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032081, 1392032063, 1392032071, 1392032074, 1392032068, 1392032077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67533588409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:12:02.768270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_48_3686.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_05_5756.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_10_1734.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_12_1623.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_15_3559.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_18_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/03/image_03112025_07_03_48_3686.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_05_5756.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_10_1734.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_12_1623.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_15_3559.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_18_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392032093","1392032095","1392032097","1392032101","1392032091","1392032088"],"photo_ids_order":["1392032088","1392032091","1392032093","1392032095","1392032097","1392032101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a15e3929d4c2c8450ca566257213e548.jpg","text":"TemporaryFile(/tmp/multipartBody4289319614675864149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168383589,"filename":"image_03112025_07_04_10_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d68628cceb2044fcbc0378cd04154f0e.jpg","text":"TemporaryFile(/tmp/multipartBody1499576922773075187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168383589,"filename":"image_03112025_07_04_12_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/3/0e950a03ae2ba4f4c93dce72abbc7880.jpg","text":"TemporaryFile(/tmp/multipartBody6956960415168039875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168383589,"filename":"image_03112025_07_04_15_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/3/1e190a9b7ca10350077e7413e980a5d9.jpg","text":"TemporaryFile(/tmp/multipartBody8537222508900669551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168383589,"filename":"image_03112025_07_04_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/3/4d09e27740c4804599884055c2f5ab72.jpg","text":"TemporaryFile(/tmp/multipartBody7801956483382952459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168383589,"filename":"image_03112025_07_04_05_5756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8ab60b151311831972c173e303c6fe06.jpg","text":"TemporaryFile(/tmp/multipartBody4542640753122448171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168383589,"filename":"image_03112025_07_03_48_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032093","file1":"1392032091","file0":"1392032088","file4":"1392032097","file5":"1392032101","file3":"1392032095"},"map_files_photo_id_array":[{"photo_id":"1392032101","filename":"file5"},{"photo_id":"1392032093","filename":"file2"},{"photo_id":"1392032097","filename":"file4"},{"photo_id":"1392032091","filename":"file1"},{"photo_id":"1392032088","filename":"file0"},{"photo_id":"1392032095","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032093":["hashtag1","hashtag2"]},{"1392032095":["hashtag1","hashtag2"]},{"1392032097":["hashtag1","hashtag2"]},{"1392032101":["hashtag1","hashtag2"]},{"1392032091":["hashtag1","hashtag2"]},{"1392032088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032093, 1392032095, 1392032097, 1392032101, 1392032091, 1392032088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.201178312301636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:12:42.407220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_27_6447.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_30_1698.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_36_2900.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_38_2737.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_42_3672.jpg', '/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_54_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_27_6447.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_30_1698.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_36_2900.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_38_2737.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_42_3672.jpg
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_04_54_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392032127","1392032121","1392032130","1392032112","1392032122","1392032116"],"photo_ids_order":["1392032112","1392032116","1392032121","1392032122","1392032127","1392032130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db3de126a426a8a3288011f309ca5519.jpg","text":"TemporaryFile(/tmp/multipartBody8699638731189820388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168423179,"filename":"image_03112025_07_04_42_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/3/391576b5b1340d48a420b8c32d6587e5.jpg","text":"TemporaryFile(/tmp/multipartBody824864735247708025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168423179,"filename":"image_03112025_07_04_36_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/3/7bd9f39c9308d8e1d29fc6db27e19c75.jpg","text":"TemporaryFile(/tmp/multipartBody3278249952525038340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168423179,"filename":"image_03112025_07_04_54_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/3/53f47294b45039556376d2dfb885886a.jpg","text":"TemporaryFile(/tmp/multipartBody7915311910707779543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168423179,"filename":"image_03112025_07_04_27_6447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/167c4a768cf62d19bdac83c94917b513.jpg","text":"TemporaryFile(/tmp/multipartBody6508091793712535038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168423179,"filename":"image_03112025_07_04_38_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/3/c7ba0364b84ecfa1cdfcf99a2590c987.jpg","text":"TemporaryFile(/tmp/multipartBody4785473560759972664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168423179,"filename":"image_03112025_07_04_30_1698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032121","file1":"1392032116","file0":"1392032112","file4":"1392032127","file5":"1392032130","file3":"1392032122"},"map_files_photo_id_array":[{"photo_id":"1392032130","filename":"file5"},{"photo_id":"1392032121","filename":"file2"},{"photo_id":"1392032127","filename":"file4"},{"photo_id":"1392032116","filename":"file1"},{"photo_id":"1392032112","filename":"file0"},{"photo_id":"1392032122","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032127":["hashtag1","hashtag2"]},{"1392032121":["hashtag1","hashtag2"]},{"1392032130":["hashtag1","hashtag2"]},{"1392032112":["hashtag1","hashtag2"]},{"1392032122":["hashtag1","hashtag2"]},{"1392032116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032127, 1392032121, 1392032130, 1392032112, 1392032122, 1392032116)","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.995712995529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:14:03.300896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/04/image_03112025_07_05_00_2647.jpg', '/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_12_3809.jpg', '/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_15_2640.jpg', '/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_24_3631.jpg', '/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_27_2749.jpg', '/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_33_3862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/04/image_03112025_07_05_00_2647.jpg
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_12_3809.jpg
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_15_2640.jpg
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_24_3631.jpg
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_27_2749.jpg
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_33_3862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392032186","1392032191","1392032188","1392032181","1392032175","1392032184"],"photo_ids_order":["1392032175","1392032181","1392032184","1392032186","1392032188","1392032191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/59f19aeb48cbd4e318e7681d43ef52ee.jpg","text":"TemporaryFile(/tmp/multipartBody2758485366528397647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168504118,"filename":"image_03112025_07_05_24_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/3/4b220f3a5d6b0f604c6a2b87721e26bc.jpg","text":"TemporaryFile(/tmp/multipartBody1195449517383075691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168504118,"filename":"image_03112025_07_05_33_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/3/78b372c6f91f623d94116f69a440c60a.jpg","text":"TemporaryFile(/tmp/multipartBody6258584450349225376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168504118,"filename":"image_03112025_07_05_27_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/874e16c7a2079f078e46ec200ef3e59b.jpg","text":"TemporaryFile(/tmp/multipartBody3007566754462858869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168504118,"filename":"image_03112025_07_05_12_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bcb09b7eb7e0c129178ae1a92d0e68ac.jpg","text":"TemporaryFile(/tmp/multipartBody2342181204718022127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168504118,"filename":"image_03112025_07_05_00_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/3/e8590912d57c19ac96e18874e063d6c8.jpg","text":"TemporaryFile(/tmp/multipartBody2091941452452133714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168504118,"filename":"image_03112025_07_05_15_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032184","file1":"1392032181","file0":"1392032175","file4":"1392032188","file5":"1392032191","file3":"1392032186"},"map_files_photo_id_array":[{"photo_id":"1392032191","filename":"file5"},{"photo_id":"1392032184","filename":"file2"},{"photo_id":"1392032188","filename":"file4"},{"photo_id":"1392032181","filename":"file1"},{"photo_id":"1392032175","filename":"file0"},{"photo_id":"1392032186","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032186":["hashtag1","hashtag2"]},{"1392032191":["hashtag1","hashtag2"]},{"1392032188":["hashtag1","hashtag2"]},{"1392032181":["hashtag1","hashtag2"]},{"1392032175":["hashtag1","hashtag2"]},{"1392032184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032186, 1392032191, 1392032188, 1392032181, 1392032175, 1392032184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98173975944519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:14:42.858677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_36_2631.jpg', '/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_41_2762.jpg', '/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_45_3839.jpg', '/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_53_2700.jpg', '/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_57_3727.jpg', '/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_09_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_36_2631.jpg
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_41_2762.jpg
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_45_3839.jpg
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_53_2700.jpg
/home/pi/Desktop/images/03112025/07/05/image_03112025_07_05_57_3727.jpg
/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_09_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392032325","1392032328","1392032304","1392032327","1392032329","1392032323"],"photo_ids_order":["1392032304","1392032323","1392032325","1392032327","1392032328","1392032329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d32036398ae01b7c08a46a8531ea4fdb.jpg","text":"TemporaryFile(/tmp/multipartBody623351844691106738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168543593,"filename":"image_03112025_07_05_45_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f65653b6709fbd2cfaac545e7eb93e08.jpg","text":"TemporaryFile(/tmp/multipartBody8858913422696470700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168543593,"filename":"image_03112025_07_05_57_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/3/698597afa4d8320102d5b7232dfac3e9.jpg","text":"TemporaryFile(/tmp/multipartBody6665827458572188273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168543593,"filename":"image_03112025_07_05_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/3/521e4178d457c573315a584782717962.jpg","text":"TemporaryFile(/tmp/multipartBody4925232848482503599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168543593,"filename":"image_03112025_07_05_53_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/3/6d378e805ae6ed5452b2b321157835c5.jpg","text":"TemporaryFile(/tmp/multipartBody3110703788783372383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168543593,"filename":"image_03112025_07_06_09_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/3/2ff109480fae4450cbf4d4aa60634e47.jpg","text":"TemporaryFile(/tmp/multipartBody109913288601686062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168543593,"filename":"image_03112025_07_05_41_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032325","file1":"1392032323","file0":"1392032304","file4":"1392032328","file5":"1392032329","file3":"1392032327"},"map_files_photo_id_array":[{"photo_id":"1392032329","filename":"file5"},{"photo_id":"1392032325","filename":"file2"},{"photo_id":"1392032328","filename":"file4"},{"photo_id":"1392032323","filename":"file1"},{"photo_id":"1392032304","filename":"file0"},{"photo_id":"1392032327","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032325":["hashtag1","hashtag2"]},{"1392032328":["hashtag1","hashtag2"]},{"1392032304":["hashtag1","hashtag2"]},{"1392032327":["hashtag1","hashtag2"]},{"1392032329":["hashtag1","hashtag2"]},{"1392032323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032325, 1392032328, 1392032304, 1392032327, 1392032329, 1392032323)","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: 79.95960140228271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:16:22.274815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 12:16:49.708483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_11_2751.jpg', '/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_20_2676.jpg', '/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_27_3687.jpg', '/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_30_2704.jpg', '/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_39_2899.jpg', '/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_48_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_11_2751.jpg
/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_20_2676.jpg
/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_27_3687.jpg
/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_30_2704.jpg
/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_39_2899.jpg
/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_48_3747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392032451","1392032448","1392032459","1392032464","1392032454","1392032463"],"photo_ids_order":["1392032448","1392032451","1392032454","1392032459","1392032463","1392032464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/216728a0c1ae31e7c9c15ed8ee483aef.jpg","text":"TemporaryFile(/tmp/multipartBody2690642338096539298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168672844,"filename":"image_03112025_07_06_20_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/3/50e1c68622ca13842f8f3e15eaa7313f.jpg","text":"TemporaryFile(/tmp/multipartBody134199974037130638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168672844,"filename":"image_03112025_07_06_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/3/2055df08b3fcf18fe016cc285770d544.jpg","text":"TemporaryFile(/tmp/multipartBody195637340875871696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168672844,"filename":"image_03112025_07_06_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/3/49c22f8c994b651a758900e74c7467bc.jpg","text":"TemporaryFile(/tmp/multipartBody5541704352670133251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168672844,"filename":"image_03112025_07_06_48_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/3/a9be57164f3cb340414e7f6d909632fc.jpg","text":"TemporaryFile(/tmp/multipartBody3260509390146095752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168672844,"filename":"image_03112025_07_06_27_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/3/80079a723613f0460b7be2b84a152e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5290596206395092031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168672844,"filename":"image_03112025_07_06_39_2899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032454","file1":"1392032451","file0":"1392032448","file4":"1392032463","file5":"1392032464","file3":"1392032459"},"map_files_photo_id_array":[{"photo_id":"1392032464","filename":"file5"},{"photo_id":"1392032454","filename":"file2"},{"photo_id":"1392032463","filename":"file4"},{"photo_id":"1392032451","filename":"file1"},{"photo_id":"1392032448","filename":"file0"},{"photo_id":"1392032459","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032451":["hashtag1","hashtag2"]},{"1392032448":["hashtag1","hashtag2"]},{"1392032459":["hashtag1","hashtag2"]},{"1392032464":["hashtag1","hashtag2"]},{"1392032454":["hashtag1","hashtag2"]},{"1392032463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032451, 1392032448, 1392032459, 1392032464, 1392032454, 1392032463)","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 = 1392032454 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/07/06/image_03112025_07_06_27_3687.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 78.07054471969604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:18:31.540029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 12:18:47.269784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_09_2785.jpg', '/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_15_3646.jpg', '/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_27_3692.jpg', '/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_29_2713.jpg', '/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_32_2689.jpg', '/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_38_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_09_2785.jpg
/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_15_3646.jpg
/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_27_3692.jpg
/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_29_2713.jpg
/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_32_2689.jpg
/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_38_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":["1392032718","1392032537","1392032630","1392032593","1392032595","1392032682"],"photo_ids_order":["1392032537","1392032593","1392032595","1392032630","1392032682","1392032718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db9d45b129d106a12e342ebd27bf8a81.jpg","text":"TemporaryFile(/tmp/multipartBody4570664163465914215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168788010,"filename":"image_03112025_07_08_38_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/446ea69b52ae5673a1188f7f0b8fb78c.jpg","text":"TemporaryFile(/tmp/multipartBody7761606185547339176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168788010,"filename":"image_03112025_07_07_09_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/3/eda4e0062a2c706518220b58b43e9707.jpg","text":"TemporaryFile(/tmp/multipartBody2006786264614152476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168788010,"filename":"image_03112025_07_07_29_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/3/96c11a19fff8214240890130a37cfeda.jpg","text":"TemporaryFile(/tmp/multipartBody325973507740625538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168788010,"filename":"image_03112025_07_07_15_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cefa900e25b36583dfdddc98953486ba.jpg","text":"TemporaryFile(/tmp/multipartBody4861144372300624800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168788010,"filename":"image_03112025_07_07_27_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/3/f714cd1ee4ddbd2372e6fdbbe29b506b.jpg","text":"TemporaryFile(/tmp/multipartBody1705749669800961355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168788010,"filename":"image_03112025_07_08_32_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032595","file1":"1392032593","file0":"1392032537","file4":"1392032682","file5":"1392032718","file3":"1392032630"},"map_files_photo_id_array":[{"photo_id":"1392032718","filename":"file5"},{"photo_id":"1392032595","filename":"file2"},{"photo_id":"1392032682","filename":"file4"},{"photo_id":"1392032593","filename":"file1"},{"photo_id":"1392032537","filename":"file0"},{"photo_id":"1392032630","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032718":["hashtag1","hashtag2"]},{"1392032537":["hashtag1","hashtag2"]},{"1392032630":["hashtag1","hashtag2"]},{"1392032593":["hashtag1","hashtag2"]},{"1392032595":["hashtag1","hashtag2"]},{"1392032682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032718, 1392032537, 1392032630, 1392032593, 1392032595, 1392032682)","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 = 1392032595 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_27_3692.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392032595 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_27_3692.jpg";
uploaded 6 photos
time to upload: 67.30585026741028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:20:02.860912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_09_2785.jpg', '/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_15_3646.jpg', '/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_27_3692.jpg', '/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_29_2713.jpg', '/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_32_2689.jpg', '/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_38_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_09_2785.jpg
/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_15_3646.jpg
/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_27_3692.jpg
/home/pi/Desktop/images/03112025/07/07/image_03112025_07_07_29_2713.jpg
/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_32_2689.jpg
/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_38_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":["1392032835","1392032843","1392032837","1392032840","1392032830","1392032833"],"photo_ids_order":["1392032830","1392032833","1392032835","1392032837","1392032840","1392032843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/31a0e1fc5efd98bd8b29d0e95b102ddc.jpg","text":"TemporaryFile(/tmp/multipartBody7543367474026652329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168868000,"filename":"image_03112025_07_07_27_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/3/17c4fa4052ca308ee4e8d01507906c73.jpg","text":"TemporaryFile(/tmp/multipartBody5213815760276676957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168868000,"filename":"image_03112025_07_08_38_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/70087d48e5f221e3b661c3111f1ab63c.jpg","text":"TemporaryFile(/tmp/multipartBody8982347641493531820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168868000,"filename":"image_03112025_07_07_29_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/3/4c5d10f727e791c1712ed5bae3a4321f.jpg","text":"TemporaryFile(/tmp/multipartBody432039768362155499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168868000,"filename":"image_03112025_07_08_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/3/f29339a887dec656c018328e563fdddd.jpg","text":"TemporaryFile(/tmp/multipartBody9031295105646147872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168868000,"filename":"image_03112025_07_07_09_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/3/4bd901e0a752511b66c6ff32fc325ead.jpg","text":"TemporaryFile(/tmp/multipartBody4110759582836546959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168868000,"filename":"image_03112025_07_07_15_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032835","file1":"1392032833","file0":"1392032830","file4":"1392032840","file5":"1392032843","file3":"1392032837"},"map_files_photo_id_array":[{"photo_id":"1392032843","filename":"file5"},{"photo_id":"1392032835","filename":"file2"},{"photo_id":"1392032840","filename":"file4"},{"photo_id":"1392032833","filename":"file1"},{"photo_id":"1392032830","filename":"file0"},{"photo_id":"1392032837","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032835":["hashtag1","hashtag2"]},{"1392032843":["hashtag1","hashtag2"]},{"1392032837":["hashtag1","hashtag2"]},{"1392032840":["hashtag1","hashtag2"]},{"1392032830":["hashtag1","hashtag2"]},{"1392032833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032835, 1392032843, 1392032837, 1392032840, 1392032830, 1392032833)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 64.27333116531372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:21:22.432601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_41_2792.jpg', '/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_47_3592.jpg', '/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_50_2636.jpg', '/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_59_2634.jpg', '/home/pi/Desktop/images/03112025/07/09/image_03112025_07_09_05_2554.jpg', '/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_47_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_41_2792.jpg
/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_47_3592.jpg
/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_50_2636.jpg
/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_59_2634.jpg
/home/pi/Desktop/images/03112025/07/09/image_03112025_07_09_05_2554.jpg
/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_47_2757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392032981","1392032912","1392032944","1392032902","1392032905","1392032908"],"photo_ids_order":["1392032902","1392032905","1392032908","1392032912","1392032944","1392032981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e2030e74428fc359c37df53163ee9ff8.jpg","text":"TemporaryFile(/tmp/multipartBody7415985360637965264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168952594,"filename":"image_03112025_07_10_47_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc62c570649aa6a7b4b4fa365609ffa1.jpg","text":"TemporaryFile(/tmp/multipartBody3164979002286274253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168952594,"filename":"image_03112025_07_08_59_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a66f9ec2597066ca487f41f47fbe4b0.jpg","text":"TemporaryFile(/tmp/multipartBody7468000023566926675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168952594,"filename":"image_03112025_07_09_05_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/3/2799355d4b321b56eb59fc8a12e02114.jpg","text":"TemporaryFile(/tmp/multipartBody1763915171238577529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168952594,"filename":"image_03112025_07_08_41_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/3/b06146b86e7295f038dd55a414d1c107.jpg","text":"TemporaryFile(/tmp/multipartBody7701282162060185522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168952594,"filename":"image_03112025_07_08_47_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/3/199c17a9a819efc28b1a651326e34405.jpg","text":"TemporaryFile(/tmp/multipartBody5929351761501742133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762168952594,"filename":"image_03112025_07_08_50_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392032908","file1":"1392032905","file0":"1392032902","file4":"1392032944","file5":"1392032981","file3":"1392032912"},"map_files_photo_id_array":[{"photo_id":"1392032981","filename":"file5"},{"photo_id":"1392032908","filename":"file2"},{"photo_id":"1392032944","filename":"file4"},{"photo_id":"1392032905","filename":"file1"},{"photo_id":"1392032902","filename":"file0"},{"photo_id":"1392032912","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392032981":["hashtag1","hashtag2"]},{"1392032912":["hashtag1","hashtag2"]},{"1392032944":["hashtag1","hashtag2"]},{"1392032902":["hashtag1","hashtag2"]},{"1392032905":["hashtag1","hashtag2"]},{"1392032908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392032981, 1392032912, 1392032944, 1392032902, 1392032905, 1392032908)","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 = 1392032908 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/07/08/image_03112025_07_08_50_2636.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 71.60276889801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:22:44.572784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_50_2667.jpg', '/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_53_3778.jpg', '/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_56_2753.jpg', '/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_59_2697.jpg', '/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_05_2663.jpg', '/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_11_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_50_2667.jpg
/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_53_3778.jpg
/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_56_2753.jpg
/home/pi/Desktop/images/03112025/07/10/image_03112025_07_10_59_2697.jpg
/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_05_2663.jpg
/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_11_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":["1392033284","1392033287","1392033311","1392033277","1392033268","1392033351"],"photo_ids_order":["1392033268","1392033277","1392033284","1392033287","1392033311","1392033351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6cad10bbfb887bcc010bdf21aac58cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4156661302522280559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169025323,"filename":"image_03112025_07_10_56_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/3/f4769a9930474d35f29d6cf16cb40ddd.jpg","text":"TemporaryFile(/tmp/multipartBody8068638688284497302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169025323,"filename":"image_03112025_07_10_59_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2fa2ce76c8053d94d6f55d186745b32e.jpg","text":"TemporaryFile(/tmp/multipartBody3069888147174484143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169025323,"filename":"image_03112025_07_11_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/3/093d68f4d7bcad8e035040fb4db345fc.jpg","text":"TemporaryFile(/tmp/multipartBody7568052054106351228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169025323,"filename":"image_03112025_07_10_53_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/3/d7b180dc87f488d40702e47af098aae1.jpg","text":"TemporaryFile(/tmp/multipartBody3394603349643389351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169025323,"filename":"image_03112025_07_10_50_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/3/56b51ed390ae597cc5c8abe532f23f32.jpg","text":"TemporaryFile(/tmp/multipartBody9065430036126969479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169025323,"filename":"image_03112025_07_11_11_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392033284","file1":"1392033277","file0":"1392033268","file4":"1392033311","file5":"1392033351","file3":"1392033287"},"map_files_photo_id_array":[{"photo_id":"1392033351","filename":"file5"},{"photo_id":"1392033284","filename":"file2"},{"photo_id":"1392033311","filename":"file4"},{"photo_id":"1392033277","filename":"file1"},{"photo_id":"1392033268","filename":"file0"},{"photo_id":"1392033287","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392033284":["hashtag1","hashtag2"]},{"1392033287":["hashtag1","hashtag2"]},{"1392033311":["hashtag1","hashtag2"]},{"1392033277":["hashtag1","hashtag2"]},{"1392033268":["hashtag1","hashtag2"]},{"1392033351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392033284, 1392033287, 1392033311, 1392033277, 1392033268, 1392033351)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 73.49499654769897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:24:03.508707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_21_4313.jpg', '/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_26_2715.jpg', '/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_29_3796.jpg', '/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_38_3854.jpg', '/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_41_2717.jpg', '/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_47_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_21_4313.jpg
/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_26_2715.jpg
/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_29_3796.jpg
/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_38_3854.jpg
/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_41_2717.jpg
/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_47_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392033619","1392033607","1392033630","1392033612","1392033615","1392033609"],"photo_ids_order":["1392033607","1392033609","1392033612","1392033615","1392033619","1392033630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fefd67a41510f20f7cb9cb30b85f5278.jpg","text":"TemporaryFile(/tmp/multipartBody6276263156221806635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169106448,"filename":"image_03112025_07_11_41_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/3/e11d95ef9ef24bdc57182137b644b9de.jpg","text":"TemporaryFile(/tmp/multipartBody1975411782022397438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169106448,"filename":"image_03112025_07_11_21_4313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c5ea0961af75c6bb1fcc49141173223f.jpg","text":"TemporaryFile(/tmp/multipartBody2891222104966169016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169106448,"filename":"image_03112025_07_11_47_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/3/c0494bab1a87fb533771a8e1eaccb769.jpg","text":"TemporaryFile(/tmp/multipartBody7486186418086827441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169106448,"filename":"image_03112025_07_11_29_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/3/a7b7fb49d7ef8f0d1fa9bf545181ad69.jpg","text":"TemporaryFile(/tmp/multipartBody1175991636366549956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169106448,"filename":"image_03112025_07_11_38_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/3/98867a12336b672920b348dd269b8f3c.jpg","text":"TemporaryFile(/tmp/multipartBody2531374523587523749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169106448,"filename":"image_03112025_07_11_26_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392033612","file1":"1392033609","file0":"1392033607","file4":"1392033619","file5":"1392033630","file3":"1392033615"},"map_files_photo_id_array":[{"photo_id":"1392033630","filename":"file5"},{"photo_id":"1392033612","filename":"file2"},{"photo_id":"1392033619","filename":"file4"},{"photo_id":"1392033609","filename":"file1"},{"photo_id":"1392033607","filename":"file0"},{"photo_id":"1392033615","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392033619":["hashtag1","hashtag2"]},{"1392033607":["hashtag1","hashtag2"]},{"1392033630":["hashtag1","hashtag2"]},{"1392033612":["hashtag1","hashtag2"]},{"1392033615":["hashtag1","hashtag2"]},{"1392033609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392033619, 1392033607, 1392033630, 1392033612, 1392033615, 1392033609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.55298900604248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:25:12.234457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 12:25:24.226133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 12:26:07.059892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_59_2796.jpg', '/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_02_3536.jpg', '/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_05_3063.jpg', '/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_08_2610.jpg', '/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_10_2628.jpg', '/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_35_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/11/image_03112025_07_11_59_2796.jpg
/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_02_3536.jpg
/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_05_3063.jpg
/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_08_2610.jpg
/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_10_2628.jpg
/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_35_2592.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":["1392033683","1392033682","1392033691","1392033685","1392033688","1392033684"],"photo_ids_order":["1392033682","1392033683","1392033684","1392033685","1392033688","1392033691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/206ff036b6b85a579dbc9752144dccac.jpg","text":"TemporaryFile(/tmp/multipartBody2836536341547162657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169229666,"filename":"image_03112025_07_12_02_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/3/b42e07f305be487d3706c54bbcfe3681.jpg","text":"TemporaryFile(/tmp/multipartBody95152632668647513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169229666,"filename":"image_03112025_07_11_59_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/699ba7eeecbbf8ee0f0c7519d57815bf.jpg","text":"TemporaryFile(/tmp/multipartBody3156444183555332551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169229666,"filename":"image_03112025_07_12_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/3/d11b95a8508a8e601a7668c4817beaec.jpg","text":"TemporaryFile(/tmp/multipartBody4532274875964082852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169229666,"filename":"image_03112025_07_12_08_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/3/78afb814b858b4c221527a34ac24e58e.jpg","text":"TemporaryFile(/tmp/multipartBody7858331639823764866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169229666,"filename":"image_03112025_07_12_10_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7708aca71fe0946737d5c4da5b737790.jpg","text":"TemporaryFile(/tmp/multipartBody1997860603256831798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169229666,"filename":"image_03112025_07_12_05_3063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392033684","file1":"1392033683","file0":"1392033682","file4":"1392033688","file5":"1392033691","file3":"1392033685"},"map_files_photo_id_array":[{"photo_id":"1392033691","filename":"file5"},{"photo_id":"1392033684","filename":"file2"},{"photo_id":"1392033688","filename":"file4"},{"photo_id":"1392033683","filename":"file1"},{"photo_id":"1392033682","filename":"file0"},{"photo_id":"1392033685","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392033683":["hashtag1","hashtag2"]},{"1392033682":["hashtag1","hashtag2"]},{"1392033691":["hashtag1","hashtag2"]},{"1392033685":["hashtag1","hashtag2"]},{"1392033688":["hashtag1","hashtag2"]},{"1392033684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392033683, 1392033682, 1392033691, 1392033685, 1392033688, 1392033684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.95215845108032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:27:03.196392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_44_2674.jpg', '/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_46_2640.jpg', '/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_14_2742.jpg', '/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_23_2649.jpg', '/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_26_2667.jpg', '/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_35_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_44_2674.jpg
/home/pi/Desktop/images/03112025/07/12/image_03112025_07_12_46_2640.jpg
/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_14_2742.jpg
/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_23_2649.jpg
/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_26_2667.jpg
/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_35_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":["1392033737","1392033734","1392033727","1392033724","1392033732","1392033729"],"photo_ids_order":["1392033724","1392033727","1392033729","1392033732","1392033734","1392033737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/24edcc1d3128d9a42bee20837353e880.jpg","text":"TemporaryFile(/tmp/multipartBody3788807783989976143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169284025,"filename":"image_03112025_07_13_35_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/3/d7639d74d5b43362b86f3919de377c9c.jpg","text":"TemporaryFile(/tmp/multipartBody2092202453491646801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169284025,"filename":"image_03112025_07_13_26_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/3/e0493dc357c9212301386d3c2f70fca2.jpg","text":"TemporaryFile(/tmp/multipartBody5756164842062240085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169284025,"filename":"image_03112025_07_12_46_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eb0c57d2899048b2718a8bab7ed16f71.jpg","text":"TemporaryFile(/tmp/multipartBody8966360635236303006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169284025,"filename":"image_03112025_07_12_44_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/3/5ba92fddee54fdb76055ae9b54efd9e7.jpg","text":"TemporaryFile(/tmp/multipartBody3366390526481828763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169284025,"filename":"image_03112025_07_13_23_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e0c42a939dad506e448202f0388e284.jpg","text":"TemporaryFile(/tmp/multipartBody4884752884609732671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169284025,"filename":"image_03112025_07_13_14_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392033729","file1":"1392033727","file0":"1392033724","file4":"1392033734","file5":"1392033737","file3":"1392033732"},"map_files_photo_id_array":[{"photo_id":"1392033737","filename":"file5"},{"photo_id":"1392033729","filename":"file2"},{"photo_id":"1392033734","filename":"file4"},{"photo_id":"1392033727","filename":"file1"},{"photo_id":"1392033724","filename":"file0"},{"photo_id":"1392033732","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392033737":["hashtag1","hashtag2"]},{"1392033734":["hashtag1","hashtag2"]},{"1392033727":["hashtag1","hashtag2"]},{"1392033724":["hashtag1","hashtag2"]},{"1392033732":["hashtag1","hashtag2"]},{"1392033729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392033737, 1392033734, 1392033727, 1392033724, 1392033732, 1392033729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.923548460006714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:28:02.381576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_38_2719.jpg', '/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_41_3626.jpg', '/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_44_2684.jpg', '/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_47_2746.jpg', '/home/pi/Desktop/images/03112025/07/14/image_03112025_07_14_40_2564.jpg', '/home/pi/Desktop/images/03112025/07/14/image_03112025_07_14_47_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_38_2719.jpg
/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_41_3626.jpg
/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_44_2684.jpg
/home/pi/Desktop/images/03112025/07/13/image_03112025_07_13_47_2746.jpg
/home/pi/Desktop/images/03112025/07/14/image_03112025_07_14_40_2564.jpg
/home/pi/Desktop/images/03112025/07/14/image_03112025_07_14_47_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":["1392033755","1392033784","1392033763","1392033769","1392033774","1392033759"],"photo_ids_order":["1392033755","1392033759","1392033763","1392033769","1392033774","1392033784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d98e090d9ab52c857ecd2a76512eb9af.jpg","text":"TemporaryFile(/tmp/multipartBody3636968868449714140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169345826,"filename":"image_03112025_07_13_38_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/3/ae2f6ee82b87ad532b3db4bb5ed26f22.jpg","text":"TemporaryFile(/tmp/multipartBody4365869636162231564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169345826,"filename":"image_03112025_07_14_47_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/3/a3f34631d311da8473a3eb7cf2e4ab2e.jpg","text":"TemporaryFile(/tmp/multipartBody3609014344495829223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169345826,"filename":"image_03112025_07_13_44_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/acc65acb205fc8213fddaa4418cb8ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7742454536212014283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169345826,"filename":"image_03112025_07_13_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/3/d1e3179d7d848fb0809ca3a7d7aee621.jpg","text":"TemporaryFile(/tmp/multipartBody1102013243836326987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169345826,"filename":"image_03112025_07_14_40_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/3/9717a62808b2dc43fdf876e0d83295e3.jpg","text":"TemporaryFile(/tmp/multipartBody3839897028950534496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169345826,"filename":"image_03112025_07_13_41_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392033763","file1":"1392033759","file0":"1392033755","file4":"1392033774","file5":"1392033784","file3":"1392033769"},"map_files_photo_id_array":[{"photo_id":"1392033784","filename":"file5"},{"photo_id":"1392033763","filename":"file2"},{"photo_id":"1392033774","filename":"file4"},{"photo_id":"1392033759","filename":"file1"},{"photo_id":"1392033755","filename":"file0"},{"photo_id":"1392033769","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392033755":["hashtag1","hashtag2"]},{"1392033784":["hashtag1","hashtag2"]},{"1392033763":["hashtag1","hashtag2"]},{"1392033769":["hashtag1","hashtag2"]},{"1392033774":["hashtag1","hashtag2"]},{"1392033759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392033755, 1392033784, 1392033763, 1392033769, 1392033774, 1392033759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.90068006515503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:29:02.639637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/14/image_03112025_07_14_53_3794.jpg', '/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_01_2615.jpg', '/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_04_3063.jpg', '/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_07_2904.jpg', '/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_11_3735.jpg', '/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_16_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/14/image_03112025_07_14_53_3794.jpg
/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_01_2615.jpg
/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_04_3063.jpg
/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_07_2904.jpg
/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_11_3735.jpg
/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_16_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":["1392033911","1392033823","1392033861","1392033942","1392033945","1392033828"],"photo_ids_order":["1392033823","1392033828","1392033861","1392033911","1392033942","1392033945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3926505034cc0051d4b1f246af6efa83.jpg","text":"TemporaryFile(/tmp/multipartBody3815791140854431877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169405967,"filename":"image_03112025_07_15_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/3/04daf300e0c810b73007a439ac61a68f.jpg","text":"TemporaryFile(/tmp/multipartBody3237983267227113979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169405967,"filename":"image_03112025_07_14_53_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/3/ad8392a1133a109af7637582580c03e3.jpg","text":"TemporaryFile(/tmp/multipartBody1674503098890697048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169405967,"filename":"image_03112025_07_15_04_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/3/ae5e42f4b39ab51a9f65c44782ae04e8.jpg","text":"TemporaryFile(/tmp/multipartBody5238890419638849297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169405967,"filename":"image_03112025_07_15_11_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/3/761fc2f8f6cc7ae284d3ea686e371cb8.jpg","text":"TemporaryFile(/tmp/multipartBody5232800741218561545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169405967,"filename":"image_03112025_07_15_16_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/3/ad9f64c734f0909aa90f11ec384a768b.jpg","text":"TemporaryFile(/tmp/multipartBody3790428431985982769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169405967,"filename":"image_03112025_07_15_01_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392033861","file1":"1392033828","file0":"1392033823","file4":"1392033942","file5":"1392033945","file3":"1392033911"},"map_files_photo_id_array":[{"photo_id":"1392033945","filename":"file5"},{"photo_id":"1392033861","filename":"file2"},{"photo_id":"1392033942","filename":"file4"},{"photo_id":"1392033828","filename":"file1"},{"photo_id":"1392033823","filename":"file0"},{"photo_id":"1392033911","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392033911":["hashtag1","hashtag2"]},{"1392033823":["hashtag1","hashtag2"]},{"1392033861":["hashtag1","hashtag2"]},{"1392033942":["hashtag1","hashtag2"]},{"1392033945":["hashtag1","hashtag2"]},{"1392033828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392033911, 1392033823, 1392033861, 1392033942, 1392033945, 1392033828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46212124824524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:30:02.981976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_25_2683.jpg', '/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_29_3758.jpg', '/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_46_2601.jpg', '/home/pi/Desktop/images/03112025/07/17/image_03112025_07_17_02_2884.jpg', '/home/pi/Desktop/images/03112025/07/17/image_03112025_07_17_13_2571.jpg', '/home/pi/Desktop/images/03112025/07/17/image_03112025_07_17_17_3446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_25_2683.jpg
/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_29_3758.jpg
/home/pi/Desktop/images/03112025/07/15/image_03112025_07_15_46_2601.jpg
/home/pi/Desktop/images/03112025/07/17/image_03112025_07_17_02_2884.jpg
/home/pi/Desktop/images/03112025/07/17/image_03112025_07_17_13_2571.jpg
/home/pi/Desktop/images/03112025/07/17/image_03112025_07_17_17_3446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034028","1392034045","1392034030","1392034036","1392034023","1392034026"],"photo_ids_order":["1392034023","1392034026","1392034028","1392034030","1392034036","1392034045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3abd60cf8a0fb2e627c4dbe87018dde0.jpg","text":"TemporaryFile(/tmp/multipartBody218739985232023851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169466081,"filename":"image_03112025_07_15_46_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/3/907f9425f67246a9c3b182079109969a.jpg","text":"TemporaryFile(/tmp/multipartBody2790586032003886667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169466081,"filename":"image_03112025_07_17_17_3446.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2f9651c358dfcb0a53121f1f27770f15.jpg","text":"TemporaryFile(/tmp/multipartBody2660236894328768799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169466081,"filename":"image_03112025_07_17_02_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/3/a15328d4b533763a921cb96e72086743.jpg","text":"TemporaryFile(/tmp/multipartBody6667945769107627299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169466081,"filename":"image_03112025_07_17_13_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/3/375e6fbf176dc8bea5b7b318c11bf522.jpg","text":"TemporaryFile(/tmp/multipartBody1702530982218964783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169466081,"filename":"image_03112025_07_15_25_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/3/5ca4d9b6ed7dd30fa82d417bbe99a615.jpg","text":"TemporaryFile(/tmp/multipartBody4506480816891064313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169466081,"filename":"image_03112025_07_15_29_3758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034028","file1":"1392034026","file0":"1392034023","file4":"1392034036","file5":"1392034045","file3":"1392034030"},"map_files_photo_id_array":[{"photo_id":"1392034045","filename":"file5"},{"photo_id":"1392034028","filename":"file2"},{"photo_id":"1392034036","filename":"file4"},{"photo_id":"1392034026","filename":"file1"},{"photo_id":"1392034023","filename":"file0"},{"photo_id":"1392034030","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034028":["hashtag1","hashtag2"]},{"1392034045":["hashtag1","hashtag2"]},{"1392034030":["hashtag1","hashtag2"]},{"1392034036":["hashtag1","hashtag2"]},{"1392034023":["hashtag1","hashtag2"]},{"1392034026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034028, 1392034045, 1392034030, 1392034036, 1392034023, 1392034026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74044394493103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:31:03.337993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/17/image_03112025_07_17_59_3695.jpg', '/home/pi/Desktop/images/03112025/07/18/image_03112025_07_18_04_2663.jpg', '/home/pi/Desktop/images/03112025/07/19/image_03112025_07_19_46_3633.jpg', '/home/pi/Desktop/images/03112025/07/19/image_03112025_07_19_49_2609.jpg', '/home/pi/Desktop/images/03112025/07/19/image_03112025_07_19_52_2772.jpg', '/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_19_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/17/image_03112025_07_17_59_3695.jpg
/home/pi/Desktop/images/03112025/07/18/image_03112025_07_18_04_2663.jpg
/home/pi/Desktop/images/03112025/07/19/image_03112025_07_19_46_3633.jpg
/home/pi/Desktop/images/03112025/07/19/image_03112025_07_19_49_2609.jpg
/home/pi/Desktop/images/03112025/07/19/image_03112025_07_19_52_2772.jpg
/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_19_2772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034247","1392034169","1392034136","1392034141","1392034203","1392034166"],"photo_ids_order":["1392034136","1392034141","1392034166","1392034169","1392034203","1392034247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/141482e550a524e513a03f48e4f1a601.jpg","text":"TemporaryFile(/tmp/multipartBody2617146327789966158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169524200,"filename":"image_03112025_07_20_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/3/d1516468f44621d83c2720d58732c217.jpg","text":"TemporaryFile(/tmp/multipartBody7288285017563004371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169524200,"filename":"image_03112025_07_19_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/3/209a11fed2c2b4c26eed45fed720b9a3.jpg","text":"TemporaryFile(/tmp/multipartBody1265501943403823523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169524200,"filename":"image_03112025_07_17_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/3/8bd38d32fff89e364adeb2fc18f02fd1.jpg","text":"TemporaryFile(/tmp/multipartBody101269547088208632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169524200,"filename":"image_03112025_07_18_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/3/555cb963d4e0bccb97ba76b2885e4f59.jpg","text":"TemporaryFile(/tmp/multipartBody4669942652480371552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169524200,"filename":"image_03112025_07_19_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/3/80c78ef9c259c30aea4bcf1f349eb515.jpg","text":"TemporaryFile(/tmp/multipartBody3163806217882766457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169524200,"filename":"image_03112025_07_19_46_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034166","file1":"1392034141","file0":"1392034136","file4":"1392034203","file5":"1392034247","file3":"1392034169"},"map_files_photo_id_array":[{"photo_id":"1392034247","filename":"file5"},{"photo_id":"1392034166","filename":"file2"},{"photo_id":"1392034203","filename":"file4"},{"photo_id":"1392034141","filename":"file1"},{"photo_id":"1392034136","filename":"file0"},{"photo_id":"1392034169","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034247":["hashtag1","hashtag2"]},{"1392034169":["hashtag1","hashtag2"]},{"1392034136":["hashtag1","hashtag2"]},{"1392034141":["hashtag1","hashtag2"]},{"1392034203":["hashtag1","hashtag2"]},{"1392034166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034247, 1392034169, 1392034136, 1392034141, 1392034203, 1392034166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.176077365875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:32:04.284713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_22_2529.jpg', '/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_28_2733.jpg', '/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_43_3770.jpg', '/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_46_2643.jpg', '/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_49_2639.jpg', '/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_55_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_22_2529.jpg
/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_28_2733.jpg
/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_43_3770.jpg
/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_46_2643.jpg
/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_49_2639.jpg
/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_55_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034406","1392034396","1392034399","1392034393","1392034414","1392034389"],"photo_ids_order":["1392034389","1392034393","1392034396","1392034399","1392034406","1392034414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f8a141a8211af7ebd16496a24b50e590.jpg","text":"TemporaryFile(/tmp/multipartBody2861349417512484974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169585243,"filename":"image_03112025_07_20_49_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/3/649a10696d12649c53699f43d8f82f15.jpg","text":"TemporaryFile(/tmp/multipartBody805637507384459315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169585243,"filename":"image_03112025_07_20_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/3/06d90ae1eb610de8de5e9493e756d229.jpg","text":"TemporaryFile(/tmp/multipartBody3431873281955302363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169585243,"filename":"image_03112025_07_20_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/3/969ce4ebccb462b6b71fc8ea1e15d6f1.jpg","text":"TemporaryFile(/tmp/multipartBody6359319204909599112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169585243,"filename":"image_03112025_07_20_28_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/88ae7b69c1c6e75ea46bf4379734266d.jpg","text":"TemporaryFile(/tmp/multipartBody2922454192905963909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169585243,"filename":"image_03112025_07_20_55_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/3/3a1660d2aee4e4be4337123d5d05fd23.jpg","text":"TemporaryFile(/tmp/multipartBody6673801933507340891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169585243,"filename":"image_03112025_07_20_22_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034396","file1":"1392034393","file0":"1392034389","file4":"1392034406","file5":"1392034414","file3":"1392034399"},"map_files_photo_id_array":[{"photo_id":"1392034414","filename":"file5"},{"photo_id":"1392034396","filename":"file2"},{"photo_id":"1392034406","filename":"file4"},{"photo_id":"1392034393","filename":"file1"},{"photo_id":"1392034389","filename":"file0"},{"photo_id":"1392034399","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034406":["hashtag1","hashtag2"]},{"1392034396":["hashtag1","hashtag2"]},{"1392034399":["hashtag1","hashtag2"]},{"1392034393":["hashtag1","hashtag2"]},{"1392034414":["hashtag1","hashtag2"]},{"1392034389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034406, 1392034396, 1392034399, 1392034393, 1392034414, 1392034389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.0692093372345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:33:02.914960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_58_2592.jpg', '/home/pi/Desktop/images/03112025/07/21/image_03112025_07_21_22_2721.jpg', '/home/pi/Desktop/images/03112025/07/21/image_03112025_07_21_28_3609.jpg', '/home/pi/Desktop/images/03112025/07/22/image_03112025_07_22_12_1555.jpg', '/home/pi/Desktop/images/03112025/07/22/image_03112025_07_22_24_2802.jpg', '/home/pi/Desktop/images/03112025/07/22/image_03112025_07_22_49_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/20/image_03112025_07_20_58_2592.jpg
/home/pi/Desktop/images/03112025/07/21/image_03112025_07_21_22_2721.jpg
/home/pi/Desktop/images/03112025/07/21/image_03112025_07_21_28_3609.jpg
/home/pi/Desktop/images/03112025/07/22/image_03112025_07_22_12_1555.jpg
/home/pi/Desktop/images/03112025/07/22/image_03112025_07_22_24_2802.jpg
/home/pi/Desktop/images/03112025/07/22/image_03112025_07_22_49_1659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034439","1392034441","1392034435","1392034444","1392034438","1392034431"],"photo_ids_order":["1392034431","1392034435","1392034438","1392034439","1392034441","1392034444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b918009b4143de11f20f7cdfd5bec3d.jpg","text":"TemporaryFile(/tmp/multipartBody6445566539019822694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169643711,"filename":"image_03112025_07_22_12_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/3/bbad15b984b1d817553c156a1e2c212f.jpg","text":"TemporaryFile(/tmp/multipartBody587724758206179714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169643711,"filename":"image_03112025_07_22_24_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/3/68b412db319bdb861b0d73d3d2fdc2be.jpg","text":"TemporaryFile(/tmp/multipartBody627069239062126714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169643711,"filename":"image_03112025_07_21_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/3/797fcffdd1b6406196db5e9486affd38.jpg","text":"TemporaryFile(/tmp/multipartBody3510267053282804431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169643711,"filename":"image_03112025_07_22_49_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/3/9a27a6467de97d119bdaaf9cc800e883.jpg","text":"TemporaryFile(/tmp/multipartBody5869214448323920554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169643711,"filename":"image_03112025_07_21_28_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/3/a1dfa9d0a7b064c3aa68c725742d5a02.jpg","text":"TemporaryFile(/tmp/multipartBody8998678732503083548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169643711,"filename":"image_03112025_07_20_58_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034438","file1":"1392034435","file0":"1392034431","file4":"1392034441","file5":"1392034444","file3":"1392034439"},"map_files_photo_id_array":[{"photo_id":"1392034444","filename":"file5"},{"photo_id":"1392034438","filename":"file2"},{"photo_id":"1392034441","filename":"file4"},{"photo_id":"1392034435","filename":"file1"},{"photo_id":"1392034431","filename":"file0"},{"photo_id":"1392034439","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034439":["hashtag1","hashtag2"]},{"1392034441":["hashtag1","hashtag2"]},{"1392034435":["hashtag1","hashtag2"]},{"1392034444":["hashtag1","hashtag2"]},{"1392034438":["hashtag1","hashtag2"]},{"1392034431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034439, 1392034441, 1392034435, 1392034444, 1392034438, 1392034431)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.975027322769165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:34:03.124000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_07_3545.jpg', '/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_10_2723.jpg', '/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_37_2714.jpg', '/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_43_3589.jpg', '/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_45_2582.jpg', '/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_54_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_07_3545.jpg
/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_10_2723.jpg
/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_37_2714.jpg
/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_43_3589.jpg
/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_45_2582.jpg
/home/pi/Desktop/images/03112025/07/23/image_03112025_07_23_54_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034465","1392034459","1392034462","1392034485","1392034475","1392034469"],"photo_ids_order":["1392034459","1392034462","1392034465","1392034469","1392034475","1392034485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee688ad33bb6d3a5f31d6df8203d1af2.jpg","text":"TemporaryFile(/tmp/multipartBody6180462005340595454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169706053,"filename":"image_03112025_07_23_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/3/28ce9cf0e5474ab73321d7c281a044e9.jpg","text":"TemporaryFile(/tmp/multipartBody7102640637364551044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169706053,"filename":"image_03112025_07_23_07_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/3/124137c01bf27cc6db24fa6792689af7.jpg","text":"TemporaryFile(/tmp/multipartBody1985541151184758172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169706053,"filename":"image_03112025_07_23_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/3/1b6e417dcc2ce58fe3de1c9220d81a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4592618565898493428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169706053,"filename":"image_03112025_07_23_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/3/1d1166f6f98aa7530c7bf60f7f0458ff.jpg","text":"TemporaryFile(/tmp/multipartBody7074132947463945423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169706053,"filename":"image_03112025_07_23_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/3/84693afb19268c21bcb0603b82572118.jpg","text":"TemporaryFile(/tmp/multipartBody3251231051532411420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169706053,"filename":"image_03112025_07_23_43_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034465","file1":"1392034462","file0":"1392034459","file4":"1392034475","file5":"1392034485","file3":"1392034469"},"map_files_photo_id_array":[{"photo_id":"1392034485","filename":"file5"},{"photo_id":"1392034465","filename":"file2"},{"photo_id":"1392034475","filename":"file4"},{"photo_id":"1392034462","filename":"file1"},{"photo_id":"1392034459","filename":"file0"},{"photo_id":"1392034469","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034465":["hashtag1","hashtag2"]},{"1392034459":["hashtag1","hashtag2"]},{"1392034462":["hashtag1","hashtag2"]},{"1392034485":["hashtag1","hashtag2"]},{"1392034475":["hashtag1","hashtag2"]},{"1392034469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034465, 1392034459, 1392034462, 1392034485, 1392034475, 1392034469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87276530265808 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-03 12:35:02.568337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_06_2730.jpg', '/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_10_3614.jpg', '/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_31_2694.jpg', '/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_37_3626.jpg', '/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_43_2825.jpg', '/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_45_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_06_2730.jpg
/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_10_3614.jpg
/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_31_2694.jpg
/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_37_3626.jpg
/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_43_2825.jpg
/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_45_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034544","1392034514","1392034501","1392034506","1392034547","1392034535"],"photo_ids_order":["1392034501","1392034506","1392034514","1392034535","1392034544","1392034547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/544eb82c6fefc68dbbfbcee9b4993ba7.jpg","text":"TemporaryFile(/tmp/multipartBody3710183935889301469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169763421,"filename":"image_03112025_07_24_43_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/3/1fc1fc60edfc3666c8571562eb36853f.jpg","text":"TemporaryFile(/tmp/multipartBody1783434118854126097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169763421,"filename":"image_03112025_07_24_31_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/3/e4607e4276a3367059baac96329795e7.jpg","text":"TemporaryFile(/tmp/multipartBody7312038266973287061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169763421,"filename":"image_03112025_07_24_06_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ef8b330ebffdd562ee9de38bd2d0dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3824454855281278118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169763421,"filename":"image_03112025_07_24_10_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/3/87df09d52d80a854548b1086fe77eee4.jpg","text":"TemporaryFile(/tmp/multipartBody8188022147638844755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169763421,"filename":"image_03112025_07_24_45_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/3/f1d72552ff82887bdfc3dcb68ffd8d91.jpg","text":"TemporaryFile(/tmp/multipartBody442906976416027902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169763421,"filename":"image_03112025_07_24_37_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034514","file1":"1392034506","file0":"1392034501","file4":"1392034544","file5":"1392034547","file3":"1392034535"},"map_files_photo_id_array":[{"photo_id":"1392034547","filename":"file5"},{"photo_id":"1392034514","filename":"file2"},{"photo_id":"1392034544","filename":"file4"},{"photo_id":"1392034506","filename":"file1"},{"photo_id":"1392034501","filename":"file0"},{"photo_id":"1392034535","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034544":["hashtag1","hashtag2"]},{"1392034514":["hashtag1","hashtag2"]},{"1392034501":["hashtag1","hashtag2"]},{"1392034506":["hashtag1","hashtag2"]},{"1392034547":["hashtag1","hashtag2"]},{"1392034535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034544, 1392034514, 1392034501, 1392034506, 1392034547, 1392034535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51076292991638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:35:41.879510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_52_2818.jpg', '/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_55_2682.jpg', '/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_57_2708.jpg', '/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_04_2716.jpg', '/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_12_2920.jpg', '/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_15_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_52_2818.jpg
/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_55_2682.jpg
/home/pi/Desktop/images/03112025/07/24/image_03112025_07_24_57_2708.jpg
/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_04_2716.jpg
/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_12_2920.jpg
/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_15_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034558","1392034561","1392034555","1392034563","1392034565","1392034553"],"photo_ids_order":["1392034553","1392034555","1392034558","1392034561","1392034563","1392034565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f6e0e826e7fc8dbf249b6643e806ce5e.jpg","text":"TemporaryFile(/tmp/multipartBody3503404089456097652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169802651,"filename":"image_03112025_07_24_57_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/3/e26b32adbeafad71fb8dc977a82717f8.jpg","text":"TemporaryFile(/tmp/multipartBody4409861083807647635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169802651,"filename":"image_03112025_07_25_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/3/6a9945e30bc7645c7200c00f78d977ce.jpg","text":"TemporaryFile(/tmp/multipartBody1558658861179880166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169802651,"filename":"image_03112025_07_24_55_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/3/d53dd0ece498aca219701263654a5660.jpg","text":"TemporaryFile(/tmp/multipartBody7506764782629504646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169802651,"filename":"image_03112025_07_25_12_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/3/97a5231c5172187355e0bcf279681b6f.jpg","text":"TemporaryFile(/tmp/multipartBody240698091950111964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169802651,"filename":"image_03112025_07_25_15_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/3/2f783c9d469034a9594fae62de5c4fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4213472167903573457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169802651,"filename":"image_03112025_07_24_52_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034558","file1":"1392034555","file0":"1392034553","file4":"1392034563","file5":"1392034565","file3":"1392034561"},"map_files_photo_id_array":[{"photo_id":"1392034565","filename":"file5"},{"photo_id":"1392034558","filename":"file2"},{"photo_id":"1392034563","filename":"file4"},{"photo_id":"1392034555","filename":"file1"},{"photo_id":"1392034553","filename":"file0"},{"photo_id":"1392034561","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034558":["hashtag1","hashtag2"]},{"1392034561":["hashtag1","hashtag2"]},{"1392034555":["hashtag1","hashtag2"]},{"1392034563":["hashtag1","hashtag2"]},{"1392034565":["hashtag1","hashtag2"]},{"1392034553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034558, 1392034561, 1392034555, 1392034563, 1392034565, 1392034553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83888792991638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:36:22.063523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_19_3809.jpg', '/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_28_3657.jpg', '/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_31_2705.jpg', '/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_42_2773.jpg', '/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_53_7623.jpg', '/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_07_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_19_3809.jpg
/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_28_3657.jpg
/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_31_2705.jpg
/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_42_2773.jpg
/home/pi/Desktop/images/03112025/07/25/image_03112025_07_25_53_7623.jpg
/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_07_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034570","1392034573","1392034581","1392034592","1392034586","1392034577"],"photo_ids_order":["1392034570","1392034573","1392034577","1392034581","1392034586","1392034592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/131167bfee6aca99d283fa61c234d4a0.jpg","text":"TemporaryFile(/tmp/multipartBody4534746771384622020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169842819,"filename":"image_03112025_07_25_19_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3eb2e16e8924a52ef1f6671da6ca0f41.jpg","text":"TemporaryFile(/tmp/multipartBody281856976518679222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169842819,"filename":"image_03112025_07_25_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/3/14f41ac270ceb047372e0db19ae582e4.jpg","text":"TemporaryFile(/tmp/multipartBody4709809478766630042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169842819,"filename":"image_03112025_07_25_42_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/3/50d5bd846f9bf3902ee1d3519ae3124a.jpg","text":"TemporaryFile(/tmp/multipartBody1896672780838381691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169842819,"filename":"image_03112025_07_26_07_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/3/46d3118fc39475ef80506b617f98b94c.jpg","text":"TemporaryFile(/tmp/multipartBody4982103948431625927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169842819,"filename":"image_03112025_07_25_53_7623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7920e1f2231f0ee222f07d4dbdcf2384.jpg","text":"TemporaryFile(/tmp/multipartBody8601635240232555751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169842819,"filename":"image_03112025_07_25_31_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034577","file1":"1392034573","file0":"1392034570","file4":"1392034586","file5":"1392034592","file3":"1392034581"},"map_files_photo_id_array":[{"photo_id":"1392034592","filename":"file5"},{"photo_id":"1392034577","filename":"file2"},{"photo_id":"1392034586","filename":"file4"},{"photo_id":"1392034573","filename":"file1"},{"photo_id":"1392034570","filename":"file0"},{"photo_id":"1392034581","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034570":["hashtag1","hashtag2"]},{"1392034573":["hashtag1","hashtag2"]},{"1392034581":["hashtag1","hashtag2"]},{"1392034592":["hashtag1","hashtag2"]},{"1392034586":["hashtag1","hashtag2"]},{"1392034577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034570, 1392034573, 1392034581, 1392034592, 1392034586, 1392034577)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.14004421234131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:37:22.203668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_09_2627.jpg', '/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_18_2837.jpg', '/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_22_3571.jpg', '/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_27_2735.jpg', '/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_33_2704.jpg', '/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_51_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_09_2627.jpg
/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_18_2837.jpg
/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_22_3571.jpg
/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_27_2735.jpg
/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_33_2704.jpg
/home/pi/Desktop/images/03112025/07/26/image_03112025_07_26_51_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034742","1392034756","1392034765","1392034750","1392034746","1392034760"],"photo_ids_order":["1392034742","1392034746","1392034750","1392034756","1392034760","1392034765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56bb18770abecf17573e78b03d8fcfe9.jpg","text":"TemporaryFile(/tmp/multipartBody5867130179765477071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169902942,"filename":"image_03112025_07_26_09_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/3/a48f56e987ff72d6dc38945972930fc4.jpg","text":"TemporaryFile(/tmp/multipartBody8351975116923972778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169902942,"filename":"image_03112025_07_26_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/3/e697fed8c9cb81ca3948e3ec4c59d223.jpg","text":"TemporaryFile(/tmp/multipartBody6094625924189470587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169902942,"filename":"image_03112025_07_26_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/3/7099ccc82dadb7ec9c8613c5b8d8e0dd.jpg","text":"TemporaryFile(/tmp/multipartBody6181138154442878447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169902942,"filename":"image_03112025_07_26_22_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2a576d497e8098915f834df5fae2cdf4.jpg","text":"TemporaryFile(/tmp/multipartBody3916620565908607655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169902942,"filename":"image_03112025_07_26_18_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/3/2ea5fe1052a6258a6e5672d8383dda69.jpg","text":"TemporaryFile(/tmp/multipartBody7374634653240051377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169902942,"filename":"image_03112025_07_26_33_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034750","file1":"1392034746","file0":"1392034742","file4":"1392034760","file5":"1392034765","file3":"1392034756"},"map_files_photo_id_array":[{"photo_id":"1392034765","filename":"file5"},{"photo_id":"1392034750","filename":"file2"},{"photo_id":"1392034760","filename":"file4"},{"photo_id":"1392034746","filename":"file1"},{"photo_id":"1392034742","filename":"file0"},{"photo_id":"1392034756","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034742":["hashtag1","hashtag2"]},{"1392034756":["hashtag1","hashtag2"]},{"1392034765":["hashtag1","hashtag2"]},{"1392034750":["hashtag1","hashtag2"]},{"1392034746":["hashtag1","hashtag2"]},{"1392034760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034742, 1392034756, 1392034765, 1392034750, 1392034746, 1392034760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.937785387039185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:38:02.934898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_07_3630.jpg', '/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_09_2605.jpg', '/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_18_2844.jpg', '/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_24_2789.jpg', '/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_42_2769.jpg', '/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_49_3730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_07_3630.jpg
/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_09_2605.jpg
/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_18_2844.jpg
/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_24_2789.jpg
/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_42_2769.jpg
/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_49_3730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034811","1392034795","1392034804","1392034860","1392034818","1392034806"],"photo_ids_order":["1392034795","1392034804","1392034806","1392034811","1392034818","1392034860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da5ae82bcc978dfaac31e2d6510974a9.jpg","text":"TemporaryFile(/tmp/multipartBody1451404148714360534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169943726,"filename":"image_03112025_07_27_24_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/3/799635bdcd77fd14699286b938382e04.jpg","text":"TemporaryFile(/tmp/multipartBody6010736739512855000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169943726,"filename":"image_03112025_07_27_07_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/3/dd8a1e157e0b1862d2e5f0984b30da3c.jpg","text":"TemporaryFile(/tmp/multipartBody54475057475772867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169943726,"filename":"image_03112025_07_27_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/3/56547a1dce55699f438e06c8a0688221.jpg","text":"TemporaryFile(/tmp/multipartBody4295589586591435798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169943726,"filename":"image_03112025_07_27_49_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/3/051bca6188138d84b30845bbcb9dfccb.jpg","text":"TemporaryFile(/tmp/multipartBody4248593928292450541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169943726,"filename":"image_03112025_07_27_42_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/3/cc03e35006fb62fc7a9ccca4e6d43920.jpg","text":"TemporaryFile(/tmp/multipartBody1112570486758320290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169943726,"filename":"image_03112025_07_27_18_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034806","file1":"1392034804","file0":"1392034795","file4":"1392034818","file5":"1392034860","file3":"1392034811"},"map_files_photo_id_array":[{"photo_id":"1392034860","filename":"file5"},{"photo_id":"1392034806","filename":"file2"},{"photo_id":"1392034818","filename":"file4"},{"photo_id":"1392034804","filename":"file1"},{"photo_id":"1392034795","filename":"file0"},{"photo_id":"1392034811","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034811":["hashtag1","hashtag2"]},{"1392034795":["hashtag1","hashtag2"]},{"1392034804":["hashtag1","hashtag2"]},{"1392034860":["hashtag1","hashtag2"]},{"1392034818":["hashtag1","hashtag2"]},{"1392034806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034811, 1392034795, 1392034804, 1392034860, 1392034818, 1392034806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51311206817627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:38:42.384807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_52_2776.jpg', '/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_54_2692.jpg', '/home/pi/Desktop/images/03112025/07/28/image_03112025_07_28_04_2817.jpg', '/home/pi/Desktop/images/03112025/07/28/image_03112025_07_28_06_2690.jpg', '/home/pi/Desktop/images/03112025/07/28/image_03112025_07_28_09_2733.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_03_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_52_2776.jpg
/home/pi/Desktop/images/03112025/07/27/image_03112025_07_27_54_2692.jpg
/home/pi/Desktop/images/03112025/07/28/image_03112025_07_28_04_2817.jpg
/home/pi/Desktop/images/03112025/07/28/image_03112025_07_28_06_2690.jpg
/home/pi/Desktop/images/03112025/07/28/image_03112025_07_28_09_2733.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_03_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034916","1392034904","1392034918","1392034914","1392034911","1392034908"],"photo_ids_order":["1392034904","1392034908","1392034911","1392034914","1392034916","1392034918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/42e7b42e836501f0c48665d552516cf8.jpg","text":"TemporaryFile(/tmp/multipartBody677749201929029696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169983161,"filename":"image_03112025_07_28_09_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/3/8b7fccac0618cc03f6d94da109ed0b7a.jpg","text":"TemporaryFile(/tmp/multipartBody7332427905588711989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169983161,"filename":"image_03112025_07_27_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/3/bf0d25c9d02ae3d4a82dfba367dbaa50.jpg","text":"TemporaryFile(/tmp/multipartBody6653591287457815818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169983161,"filename":"image_03112025_07_29_03_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/3/98ed295f98c9d407cc39d76baea9952b.jpg","text":"TemporaryFile(/tmp/multipartBody8606667923061162753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169983161,"filename":"image_03112025_07_28_06_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/3/5a82dc35c717bba5929ce0c6b159152e.jpg","text":"TemporaryFile(/tmp/multipartBody3327829769193275188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169983161,"filename":"image_03112025_07_28_04_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/3/0aa04d6f1ef10f5b86ee8d64ed9e7784.jpg","text":"TemporaryFile(/tmp/multipartBody8589127552749828405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762169983161,"filename":"image_03112025_07_27_54_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034911","file1":"1392034908","file0":"1392034904","file4":"1392034916","file5":"1392034918","file3":"1392034914"},"map_files_photo_id_array":[{"photo_id":"1392034918","filename":"file5"},{"photo_id":"1392034911","filename":"file2"},{"photo_id":"1392034916","filename":"file4"},{"photo_id":"1392034908","filename":"file1"},{"photo_id":"1392034904","filename":"file0"},{"photo_id":"1392034914","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034916":["hashtag1","hashtag2"]},{"1392034904":["hashtag1","hashtag2"]},{"1392034918":["hashtag1","hashtag2"]},{"1392034914":["hashtag1","hashtag2"]},{"1392034911":["hashtag1","hashtag2"]},{"1392034908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034916, 1392034904, 1392034918, 1392034914, 1392034911, 1392034908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04804444313049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:39:22.603806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_06_2670.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_12_2614.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_15_2668.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_21_2584.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_28_4076.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_33_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_06_2670.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_12_2614.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_15_2668.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_21_2584.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_28_4076.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_33_3655.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6428449153900146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:39:42.575127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_06_2670.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_12_2614.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_15_2668.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_21_2584.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_28_4076.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_33_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_06_2670.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_12_2614.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_15_2668.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_21_2584.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_28_4076.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_33_3655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392034948","1392034957","1392034959","1392034950","1392034941","1392034944"],"photo_ids_order":["1392034941","1392034944","1392034948","1392034950","1392034957","1392034959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f1a8f619cb076c02720449de539aeeeb.jpg","text":"TemporaryFile(/tmp/multipartBody3863640254649183012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170043398,"filename":"image_03112025_07_29_15_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/3/aca35e6270a8613c8f54b173ccf37f92.jpg","text":"TemporaryFile(/tmp/multipartBody572135443708396768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170043398,"filename":"image_03112025_07_29_28_4076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d8bf22037f5e4d59b4e691a409511c7c.jpg","text":"TemporaryFile(/tmp/multipartBody8001798032280910728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170043398,"filename":"image_03112025_07_29_33_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/3/03b1c8816a3205ae6a41cd69f421e935.jpg","text":"TemporaryFile(/tmp/multipartBody9135359846715491229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170043398,"filename":"image_03112025_07_29_21_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/3/8bb5d889628753d8dc9c2f73af312e2b.jpg","text":"TemporaryFile(/tmp/multipartBody9086927380805944558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170043398,"filename":"image_03112025_07_29_06_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/3/369929a9817d8f5d7e88c43a1b789d0a.jpg","text":"TemporaryFile(/tmp/multipartBody3128768633786735456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170043398,"filename":"image_03112025_07_29_12_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392034948","file1":"1392034944","file0":"1392034941","file4":"1392034957","file5":"1392034959","file3":"1392034950"},"map_files_photo_id_array":[{"photo_id":"1392034959","filename":"file5"},{"photo_id":"1392034948","filename":"file2"},{"photo_id":"1392034957","filename":"file4"},{"photo_id":"1392034944","filename":"file1"},{"photo_id":"1392034941","filename":"file0"},{"photo_id":"1392034950","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392034948":["hashtag1","hashtag2"]},{"1392034957":["hashtag1","hashtag2"]},{"1392034959":["hashtag1","hashtag2"]},{"1392034950":["hashtag1","hashtag2"]},{"1392034941":["hashtag1","hashtag2"]},{"1392034944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392034948, 1392034957, 1392034959, 1392034950, 1392034941, 1392034944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.104395389556885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:40:22.717873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_42_3624.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_45_2585.jpg', '/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_57_5733.jpg', '/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_03_1556.jpg', '/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_08_4827.jpg', '/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_10_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_42_3624.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_45_2585.jpg
/home/pi/Desktop/images/03112025/07/29/image_03112025_07_29_57_5733.jpg
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_03_1556.jpg
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_08_4827.jpg
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_10_1708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035089","1392035080","1392035125","1392035104","1392035113","1392035070"],"photo_ids_order":["1392035070","1392035080","1392035089","1392035104","1392035113","1392035125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e37ae93a5a4f7d22fb7a14b62f659a9c.jpg","text":"TemporaryFile(/tmp/multipartBody4670691110117824814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170083455,"filename":"image_03112025_07_29_57_5733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8fd8f73ee043dddc568efe5d958074dd.jpg","text":"TemporaryFile(/tmp/multipartBody3705146825748803226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170083455,"filename":"image_03112025_07_29_45_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/3/bd853689ebfe32716145ff07310c8f7f.jpg","text":"TemporaryFile(/tmp/multipartBody8470427756361832528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170083455,"filename":"image_03112025_07_30_10_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/3/a1b6f6294a14498f182714d777f7c308.jpg","text":"TemporaryFile(/tmp/multipartBody3659968884775232644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170083455,"filename":"image_03112025_07_30_03_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/3/37bdfaf118bf1461684d55d045a2e6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2195915063922482758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170083455,"filename":"image_03112025_07_30_08_4827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/76bbf5db659d7fd9b3b397845c079fac.jpg","text":"TemporaryFile(/tmp/multipartBody6770924231311011028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170083455,"filename":"image_03112025_07_29_42_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035089","file1":"1392035080","file0":"1392035070","file4":"1392035113","file5":"1392035125","file3":"1392035104"},"map_files_photo_id_array":[{"photo_id":"1392035125","filename":"file5"},{"photo_id":"1392035089","filename":"file2"},{"photo_id":"1392035113","filename":"file4"},{"photo_id":"1392035080","filename":"file1"},{"photo_id":"1392035070","filename":"file0"},{"photo_id":"1392035104","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035089":["hashtag1","hashtag2"]},{"1392035080":["hashtag1","hashtag2"]},{"1392035125":["hashtag1","hashtag2"]},{"1392035104":["hashtag1","hashtag2"]},{"1392035113":["hashtag1","hashtag2"]},{"1392035070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035089, 1392035080, 1392035125, 1392035104, 1392035113, 1392035070)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.91562056541443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:41:23.184381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_13_1695.jpg', '/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_18_3541.jpg', '/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_21_2534.jpg', '/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_27_2597.jpg', '/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_34_3744.jpg', '/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_36_2483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_13_1695.jpg
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_18_3541.jpg
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_21_2534.jpg
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_27_2597.jpg
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_34_3744.jpg
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_30_36_2483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035248","1392035250","1392035244","1392035240","1392035234","1392035237"],"photo_ids_order":["1392035234","1392035237","1392035240","1392035244","1392035248","1392035250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/017a8aa5084b41b7aee8ca3e40c77639.jpg","text":"TemporaryFile(/tmp/multipartBody5364701275447793243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170143903,"filename":"image_03112025_07_30_34_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/3/b3c359aefa42dc050c6a6eda889ad94a.jpg","text":"TemporaryFile(/tmp/multipartBody5119016968977289947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170143903,"filename":"image_03112025_07_30_36_2483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/295929a384832d052ddae60059cff10b.jpg","text":"TemporaryFile(/tmp/multipartBody89108802614301135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170143903,"filename":"image_03112025_07_30_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/3/23f026f072819fd1d60a8bf5d17e7f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4402048316422930090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170143903,"filename":"image_03112025_07_30_21_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/3/b06286b63e97bc2b95bc0d242597ab84.jpg","text":"TemporaryFile(/tmp/multipartBody6975942837719988510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170143903,"filename":"image_03112025_07_30_13_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/3/fab7d7b67537ac37adf14b378eb617c0.jpg","text":"TemporaryFile(/tmp/multipartBody7111350939638038957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170143903,"filename":"image_03112025_07_30_18_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035240","file1":"1392035237","file0":"1392035234","file4":"1392035248","file5":"1392035250","file3":"1392035244"},"map_files_photo_id_array":[{"photo_id":"1392035250","filename":"file5"},{"photo_id":"1392035240","filename":"file2"},{"photo_id":"1392035248","filename":"file4"},{"photo_id":"1392035237","filename":"file1"},{"photo_id":"1392035234","filename":"file0"},{"photo_id":"1392035244","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035248":["hashtag1","hashtag2"]},{"1392035250":["hashtag1","hashtag2"]},{"1392035244":["hashtag1","hashtag2"]},{"1392035240":["hashtag1","hashtag2"]},{"1392035234":["hashtag1","hashtag2"]},{"1392035237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035248, 1392035250, 1392035244, 1392035240, 1392035234, 1392035237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.726773500442505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:42:22.722308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/30/image_03112025_07_31_00_2706.jpg', '/home/pi/Desktop/images/03112025/07/31/image_03112025_07_31_03_3691.jpg', '/home/pi/Desktop/images/03112025/07/31/image_03112025_07_31_06_2640.jpg', '/home/pi/Desktop/images/03112025/07/31/image_03112025_07_31_57_2713.jpg', '/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_01_4497.jpg', '/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_09_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/30/image_03112025_07_31_00_2706.jpg
/home/pi/Desktop/images/03112025/07/31/image_03112025_07_31_03_3691.jpg
/home/pi/Desktop/images/03112025/07/31/image_03112025_07_31_06_2640.jpg
/home/pi/Desktop/images/03112025/07/31/image_03112025_07_31_57_2713.jpg
/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_01_4497.jpg
/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_09_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035278","1392035280","1392035283","1392035285","1392035267","1392035276"],"photo_ids_order":["1392035267","1392035276","1392035278","1392035280","1392035283","1392035285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5767b71660454c3e0d7c95c1d1df916e.jpg","text":"TemporaryFile(/tmp/multipartBody6430065137385129273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170203461,"filename":"image_03112025_07_31_06_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/3/08d48c639d5057c3dba36c5009cfe8ac.jpg","text":"TemporaryFile(/tmp/multipartBody8409510066361402256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170203461,"filename":"image_03112025_07_31_57_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/3/f39da16b9b9990747a1207b84c814f23.jpg","text":"TemporaryFile(/tmp/multipartBody287322881983176921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170203461,"filename":"image_03112025_07_32_01_4497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3e46d090cee9c7c7e9ef2a15e103305f.jpg","text":"TemporaryFile(/tmp/multipartBody8371025609445679340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170203461,"filename":"image_03112025_07_32_09_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/3/a432fcc03ec5b5f4656c3244efd7f26c.jpg","text":"TemporaryFile(/tmp/multipartBody8108911273083267404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170203461,"filename":"image_03112025_07_31_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/3/2e75a449894ce79be081b0280fac5f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1104653479438958400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170203461,"filename":"image_03112025_07_31_03_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035278","file1":"1392035276","file0":"1392035267","file4":"1392035283","file5":"1392035285","file3":"1392035280"},"map_files_photo_id_array":[{"photo_id":"1392035285","filename":"file5"},{"photo_id":"1392035278","filename":"file2"},{"photo_id":"1392035283","filename":"file4"},{"photo_id":"1392035276","filename":"file1"},{"photo_id":"1392035267","filename":"file0"},{"photo_id":"1392035280","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035278":["hashtag1","hashtag2"]},{"1392035280":["hashtag1","hashtag2"]},{"1392035283":["hashtag1","hashtag2"]},{"1392035285":["hashtag1","hashtag2"]},{"1392035267":["hashtag1","hashtag2"]},{"1392035276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035278, 1392035280, 1392035283, 1392035285, 1392035267, 1392035276)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.179423332214355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:43:21.973038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_12_2803.jpg', '/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_17_2789.jpg', '/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_29_2680.jpg', '/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_36_2783.jpg', '/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_42_3648.jpg', '/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_48_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_12_2803.jpg
/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_17_2789.jpg
/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_29_2680.jpg
/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_36_2783.jpg
/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_42_3648.jpg
/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_48_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035317","1392035298","1392035310","1392035301","1392035321","1392035303"],"photo_ids_order":["1392035298","1392035301","1392035303","1392035310","1392035317","1392035321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7d8108b1b2f1290e4233897b6c02f711.jpg","text":"TemporaryFile(/tmp/multipartBody6775936805029459225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170262709,"filename":"image_03112025_07_32_42_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b717d91a4f5f07eaa0f93cb18df7eeec.jpg","text":"TemporaryFile(/tmp/multipartBody7783931698842848268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170262709,"filename":"image_03112025_07_32_12_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/3/01cdda39e103fec1958c20bc364e86bb.jpg","text":"TemporaryFile(/tmp/multipartBody3232645346584617098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170262709,"filename":"image_03112025_07_32_36_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/3/00eacdffb9b0aa1b1f294e86249c892d.jpg","text":"TemporaryFile(/tmp/multipartBody7932241751583213549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170262709,"filename":"image_03112025_07_32_17_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/3/d257d93f88ee388159c8ba9bf180d402.jpg","text":"TemporaryFile(/tmp/multipartBody7880411832436494084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170262709,"filename":"image_03112025_07_32_48_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/3/d045267eb53ff32c6c366c200dea4f0f.jpg","text":"TemporaryFile(/tmp/multipartBody7246908293045619818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170262709,"filename":"image_03112025_07_32_29_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035303","file1":"1392035301","file0":"1392035298","file4":"1392035317","file5":"1392035321","file3":"1392035310"},"map_files_photo_id_array":[{"photo_id":"1392035321","filename":"file5"},{"photo_id":"1392035303","filename":"file2"},{"photo_id":"1392035317","filename":"file4"},{"photo_id":"1392035301","filename":"file1"},{"photo_id":"1392035298","filename":"file0"},{"photo_id":"1392035310","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035317":["hashtag1","hashtag2"]},{"1392035298":["hashtag1","hashtag2"]},{"1392035310":["hashtag1","hashtag2"]},{"1392035301":["hashtag1","hashtag2"]},{"1392035321":["hashtag1","hashtag2"]},{"1392035303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035317, 1392035298, 1392035310, 1392035301, 1392035321, 1392035303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95965528488159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:44:02.720174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_51_3619.jpg', '/home/pi/Desktop/images/03112025/07/33/image_03112025_07_33_14_2722.jpg', '/home/pi/Desktop/images/03112025/07/33/image_03112025_07_33_30_2762.jpg', '/home/pi/Desktop/images/03112025/07/33/image_03112025_07_33_36_3654.jpg', '/home/pi/Desktop/images/03112025/07/33/image_03112025_07_33_47_2921.jpg', '/home/pi/Desktop/images/03112025/07/33/image_03112025_07_34_00_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/32/image_03112025_07_32_51_3619.jpg
/home/pi/Desktop/images/03112025/07/33/image_03112025_07_33_14_2722.jpg
/home/pi/Desktop/images/03112025/07/33/image_03112025_07_33_30_2762.jpg
/home/pi/Desktop/images/03112025/07/33/image_03112025_07_33_36_3654.jpg
/home/pi/Desktop/images/03112025/07/33/image_03112025_07_33_47_2921.jpg
/home/pi/Desktop/images/03112025/07/33/image_03112025_07_34_00_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035482","1392035473","1392035388","1392035355","1392035462","1392035423"],"photo_ids_order":["1392035355","1392035388","1392035423","1392035462","1392035473","1392035482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b4719bf02c4175059c561d40bd627803.jpg","text":"TemporaryFile(/tmp/multipartBody3244997120345802429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170303633,"filename":"image_03112025_07_34_00_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/3/b4b0b8d901290c9846b091bbf869f2b0.jpg","text":"TemporaryFile(/tmp/multipartBody2057844836277882673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170303633,"filename":"image_03112025_07_33_47_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/3/6fdc0618702cba86655b869939b62296.jpg","text":"TemporaryFile(/tmp/multipartBody1995552443471579174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170303633,"filename":"image_03112025_07_33_14_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/3/e725ec923f41ea247e254b3b611d58dc.jpg","text":"TemporaryFile(/tmp/multipartBody8749083751742552991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170303633,"filename":"image_03112025_07_32_51_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6beaac0086b4bc6a16ef97a2c5e4f62f.jpg","text":"TemporaryFile(/tmp/multipartBody4284588138706643780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170303633,"filename":"image_03112025_07_33_36_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b9a048fee2ae2602df8da148da79f65f.jpg","text":"TemporaryFile(/tmp/multipartBody8309800399425812896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170303633,"filename":"image_03112025_07_33_30_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035423","file1":"1392035388","file0":"1392035355","file4":"1392035473","file5":"1392035482","file3":"1392035462"},"map_files_photo_id_array":[{"photo_id":"1392035482","filename":"file5"},{"photo_id":"1392035423","filename":"file2"},{"photo_id":"1392035473","filename":"file4"},{"photo_id":"1392035388","filename":"file1"},{"photo_id":"1392035355","filename":"file0"},{"photo_id":"1392035462","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035482":["hashtag1","hashtag2"]},{"1392035473":["hashtag1","hashtag2"]},{"1392035388":["hashtag1","hashtag2"]},{"1392035355":["hashtag1","hashtag2"]},{"1392035462":["hashtag1","hashtag2"]},{"1392035423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035482, 1392035473, 1392035388, 1392035355, 1392035462, 1392035423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30687880516052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:44:42.094856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_20_2633.jpg', '/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_26_2647.jpg', '/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_39_2636.jpg', '/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_42_2749.jpg', '/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_45_2756.jpg', '/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_51_3332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_20_2633.jpg
/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_26_2647.jpg
/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_39_2636.jpg
/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_42_2749.jpg
/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_45_2756.jpg
/home/pi/Desktop/images/03112025/07/34/image_03112025_07_34_51_3332.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035539","1392035533","1392035553","1392035541","1392035555","1392035540"],"photo_ids_order":["1392035533","1392035539","1392035540","1392035541","1392035553","1392035555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a7f02791351afdec567776365c624474.jpg","text":"TemporaryFile(/tmp/multipartBody999390330055510933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170342880,"filename":"image_03112025_07_34_26_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/3/2fdd8eb73bf5d27b4093e4b58c7b1396.jpg","text":"TemporaryFile(/tmp/multipartBody1239565693601702058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170342880,"filename":"image_03112025_07_34_20_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/3/5baeac1dc741eca17958c7de9e02c915.jpg","text":"TemporaryFile(/tmp/multipartBody6572875535457317102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170342880,"filename":"image_03112025_07_34_45_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/3/abc3d3ff8899e17195da888bd52ea288.jpg","text":"TemporaryFile(/tmp/multipartBody4353604317572763895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170342880,"filename":"image_03112025_07_34_42_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f12890eb3c6026034068eaf453ca39a9.jpg","text":"TemporaryFile(/tmp/multipartBody9154594627142958099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170342880,"filename":"image_03112025_07_34_51_3332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/391c6ba285721e93e12a2e79ec597195.jpg","text":"TemporaryFile(/tmp/multipartBody1395137541989191305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170342880,"filename":"image_03112025_07_34_39_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035540","file1":"1392035539","file0":"1392035533","file4":"1392035553","file5":"1392035555","file3":"1392035541"},"map_files_photo_id_array":[{"photo_id":"1392035555","filename":"file5"},{"photo_id":"1392035540","filename":"file2"},{"photo_id":"1392035553","filename":"file4"},{"photo_id":"1392035539","filename":"file1"},{"photo_id":"1392035533","filename":"file0"},{"photo_id":"1392035541","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035539":["hashtag1","hashtag2"]},{"1392035533":["hashtag1","hashtag2"]},{"1392035553":["hashtag1","hashtag2"]},{"1392035541":["hashtag1","hashtag2"]},{"1392035555":["hashtag1","hashtag2"]},{"1392035540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035539, 1392035533, 1392035553, 1392035541, 1392035555, 1392035540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71528339385986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:45:22.345398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_14_1759.jpg', '/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_23_2597.jpg', '/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_27_3589.jpg', '/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_32_2696.jpg', '/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_36_3895.jpg', '/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_56_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_14_1759.jpg
/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_23_2597.jpg
/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_27_3589.jpg
/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_32_2696.jpg
/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_36_3895.jpg
/home/pi/Desktop/images/03112025/07/35/image_03112025_07_35_56_1555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035569","1392035563","1392035566","1392035580","1392035576","1392035572"],"photo_ids_order":["1392035563","1392035566","1392035569","1392035572","1392035576","1392035580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/42b71e970d97f5202bfd210d1bf6c43d.jpg","text":"TemporaryFile(/tmp/multipartBody5320373901715485368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170383074,"filename":"image_03112025_07_35_27_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/3/9cd2cc1ec61e0b5f4fb42bd838828fec.jpg","text":"TemporaryFile(/tmp/multipartBody6928240355840976852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170383074,"filename":"image_03112025_07_35_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/3/78027fb13775e3113648009c164b8e8e.jpg","text":"TemporaryFile(/tmp/multipartBody237635911567350834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170383074,"filename":"image_03112025_07_35_23_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ab50631facfb7814a05123540e950b80.jpg","text":"TemporaryFile(/tmp/multipartBody1449650675914300122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170383074,"filename":"image_03112025_07_35_56_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/3/fcfeb7e05043cd1314077436c81cef5d.jpg","text":"TemporaryFile(/tmp/multipartBody1762273591474181017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170383074,"filename":"image_03112025_07_35_36_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/3/38153a84dea8bd6af5049eab1e18debd.jpg","text":"TemporaryFile(/tmp/multipartBody8269491443503012788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170383074,"filename":"image_03112025_07_35_32_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035569","file1":"1392035566","file0":"1392035563","file4":"1392035576","file5":"1392035580","file3":"1392035572"},"map_files_photo_id_array":[{"photo_id":"1392035580","filename":"file5"},{"photo_id":"1392035569","filename":"file2"},{"photo_id":"1392035576","filename":"file4"},{"photo_id":"1392035566","filename":"file1"},{"photo_id":"1392035563","filename":"file0"},{"photo_id":"1392035572","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035569":["hashtag1","hashtag2"]},{"1392035563":["hashtag1","hashtag2"]},{"1392035566":["hashtag1","hashtag2"]},{"1392035580":["hashtag1","hashtag2"]},{"1392035576":["hashtag1","hashtag2"]},{"1392035572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035569, 1392035563, 1392035566, 1392035580, 1392035576, 1392035572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.706157207489014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:46:22.450737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_03_3532.jpg', '/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_05_2885.jpg', '/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_08_2863.jpg', '/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_32_1713.jpg', '/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_41_2658.jpg', '/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_44_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_03_3532.jpg
/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_05_2885.jpg
/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_08_2863.jpg
/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_32_1713.jpg
/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_41_2658.jpg
/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_44_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035688","1392035595","1392035700","1392035616","1392035654","1392035593"],"photo_ids_order":["1392035593","1392035595","1392035616","1392035654","1392035688","1392035700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a6d3bf05f8f83d4970dd741d82e4d19.jpg","text":"TemporaryFile(/tmp/multipartBody4205902117684085064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170443169,"filename":"image_03112025_07_36_41_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/3/4f770e372ac72576bb3b353e5a1206ed.jpg","text":"TemporaryFile(/tmp/multipartBody1928072517404640605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170443169,"filename":"image_03112025_07_36_05_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/3/4b90aefdcd388f5429c4634823d63f43.jpg","text":"TemporaryFile(/tmp/multipartBody3782826818602673769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170443169,"filename":"image_03112025_07_36_44_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/3/44d54a786a020900e65a77d742737fe8.jpg","text":"TemporaryFile(/tmp/multipartBody2115351622917610053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170443169,"filename":"image_03112025_07_36_08_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/3/c247b203f9dde215ce1efd5e919231cf.jpg","text":"TemporaryFile(/tmp/multipartBody4459089655910457730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170443169,"filename":"image_03112025_07_36_32_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/3/a1d0390eca9099927017f79efe6182fa.jpg","text":"TemporaryFile(/tmp/multipartBody5133748697540758588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170443169,"filename":"image_03112025_07_36_03_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035616","file1":"1392035595","file0":"1392035593","file4":"1392035688","file5":"1392035700","file3":"1392035654"},"map_files_photo_id_array":[{"photo_id":"1392035700","filename":"file5"},{"photo_id":"1392035616","filename":"file2"},{"photo_id":"1392035688","filename":"file4"},{"photo_id":"1392035595","filename":"file1"},{"photo_id":"1392035593","filename":"file0"},{"photo_id":"1392035654","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035688":["hashtag1","hashtag2"]},{"1392035595":["hashtag1","hashtag2"]},{"1392035700":["hashtag1","hashtag2"]},{"1392035616":["hashtag1","hashtag2"]},{"1392035654":["hashtag1","hashtag2"]},{"1392035593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035688, 1392035595, 1392035700, 1392035616, 1392035654, 1392035593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.256794452667236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:47:03.347398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_48_3661.jpg', '/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_05_2589.jpg', '/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_11_2438.jpg', '/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_18_3680.jpg', '/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_20_2596.jpg', '/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_30_3180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/36/image_03112025_07_36_48_3661.jpg
/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_05_2589.jpg
/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_11_2438.jpg
/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_18_3680.jpg
/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_20_2596.jpg
/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_30_3180.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035848","1392035809","1392035769","1392035726","1392035735","1392035729"],"photo_ids_order":["1392035726","1392035729","1392035735","1392035769","1392035809","1392035848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/04ef6f6a7bb0819ce90edd0bfc8aa1ff.jpg","text":"TemporaryFile(/tmp/multipartBody6121805934742297614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170484183,"filename":"image_03112025_07_37_30_3180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/905517c11bef9551b6e606437cd99d7a.jpg","text":"TemporaryFile(/tmp/multipartBody4029236590743990999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170484183,"filename":"image_03112025_07_37_20_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/3/3188e2b46b76d20a93179071ce7a2f66.jpg","text":"TemporaryFile(/tmp/multipartBody2316231860808743399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170484183,"filename":"image_03112025_07_37_18_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/3/167e677a97d4f5daea721a87f025467c.jpg","text":"TemporaryFile(/tmp/multipartBody2779270225234859456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170484183,"filename":"image_03112025_07_36_48_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/3/71e9040a3bee841f2abda336478dbbfd.jpg","text":"TemporaryFile(/tmp/multipartBody5738065837947655855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170484183,"filename":"image_03112025_07_37_11_2438.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9dc9c0394f5f57ca7138258e90730d52.jpg","text":"TemporaryFile(/tmp/multipartBody8018567116425946443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170484183,"filename":"image_03112025_07_37_05_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035735","file1":"1392035729","file0":"1392035726","file4":"1392035809","file5":"1392035848","file3":"1392035769"},"map_files_photo_id_array":[{"photo_id":"1392035848","filename":"file5"},{"photo_id":"1392035735","filename":"file2"},{"photo_id":"1392035809","filename":"file4"},{"photo_id":"1392035729","filename":"file1"},{"photo_id":"1392035726","filename":"file0"},{"photo_id":"1392035769","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035848":["hashtag1","hashtag2"]},{"1392035809":["hashtag1","hashtag2"]},{"1392035769":["hashtag1","hashtag2"]},{"1392035726":["hashtag1","hashtag2"]},{"1392035735":["hashtag1","hashtag2"]},{"1392035729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035848, 1392035809, 1392035769, 1392035726, 1392035735, 1392035729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27721691131592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:47:42.717248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_35_2631.jpg', '/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_41_2548.jpg', '/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_56_2619.jpg', '/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_59_2553.jpg', '/home/pi/Desktop/images/03112025/07/38/image_03112025_07_38_03_3719.jpg', '/home/pi/Desktop/images/03112025/07/38/image_03112025_07_38_47_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_35_2631.jpg
/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_41_2548.jpg
/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_56_2619.jpg
/home/pi/Desktop/images/03112025/07/37/image_03112025_07_37_59_2553.jpg
/home/pi/Desktop/images/03112025/07/38/image_03112025_07_38_03_3719.jpg
/home/pi/Desktop/images/03112025/07/38/image_03112025_07_38_47_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035941","1392035938","1392035934","1392035891","1392035936","1392035900"],"photo_ids_order":["1392035891","1392035900","1392035934","1392035936","1392035938","1392035941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bd91ed39345045da2b04951538456a06.jpg","text":"TemporaryFile(/tmp/multipartBody8676755630524494492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170523492,"filename":"image_03112025_07_38_47_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/3/9a38a6cd1e06f284c98fd2a4f2c76975.jpg","text":"TemporaryFile(/tmp/multipartBody5670630846052918445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170523492,"filename":"image_03112025_07_38_03_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/3/0dd7447f3fd022c12665c74ec20888fd.jpg","text":"TemporaryFile(/tmp/multipartBody1847045771434150617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170523492,"filename":"image_03112025_07_37_56_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/3/30391efd4ccbd5cac6f7c2fe5832125d.jpg","text":"TemporaryFile(/tmp/multipartBody2342030667613272085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170523492,"filename":"image_03112025_07_37_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/3/b0dadd489b3b2c448aeb6c857157694a.jpg","text":"TemporaryFile(/tmp/multipartBody2138734621479339177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170523492,"filename":"image_03112025_07_37_59_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/3/7b59f5f9da98d30e3677a64d8079b97d.jpg","text":"TemporaryFile(/tmp/multipartBody6599122574007431212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170523492,"filename":"image_03112025_07_37_41_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035934","file1":"1392035900","file0":"1392035891","file4":"1392035938","file5":"1392035941","file3":"1392035936"},"map_files_photo_id_array":[{"photo_id":"1392035941","filename":"file5"},{"photo_id":"1392035934","filename":"file2"},{"photo_id":"1392035938","filename":"file4"},{"photo_id":"1392035900","filename":"file1"},{"photo_id":"1392035891","filename":"file0"},{"photo_id":"1392035936","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035941":["hashtag1","hashtag2"]},{"1392035938":["hashtag1","hashtag2"]},{"1392035934":["hashtag1","hashtag2"]},{"1392035891":["hashtag1","hashtag2"]},{"1392035936":["hashtag1","hashtag2"]},{"1392035900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035941, 1392035938, 1392035934, 1392035891, 1392035936, 1392035900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87787985801697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:48:22.029995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_01_3395.jpg', '/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_06_3293.jpg', '/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_11_2779.jpg', '/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_14_3661.jpg', '/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_17_2719.jpg', '/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_24_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_01_3395.jpg
/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_06_3293.jpg
/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_11_2779.jpg
/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_14_3661.jpg
/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_17_2719.jpg
/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_24_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035953","1392035955","1392035960","1392035948","1392035957","1392035951"],"photo_ids_order":["1392035948","1392035951","1392035953","1392035955","1392035957","1392035960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bfc3b187af67e9c536355959e8208a33.jpg","text":"TemporaryFile(/tmp/multipartBody5295261585354146714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170562765,"filename":"image_03112025_07_39_11_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/3/426d446a7a2e6d00ab8d6a348ed34c99.jpg","text":"TemporaryFile(/tmp/multipartBody3600921944960841147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170562765,"filename":"image_03112025_07_39_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/3/4f272ab4c8566ffe81e04467e6dea3a7.jpg","text":"TemporaryFile(/tmp/multipartBody8675554002927501513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170562765,"filename":"image_03112025_07_39_24_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/3/ff32aa20c73ecee476dd93f38cf883d7.jpg","text":"TemporaryFile(/tmp/multipartBody2356781496646911106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170562765,"filename":"image_03112025_07_39_01_3395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/971126d2e5d6059ff25278aaa24451eb.jpg","text":"TemporaryFile(/tmp/multipartBody722831681851189286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170562765,"filename":"image_03112025_07_39_17_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/3/45b0a466002db45e13603ce1109af664.jpg","text":"TemporaryFile(/tmp/multipartBody9169565916988556307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170562765,"filename":"image_03112025_07_39_06_3293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035953","file1":"1392035951","file0":"1392035948","file4":"1392035957","file5":"1392035960","file3":"1392035955"},"map_files_photo_id_array":[{"photo_id":"1392035960","filename":"file5"},{"photo_id":"1392035953","filename":"file2"},{"photo_id":"1392035957","filename":"file4"},{"photo_id":"1392035951","filename":"file1"},{"photo_id":"1392035948","filename":"file0"},{"photo_id":"1392035955","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035953":["hashtag1","hashtag2"]},{"1392035955":["hashtag1","hashtag2"]},{"1392035960":["hashtag1","hashtag2"]},{"1392035948":["hashtag1","hashtag2"]},{"1392035957":["hashtag1","hashtag2"]},{"1392035951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035953, 1392035955, 1392035960, 1392035948, 1392035957, 1392035951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50412154197693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:49:03.135216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_29_2716.jpg', '/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_33_3568.jpg', '/home/pi/Desktop/images/03112025/07/40/image_03112025_07_40_41_2700.jpg', '/home/pi/Desktop/images/03112025/07/40/image_03112025_07_40_56_3736.jpg', '/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_08_3599.jpg', '/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_20_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_29_2716.jpg
/home/pi/Desktop/images/03112025/07/39/image_03112025_07_39_33_3568.jpg
/home/pi/Desktop/images/03112025/07/40/image_03112025_07_40_41_2700.jpg
/home/pi/Desktop/images/03112025/07/40/image_03112025_07_40_56_3736.jpg
/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_08_3599.jpg
/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_20_3563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392035971","1392035980","1392035968","1392035991","1392035994","1392035987"],"photo_ids_order":["1392035968","1392035971","1392035980","1392035987","1392035991","1392035994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e6d7d0d67bfe901a738f6db3bd4bed46.jpg","text":"TemporaryFile(/tmp/multipartBody4366068435720631113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170604054,"filename":"image_03112025_07_39_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/3/c5768f77d2481c8f8e72f70bdc54ea7e.jpg","text":"TemporaryFile(/tmp/multipartBody4873178838498328927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170604054,"filename":"image_03112025_07_40_41_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/3/4480f94d0bd523f116e16b823741010f.jpg","text":"TemporaryFile(/tmp/multipartBody7433922168164277266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170604054,"filename":"image_03112025_07_39_29_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/3/40b62f7a499d65bfda9e75f1a6ed22ac.jpg","text":"TemporaryFile(/tmp/multipartBody7080723815531928985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170604054,"filename":"image_03112025_07_41_08_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe84ae5198bea731785b0be4e03d3d83.jpg","text":"TemporaryFile(/tmp/multipartBody7900246155088961192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170604054,"filename":"image_03112025_07_41_20_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/3/d139512354ebffb41824eb84ca09d1b7.jpg","text":"TemporaryFile(/tmp/multipartBody776827615612936420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170604054,"filename":"image_03112025_07_40_56_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392035980","file1":"1392035971","file0":"1392035968","file4":"1392035991","file5":"1392035994","file3":"1392035987"},"map_files_photo_id_array":[{"photo_id":"1392035994","filename":"file5"},{"photo_id":"1392035980","filename":"file2"},{"photo_id":"1392035991","filename":"file4"},{"photo_id":"1392035971","filename":"file1"},{"photo_id":"1392035968","filename":"file0"},{"photo_id":"1392035987","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392035971":["hashtag1","hashtag2"]},{"1392035980":["hashtag1","hashtag2"]},{"1392035968":["hashtag1","hashtag2"]},{"1392035991":["hashtag1","hashtag2"]},{"1392035994":["hashtag1","hashtag2"]},{"1392035987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392035971, 1392035980, 1392035968, 1392035991, 1392035994, 1392035987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.974061250686646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:49:42.254382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_38_3384.jpg', '/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_41_2711.jpg', '/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_53_2612.jpg', '/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_56_3668.jpg', '/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_59_2626.jpg', '/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_11_2828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_38_3384.jpg
/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_41_2711.jpg
/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_53_2612.jpg
/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_56_3668.jpg
/home/pi/Desktop/images/03112025/07/41/image_03112025_07_41_59_2626.jpg
/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_11_2828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392036013","1392036010","1392036004","1392036012","1392036026","1392036008"],"photo_ids_order":["1392036004","1392036008","1392036010","1392036012","1392036013","1392036026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aab621c515603d14948ab09660574347.jpg","text":"TemporaryFile(/tmp/multipartBody8087770032157946735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170643030,"filename":"image_03112025_07_41_59_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/3/ae4dae1d4d81a5607ab224a76d10cc78.jpg","text":"TemporaryFile(/tmp/multipartBody7083346470130899332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170643030,"filename":"image_03112025_07_41_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/3/4180894134381539b8a9dacfd9c165ec.jpg","text":"TemporaryFile(/tmp/multipartBody3761112014374523164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170643030,"filename":"image_03112025_07_41_38_3384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6784643fbd485786916c550f35ad8c4b.jpg","text":"TemporaryFile(/tmp/multipartBody5575130344969303880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170643030,"filename":"image_03112025_07_41_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/3/ca40539641404f245abf788fb90a659f.jpg","text":"TemporaryFile(/tmp/multipartBody9190735394871273415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170643030,"filename":"image_03112025_07_42_11_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/3/7a3cd54785d33c333e152f93c1a2082b.jpg","text":"TemporaryFile(/tmp/multipartBody2275932372316613793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170643030,"filename":"image_03112025_07_41_41_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036010","file1":"1392036008","file0":"1392036004","file4":"1392036013","file5":"1392036026","file3":"1392036012"},"map_files_photo_id_array":[{"photo_id":"1392036026","filename":"file5"},{"photo_id":"1392036010","filename":"file2"},{"photo_id":"1392036013","filename":"file4"},{"photo_id":"1392036008","filename":"file1"},{"photo_id":"1392036004","filename":"file0"},{"photo_id":"1392036012","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036013":["hashtag1","hashtag2"]},{"1392036010":["hashtag1","hashtag2"]},{"1392036004":["hashtag1","hashtag2"]},{"1392036012":["hashtag1","hashtag2"]},{"1392036026":["hashtag1","hashtag2"]},{"1392036008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036013, 1392036010, 1392036004, 1392036012, 1392036026, 1392036008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05651593208313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:50:22.388505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_18_4290.jpg', '/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_38_2848.jpg', '/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_43_2635.jpg', '/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_47_3677.jpg', '/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_56_3691.jpg', '/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_17_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_18_4290.jpg
/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_38_2848.jpg
/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_43_2635.jpg
/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_47_3677.jpg
/home/pi/Desktop/images/03112025/07/42/image_03112025_07_42_56_3691.jpg
/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_17_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392036142","1392036171","1392036165","1392036158","1392036175","1392036178"],"photo_ids_order":["1392036142","1392036158","1392036165","1392036171","1392036175","1392036178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/46c86e86af81c27a532139dbd2e28416.jpg","text":"TemporaryFile(/tmp/multipartBody1853800484882561914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170683133,"filename":"image_03112025_07_42_18_4290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/700fce15a54b17382472d5866a166128.jpg","text":"TemporaryFile(/tmp/multipartBody5218523477966830655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170683133,"filename":"image_03112025_07_42_47_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/3/01f1ae1ae05b4450eb1a01183d46f447.jpg","text":"TemporaryFile(/tmp/multipartBody4775168461976456120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170683133,"filename":"image_03112025_07_42_43_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/3/0287228197e7c2461b29f8fa43493db7.jpg","text":"TemporaryFile(/tmp/multipartBody6920520730640775210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170683133,"filename":"image_03112025_07_42_38_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/3/a6845411a08ca2a77583a5c29cf86827.jpg","text":"TemporaryFile(/tmp/multipartBody4038494205951682816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170683133,"filename":"image_03112025_07_42_56_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2f4eb875b81b12aceecf663c4a4a73c9.jpg","text":"TemporaryFile(/tmp/multipartBody6523560273640464076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170683133,"filename":"image_03112025_07_43_17_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036165","file1":"1392036158","file0":"1392036142","file4":"1392036175","file5":"1392036178","file3":"1392036171"},"map_files_photo_id_array":[{"photo_id":"1392036178","filename":"file5"},{"photo_id":"1392036165","filename":"file2"},{"photo_id":"1392036175","filename":"file4"},{"photo_id":"1392036158","filename":"file1"},{"photo_id":"1392036142","filename":"file0"},{"photo_id":"1392036171","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036142":["hashtag1","hashtag2"]},{"1392036171":["hashtag1","hashtag2"]},{"1392036165":["hashtag1","hashtag2"]},{"1392036158":["hashtag1","hashtag2"]},{"1392036175":["hashtag1","hashtag2"]},{"1392036178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036142, 1392036171, 1392036165, 1392036158, 1392036175, 1392036178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29459357261658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:51:03.292003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_19_2685.jpg', '/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_23_3755.jpg', '/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_26_2716.jpg', '/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_47_3742.jpg', '/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_02_2912.jpg', '/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_08_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_19_2685.jpg
/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_23_3755.jpg
/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_26_2716.jpg
/home/pi/Desktop/images/03112025/07/43/image_03112025_07_43_47_3742.jpg
/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_02_2912.jpg
/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_08_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392036192","1392036186","1392036180","1392036183","1392036200","1392036190"],"photo_ids_order":["1392036180","1392036183","1392036186","1392036190","1392036192","1392036200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/247d2539229075118e5f8b39dc49263b.jpg","text":"TemporaryFile(/tmp/multipartBody398234340793302009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170724257,"filename":"image_03112025_07_44_02_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/3/cfefa0f77549164dbdfe3bcbf6d16abd.jpg","text":"TemporaryFile(/tmp/multipartBody2639641568186646028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170724257,"filename":"image_03112025_07_43_26_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/3/4235d2b0d8e38244c29f8a731a8c4fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6651211340214267462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170724257,"filename":"image_03112025_07_43_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/3/4979ea026b516a0b3963c41af1723fee.jpg","text":"TemporaryFile(/tmp/multipartBody4436809024537151744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170724257,"filename":"image_03112025_07_43_23_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/3/d669a05dad2ee945682cca86ee750345.jpg","text":"TemporaryFile(/tmp/multipartBody4704752344350282683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170724257,"filename":"image_03112025_07_44_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/3/04033249e88a9ec017354c9e452a38e5.jpg","text":"TemporaryFile(/tmp/multipartBody7877122102891075119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170724257,"filename":"image_03112025_07_43_47_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036186","file1":"1392036183","file0":"1392036180","file4":"1392036192","file5":"1392036200","file3":"1392036190"},"map_files_photo_id_array":[{"photo_id":"1392036200","filename":"file5"},{"photo_id":"1392036186","filename":"file2"},{"photo_id":"1392036192","filename":"file4"},{"photo_id":"1392036183","filename":"file1"},{"photo_id":"1392036180","filename":"file0"},{"photo_id":"1392036190","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036192":["hashtag1","hashtag2"]},{"1392036186":["hashtag1","hashtag2"]},{"1392036180":["hashtag1","hashtag2"]},{"1392036183":["hashtag1","hashtag2"]},{"1392036200":["hashtag1","hashtag2"]},{"1392036190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036192, 1392036186, 1392036180, 1392036183, 1392036200, 1392036190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.790114879608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:51:42.558576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_11_2553.jpg', '/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_17_3746.jpg', '/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_22_2636.jpg', '/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_29_2708.jpg', '/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_49_2606.jpg', '/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_58_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_11_2553.jpg
/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_17_3746.jpg
/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_22_2636.jpg
/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_29_2708.jpg
/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_49_2606.jpg
/home/pi/Desktop/images/03112025/07/44/image_03112025_07_44_58_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392036346","1392036328","1392036378","1392036381","1392036335","1392036373"],"photo_ids_order":["1392036328","1392036335","1392036346","1392036373","1392036378","1392036381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c2344c773ffcb8fbd4a1ec1fbd09eb8.jpg","text":"TemporaryFile(/tmp/multipartBody35086154903547101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170763341,"filename":"image_03112025_07_44_22_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/3/0cb33738382a00ae41eef8456a751af4.jpg","text":"TemporaryFile(/tmp/multipartBody9034247142275033652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170763341,"filename":"image_03112025_07_44_11_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5a8f80e3c96fd08b36195f81f37d7f04.jpg","text":"TemporaryFile(/tmp/multipartBody4152807662571780049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170763341,"filename":"image_03112025_07_44_49_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/3/eca3eff9bc059ef2469e10db05ba753e.jpg","text":"TemporaryFile(/tmp/multipartBody3757714623163484062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170763341,"filename":"image_03112025_07_44_58_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/3/33fd73a744d050ab477758ac2573ff6a.jpg","text":"TemporaryFile(/tmp/multipartBody258325086304301074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170763341,"filename":"image_03112025_07_44_17_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/3/dadeb8ea1ec41c778435526ba3c6b38b.jpg","text":"TemporaryFile(/tmp/multipartBody4815388937575912554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170763341,"filename":"image_03112025_07_44_29_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036346","file1":"1392036335","file0":"1392036328","file4":"1392036378","file5":"1392036381","file3":"1392036373"},"map_files_photo_id_array":[{"photo_id":"1392036381","filename":"file5"},{"photo_id":"1392036346","filename":"file2"},{"photo_id":"1392036378","filename":"file4"},{"photo_id":"1392036335","filename":"file1"},{"photo_id":"1392036328","filename":"file0"},{"photo_id":"1392036373","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036346":["hashtag1","hashtag2"]},{"1392036328":["hashtag1","hashtag2"]},{"1392036378":["hashtag1","hashtag2"]},{"1392036381":["hashtag1","hashtag2"]},{"1392036335":["hashtag1","hashtag2"]},{"1392036373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036346, 1392036328, 1392036378, 1392036381, 1392036335, 1392036373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.868433237075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:52:22.676599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_04_3239.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_20_2668.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_23_2803.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_28_2768.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_32_3900.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_35_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_04_3239.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_20_2668.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_23_2803.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_28_2768.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_32_3900.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_35_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392036474","1392036468","1392036441","1392036479","1392036431","1392036425"],"photo_ids_order":["1392036425","1392036431","1392036441","1392036468","1392036474","1392036479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b869f41db165e7681f2f486ef1a462d2.jpg","text":"TemporaryFile(/tmp/multipartBody2450242157102137454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170803449,"filename":"image_03112025_07_45_32_3900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/42f61cb66dc60efa65c294f343894194.jpg","text":"TemporaryFile(/tmp/multipartBody1221211296716855217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170803449,"filename":"image_03112025_07_45_28_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/3/c39a3524de2349088d079196d493e2ec.jpg","text":"TemporaryFile(/tmp/multipartBody8459096594650797365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170803449,"filename":"image_03112025_07_45_23_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/3/e325a5c126be8d1c29c306dfaa95cdbc.jpg","text":"TemporaryFile(/tmp/multipartBody3117076209278127409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170803449,"filename":"image_03112025_07_45_35_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/3/e5212251fb9a4dd6bacf51e8370a472d.jpg","text":"TemporaryFile(/tmp/multipartBody5547388184861016453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170803449,"filename":"image_03112025_07_45_20_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2edcfc576c71d15ba9ad342683e36866.jpg","text":"TemporaryFile(/tmp/multipartBody5157301071509928063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170803449,"filename":"image_03112025_07_45_04_3239.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036441","file1":"1392036431","file0":"1392036425","file4":"1392036474","file5":"1392036479","file3":"1392036468"},"map_files_photo_id_array":[{"photo_id":"1392036479","filename":"file5"},{"photo_id":"1392036441","filename":"file2"},{"photo_id":"1392036474","filename":"file4"},{"photo_id":"1392036431","filename":"file1"},{"photo_id":"1392036425","filename":"file0"},{"photo_id":"1392036468","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036474":["hashtag1","hashtag2"]},{"1392036468":["hashtag1","hashtag2"]},{"1392036441":["hashtag1","hashtag2"]},{"1392036479":["hashtag1","hashtag2"]},{"1392036431":["hashtag1","hashtag2"]},{"1392036425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036474, 1392036468, 1392036441, 1392036479, 1392036431, 1392036425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31031560897827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:53:02.715081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_37_2572.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_44_2663.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_46_2926.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_49_2644.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_53_3650.jpg', '/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_59_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_37_2572.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_44_2663.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_46_2926.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_49_2644.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_53_3650.jpg
/home/pi/Desktop/images/03112025/07/45/image_03112025_07_45_59_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392036637","1392036681","1392036639","1392036534","1392036572","1392036574"],"photo_ids_order":["1392036534","1392036572","1392036574","1392036637","1392036639","1392036681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8ae4a43202864d948c0e63e8b8b953e9.jpg","text":"TemporaryFile(/tmp/multipartBody6038951596472116099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170843603,"filename":"image_03112025_07_45_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/3/c6e67ff5be5bac2f99990a47f16145e2.jpg","text":"TemporaryFile(/tmp/multipartBody5549000318853951034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170843603,"filename":"image_03112025_07_45_59_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/3/2c2fd848570523290dbe1d1a29cfbdf3.jpg","text":"TemporaryFile(/tmp/multipartBody3728778845557539189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170843603,"filename":"image_03112025_07_45_53_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/072f9ecddf735e6bd60bebaea3825c96.jpg","text":"TemporaryFile(/tmp/multipartBody8850673604431879242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170843603,"filename":"image_03112025_07_45_37_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ad1af4d2f7e18dbd0a22e68895289f7.jpg","text":"TemporaryFile(/tmp/multipartBody336793307587184200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170843603,"filename":"image_03112025_07_45_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/3/ac32dd724076bf58ab0e1291b86f9c54.jpg","text":"TemporaryFile(/tmp/multipartBody3775178141875692554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170843603,"filename":"image_03112025_07_45_46_2926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036574","file1":"1392036572","file0":"1392036534","file4":"1392036639","file5":"1392036681","file3":"1392036637"},"map_files_photo_id_array":[{"photo_id":"1392036681","filename":"file5"},{"photo_id":"1392036574","filename":"file2"},{"photo_id":"1392036639","filename":"file4"},{"photo_id":"1392036572","filename":"file1"},{"photo_id":"1392036534","filename":"file0"},{"photo_id":"1392036637","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036637":["hashtag1","hashtag2"]},{"1392036681":["hashtag1","hashtag2"]},{"1392036639":["hashtag1","hashtag2"]},{"1392036534":["hashtag1","hashtag2"]},{"1392036572":["hashtag1","hashtag2"]},{"1392036574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036637, 1392036681, 1392036639, 1392036534, 1392036572, 1392036574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.785914182662964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:53:41.864419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_11_3424.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_14_3148.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_16_2819.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_19_2716.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_23_3652.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_28_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_11_3424.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_14_3148.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_16_2819.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_19_2716.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_23_3652.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_28_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392036768","1392036770","1392036773","1392036752","1392036766","1392036769"],"photo_ids_order":["1392036752","1392036766","1392036768","1392036769","1392036770","1392036773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/732b9456e0e5c25b97fa09b9d86789ee.jpg","text":"TemporaryFile(/tmp/multipartBody1073040687386763161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170882655,"filename":"image_03112025_07_46_16_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/3/8cf30459fee3d902978a8b963e035470.jpg","text":"TemporaryFile(/tmp/multipartBody3663996718530970716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170882655,"filename":"image_03112025_07_46_23_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/3/b34e5d3a0a62a8454e9847d160fe132e.jpg","text":"TemporaryFile(/tmp/multipartBody7458070391480533443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170882655,"filename":"image_03112025_07_46_28_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3a23f736eb65d6d0bb0b7a6a9ca732ba.jpg","text":"TemporaryFile(/tmp/multipartBody6789198689558181576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170882655,"filename":"image_03112025_07_46_11_3424.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a9a9f85c680b4b1ad38c59dd2d1c9a3f.jpg","text":"TemporaryFile(/tmp/multipartBody234099843694224444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170882655,"filename":"image_03112025_07_46_14_3148.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b2c2b0281856a8794c91e5edeefb9775.jpg","text":"TemporaryFile(/tmp/multipartBody683011242447660335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170882655,"filename":"image_03112025_07_46_19_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036768","file1":"1392036766","file0":"1392036752","file4":"1392036770","file5":"1392036773","file3":"1392036769"},"map_files_photo_id_array":[{"photo_id":"1392036773","filename":"file5"},{"photo_id":"1392036768","filename":"file2"},{"photo_id":"1392036770","filename":"file4"},{"photo_id":"1392036766","filename":"file1"},{"photo_id":"1392036752","filename":"file0"},{"photo_id":"1392036769","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036768":["hashtag1","hashtag2"]},{"1392036770":["hashtag1","hashtag2"]},{"1392036773":["hashtag1","hashtag2"]},{"1392036752":["hashtag1","hashtag2"]},{"1392036766":["hashtag1","hashtag2"]},{"1392036769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036768, 1392036770, 1392036773, 1392036752, 1392036766, 1392036769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.720046520233154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:54:22.026461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_31_2719.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_35_3713.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_38_2977.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_41_2834.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_43_2560.jpg', '/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_58_2813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_31_2719.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_35_3713.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_38_2977.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_41_2834.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_43_2560.jpg
/home/pi/Desktop/images/03112025/07/46/image_03112025_07_46_58_2813.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392036811","1392036791","1392036803","1392036809","1392036832","1392036826"],"photo_ids_order":["1392036791","1392036803","1392036809","1392036811","1392036826","1392036832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/de43b8b4a73c801eca73c4a0f59c0b80.jpg","text":"TemporaryFile(/tmp/multipartBody4314977579722948774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170922827,"filename":"image_03112025_07_46_41_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/3/f975c200abf68f37eb5ede890378ffcd.jpg","text":"TemporaryFile(/tmp/multipartBody6658265614675408759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170922827,"filename":"image_03112025_07_46_31_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/38f9e89b67b2076aa542730719e5c40e.jpg","text":"TemporaryFile(/tmp/multipartBody1973626676455814873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170922827,"filename":"image_03112025_07_46_35_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/3/e2a079b6ce56d06166345d0d1b7193dd.jpg","text":"TemporaryFile(/tmp/multipartBody4278946999245456386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170922827,"filename":"image_03112025_07_46_38_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/3/5c637b51d43be347cc9ac40188412792.jpg","text":"TemporaryFile(/tmp/multipartBody543430681924315952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170922827,"filename":"image_03112025_07_46_58_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/3/93636da5583669784ffe598b7930448b.jpg","text":"TemporaryFile(/tmp/multipartBody1973774097896851919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170922827,"filename":"image_03112025_07_46_43_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036809","file1":"1392036803","file0":"1392036791","file4":"1392036826","file5":"1392036832","file3":"1392036811"},"map_files_photo_id_array":[{"photo_id":"1392036832","filename":"file5"},{"photo_id":"1392036809","filename":"file2"},{"photo_id":"1392036826","filename":"file4"},{"photo_id":"1392036803","filename":"file1"},{"photo_id":"1392036791","filename":"file0"},{"photo_id":"1392036811","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036811":["hashtag1","hashtag2"]},{"1392036791":["hashtag1","hashtag2"]},{"1392036803":["hashtag1","hashtag2"]},{"1392036809":["hashtag1","hashtag2"]},{"1392036832":["hashtag1","hashtag2"]},{"1392036826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036811, 1392036791, 1392036803, 1392036809, 1392036832, 1392036826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88584017753601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:55:02.871062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_01_2838.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_08_3571.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_10_2669.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_17_3593.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_19_2582.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_22_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_01_2838.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_08_3571.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_10_2669.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_17_3593.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_19_2582.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_22_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":["1392036861","1392036855","1392036849","1392036858","1392036843","1392036852"],"photo_ids_order":["1392036843","1392036849","1392036852","1392036855","1392036858","1392036861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/90932cf8145e851ab8fd6699d77b2494.jpg","text":"TemporaryFile(/tmp/multipartBody1768874248599601191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170963768,"filename":"image_03112025_07_47_22_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/3/db9dbc1e5c00bd43817e2fca661ddc41.jpg","text":"TemporaryFile(/tmp/multipartBody1040399084236794436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170963768,"filename":"image_03112025_07_47_17_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/3/2ca52b9bc00556ac58e077d625bd091c.jpg","text":"TemporaryFile(/tmp/multipartBody6846039767891819310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170963768,"filename":"image_03112025_07_47_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/3/511a4d701442c90d72fe7eb9468f7fe4.jpg","text":"TemporaryFile(/tmp/multipartBody1517612424907704525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170963768,"filename":"image_03112025_07_47_19_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/3/f0bea5b63ccd6feb08546652efdc2847.jpg","text":"TemporaryFile(/tmp/multipartBody7802507494614528070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170963768,"filename":"image_03112025_07_47_01_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/3/83ab54d7839f66b1fece0da929cbf93a.jpg","text":"TemporaryFile(/tmp/multipartBody3280974235246449574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762170963768,"filename":"image_03112025_07_47_10_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036852","file1":"1392036849","file0":"1392036843","file4":"1392036858","file5":"1392036861","file3":"1392036855"},"map_files_photo_id_array":[{"photo_id":"1392036861","filename":"file5"},{"photo_id":"1392036852","filename":"file2"},{"photo_id":"1392036858","filename":"file4"},{"photo_id":"1392036849","filename":"file1"},{"photo_id":"1392036843","filename":"file0"},{"photo_id":"1392036855","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036861":["hashtag1","hashtag2"]},{"1392036855":["hashtag1","hashtag2"]},{"1392036849":["hashtag1","hashtag2"]},{"1392036858":["hashtag1","hashtag2"]},{"1392036843":["hashtag1","hashtag2"]},{"1392036852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036861, 1392036855, 1392036849, 1392036858, 1392036843, 1392036852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.028066873550415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:56:02.813286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_26_3824.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_29_2841.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_31_2660.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_34_2697.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_47_3577.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_49_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_26_3824.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_29_2841.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_31_2660.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_34_2697.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_47_3577.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_49_2556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392036984","1392036904","1392036929","1392036911","1392036908","1392036967"],"photo_ids_order":["1392036904","1392036908","1392036911","1392036929","1392036967","1392036984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/77aa2d82113bfcd973061d890d1ca773.jpg","text":"TemporaryFile(/tmp/multipartBody4932289815871505795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171023639,"filename":"image_03112025_07_47_49_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/3/4e01f0580608cf6b0a287e039cbda281.jpg","text":"TemporaryFile(/tmp/multipartBody2788070201178923632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171023639,"filename":"image_03112025_07_47_26_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/3/a3f8c00f291986c83df4ec22d3371b23.jpg","text":"TemporaryFile(/tmp/multipartBody829757421997936598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171023639,"filename":"image_03112025_07_47_34_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/3/df7cf20ad263c0b416d3e635fddab7f7.jpg","text":"TemporaryFile(/tmp/multipartBody7630703462995733630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171023639,"filename":"image_03112025_07_47_31_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/3/0b6bb6b4822a4176a5ed5dd032c1f31c.jpg","text":"TemporaryFile(/tmp/multipartBody5481497751744398212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171023639,"filename":"image_03112025_07_47_29_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/3/f2fd6e34be43dddfe6cad209d05111eb.jpg","text":"TemporaryFile(/tmp/multipartBody6218202356824813570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171023639,"filename":"image_03112025_07_47_47_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392036911","file1":"1392036908","file0":"1392036904","file4":"1392036967","file5":"1392036984","file3":"1392036929"},"map_files_photo_id_array":[{"photo_id":"1392036984","filename":"file5"},{"photo_id":"1392036911","filename":"file2"},{"photo_id":"1392036967","filename":"file4"},{"photo_id":"1392036908","filename":"file1"},{"photo_id":"1392036904","filename":"file0"},{"photo_id":"1392036929","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392036984":["hashtag1","hashtag2"]},{"1392036904":["hashtag1","hashtag2"]},{"1392036929":["hashtag1","hashtag2"]},{"1392036911":["hashtag1","hashtag2"]},{"1392036908":["hashtag1","hashtag2"]},{"1392036967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392036984, 1392036904, 1392036929, 1392036911, 1392036908, 1392036967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.661747217178345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 12:56:42.407164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_53_3627.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_56_2780.jpg', '/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_58_2750.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_05_3694.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_07_2737.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_10_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_53_3627.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_56_2780.jpg
/home/pi/Desktop/images/03112025/07/47/image_03112025_07_47_58_2750.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_05_3694.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_07_2737.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_10_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392037080","1392037079","1392037081","1392037075","1392037084","1392037078"],"photo_ids_order":["1392037075","1392037078","1392037079","1392037080","1392037081","1392037084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f9b8bf1e240a8a0ea1d409201912388.jpg","text":"TemporaryFile(/tmp/multipartBody4860001476661446133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171063210,"filename":"image_03112025_07_48_05_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/685973dd64564046ddb69fdc5c1114fd.jpg","text":"TemporaryFile(/tmp/multipartBody7158747831514190989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171063210,"filename":"image_03112025_07_47_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/3/555aaf4bb3a0faa9e5201fafa349ed66.jpg","text":"TemporaryFile(/tmp/multipartBody4086529081805512934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171063210,"filename":"image_03112025_07_48_07_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/3/05acdd050b4be4642e40f3396697d548.jpg","text":"TemporaryFile(/tmp/multipartBody6184795043236959248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171063210,"filename":"image_03112025_07_47_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/3/a5fc15ec90c9971413b7e12fe1de976a.jpg","text":"TemporaryFile(/tmp/multipartBody6267888798118251561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171063210,"filename":"image_03112025_07_48_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/3/92d4ba3ffdfd4fa8b5b358754f63f885.jpg","text":"TemporaryFile(/tmp/multipartBody162403810941617099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171063210,"filename":"image_03112025_07_47_56_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392037079","file1":"1392037078","file0":"1392037075","file4":"1392037081","file5":"1392037084","file3":"1392037080"},"map_files_photo_id_array":[{"photo_id":"1392037084","filename":"file5"},{"photo_id":"1392037079","filename":"file2"},{"photo_id":"1392037081","filename":"file4"},{"photo_id":"1392037078","filename":"file1"},{"photo_id":"1392037075","filename":"file0"},{"photo_id":"1392037080","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392037080":["hashtag1","hashtag2"]},{"1392037079":["hashtag1","hashtag2"]},{"1392037081":["hashtag1","hashtag2"]},{"1392037075":["hashtag1","hashtag2"]},{"1392037084":["hashtag1","hashtag2"]},{"1392037078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392037080, 1392037079, 1392037081, 1392037075, 1392037084, 1392037078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88639235496521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 12:57:22.550289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_14_3724.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_17_2757.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_19_2934.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_22_2714.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_29_3680.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_31_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_14_3724.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_17_2757.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_19_2934.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_22_2714.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_29_3680.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_31_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392037102","1392037110","1392037113","1392037105","1392037108","1392037098"],"photo_ids_order":["1392037098","1392037102","1392037105","1392037108","1392037110","1392037113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f70efe85dac28377ed7b990345f3582d.jpg","text":"TemporaryFile(/tmp/multipartBody4604312280606171895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171103314,"filename":"image_03112025_07_48_17_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/3/99d1ed4da5afc38ed71c3261c8240ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8455124909703154759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171103314,"filename":"image_03112025_07_48_29_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/3/39c214ce999bbd0674203b7d897e0edc.jpg","text":"TemporaryFile(/tmp/multipartBody6193856084803256470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171103314,"filename":"image_03112025_07_48_31_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/3/e6757c0118bee2bebe65f4f4bf271873.jpg","text":"TemporaryFile(/tmp/multipartBody763506850077351604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171103314,"filename":"image_03112025_07_48_19_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/24ab2525934763e3caf97ae8eb65d5f8.jpg","text":"TemporaryFile(/tmp/multipartBody5188882706210643003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171103314,"filename":"image_03112025_07_48_22_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/3/e591ef55bf8fefda150dbb7dd9cfc4b3.jpg","text":"TemporaryFile(/tmp/multipartBody4280073142558701601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171103314,"filename":"image_03112025_07_48_14_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392037105","file1":"1392037102","file0":"1392037098","file4":"1392037110","file5":"1392037113","file3":"1392037108"},"map_files_photo_id_array":[{"photo_id":"1392037113","filename":"file5"},{"photo_id":"1392037105","filename":"file2"},{"photo_id":"1392037110","filename":"file4"},{"photo_id":"1392037102","filename":"file1"},{"photo_id":"1392037098","filename":"file0"},{"photo_id":"1392037108","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392037102":["hashtag1","hashtag2"]},{"1392037110":["hashtag1","hashtag2"]},{"1392037113":["hashtag1","hashtag2"]},{"1392037105":["hashtag1","hashtag2"]},{"1392037108":["hashtag1","hashtag2"]},{"1392037098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392037102, 1392037110, 1392037113, 1392037105, 1392037108, 1392037098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27388310432434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 12:59:02.835986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_34_2662.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_37_3648.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_40_2681.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_47_3842.jpg', '/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_49_2556.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_10_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_34_2662.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_37_3648.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_40_2681.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_47_3842.jpg
/home/pi/Desktop/images/03112025/07/48/image_03112025_07_48_49_2556.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_10_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392037734","1392037682","1392037643","1392037724","1392037738","1392037651"],"photo_ids_order":["1392037643","1392037651","1392037682","1392037724","1392037734","1392037738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2dffa981ccb8b40e0bf4b81cc9ef4da6.jpg","text":"TemporaryFile(/tmp/multipartBody7563317848504719492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171203754,"filename":"image_03112025_07_48_49_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/3/5bcb5f1dd93e0f7bcb061d697d81e369.jpg","text":"TemporaryFile(/tmp/multipartBody3134905968480497776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171203754,"filename":"image_03112025_07_48_40_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/3/f033d1fabc3d8f8564d75af32eb80d85.jpg","text":"TemporaryFile(/tmp/multipartBody9056708626926252818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171203754,"filename":"image_03112025_07_48_34_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/3/211ac277e0ddc5d7553d49391439a7d3.jpg","text":"TemporaryFile(/tmp/multipartBody8115277817825368470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171203754,"filename":"image_03112025_07_48_47_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/3/2f601f2a52f1eec6b45ea3f8260e1e50.jpg","text":"TemporaryFile(/tmp/multipartBody7635446658911227393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171203754,"filename":"image_03112025_07_49_10_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/3/e8d657bb24a8ee9ec9ed4123d9b09e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5550511872530084217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171203754,"filename":"image_03112025_07_48_37_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392037682","file1":"1392037651","file0":"1392037643","file4":"1392037734","file5":"1392037738","file3":"1392037724"},"map_files_photo_id_array":[{"photo_id":"1392037738","filename":"file5"},{"photo_id":"1392037682","filename":"file2"},{"photo_id":"1392037734","filename":"file4"},{"photo_id":"1392037651","filename":"file1"},{"photo_id":"1392037643","filename":"file0"},{"photo_id":"1392037724","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392037734":["hashtag1","hashtag2"]},{"1392037682":["hashtag1","hashtag2"]},{"1392037643":["hashtag1","hashtag2"]},{"1392037724":["hashtag1","hashtag2"]},{"1392037738":["hashtag1","hashtag2"]},{"1392037651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392037734, 1392037682, 1392037643, 1392037724, 1392037738, 1392037651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.546918630599976 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-03 13:00:02.693812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_14_3677.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_16_2643.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_19_2698.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_23_3723.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_25_2655.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_28_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_14_3677.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_16_2643.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_19_2698.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_23_3723.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_25_2655.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_28_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":["1392038013","1392037929","1392038003","1392037990","1392037972","1392037995"],"photo_ids_order":["1392037929","1392037972","1392037990","1392037995","1392038003","1392038013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e38adc36d2c9711822c612fe72fe6aa4.jpg","text":"TemporaryFile(/tmp/multipartBody6236638847184557020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171263504,"filename":"image_03112025_07_49_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/3/38905d7d68c6d0d7b8e1ee6251dd037c.jpg","text":"TemporaryFile(/tmp/multipartBody5515524206832238683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171263504,"filename":"image_03112025_07_49_14_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/3/4a64fc1da6baeb31690923bc854fdc0f.jpg","text":"TemporaryFile(/tmp/multipartBody5245029948804743813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171263504,"filename":"image_03112025_07_49_25_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/3/cfcfb7061f642c7dea19b04f98dc1906.jpg","text":"TemporaryFile(/tmp/multipartBody3070389561740901606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171263504,"filename":"image_03112025_07_49_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/3/b8aadd6b3dade80b52513e4e4cb799b9.jpg","text":"TemporaryFile(/tmp/multipartBody7191256676058709890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171263504,"filename":"image_03112025_07_49_16_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/3/703e2653cad93f59b68090d934cfd2ca.jpg","text":"TemporaryFile(/tmp/multipartBody2057313301201802449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171263504,"filename":"image_03112025_07_49_23_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392037990","file1":"1392037972","file0":"1392037929","file4":"1392038003","file5":"1392038013","file3":"1392037995"},"map_files_photo_id_array":[{"photo_id":"1392038013","filename":"file5"},{"photo_id":"1392037990","filename":"file2"},{"photo_id":"1392038003","filename":"file4"},{"photo_id":"1392037972","filename":"file1"},{"photo_id":"1392037929","filename":"file0"},{"photo_id":"1392037995","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392038013":["hashtag1","hashtag2"]},{"1392037929":["hashtag1","hashtag2"]},{"1392038003":["hashtag1","hashtag2"]},{"1392037990":["hashtag1","hashtag2"]},{"1392037972":["hashtag1","hashtag2"]},{"1392037995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392038013, 1392037929, 1392038003, 1392037990, 1392037972, 1392037995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63589310646057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:01:03.122941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_31_2701.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_34_3694.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_44_3727.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_47_2977.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_49_2790.jpg', '/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_55_2896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_31_2701.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_34_3694.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_44_3727.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_47_2977.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_49_2790.jpg
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_55_2896.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392038051","1392038059","1392038068","1392038061","1392038070","1392038064"],"photo_ids_order":["1392038051","1392038059","1392038061","1392038064","1392038068","1392038070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b9de28e65097d13e8188f55bc5d25c8.jpg","text":"TemporaryFile(/tmp/multipartBody6195860545828090680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171324009,"filename":"image_03112025_07_49_31_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d955526d82645fe09c64e64a67c76dab.jpg","text":"TemporaryFile(/tmp/multipartBody1857790925265442557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171324009,"filename":"image_03112025_07_49_34_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/3/43334970b8f810c73641d53d4b55bcdb.jpg","text":"TemporaryFile(/tmp/multipartBody3166027724248933866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171324009,"filename":"image_03112025_07_49_49_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/3/6e0ba07d647cc8c92ad06bb648510797.jpg","text":"TemporaryFile(/tmp/multipartBody6399304916943753713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171324009,"filename":"image_03112025_07_49_44_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/3/53e0aa24375164b726c8b6763305374c.jpg","text":"TemporaryFile(/tmp/multipartBody4574764092749995073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171324009,"filename":"image_03112025_07_49_55_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/163c49ba27efbf6d7634923bcc70eae9.jpg","text":"TemporaryFile(/tmp/multipartBody23611192832218905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171324009,"filename":"image_03112025_07_49_47_2977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392038061","file1":"1392038059","file0":"1392038051","file4":"1392038068","file5":"1392038070","file3":"1392038064"},"map_files_photo_id_array":[{"photo_id":"1392038070","filename":"file5"},{"photo_id":"1392038061","filename":"file2"},{"photo_id":"1392038068","filename":"file4"},{"photo_id":"1392038059","filename":"file1"},{"photo_id":"1392038051","filename":"file0"},{"photo_id":"1392038064","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392038051":["hashtag1","hashtag2"]},{"1392038059":["hashtag1","hashtag2"]},{"1392038068":["hashtag1","hashtag2"]},{"1392038061":["hashtag1","hashtag2"]},{"1392038070":["hashtag1","hashtag2"]},{"1392038064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392038051, 1392038059, 1392038068, 1392038061, 1392038070, 1392038064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.296777963638306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:01:42.369453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_59_3679.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_02_2815.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_04_2843.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_09_4967.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_11_1803.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_13_1786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/49/image_03112025_07_49_59_3679.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_02_2815.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_04_2843.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_09_4967.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_11_1803.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_13_1786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392038173","1392038149","1392038262","1392038223","1392038151","1392038145"],"photo_ids_order":["1392038145","1392038149","1392038151","1392038173","1392038223","1392038262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae379e543e416c7968a4fac27d6c4c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6957318795670570063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171368210,"filename":"image_03112025_07_50_09_4967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/230c4b7b34ed4012b5dc061d4c590ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3975574024755607350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171368210,"filename":"image_03112025_07_50_02_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/3/8c69b0c653c94bf45902e1defc8911d0.jpg","text":"TemporaryFile(/tmp/multipartBody4069181020186768511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171368210,"filename":"image_03112025_07_50_13_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/3/ec60552e60ab0d6f2cae9f84755e0a39.jpg","text":"TemporaryFile(/tmp/multipartBody8817825950447508841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171368210,"filename":"image_03112025_07_50_11_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/3/bcefe104d19372a7ee64a55aa91cf3b3.jpg","text":"TemporaryFile(/tmp/multipartBody8993701987568514384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171368210,"filename":"image_03112025_07_50_04_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bfd495911d8a989f8d5044951ec4e503.jpg","text":"TemporaryFile(/tmp/multipartBody7350846578334058804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171368210,"filename":"image_03112025_07_49_59_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392038151","file1":"1392038149","file0":"1392038145","file4":"1392038223","file5":"1392038262","file3":"1392038173"},"map_files_photo_id_array":[{"photo_id":"1392038262","filename":"file5"},{"photo_id":"1392038151","filename":"file2"},{"photo_id":"1392038223","filename":"file4"},{"photo_id":"1392038149","filename":"file1"},{"photo_id":"1392038145","filename":"file0"},{"photo_id":"1392038173","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392038173":["hashtag1","hashtag2"]},{"1392038149":["hashtag1","hashtag2"]},{"1392038262":["hashtag1","hashtag2"]},{"1392038223":["hashtag1","hashtag2"]},{"1392038151":["hashtag1","hashtag2"]},{"1392038145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392038173, 1392038149, 1392038262, 1392038223, 1392038151, 1392038145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.91332030296326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:02:42.630573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_17_4183.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_19_1592.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_22_3556.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_25_2651.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_28_2839.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_31_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_17_4183.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_19_1592.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_22_3556.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_25_2651.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_28_2839.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_31_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392038724","1392038678","1392038639","1392038911","1392038796","1392038598"],"photo_ids_order":["1392038598","1392038639","1392038678","1392038724","1392038796","1392038911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7664c064b0bb5e47c322da4c0c527697.jpg","text":"TemporaryFile(/tmp/multipartBody2143099706589811649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171423448,"filename":"image_03112025_07_50_25_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/3/0e41c3b9dd9d37e2bc1049ba54748a9d.jpg","text":"TemporaryFile(/tmp/multipartBody6343682494615283165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171423448,"filename":"image_03112025_07_50_22_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/3/4cb98ee16f6ede12564eebc2bd5bf6b8.jpg","text":"TemporaryFile(/tmp/multipartBody8995743066936013479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171423448,"filename":"image_03112025_07_50_19_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/3/232eb342e6b2cff7953cdbbd888da436.jpg","text":"TemporaryFile(/tmp/multipartBody4953290598097034633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171423448,"filename":"image_03112025_07_50_31_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/3/4941819e00b546404f3beda1cf2ecae6.jpg","text":"TemporaryFile(/tmp/multipartBody101905750041880896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171423448,"filename":"image_03112025_07_50_28_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/3/19952d21278a08a470ef8d688a6bae00.jpg","text":"TemporaryFile(/tmp/multipartBody5722590396566663889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171423448,"filename":"image_03112025_07_50_17_4183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392038678","file1":"1392038639","file0":"1392038598","file4":"1392038796","file5":"1392038911","file3":"1392038724"},"map_files_photo_id_array":[{"photo_id":"1392038911","filename":"file5"},{"photo_id":"1392038678","filename":"file2"},{"photo_id":"1392038796","filename":"file4"},{"photo_id":"1392038639","filename":"file1"},{"photo_id":"1392038598","filename":"file0"},{"photo_id":"1392038724","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392038724":["hashtag1","hashtag2"]},{"1392038678":["hashtag1","hashtag2"]},{"1392038639":["hashtag1","hashtag2"]},{"1392038911":["hashtag1","hashtag2"]},{"1392038796":["hashtag1","hashtag2"]},{"1392038598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392038724, 1392038678, 1392038639, 1392038911, 1392038796, 1392038598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07078266143799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:03:22.802334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_34_3598.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_37_2747.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_40_2646.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_43_3750.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_46_2642.jpg', '/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_49_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_34_3598.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_37_2747.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_40_2646.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_43_3750.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_46_2642.jpg
/home/pi/Desktop/images/03112025/07/50/image_03112025_07_50_49_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392039377","1392039487","1392039340","1392039436","1392039223","1392039285"],"photo_ids_order":["1392039223","1392039285","1392039340","1392039377","1392039436","1392039487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a6b5d568cc6841a37e30e4a915ef5724.jpg","text":"TemporaryFile(/tmp/multipartBody4690753747664304145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171463542,"filename":"image_03112025_07_50_43_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/3/15734548a2d31a3c0cde1094873b0956.jpg","text":"TemporaryFile(/tmp/multipartBody4589310154132375885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171463542,"filename":"image_03112025_07_50_49_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/3/e0a4c9347583e322503d05efb663ded0.jpg","text":"TemporaryFile(/tmp/multipartBody7705485198094468637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171463542,"filename":"image_03112025_07_50_40_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/3/f0454fc5b701a132ebe73c9bf8600331.jpg","text":"TemporaryFile(/tmp/multipartBody2810534744042926056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171463542,"filename":"image_03112025_07_50_46_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/339ea970d3a742e257452faa9fcd23e3.jpg","text":"TemporaryFile(/tmp/multipartBody706416541177771333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171463542,"filename":"image_03112025_07_50_34_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/3/c349935b4532575578c2686e97de82e1.jpg","text":"TemporaryFile(/tmp/multipartBody2693111195431767749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171463542,"filename":"image_03112025_07_50_37_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392039340","file1":"1392039285","file0":"1392039223","file4":"1392039436","file5":"1392039487","file3":"1392039377"},"map_files_photo_id_array":[{"photo_id":"1392039487","filename":"file5"},{"photo_id":"1392039340","filename":"file2"},{"photo_id":"1392039436","filename":"file4"},{"photo_id":"1392039285","filename":"file1"},{"photo_id":"1392039223","filename":"file0"},{"photo_id":"1392039377","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392039377":["hashtag1","hashtag2"]},{"1392039487":["hashtag1","hashtag2"]},{"1392039340":["hashtag1","hashtag2"]},{"1392039436":["hashtag1","hashtag2"]},{"1392039223":["hashtag1","hashtag2"]},{"1392039285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392039377, 1392039487, 1392039340, 1392039436, 1392039223, 1392039285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02495718002319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:04:02.660809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_08_19037.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_11_3179.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_12_1724.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_14_1624.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_21_5498.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_33_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_08_19037.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_11_3179.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_12_1724.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_14_1624.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_21_5498.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_33_1633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392039796","1392039688","1392039610","1392039768","1392039651","1392039726"],"photo_ids_order":["1392039610","1392039651","1392039688","1392039726","1392039768","1392039796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0add9619387b5d960c56987412529c40.jpg","text":"TemporaryFile(/tmp/multipartBody6543417701791782745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171503496,"filename":"image_03112025_07_51_33_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/3/beefe7fc27df5ebd7b1e01d87f966e52.jpg","text":"TemporaryFile(/tmp/multipartBody5209118325839162517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171503496,"filename":"image_03112025_07_51_12_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/3/e81afd7823d88176133b929b34f5f8af.jpg","text":"TemporaryFile(/tmp/multipartBody788719601006468580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171503496,"filename":"image_03112025_07_51_08_19037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a4245ffd31f7355445eba50f45045219.jpg","text":"TemporaryFile(/tmp/multipartBody569403454423905841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171503496,"filename":"image_03112025_07_51_21_5498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f0c1d2a91f27a7cef694413623b28810.jpg","text":"TemporaryFile(/tmp/multipartBody1020935032431802224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171503496,"filename":"image_03112025_07_51_11_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/3/4bde86d7e71dae19a1f5173805471ac6.jpg","text":"TemporaryFile(/tmp/multipartBody1984952698564412956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171503496,"filename":"image_03112025_07_51_14_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392039688","file1":"1392039651","file0":"1392039610","file4":"1392039768","file5":"1392039796","file3":"1392039726"},"map_files_photo_id_array":[{"photo_id":"1392039796","filename":"file5"},{"photo_id":"1392039688","filename":"file2"},{"photo_id":"1392039768","filename":"file4"},{"photo_id":"1392039651","filename":"file1"},{"photo_id":"1392039610","filename":"file0"},{"photo_id":"1392039726","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392039796":["hashtag1","hashtag2"]},{"1392039688":["hashtag1","hashtag2"]},{"1392039610":["hashtag1","hashtag2"]},{"1392039768":["hashtag1","hashtag2"]},{"1392039651":["hashtag1","hashtag2"]},{"1392039726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392039796, 1392039688, 1392039610, 1392039768, 1392039651, 1392039726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12210297584534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:04:41.964312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_35_1667.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_37_1795.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_46_1531.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_48_1637.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_50_1664.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_52_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_35_1667.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_37_1795.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_46_1531.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_48_1637.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_50_1664.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_52_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392039833","1392039800","1392039803","1392039850","1392039808","1392039825"],"photo_ids_order":["1392039800","1392039803","1392039808","1392039825","1392039833","1392039850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cdd3ff9aece94e89b22c704397d022f.jpg","text":"TemporaryFile(/tmp/multipartBody4680870915791608884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171542729,"filename":"image_03112025_07_51_50_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/3/59adc6bbac05a796bd6995a229e15b65.jpg","text":"TemporaryFile(/tmp/multipartBody8580166519917741327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171542729,"filename":"image_03112025_07_51_35_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/3/eac104bcb000522178cbbf9fe8fa5045.jpg","text":"TemporaryFile(/tmp/multipartBody1082047126894605351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171542729,"filename":"image_03112025_07_51_37_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d1fcffbc5a3893d7b4cdb560ea936cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1917490736663268368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171542729,"filename":"image_03112025_07_51_52_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/3/de4e1ccd0006ade2d58ab80121350377.jpg","text":"TemporaryFile(/tmp/multipartBody7626426255310698645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171542729,"filename":"image_03112025_07_51_46_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/3/4f1cd50bdd40d430fb3fe546da9da3c9.jpg","text":"TemporaryFile(/tmp/multipartBody9193946739600863679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171542729,"filename":"image_03112025_07_51_48_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392039808","file1":"1392039803","file0":"1392039800","file4":"1392039833","file5":"1392039850","file3":"1392039825"},"map_files_photo_id_array":[{"photo_id":"1392039850","filename":"file5"},{"photo_id":"1392039808","filename":"file2"},{"photo_id":"1392039833","filename":"file4"},{"photo_id":"1392039803","filename":"file1"},{"photo_id":"1392039800","filename":"file0"},{"photo_id":"1392039825","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392039833":["hashtag1","hashtag2"]},{"1392039800":["hashtag1","hashtag2"]},{"1392039803":["hashtag1","hashtag2"]},{"1392039850":["hashtag1","hashtag2"]},{"1392039808":["hashtag1","hashtag2"]},{"1392039825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392039833, 1392039800, 1392039803, 1392039850, 1392039808, 1392039825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85321640968323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:05:22.081016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_56_1738.jpg', '/home/pi/Desktop/images/03112025/07/51/image_03112025_07_52_01_3540.jpg', '/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_25_12591.jpg', '/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_27_1682.jpg', '/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_29_1569.jpg', '/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_30_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_51_56_1738.jpg
/home/pi/Desktop/images/03112025/07/51/image_03112025_07_52_01_3540.jpg
/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_25_12591.jpg
/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_27_1682.jpg
/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_29_1569.jpg
/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_30_1651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392040142","1392039940","1392039984","1392040045","1392039882","1392039876"],"photo_ids_order":["1392039876","1392039882","1392039940","1392039984","1392040045","1392040142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f0432fbf7cd43dec9f0e079d2c45e56e.jpg","text":"TemporaryFile(/tmp/multipartBody2074945446813262113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171582810,"filename":"image_03112025_07_52_30_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/3/89f69cfd218dd97deab8e45186baa1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2980899247186310920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171582810,"filename":"image_03112025_07_52_25_12591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f1ba05ed3782cfc42d79ebf3c2e0828.jpg","text":"TemporaryFile(/tmp/multipartBody3086091991788975124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171582810,"filename":"image_03112025_07_52_27_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/3/e7a760777159498eb1e5e80bded6031a.jpg","text":"TemporaryFile(/tmp/multipartBody593167734862556504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171582810,"filename":"image_03112025_07_52_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/3/c439dba25cc6434a6fad9f7b24eac39c.jpg","text":"TemporaryFile(/tmp/multipartBody3628241820065305718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171582810,"filename":"image_03112025_07_52_01_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/3/afe2aa03852511559321f0229c5a6df8.jpg","text":"TemporaryFile(/tmp/multipartBody7608050816902918792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171582810,"filename":"image_03112025_07_51_56_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392039940","file1":"1392039882","file0":"1392039876","file4":"1392040045","file5":"1392040142","file3":"1392039984"},"map_files_photo_id_array":[{"photo_id":"1392040142","filename":"file5"},{"photo_id":"1392039940","filename":"file2"},{"photo_id":"1392040045","filename":"file4"},{"photo_id":"1392039882","filename":"file1"},{"photo_id":"1392039876","filename":"file0"},{"photo_id":"1392039984","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392040142":["hashtag1","hashtag2"]},{"1392039940":["hashtag1","hashtag2"]},{"1392039984":["hashtag1","hashtag2"]},{"1392040045":["hashtag1","hashtag2"]},{"1392039882":["hashtag1","hashtag2"]},{"1392039876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392040142, 1392039940, 1392039984, 1392040045, 1392039882, 1392039876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.483396768569946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:06:02.977824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_32_1701.jpg', '/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_35_1676.jpg', '/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_37_1664.jpg', '/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_49_10254.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_18_27284.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_20_1835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_32_1701.jpg
/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_35_1676.jpg
/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_37_1664.jpg
/home/pi/Desktop/images/03112025/07/52/image_03112025_07_52_49_10254.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_18_27284.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_20_1835.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392040475","1392040526","1392040837","1392040711","1392040794","1392040566"],"photo_ids_order":["1392040475","1392040526","1392040566","1392040711","1392040794","1392040837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f65c139ba403344180720f381ba55aa8.jpg","text":"TemporaryFile(/tmp/multipartBody1519635540365714732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171623790,"filename":"image_03112025_07_52_32_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/3/8cc250c3a84f3d66046dd6f5423439bc.jpg","text":"TemporaryFile(/tmp/multipartBody675619155247735636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171623790,"filename":"image_03112025_07_52_35_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/3/cdf7dc387f50eeb0f0b769fdc44700f5.jpg","text":"TemporaryFile(/tmp/multipartBody6876433322591515157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171623790,"filename":"image_03112025_07_53_20_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/3/312b37ffd2792d809e9a7c946f3f1dd3.jpg","text":"TemporaryFile(/tmp/multipartBody6613460961391297101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171623790,"filename":"image_03112025_07_52_49_10254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da71a73b49e35ed137fbc728c887c173.jpg","text":"TemporaryFile(/tmp/multipartBody6328793960839524081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171623790,"filename":"image_03112025_07_53_18_27284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eb97e25bcd6f25c02868502b2f6d2fbe.jpg","text":"TemporaryFile(/tmp/multipartBody8329611399232579180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171623790,"filename":"image_03112025_07_52_37_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392040566","file1":"1392040526","file0":"1392040475","file4":"1392040794","file5":"1392040837","file3":"1392040711"},"map_files_photo_id_array":[{"photo_id":"1392040837","filename":"file5"},{"photo_id":"1392040566","filename":"file2"},{"photo_id":"1392040794","filename":"file4"},{"photo_id":"1392040526","filename":"file1"},{"photo_id":"1392040475","filename":"file0"},{"photo_id":"1392040711","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392040475":["hashtag1","hashtag2"]},{"1392040526":["hashtag1","hashtag2"]},{"1392040837":["hashtag1","hashtag2"]},{"1392040711":["hashtag1","hashtag2"]},{"1392040794":["hashtag1","hashtag2"]},{"1392040566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392040475, 1392040526, 1392040837, 1392040711, 1392040794, 1392040566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.300978899002075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:06:42.444569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_30_10075.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_33_1729.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_35_1534.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_37_1842.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_38_1638.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_40_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_30_10075.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_33_1729.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_35_1534.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_37_1842.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_38_1638.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_40_1653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392041078","1392041111","1392041105","1392041108","1392041015","1392041104"],"photo_ids_order":["1392041015","1392041078","1392041104","1392041105","1392041108","1392041111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/88292c6ecef63f1e9614960a1fbbfc5e.jpg","text":"TemporaryFile(/tmp/multipartBody1664409413285964396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171663202,"filename":"image_03112025_07_53_33_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/3/feb754e43b9e9ac869e3c689c3815719.jpg","text":"TemporaryFile(/tmp/multipartBody5396411415711725124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171663202,"filename":"image_03112025_07_53_40_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/3/a580e4d44748867787f24657806799ce.jpg","text":"TemporaryFile(/tmp/multipartBody7610233993990026972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171663202,"filename":"image_03112025_07_53_37_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/272e09158ca063162f081df5aad16583.jpg","text":"TemporaryFile(/tmp/multipartBody2422057197945965590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171663202,"filename":"image_03112025_07_53_38_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/3/bc4d5addcbbafc06399339be11bd936d.jpg","text":"TemporaryFile(/tmp/multipartBody8223964855198092772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171663202,"filename":"image_03112025_07_53_30_10075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/213a315a32a2b776602a1cd588f2a260.jpg","text":"TemporaryFile(/tmp/multipartBody6428078980455148944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171663202,"filename":"image_03112025_07_53_35_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392041104","file1":"1392041078","file0":"1392041015","file4":"1392041108","file5":"1392041111","file3":"1392041105"},"map_files_photo_id_array":[{"photo_id":"1392041111","filename":"file5"},{"photo_id":"1392041104","filename":"file2"},{"photo_id":"1392041108","filename":"file4"},{"photo_id":"1392041078","filename":"file1"},{"photo_id":"1392041015","filename":"file0"},{"photo_id":"1392041105","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392041078":["hashtag1","hashtag2"]},{"1392041111":["hashtag1","hashtag2"]},{"1392041105":["hashtag1","hashtag2"]},{"1392041108":["hashtag1","hashtag2"]},{"1392041015":["hashtag1","hashtag2"]},{"1392041104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392041078, 1392041111, 1392041105, 1392041108, 1392041015, 1392041104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6569299697876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:07:22.593422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_41_1529.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_43_1539.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_45_1780.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_51_6081.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_52_1767.jpg', '/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_59_4349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_41_1529.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_43_1539.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_45_1780.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_51_6081.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_52_1767.jpg
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_53_59_4349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392041387","1392041185","1392041266","1392041394","1392041340","1392041430"],"photo_ids_order":["1392041185","1392041266","1392041340","1392041387","1392041394","1392041430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3bb64dbd52e1430bc7a34d34cf92c7c.jpg","text":"TemporaryFile(/tmp/multipartBody9027226898580788041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171703326,"filename":"image_03112025_07_53_51_6081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f306531fef5469fece16b1df2cca12f.jpg","text":"TemporaryFile(/tmp/multipartBody8327558960773080984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171703326,"filename":"image_03112025_07_53_41_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/3/f65966b8b50b995becadb21252814e3e.jpg","text":"TemporaryFile(/tmp/multipartBody2682691899185218509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171703326,"filename":"image_03112025_07_53_43_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/3/f81f87c0f916525732dc10108252769d.jpg","text":"TemporaryFile(/tmp/multipartBody7655426222532012729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171703326,"filename":"image_03112025_07_53_52_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/3/0b3a6903862df8f9adb847fd8a8fce2a.jpg","text":"TemporaryFile(/tmp/multipartBody5399300894638642011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171703326,"filename":"image_03112025_07_53_45_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/3/5c048575e53ecf34316de0f2a92dad6b.jpg","text":"TemporaryFile(/tmp/multipartBody2234495922424102921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171703326,"filename":"image_03112025_07_53_59_4349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392041340","file1":"1392041266","file0":"1392041185","file4":"1392041394","file5":"1392041430","file3":"1392041387"},"map_files_photo_id_array":[{"photo_id":"1392041430","filename":"file5"},{"photo_id":"1392041340","filename":"file2"},{"photo_id":"1392041394","filename":"file4"},{"photo_id":"1392041266","filename":"file1"},{"photo_id":"1392041185","filename":"file0"},{"photo_id":"1392041387","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392041387":["hashtag1","hashtag2"]},{"1392041185":["hashtag1","hashtag2"]},{"1392041266":["hashtag1","hashtag2"]},{"1392041394":["hashtag1","hashtag2"]},{"1392041340":["hashtag1","hashtag2"]},{"1392041430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392041387, 1392041185, 1392041266, 1392041394, 1392041340, 1392041430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43097519874573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:08:03.179032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/53/image_03112025_07_54_00_1740.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_07_3011.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_10_3554.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_13_2724.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_16_3541.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_19_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/53/image_03112025_07_54_00_1740.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_07_3011.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_10_3554.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_13_2724.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_16_3541.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_19_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392041525","1392041530","1392041527","1392041521","1392041523","1392041517"],"photo_ids_order":["1392041517","1392041521","1392041523","1392041525","1392041527","1392041530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b9bc1816a800b268dd228133af400e41.jpg","text":"TemporaryFile(/tmp/multipartBody4613523746496047227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171743937,"filename":"image_03112025_07_55_13_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/3/0142fd61fde9acd2ad64ac717a89b54f.jpg","text":"TemporaryFile(/tmp/multipartBody2737134200241246521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171743937,"filename":"image_03112025_07_55_19_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/3/452c3ffb4b5fa49eb7b6da0fda7a803e.jpg","text":"TemporaryFile(/tmp/multipartBody8285814907744409527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171743937,"filename":"image_03112025_07_55_16_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/3/f90bea7b615e0f74dc2a8d343a8f34b5.jpg","text":"TemporaryFile(/tmp/multipartBody7174636121495394223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171743937,"filename":"image_03112025_07_55_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/3/bac8451c031f8dfd07a7863910de542b.jpg","text":"TemporaryFile(/tmp/multipartBody6442781755226228224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171743937,"filename":"image_03112025_07_55_10_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/3/aebbe3ccf48f66d64c27473e5eb8657c.jpg","text":"TemporaryFile(/tmp/multipartBody8367712274239413751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171743937,"filename":"image_03112025_07_54_00_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392041523","file1":"1392041521","file0":"1392041517","file4":"1392041527","file5":"1392041530","file3":"1392041525"},"map_files_photo_id_array":[{"photo_id":"1392041530","filename":"file5"},{"photo_id":"1392041523","filename":"file2"},{"photo_id":"1392041527","filename":"file4"},{"photo_id":"1392041521","filename":"file1"},{"photo_id":"1392041517","filename":"file0"},{"photo_id":"1392041525","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392041525":["hashtag1","hashtag2"]},{"1392041530":["hashtag1","hashtag2"]},{"1392041527":["hashtag1","hashtag2"]},{"1392041521":["hashtag1","hashtag2"]},{"1392041523":["hashtag1","hashtag2"]},{"1392041517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392041525, 1392041530, 1392041527, 1392041521, 1392041523, 1392041517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69659996032715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:08:42.708268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_22_2635.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_31_3496.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_34_2652.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_37_2674.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_40_3566.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_43_2513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_22_2635.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_31_3496.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_34_2652.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_37_2674.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_40_3566.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_43_2513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392041645","1392041593","1392041644","1392041647","1392041632","1392041649"],"photo_ids_order":["1392041593","1392041632","1392041644","1392041645","1392041647","1392041649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/00e18bc5a9e43ae0176a07f9c30f7f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6985603485638324636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171783402,"filename":"image_03112025_07_55_37_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b1b3f118de3b7412808b07381b7423a.jpg","text":"TemporaryFile(/tmp/multipartBody8328709460687657856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171783402,"filename":"image_03112025_07_55_22_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/3/7d85feba9529f1fa0641b80727cfd6f4.jpg","text":"TemporaryFile(/tmp/multipartBody5538476621734855046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171783402,"filename":"image_03112025_07_55_34_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c0124cd09fe095a5092b21d43a651725.jpg","text":"TemporaryFile(/tmp/multipartBody2130484549532665752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171783402,"filename":"image_03112025_07_55_40_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/3/8efa0f7b5347154e642032fad7815ea5.jpg","text":"TemporaryFile(/tmp/multipartBody1084110058663296589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171783402,"filename":"image_03112025_07_55_31_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/3/5a30e20f22158e46a8c3878011a38541.jpg","text":"TemporaryFile(/tmp/multipartBody1862944144063001624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171783402,"filename":"image_03112025_07_55_43_2513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392041644","file1":"1392041632","file0":"1392041593","file4":"1392041647","file5":"1392041649","file3":"1392041645"},"map_files_photo_id_array":[{"photo_id":"1392041649","filename":"file5"},{"photo_id":"1392041644","filename":"file2"},{"photo_id":"1392041647","filename":"file4"},{"photo_id":"1392041632","filename":"file1"},{"photo_id":"1392041593","filename":"file0"},{"photo_id":"1392041645","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392041645":["hashtag1","hashtag2"]},{"1392041593":["hashtag1","hashtag2"]},{"1392041644":["hashtag1","hashtag2"]},{"1392041647":["hashtag1","hashtag2"]},{"1392041632":["hashtag1","hashtag2"]},{"1392041649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392041645, 1392041593, 1392041644, 1392041647, 1392041632, 1392041649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07950949668884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:09:21.820262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_46_3596.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_49_2713.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_52_2607.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_55_3686.jpg', '/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_58_2780.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_01_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_46_3596.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_49_2713.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_52_2607.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_55_3686.jpg
/home/pi/Desktop/images/03112025/07/55/image_03112025_07_55_58_2780.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_01_2527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392041720","1392041761","1392041683","1392041662","1392041658","1392041655"],"photo_ids_order":["1392041655","1392041658","1392041662","1392041683","1392041720","1392041761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/98cd54ec9c643b7cba48d77641d268d8.jpg","text":"TemporaryFile(/tmp/multipartBody8399940854045554444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171822485,"filename":"image_03112025_07_55_58_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/3/6b9dc4edf27d4d8beddfc121b405be73.jpg","text":"TemporaryFile(/tmp/multipartBody1433212844413938459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171822485,"filename":"image_03112025_07_56_01_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/3/10ce0cf531bd9065f93acfee5ad58e91.jpg","text":"TemporaryFile(/tmp/multipartBody6860801824684501549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171822485,"filename":"image_03112025_07_55_55_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/3/781c500e05293a05aabd9e977387b7c5.jpg","text":"TemporaryFile(/tmp/multipartBody3126735165232181968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171822485,"filename":"image_03112025_07_55_52_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0da4a15ae69d83c94c9b110422c494cf.jpg","text":"TemporaryFile(/tmp/multipartBody3748289152072430063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171822485,"filename":"image_03112025_07_55_49_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/3/6a3aca5a10b315ceaf360eb38ce62330.jpg","text":"TemporaryFile(/tmp/multipartBody5429377158328895698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171822485,"filename":"image_03112025_07_55_46_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392041662","file1":"1392041658","file0":"1392041655","file4":"1392041720","file5":"1392041761","file3":"1392041683"},"map_files_photo_id_array":[{"photo_id":"1392041761","filename":"file5"},{"photo_id":"1392041662","filename":"file2"},{"photo_id":"1392041720","filename":"file4"},{"photo_id":"1392041658","filename":"file1"},{"photo_id":"1392041655","filename":"file0"},{"photo_id":"1392041683","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392041720":["hashtag1","hashtag2"]},{"1392041761":["hashtag1","hashtag2"]},{"1392041683":["hashtag1","hashtag2"]},{"1392041662":["hashtag1","hashtag2"]},{"1392041658":["hashtag1","hashtag2"]},{"1392041655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392041720, 1392041761, 1392041683, 1392041662, 1392041658, 1392041655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23687434196472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:10:02.446604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_04_3647.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_07_2705.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_10_2733.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_16_2590.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_19_2819.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_22_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_04_3647.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_07_2705.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_10_2733.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_16_2590.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_19_2819.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_22_3780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392041819","1392041810","1392041813","1392041815","1392041818","1392041802"],"photo_ids_order":["1392041802","1392041810","1392041813","1392041815","1392041818","1392041819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/35e0a2ec6b3de2fa1199e5d22ab66026.jpg","text":"TemporaryFile(/tmp/multipartBody4927242715778446640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171863165,"filename":"image_03112025_07_56_22_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/3/dc198e7edc65e40331692aac537dc436.jpg","text":"TemporaryFile(/tmp/multipartBody5710079078500700992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171863165,"filename":"image_03112025_07_56_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/3/f46e7e1397deb955a5a11004da1de819.jpg","text":"TemporaryFile(/tmp/multipartBody8564020931419394928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171863165,"filename":"image_03112025_07_56_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/3/1a44a7b6182a76b8b0e1f75600178ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8796646732574551360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171863165,"filename":"image_03112025_07_56_16_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/3/e2e8b64355e933aeae989dd199759274.jpg","text":"TemporaryFile(/tmp/multipartBody5282371086293129994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171863165,"filename":"image_03112025_07_56_19_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/3/45c595c53fa30dbcfd2a9de11aaf4c15.jpg","text":"TemporaryFile(/tmp/multipartBody1679867745408085433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171863165,"filename":"image_03112025_07_56_04_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392041813","file1":"1392041810","file0":"1392041802","file4":"1392041818","file5":"1392041819","file3":"1392041815"},"map_files_photo_id_array":[{"photo_id":"1392041819","filename":"file5"},{"photo_id":"1392041813","filename":"file2"},{"photo_id":"1392041818","filename":"file4"},{"photo_id":"1392041810","filename":"file1"},{"photo_id":"1392041802","filename":"file0"},{"photo_id":"1392041815","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392041819":["hashtag1","hashtag2"]},{"1392041810":["hashtag1","hashtag2"]},{"1392041813":["hashtag1","hashtag2"]},{"1392041815":["hashtag1","hashtag2"]},{"1392041818":["hashtag1","hashtag2"]},{"1392041802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392041819, 1392041810, 1392041813, 1392041815, 1392041818, 1392041802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9227020740509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:10:42.142453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_25_2726.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_28_2640.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_34_2591.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_40_3673.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_43_2497.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_46_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_25_2726.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_28_2640.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_34_2591.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_40_3673.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_43_2497.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_46_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392041851","1392041848","1392041833","1392041874","1392041856","1392041853"],"photo_ids_order":["1392041833","1392041848","1392041851","1392041853","1392041856","1392041874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ddf254d3e12586286134113b44397a2.jpg","text":"TemporaryFile(/tmp/multipartBody3472517205677061271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171902917,"filename":"image_03112025_07_56_34_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7bc918d99f3dc17f13b6d72ea578ed6a.jpg","text":"TemporaryFile(/tmp/multipartBody5375524204363924495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171902917,"filename":"image_03112025_07_56_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/3/90777615a62a0a8903285c5b71e66bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2296918907862041661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171902917,"filename":"image_03112025_07_56_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/3/9db47c2b1110d3886d122700c86a0935.jpg","text":"TemporaryFile(/tmp/multipartBody6828605602684477158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171902917,"filename":"image_03112025_07_56_46_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/3/50012ebadedb0a1bdbf3bbe2ab12d7b8.jpg","text":"TemporaryFile(/tmp/multipartBody968463124431941155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171902917,"filename":"image_03112025_07_56_43_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/3/61dbc1cea567f4cb8ab4dd432787b1f6.jpg","text":"TemporaryFile(/tmp/multipartBody1842274171033040895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171902917,"filename":"image_03112025_07_56_40_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392041851","file1":"1392041848","file0":"1392041833","file4":"1392041856","file5":"1392041874","file3":"1392041853"},"map_files_photo_id_array":[{"photo_id":"1392041874","filename":"file5"},{"photo_id":"1392041851","filename":"file2"},{"photo_id":"1392041856","filename":"file4"},{"photo_id":"1392041848","filename":"file1"},{"photo_id":"1392041833","filename":"file0"},{"photo_id":"1392041853","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392041851":["hashtag1","hashtag2"]},{"1392041848":["hashtag1","hashtag2"]},{"1392041833":["hashtag1","hashtag2"]},{"1392041874":["hashtag1","hashtag2"]},{"1392041856":["hashtag1","hashtag2"]},{"1392041853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392041851, 1392041848, 1392041833, 1392041874, 1392041856, 1392041853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.535786628723145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:11:22.231311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_49_2528.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_51_2651.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_55_3686.jpg', '/home/pi/Desktop/images/03112025/07/56/image_03112025_07_57_01_3572.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_04_2718.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_07_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_49_2528.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_51_2651.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_56_55_3686.jpg
/home/pi/Desktop/images/03112025/07/56/image_03112025_07_57_01_3572.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_04_2718.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_07_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392041945","1392041925","1392041919","1392041928","1392041922","1392041916"],"photo_ids_order":["1392041916","1392041919","1392041922","1392041925","1392041928","1392041945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fba43f73772649c7cbe8c153840de430.jpg","text":"TemporaryFile(/tmp/multipartBody5373387483730418187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171942891,"filename":"image_03112025_07_57_07_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/891ae34b68b9fbe4119a07363383fcb9.jpg","text":"TemporaryFile(/tmp/multipartBody2906085088395740688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171942891,"filename":"image_03112025_07_57_01_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/3/7908d3634081d704b18e01378b41c3b7.jpg","text":"TemporaryFile(/tmp/multipartBody8288126006532823230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171942891,"filename":"image_03112025_07_56_51_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e17ea991d856e6a53af547e4ccd718f6.jpg","text":"TemporaryFile(/tmp/multipartBody6826180595422297768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171942891,"filename":"image_03112025_07_57_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/3/334c53c868b7724880154bbd5474c3c4.jpg","text":"TemporaryFile(/tmp/multipartBody6464353084955158528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171942891,"filename":"image_03112025_07_56_55_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/3/eeccb2142b66a1b6c08dabd3dbe2158e.jpg","text":"TemporaryFile(/tmp/multipartBody385277352850116905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171942891,"filename":"image_03112025_07_56_49_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392041922","file1":"1392041919","file0":"1392041916","file4":"1392041928","file5":"1392041945","file3":"1392041925"},"map_files_photo_id_array":[{"photo_id":"1392041945","filename":"file5"},{"photo_id":"1392041922","filename":"file2"},{"photo_id":"1392041928","filename":"file4"},{"photo_id":"1392041919","filename":"file1"},{"photo_id":"1392041916","filename":"file0"},{"photo_id":"1392041925","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392041945":["hashtag1","hashtag2"]},{"1392041925":["hashtag1","hashtag2"]},{"1392041919":["hashtag1","hashtag2"]},{"1392041928":["hashtag1","hashtag2"]},{"1392041922":["hashtag1","hashtag2"]},{"1392041916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392041945, 1392041925, 1392041919, 1392041928, 1392041922, 1392041916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94931244850159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:12:02.989792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_10_3490.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_13_2590.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_15_2740.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_19_3548.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_22_2618.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_25_3499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_10_3490.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_13_2590.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_15_2740.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_19_3548.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_22_2618.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_25_3499.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392041989","1392042034","1392041992","1392042016","1392042019","1392041964"],"photo_ids_order":["1392041964","1392041989","1392041992","1392042016","1392042019","1392042034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7ef91c51fd689c4e861c7471898fbe01.jpg","text":"TemporaryFile(/tmp/multipartBody7789388932770366061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171983709,"filename":"image_03112025_07_57_13_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/3/38604ddf8e88284b08fe7f46849ace1f.jpg","text":"TemporaryFile(/tmp/multipartBody984953353080583769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171983709,"filename":"image_03112025_07_57_25_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/feac9490c4784fdde0d077d07728bb9b.jpg","text":"TemporaryFile(/tmp/multipartBody2412193524035320453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171983709,"filename":"image_03112025_07_57_15_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/3/9072e8c2792f40f31fba9fdb87d20a9d.jpg","text":"TemporaryFile(/tmp/multipartBody4747559389752446773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171983709,"filename":"image_03112025_07_57_19_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/3/9b1578731c59ebe902f3d41b92bf7246.jpg","text":"TemporaryFile(/tmp/multipartBody8902276541767207644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171983709,"filename":"image_03112025_07_57_22_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/3/ae49a95b1503ad6bc6100731d3b45ede.jpg","text":"TemporaryFile(/tmp/multipartBody7188835576714756178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762171983709,"filename":"image_03112025_07_57_10_3490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392041992","file1":"1392041989","file0":"1392041964","file4":"1392042019","file5":"1392042034","file3":"1392042016"},"map_files_photo_id_array":[{"photo_id":"1392042034","filename":"file5"},{"photo_id":"1392041992","filename":"file2"},{"photo_id":"1392042019","filename":"file4"},{"photo_id":"1392041989","filename":"file1"},{"photo_id":"1392041964","filename":"file0"},{"photo_id":"1392042016","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392041989":["hashtag1","hashtag2"]},{"1392042034":["hashtag1","hashtag2"]},{"1392041992":["hashtag1","hashtag2"]},{"1392042016":["hashtag1","hashtag2"]},{"1392042019":["hashtag1","hashtag2"]},{"1392041964":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392041989, 1392042034, 1392041992, 1392042016, 1392042019, 1392041964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.678534269332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:12:42.481194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_28_2596.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_30_2629.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_34_3653.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_37_2624.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_40_3621.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_43_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_28_2596.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_30_2629.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_34_3653.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_37_2624.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_40_3621.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_43_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042050","1392042055","1392042063","1392042065","1392042059","1392042068"],"photo_ids_order":["1392042050","1392042055","1392042059","1392042063","1392042065","1392042068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c9ad0ec42810a3caa241a79a4bda1ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1409785230065231138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172023184,"filename":"image_03112025_07_57_28_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/3/7873154377415b2694422174a95fa748.jpg","text":"TemporaryFile(/tmp/multipartBody3575009656287218921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172023184,"filename":"image_03112025_07_57_30_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/3/2f14fdbfdea177e2a010a4387698ae97.jpg","text":"TemporaryFile(/tmp/multipartBody3481961089589089208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172023184,"filename":"image_03112025_07_57_37_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3086c830d6d0eb5ca5b45cca312500ee.jpg","text":"TemporaryFile(/tmp/multipartBody8990964591996714410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172023184,"filename":"image_03112025_07_57_40_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/3/dd4b0d38f58e1b0767ff0e4f9dd8f56f.jpg","text":"TemporaryFile(/tmp/multipartBody6750884773558777643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172023184,"filename":"image_03112025_07_57_34_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/3/0c1e453d2e68f992ca317e9c440bb330.jpg","text":"TemporaryFile(/tmp/multipartBody2804027545086206704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172023184,"filename":"image_03112025_07_57_43_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042059","file1":"1392042055","file0":"1392042050","file4":"1392042065","file5":"1392042068","file3":"1392042063"},"map_files_photo_id_array":[{"photo_id":"1392042068","filename":"file5"},{"photo_id":"1392042059","filename":"file2"},{"photo_id":"1392042065","filename":"file4"},{"photo_id":"1392042055","filename":"file1"},{"photo_id":"1392042050","filename":"file0"},{"photo_id":"1392042063","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042050":["hashtag1","hashtag2"]},{"1392042055":["hashtag1","hashtag2"]},{"1392042063":["hashtag1","hashtag2"]},{"1392042065":["hashtag1","hashtag2"]},{"1392042059":["hashtag1","hashtag2"]},{"1392042068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042050, 1392042055, 1392042063, 1392042065, 1392042059, 1392042068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.159581899642944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:13:22.583158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_46_2775.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_48_2595.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_52_3578.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_55_2645.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_57_2851.jpg', '/home/pi/Desktop/images/03112025/07/57/image_03112025_07_58_01_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_46_2775.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_48_2595.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_52_3578.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_55_2645.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_57_57_2851.jpg
/home/pi/Desktop/images/03112025/07/57/image_03112025_07_58_01_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042082","1392042072","1392042075","1392042078","1392042147","1392042185"],"photo_ids_order":["1392042072","1392042075","1392042078","1392042082","1392042147","1392042185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/39212ce860031e8bbb713b783e31bdab.jpg","text":"TemporaryFile(/tmp/multipartBody272401918864237507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172063246,"filename":"image_03112025_07_57_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/3/c2e3195c6d6d83b1a96d8d2199f8ce4b.jpg","text":"TemporaryFile(/tmp/multipartBody7807722421932661195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172063246,"filename":"image_03112025_07_57_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/3/60fb284601c32ad533b1b87fc7fb6441.jpg","text":"TemporaryFile(/tmp/multipartBody3160863873198520073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172063246,"filename":"image_03112025_07_57_48_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/3/3b97ce068273c477dd63c227d51486be.jpg","text":"TemporaryFile(/tmp/multipartBody3724905338925835899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172063246,"filename":"image_03112025_07_57_52_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/3/b83442b4646c2d87364d5afa7990ff85.jpg","text":"TemporaryFile(/tmp/multipartBody119300870985356699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172063246,"filename":"image_03112025_07_57_57_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/3/c2e60a7f239d05ea635b8497786a1f85.jpg","text":"TemporaryFile(/tmp/multipartBody7061520037369015550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172063246,"filename":"image_03112025_07_58_01_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042078","file1":"1392042075","file0":"1392042072","file4":"1392042147","file5":"1392042185","file3":"1392042082"},"map_files_photo_id_array":[{"photo_id":"1392042185","filename":"file5"},{"photo_id":"1392042078","filename":"file2"},{"photo_id":"1392042147","filename":"file4"},{"photo_id":"1392042075","filename":"file1"},{"photo_id":"1392042072","filename":"file0"},{"photo_id":"1392042082","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042082":["hashtag1","hashtag2"]},{"1392042072":["hashtag1","hashtag2"]},{"1392042075":["hashtag1","hashtag2"]},{"1392042078":["hashtag1","hashtag2"]},{"1392042147":["hashtag1","hashtag2"]},{"1392042185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042082, 1392042072, 1392042075, 1392042078, 1392042147, 1392042185)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.2213180065155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:14:21.914680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_04_2881.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_07_2579.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_09_2692.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_13_3608.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_15_2590.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_19_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_04_2881.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_07_2579.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_09_2692.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_13_3608.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_15_2590.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_19_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042271","1392042250","1392042246","1392042300","1392042284","1392042311"],"photo_ids_order":["1392042246","1392042250","1392042271","1392042284","1392042300","1392042311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f17095497c30a28114d4dc09e758e618.jpg","text":"TemporaryFile(/tmp/multipartBody8383290739545132499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172122570,"filename":"image_03112025_07_58_09_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/3/7452c890afaf887db1293d9b2487e8f2.jpg","text":"TemporaryFile(/tmp/multipartBody5855423492246187177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172122570,"filename":"image_03112025_07_58_07_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/3/2e2335b6f65c46890d01e181a55a01cb.jpg","text":"TemporaryFile(/tmp/multipartBody6107365979431395788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172122570,"filename":"image_03112025_07_58_04_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/3/2a6878d7c70f4b3c00fd08d3f2c7ead6.jpg","text":"TemporaryFile(/tmp/multipartBody487748883178949351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172122570,"filename":"image_03112025_07_58_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/3/fb32cd24bb6edfa3150aa83b0419bc3f.jpg","text":"TemporaryFile(/tmp/multipartBody2270886680886204895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172122570,"filename":"image_03112025_07_58_13_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/3/ab2510eabbe1b4b3039077b1b2f023b3.jpg","text":"TemporaryFile(/tmp/multipartBody6710948526004003407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172122570,"filename":"image_03112025_07_58_19_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042271","file1":"1392042250","file0":"1392042246","file4":"1392042300","file5":"1392042311","file3":"1392042284"},"map_files_photo_id_array":[{"photo_id":"1392042311","filename":"file5"},{"photo_id":"1392042271","filename":"file2"},{"photo_id":"1392042300","filename":"file4"},{"photo_id":"1392042250","filename":"file1"},{"photo_id":"1392042246","filename":"file0"},{"photo_id":"1392042284","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042271":["hashtag1","hashtag2"]},{"1392042250":["hashtag1","hashtag2"]},{"1392042246":["hashtag1","hashtag2"]},{"1392042300":["hashtag1","hashtag2"]},{"1392042284":["hashtag1","hashtag2"]},{"1392042311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042271, 1392042250, 1392042246, 1392042300, 1392042284, 1392042311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.492427110672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:15:02.562792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_22_2630.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_24_2579.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_28_3704.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_31_2541.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_33_2624.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_37_3798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_22_2630.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_24_2579.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_28_3704.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_31_2541.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_33_2624.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_37_3798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042428","1392042391","1392042403","1392042381","1392042420","1392042414"],"photo_ids_order":["1392042381","1392042391","1392042403","1392042414","1392042420","1392042428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf24192bfab9fa6212be3d85130d0746.jpg","text":"TemporaryFile(/tmp/multipartBody6449035411461129365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172163323,"filename":"image_03112025_07_58_37_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/3/0385ee1342fbd5d55b723392ca61ab87.jpg","text":"TemporaryFile(/tmp/multipartBody5062719355105480009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172163323,"filename":"image_03112025_07_58_24_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/3/4a6aa24fd01aa863c05f3083dc6428c9.jpg","text":"TemporaryFile(/tmp/multipartBody5446833630935308394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172163323,"filename":"image_03112025_07_58_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/3/739310a7c8436a33eb55dfb5ad1ef0cb.jpg","text":"TemporaryFile(/tmp/multipartBody9083099296478375177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172163323,"filename":"image_03112025_07_58_22_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/3/285013e14b1e524befe85adb921bf759.jpg","text":"TemporaryFile(/tmp/multipartBody996706500696863675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172163323,"filename":"image_03112025_07_58_33_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/95c41ddbb14d48e1e7572588f04356ce.jpg","text":"TemporaryFile(/tmp/multipartBody2231925038969776067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172163323,"filename":"image_03112025_07_58_31_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042403","file1":"1392042391","file0":"1392042381","file4":"1392042420","file5":"1392042428","file3":"1392042414"},"map_files_photo_id_array":[{"photo_id":"1392042428","filename":"file5"},{"photo_id":"1392042403","filename":"file2"},{"photo_id":"1392042420","filename":"file4"},{"photo_id":"1392042391","filename":"file1"},{"photo_id":"1392042381","filename":"file0"},{"photo_id":"1392042414","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042428":["hashtag1","hashtag2"]},{"1392042391":["hashtag1","hashtag2"]},{"1392042403":["hashtag1","hashtag2"]},{"1392042381":["hashtag1","hashtag2"]},{"1392042420":["hashtag1","hashtag2"]},{"1392042414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042428, 1392042391, 1392042403, 1392042381, 1392042420, 1392042414)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.78937029838562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:16:02.699206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_40_2671.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_42_2688.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_46_3561.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_49_3179.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_52_2978.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_55_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_40_2671.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_42_2688.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_46_3561.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_49_3179.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_52_2978.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_55_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042611","1392042625","1392042639","1392042647","1392042650","1392042623"],"photo_ids_order":["1392042611","1392042623","1392042625","1392042639","1392042647","1392042650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db8a894b58d7f60f62bd2361e944cfe7.jpg","text":"TemporaryFile(/tmp/multipartBody4755255092268213579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172223491,"filename":"image_03112025_07_58_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/3/e4920cd5251706eb59d5570d9641bf2e.jpg","text":"TemporaryFile(/tmp/multipartBody3619184858999826519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172223491,"filename":"image_03112025_07_58_46_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/3/66c5a7da0f18b58a09f995332f5d78e6.jpg","text":"TemporaryFile(/tmp/multipartBody7602768576904358822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172223491,"filename":"image_03112025_07_58_49_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/3/3970f44221eb48e0d019fe009046e9e5.jpg","text":"TemporaryFile(/tmp/multipartBody7897413494911947971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172223491,"filename":"image_03112025_07_58_52_2978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/183c985bd4eec0fd05436ddfb4409046.jpg","text":"TemporaryFile(/tmp/multipartBody5311896783677879141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172223491,"filename":"image_03112025_07_58_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/3/2abfe03896dedac7f10964c6c3c4ae0d.jpg","text":"TemporaryFile(/tmp/multipartBody880141046941439014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172223491,"filename":"image_03112025_07_58_42_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042625","file1":"1392042623","file0":"1392042611","file4":"1392042647","file5":"1392042650","file3":"1392042639"},"map_files_photo_id_array":[{"photo_id":"1392042650","filename":"file5"},{"photo_id":"1392042625","filename":"file2"},{"photo_id":"1392042647","filename":"file4"},{"photo_id":"1392042623","filename":"file1"},{"photo_id":"1392042611","filename":"file0"},{"photo_id":"1392042639","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042611":["hashtag1","hashtag2"]},{"1392042625":["hashtag1","hashtag2"]},{"1392042639":["hashtag1","hashtag2"]},{"1392042647":["hashtag1","hashtag2"]},{"1392042650":["hashtag1","hashtag2"]},{"1392042623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042611, 1392042625, 1392042639, 1392042647, 1392042650, 1392042623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.996684312820435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:16:42.127450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_58_2779.jpg', '/home/pi/Desktop/images/03112025/07/58/image_03112025_07_59_00_2699.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_04_3736.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_07_2629.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_09_2627.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_13_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_58_58_2779.jpg
/home/pi/Desktop/images/03112025/07/58/image_03112025_07_59_00_2699.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_04_3736.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_07_2629.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_09_2627.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_13_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042739","1392042748","1392042724","1392042741","1392042723","1392042717"],"photo_ids_order":["1392042717","1392042723","1392042724","1392042739","1392042741","1392042748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/07a7a6ad1951073b4dff2841b6ca04cb.jpg","text":"TemporaryFile(/tmp/multipartBody597974772123005954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172262909,"filename":"image_03112025_07_59_07_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/3/9cfbef14dc98f2bd8e65316a73a5f5c8.jpg","text":"TemporaryFile(/tmp/multipartBody7942502483523966969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172262909,"filename":"image_03112025_07_59_13_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/3/3bde2b29a5b2e255028703ced786a18b.jpg","text":"TemporaryFile(/tmp/multipartBody6832897817287911854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172262909,"filename":"image_03112025_07_59_04_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/3/19169f77c54cfe2937b58deaf2c675c4.jpg","text":"TemporaryFile(/tmp/multipartBody2622856593287135825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172262909,"filename":"image_03112025_07_59_09_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/3/6ad17ad4502bef4775213f40d6fdcdee.jpg","text":"TemporaryFile(/tmp/multipartBody6420377932286827492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172262909,"filename":"image_03112025_07_59_00_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/3/d4f7216afc47881c682cc073e5a52c55.jpg","text":"TemporaryFile(/tmp/multipartBody5304544103793237484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172262909,"filename":"image_03112025_07_58_58_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042724","file1":"1392042723","file0":"1392042717","file4":"1392042741","file5":"1392042748","file3":"1392042739"},"map_files_photo_id_array":[{"photo_id":"1392042748","filename":"file5"},{"photo_id":"1392042724","filename":"file2"},{"photo_id":"1392042741","filename":"file4"},{"photo_id":"1392042723","filename":"file1"},{"photo_id":"1392042717","filename":"file0"},{"photo_id":"1392042739","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042739":["hashtag1","hashtag2"]},{"1392042748":["hashtag1","hashtag2"]},{"1392042724":["hashtag1","hashtag2"]},{"1392042741":["hashtag1","hashtag2"]},{"1392042723":["hashtag1","hashtag2"]},{"1392042717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042739, 1392042748, 1392042724, 1392042741, 1392042723, 1392042717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.903172731399536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:17:22.304126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_16_2802.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_18_2796.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_22_3570.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_25_2800.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_27_2614.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_30_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_16_2802.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_18_2796.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_22_3570.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_25_2800.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_27_2614.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_30_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042775","1392042790","1392042786","1392042768","1392042771","1392042765"],"photo_ids_order":["1392042765","1392042768","1392042771","1392042775","1392042786","1392042790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ecd14aad96a83d1c3ce4492b21339af5.jpg","text":"TemporaryFile(/tmp/multipartBody6034582468616238898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172303057,"filename":"image_03112025_07_59_25_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/3/f1f0c275d7d2457e59a82836b208633d.jpg","text":"TemporaryFile(/tmp/multipartBody1924587560842317498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172303057,"filename":"image_03112025_07_59_30_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/3/af635ff483e7eca5383b684aa96ed96d.jpg","text":"TemporaryFile(/tmp/multipartBody6947513304890951996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172303057,"filename":"image_03112025_07_59_27_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7d872983df3bd86330356169931ce1eb.jpg","text":"TemporaryFile(/tmp/multipartBody3626225870348174567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172303057,"filename":"image_03112025_07_59_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/3/3fcee244c4a8b48c24e38dc4e28c850d.jpg","text":"TemporaryFile(/tmp/multipartBody969255706414962597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172303057,"filename":"image_03112025_07_59_22_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/3/bd5d19bbf8ec95949cce9c77b01cb1e3.jpg","text":"TemporaryFile(/tmp/multipartBody5529955302228527870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172303057,"filename":"image_03112025_07_59_16_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042771","file1":"1392042768","file0":"1392042765","file4":"1392042786","file5":"1392042790","file3":"1392042775"},"map_files_photo_id_array":[{"photo_id":"1392042790","filename":"file5"},{"photo_id":"1392042771","filename":"file2"},{"photo_id":"1392042786","filename":"file4"},{"photo_id":"1392042768","filename":"file1"},{"photo_id":"1392042765","filename":"file0"},{"photo_id":"1392042775","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042775":["hashtag1","hashtag2"]},{"1392042790":["hashtag1","hashtag2"]},{"1392042786":["hashtag1","hashtag2"]},{"1392042768":["hashtag1","hashtag2"]},{"1392042771":["hashtag1","hashtag2"]},{"1392042765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042775, 1392042790, 1392042786, 1392042768, 1392042771, 1392042765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70816373825073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:18:03.038419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_34_3567.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_36_2583.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_40_3563.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_43_2687.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_45_2665.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_49_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_34_3567.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_36_2583.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_40_3563.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_43_2687.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_45_2665.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_49_3739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042892","1392042889","1392042886","1392042832","1392042861","1392042864"],"photo_ids_order":["1392042832","1392042861","1392042864","1392042886","1392042889","1392042892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6e7cc2a0fe9038514f356a0ab02d7d6b.jpg","text":"TemporaryFile(/tmp/multipartBody138823531500130889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172343781,"filename":"image_03112025_07_59_49_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/3/3857012124cdc00d0945879959328e43.jpg","text":"TemporaryFile(/tmp/multipartBody7775690219714156148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172343781,"filename":"image_03112025_07_59_45_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/3/f9f08fc4956fd04be50b62a7dcc0b981.jpg","text":"TemporaryFile(/tmp/multipartBody6485777493744916741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172343781,"filename":"image_03112025_07_59_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/3/e4b0939f41e6fe49070b3f12d7d47573.jpg","text":"TemporaryFile(/tmp/multipartBody4678442306842211246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172343781,"filename":"image_03112025_07_59_34_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/3/b8c37a44807950052340ce1e1e8f5d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7291414214214082653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172343781,"filename":"image_03112025_07_59_36_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5933826283b098e1c137011b82d8b01f.jpg","text":"TemporaryFile(/tmp/multipartBody7064520739139299139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172343781,"filename":"image_03112025_07_59_40_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042864","file1":"1392042861","file0":"1392042832","file4":"1392042889","file5":"1392042892","file3":"1392042886"},"map_files_photo_id_array":[{"photo_id":"1392042892","filename":"file5"},{"photo_id":"1392042864","filename":"file2"},{"photo_id":"1392042889","filename":"file4"},{"photo_id":"1392042861","filename":"file1"},{"photo_id":"1392042832","filename":"file0"},{"photo_id":"1392042886","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042892":["hashtag1","hashtag2"]},{"1392042889":["hashtag1","hashtag2"]},{"1392042886":["hashtag1","hashtag2"]},{"1392042832":["hashtag1","hashtag2"]},{"1392042861":["hashtag1","hashtag2"]},{"1392042864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042892, 1392042889, 1392042886, 1392042832, 1392042861, 1392042864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15051817893982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:18:42.618949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_52_2642.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_54_2733.jpg', '/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_58_3636.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_07_3012.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_11_3694.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_13_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_52_2642.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_54_2733.jpg
/home/pi/Desktop/images/03112025/07/59/image_03112025_07_59_58_3636.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_07_3012.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_11_3694.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_13_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042923","1392042931","1392042928","1392042927","1392042926","1392042929"],"photo_ids_order":["1392042923","1392042926","1392042927","1392042928","1392042929","1392042931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b6af3b258a5f6e7e9fbd37bbf08fe66.jpg","text":"TemporaryFile(/tmp/multipartBody2236581164168606583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172383405,"filename":"image_03112025_07_59_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/3/c7d1c43bbb1e2e92b006d8569087486b.jpg","text":"TemporaryFile(/tmp/multipartBody7729001961413240228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172383405,"filename":"image_03112025_08_00_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/3/f64f121e0da773dcf95cb3a3ff29711d.jpg","text":"TemporaryFile(/tmp/multipartBody8036352003904208870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172383405,"filename":"image_03112025_08_00_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/3/b95fa827d7e4f5d2eec29468a09a3508.jpg","text":"TemporaryFile(/tmp/multipartBody1910745984729598589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172383405,"filename":"image_03112025_07_59_58_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/3/0df1ba5e92d0047eb8cfd1aac870c448.jpg","text":"TemporaryFile(/tmp/multipartBody2640879248948792356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172383405,"filename":"image_03112025_07_59_54_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c5db7b2bcde893568f11c8ae979b88f0.jpg","text":"TemporaryFile(/tmp/multipartBody2193595021563855374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172383405,"filename":"image_03112025_08_00_11_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042927","file1":"1392042926","file0":"1392042923","file4":"1392042929","file5":"1392042931","file3":"1392042928"},"map_files_photo_id_array":[{"photo_id":"1392042931","filename":"file5"},{"photo_id":"1392042927","filename":"file2"},{"photo_id":"1392042929","filename":"file4"},{"photo_id":"1392042926","filename":"file1"},{"photo_id":"1392042923","filename":"file0"},{"photo_id":"1392042928","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042923":["hashtag1","hashtag2"]},{"1392042931":["hashtag1","hashtag2"]},{"1392042928":["hashtag1","hashtag2"]},{"1392042927":["hashtag1","hashtag2"]},{"1392042926":["hashtag1","hashtag2"]},{"1392042929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042923, 1392042931, 1392042928, 1392042927, 1392042926, 1392042929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34627318382263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:19:22.755149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_17_3596.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_20_2520.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_22_2673.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_26_3586.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_29_2724.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_31_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_17_3596.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_20_2520.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_22_2673.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_26_3586.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_29_2724.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_31_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392042949","1392042943","1392042946","1392042972","1392042936","1392042939"],"photo_ids_order":["1392042936","1392042939","1392042943","1392042946","1392042949","1392042972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c93e8a633e79cbd5d1f643fda9f525a.jpg","text":"TemporaryFile(/tmp/multipartBody7720341964872654301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172423563,"filename":"image_03112025_08_00_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/3/71662e77912e2ed58163e0164df2bec6.jpg","text":"TemporaryFile(/tmp/multipartBody5493232974328958987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172423563,"filename":"image_03112025_08_00_22_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/3/7259c3b7dc8446d805cf624617c2cef1.jpg","text":"TemporaryFile(/tmp/multipartBody5915553231821471208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172423563,"filename":"image_03112025_08_00_26_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/3/4afae972a2cf300155150079224eef9a.jpg","text":"TemporaryFile(/tmp/multipartBody476624108586870312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172423563,"filename":"image_03112025_08_00_31_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40450c82261286feece9168bf27c3d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3750480150846951372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172423563,"filename":"image_03112025_08_00_17_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/3/07a6df87102dfa12bade8c26911160ac.jpg","text":"TemporaryFile(/tmp/multipartBody2070870607788862204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172423563,"filename":"image_03112025_08_00_20_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392042943","file1":"1392042939","file0":"1392042936","file4":"1392042949","file5":"1392042972","file3":"1392042946"},"map_files_photo_id_array":[{"photo_id":"1392042972","filename":"file5"},{"photo_id":"1392042943","filename":"file2"},{"photo_id":"1392042949","filename":"file4"},{"photo_id":"1392042939","filename":"file1"},{"photo_id":"1392042936","filename":"file0"},{"photo_id":"1392042946","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392042949":["hashtag1","hashtag2"]},{"1392042943":["hashtag1","hashtag2"]},{"1392042946":["hashtag1","hashtag2"]},{"1392042972":["hashtag1","hashtag2"]},{"1392042936":["hashtag1","hashtag2"]},{"1392042939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392042949, 1392042943, 1392042946, 1392042972, 1392042936, 1392042939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1043815612793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:20:02.386623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_35_3627.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_37_2604.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_41_3648.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_44_2643.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_46_2523.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_51_5209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_35_3627.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_37_2604.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_41_3648.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_44_2643.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_46_2523.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_51_5209.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392043249","1392043006","1392043155","1392043106","1392043055","1392043198"],"photo_ids_order":["1392043006","1392043055","1392043106","1392043155","1392043198","1392043249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0bf752dc182f0ea5015c19c04ef8c34e.jpg","text":"TemporaryFile(/tmp/multipartBody3412918846395887911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172463191,"filename":"image_03112025_08_00_51_5209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7084794c282f5046489c9049a89753f3.jpg","text":"TemporaryFile(/tmp/multipartBody3907655518258311378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172463191,"filename":"image_03112025_08_00_35_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/3/240280096ecfab806e59b35ad45d2792.jpg","text":"TemporaryFile(/tmp/multipartBody1001955912631360578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172463191,"filename":"image_03112025_08_00_44_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2af38a99655d7da82c2b7a5f7e87b6ed.jpg","text":"TemporaryFile(/tmp/multipartBody7585310339358469767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172463191,"filename":"image_03112025_08_00_41_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/3/356c360089351a15c426ba9842ff978b.jpg","text":"TemporaryFile(/tmp/multipartBody1797846433972710426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172463191,"filename":"image_03112025_08_00_37_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01fb663dfc4d5432f9c34e5b922dc639.jpg","text":"TemporaryFile(/tmp/multipartBody6023543042460491698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172463191,"filename":"image_03112025_08_00_46_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392043106","file1":"1392043055","file0":"1392043006","file4":"1392043198","file5":"1392043249","file3":"1392043155"},"map_files_photo_id_array":[{"photo_id":"1392043249","filename":"file5"},{"photo_id":"1392043106","filename":"file2"},{"photo_id":"1392043198","filename":"file4"},{"photo_id":"1392043055","filename":"file1"},{"photo_id":"1392043006","filename":"file0"},{"photo_id":"1392043155","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392043249":["hashtag1","hashtag2"]},{"1392043006":["hashtag1","hashtag2"]},{"1392043155":["hashtag1","hashtag2"]},{"1392043106":["hashtag1","hashtag2"]},{"1392043055":["hashtag1","hashtag2"]},{"1392043198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392043249, 1392043006, 1392043155, 1392043106, 1392043055, 1392043198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46814846992493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:20:41.899648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_53_1741.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_56_2549.jpg', '/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_59_3138.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_01_2589.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_04_2728.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_08_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_53_1741.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_56_2549.jpg
/home/pi/Desktop/images/03112025/08/00/image_03112025_08_00_59_3138.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_01_2589.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_04_2728.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_08_3760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392043534","1392043778","1392043646","1392043820","1392043742","1392043699"],"photo_ids_order":["1392043534","1392043646","1392043699","1392043742","1392043778","1392043820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7e1e53796f34d15a52758b5f438b7535.jpg","text":"TemporaryFile(/tmp/multipartBody4431730768242373894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172502685,"filename":"image_03112025_08_00_53_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/3/0f3d6532c9cab6ba35c2cfdf3ab0ca60.jpg","text":"TemporaryFile(/tmp/multipartBody635005029295282877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172502685,"filename":"image_03112025_08_01_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/3/76d18fe99b22dc6b83fc43194f12bba1.jpg","text":"TemporaryFile(/tmp/multipartBody6336087215864191273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172502685,"filename":"image_03112025_08_00_56_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/3/2ef7377465338bf18e2bf53f788278fb.jpg","text":"TemporaryFile(/tmp/multipartBody4433284484850970257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172502685,"filename":"image_03112025_08_01_08_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/3/f9a28bbb392ae1a190c6eb06c15e5574.jpg","text":"TemporaryFile(/tmp/multipartBody6434720654353326700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172502685,"filename":"image_03112025_08_01_01_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/3/92c2d21db07fa4fe29981871b407f5af.jpg","text":"TemporaryFile(/tmp/multipartBody293569497103740270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172502685,"filename":"image_03112025_08_00_59_3138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392043699","file1":"1392043646","file0":"1392043534","file4":"1392043778","file5":"1392043820","file3":"1392043742"},"map_files_photo_id_array":[{"photo_id":"1392043820","filename":"file5"},{"photo_id":"1392043699","filename":"file2"},{"photo_id":"1392043778","filename":"file4"},{"photo_id":"1392043646","filename":"file1"},{"photo_id":"1392043534","filename":"file0"},{"photo_id":"1392043742","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392043534":["hashtag1","hashtag2"]},{"1392043778":["hashtag1","hashtag2"]},{"1392043646":["hashtag1","hashtag2"]},{"1392043820":["hashtag1","hashtag2"]},{"1392043742":["hashtag1","hashtag2"]},{"1392043699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392043534, 1392043778, 1392043646, 1392043820, 1392043742, 1392043699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23157024383545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:21:22.142477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_10_2599.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_13_2561.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_17_3605.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_19_2696.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_23_3472.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_26_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_10_2599.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_13_2561.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_17_3605.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_19_2696.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_23_3472.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_26_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392044116","1392044070","1392044202","1392044156","1392043994","1392044030"],"photo_ids_order":["1392043994","1392044030","1392044070","1392044116","1392044156","1392044202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fbe292e5b4f1e9faa843216c85e7f090.jpg","text":"TemporaryFile(/tmp/multipartBody892227074987747480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172542857,"filename":"image_03112025_08_01_19_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/3/97fb1645ead3ed74ddffab6a7e8539bf.jpg","text":"TemporaryFile(/tmp/multipartBody170958741520066081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172542857,"filename":"image_03112025_08_01_17_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/3/99208ce5b74cd517497cef067771a514.jpg","text":"TemporaryFile(/tmp/multipartBody1639764555806894127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172542857,"filename":"image_03112025_08_01_26_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/3/d58bf807387894886f2cdcf50e06206d.jpg","text":"TemporaryFile(/tmp/multipartBody7480122820116010351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172542857,"filename":"image_03112025_08_01_23_3472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/79b1c98e8a7b4cf712f92c00b2f2bea1.jpg","text":"TemporaryFile(/tmp/multipartBody8247226118129207279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172542857,"filename":"image_03112025_08_01_10_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/3/8680b6552b86ba52bd79fcbf12c54b12.jpg","text":"TemporaryFile(/tmp/multipartBody7517410230476328804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172542857,"filename":"image_03112025_08_01_13_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392044070","file1":"1392044030","file0":"1392043994","file4":"1392044156","file5":"1392044202","file3":"1392044116"},"map_files_photo_id_array":[{"photo_id":"1392044202","filename":"file5"},{"photo_id":"1392044070","filename":"file2"},{"photo_id":"1392044156","filename":"file4"},{"photo_id":"1392044030","filename":"file1"},{"photo_id":"1392043994","filename":"file0"},{"photo_id":"1392044116","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392044116":["hashtag1","hashtag2"]},{"1392044070":["hashtag1","hashtag2"]},{"1392044202":["hashtag1","hashtag2"]},{"1392044156":["hashtag1","hashtag2"]},{"1392043994":["hashtag1","hashtag2"]},{"1392044030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392044116, 1392044070, 1392044202, 1392044156, 1392043994, 1392044030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63884401321411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:22:02.478933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_28_2429.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_32_3527.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_34_2582.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_38_3634.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_41_2921.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_43_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_28_2429.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_32_3527.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_34_2582.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_38_3634.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_41_2921.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_43_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392044582","1392044678","1392044537","1392044465","1392044717","1392044620"],"photo_ids_order":["1392044465","1392044537","1392044582","1392044620","1392044678","1392044717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/27f2874501701f4bba4d193d1a1714fd.jpg","text":"TemporaryFile(/tmp/multipartBody7678641926398342558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172583236,"filename":"image_03112025_08_01_34_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/3/1cb2cf80dd9c04d6e060e526e8b7c575.jpg","text":"TemporaryFile(/tmp/multipartBody6072572127316590746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172583236,"filename":"image_03112025_08_01_41_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/3/eca0c3b2f7866f524b64237a81653881.jpg","text":"TemporaryFile(/tmp/multipartBody650975877125076773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172583236,"filename":"image_03112025_08_01_32_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/3/aa7b66f5141ebb254c89f7cff15a9842.jpg","text":"TemporaryFile(/tmp/multipartBody3984722445183864448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172583236,"filename":"image_03112025_08_01_28_2429.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/104d3210a8b2e653de122f573096aa73.jpg","text":"TemporaryFile(/tmp/multipartBody4396531198807221768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172583236,"filename":"image_03112025_08_01_43_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/3/28530dee9e7744b1cf8c66909070b67b.jpg","text":"TemporaryFile(/tmp/multipartBody4540034389030879161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172583236,"filename":"image_03112025_08_01_38_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392044582","file1":"1392044537","file0":"1392044465","file4":"1392044678","file5":"1392044717","file3":"1392044620"},"map_files_photo_id_array":[{"photo_id":"1392044717","filename":"file5"},{"photo_id":"1392044582","filename":"file2"},{"photo_id":"1392044678","filename":"file4"},{"photo_id":"1392044537","filename":"file1"},{"photo_id":"1392044465","filename":"file0"},{"photo_id":"1392044620","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392044582":["hashtag1","hashtag2"]},{"1392044678":["hashtag1","hashtag2"]},{"1392044537":["hashtag1","hashtag2"]},{"1392044465":["hashtag1","hashtag2"]},{"1392044717":["hashtag1","hashtag2"]},{"1392044620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392044582, 1392044678, 1392044537, 1392044465, 1392044717, 1392044620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9958918094635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:22:42.068587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_46_2554.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_50_3588.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_52_2680.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_56_3565.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_58_2626.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_01_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_46_2554.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_50_3588.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_52_2680.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_56_3565.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_58_2626.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_01_2629.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5146942138671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:23:02.840690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_46_2554.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_50_3588.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_52_2680.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_56_3565.jpg', '/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_58_2626.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_01_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_46_2554.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_50_3588.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_52_2680.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_56_3565.jpg
/home/pi/Desktop/images/03112025/08/01/image_03112025_08_01_58_2626.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_01_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392045095","1392045143","1392045137","1392045151","1392045145","1392045148"],"photo_ids_order":["1392045095","1392045137","1392045143","1392045145","1392045148","1392045151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cdf117d1e52d9338985f9b04accd69e7.jpg","text":"TemporaryFile(/tmp/multipartBody4463135808160182269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172643657,"filename":"image_03112025_08_01_46_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/3/3330663cda4d042fbbcec40b32f3cb63.jpg","text":"TemporaryFile(/tmp/multipartBody4031398597143281427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172643657,"filename":"image_03112025_08_01_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/3/205ae4ff1608ec0d5430a95c07c958d8.jpg","text":"TemporaryFile(/tmp/multipartBody8925419136989345505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172643657,"filename":"image_03112025_08_01_50_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/425737746272e23ba55f19b5c6992735.jpg","text":"TemporaryFile(/tmp/multipartBody7450524363243470688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172643657,"filename":"image_03112025_08_02_01_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/3/fe01628f1b3dddfbee8dcf6c83b3aacb.jpg","text":"TemporaryFile(/tmp/multipartBody3335816747738696428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172643657,"filename":"image_03112025_08_01_56_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/3/43cae8ee047006646236089b69f60c82.jpg","text":"TemporaryFile(/tmp/multipartBody546360938991681913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172643657,"filename":"image_03112025_08_01_58_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392045143","file1":"1392045137","file0":"1392045095","file4":"1392045148","file5":"1392045151","file3":"1392045145"},"map_files_photo_id_array":[{"photo_id":"1392045151","filename":"file5"},{"photo_id":"1392045143","filename":"file2"},{"photo_id":"1392045148","filename":"file4"},{"photo_id":"1392045137","filename":"file1"},{"photo_id":"1392045095","filename":"file0"},{"photo_id":"1392045145","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392045095":["hashtag1","hashtag2"]},{"1392045143":["hashtag1","hashtag2"]},{"1392045137":["hashtag1","hashtag2"]},{"1392045151":["hashtag1","hashtag2"]},{"1392045145":["hashtag1","hashtag2"]},{"1392045148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392045095, 1392045143, 1392045137, 1392045151, 1392045145, 1392045148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74524450302124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:23:42.310869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_05_3662.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_07_2606.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_10_2566.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_14_3784.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_16_2564.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_20_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_05_3662.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_07_2606.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_10_2566.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_14_3784.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_16_2564.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_20_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392045249","1392045323","1392045286","1392045361","1392045424","1392045495"],"photo_ids_order":["1392045249","1392045286","1392045323","1392045361","1392045424","1392045495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd42da2fd54fb63b2ed10ca978e82e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1801083883005560584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172683100,"filename":"image_03112025_08_02_05_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/3/1420653c5810ea0f4f85fff708b2ba88.jpg","text":"TemporaryFile(/tmp/multipartBody6325830132825026001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172683100,"filename":"image_03112025_08_02_10_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/3/2fb71d74ba35f6877f5ab801bc86cc89.jpg","text":"TemporaryFile(/tmp/multipartBody2498546774536345697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172683100,"filename":"image_03112025_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/3/689816b49c32f54ad5663d44be466881.jpg","text":"TemporaryFile(/tmp/multipartBody3321961546711596246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172683100,"filename":"image_03112025_08_02_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/3/cc45cb59aa198e52350890a389b8d700.jpg","text":"TemporaryFile(/tmp/multipartBody8348762308253431077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172683100,"filename":"image_03112025_08_02_16_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/3/6c2572c0ba37d5a675377a36c01c376a.jpg","text":"TemporaryFile(/tmp/multipartBody6985202276915475686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172683100,"filename":"image_03112025_08_02_20_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392045323","file1":"1392045286","file0":"1392045249","file4":"1392045424","file5":"1392045495","file3":"1392045361"},"map_files_photo_id_array":[{"photo_id":"1392045495","filename":"file5"},{"photo_id":"1392045323","filename":"file2"},{"photo_id":"1392045424","filename":"file4"},{"photo_id":"1392045286","filename":"file1"},{"photo_id":"1392045249","filename":"file0"},{"photo_id":"1392045361","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392045249":["hashtag1","hashtag2"]},{"1392045323":["hashtag1","hashtag2"]},{"1392045286":["hashtag1","hashtag2"]},{"1392045361":["hashtag1","hashtag2"]},{"1392045424":["hashtag1","hashtag2"]},{"1392045495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392045249, 1392045323, 1392045286, 1392045361, 1392045424, 1392045495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65730953216553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:24:22.434551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_23_2755.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_25_2676.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_28_2614.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_31_3599.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_34_2689.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_37_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_23_2755.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_25_2676.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_28_2614.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_31_3599.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_34_2689.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_37_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392045855","1392046072","1392046033","1392046098","1392045952","1392045996"],"photo_ids_order":["1392045855","1392045952","1392045996","1392046033","1392046072","1392046098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1bc359a0a4bf132eae15f84ee633712.jpg","text":"TemporaryFile(/tmp/multipartBody8135445341764564101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172723169,"filename":"image_03112025_08_02_23_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/3/790ef71c6a779239c6f3a27a88b7aca8.jpg","text":"TemporaryFile(/tmp/multipartBody162422975715110251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172723169,"filename":"image_03112025_08_02_34_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/3/faad59c931604a876770d12e2e587dac.jpg","text":"TemporaryFile(/tmp/multipartBody4200325967109051192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172723169,"filename":"image_03112025_08_02_31_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/3/4b532997f51c9936bc2758cbaa94af76.jpg","text":"TemporaryFile(/tmp/multipartBody8312334311684471921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172723169,"filename":"image_03112025_08_02_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/3/4b06542345d454eb7136ab459376cd0b.jpg","text":"TemporaryFile(/tmp/multipartBody7736826519649417049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172723169,"filename":"image_03112025_08_02_25_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/3/ae35997ec4d6641c5487ec036cc1cccd.jpg","text":"TemporaryFile(/tmp/multipartBody6242347005520511869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172723169,"filename":"image_03112025_08_02_28_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392045996","file1":"1392045952","file0":"1392045855","file4":"1392046072","file5":"1392046098","file3":"1392046033"},"map_files_photo_id_array":[{"photo_id":"1392046098","filename":"file5"},{"photo_id":"1392045996","filename":"file2"},{"photo_id":"1392046072","filename":"file4"},{"photo_id":"1392045952","filename":"file1"},{"photo_id":"1392045855","filename":"file0"},{"photo_id":"1392046033","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392045855":["hashtag1","hashtag2"]},{"1392046072":["hashtag1","hashtag2"]},{"1392046033":["hashtag1","hashtag2"]},{"1392046098":["hashtag1","hashtag2"]},{"1392045952":["hashtag1","hashtag2"]},{"1392045996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392045855, 1392046072, 1392046033, 1392046098, 1392045952, 1392045996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.860767126083374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:25:03.235589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_41_3811.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_43_2484.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_47_3590.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_49_2647.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_52_2699.jpg', '/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_56_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_41_3811.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_43_2484.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_47_3590.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_49_2647.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_52_2699.jpg
/home/pi/Desktop/images/03112025/08/02/image_03112025_08_02_56_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392046391","1392046289","1392046316","1392046381","1392046333","1392046222"],"photo_ids_order":["1392046222","1392046289","1392046316","1392046333","1392046381","1392046391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f0a21e5124e5123ba897116f4b0d05d.jpg","text":"TemporaryFile(/tmp/multipartBody5120534501771028641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172766005,"filename":"image_03112025_08_02_56_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/3/a40c415159b5287882f9ba445bc02eed.jpg","text":"TemporaryFile(/tmp/multipartBody81056455713246006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172766005,"filename":"image_03112025_08_02_43_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/3/59f30c98dbebbbe8343c56e54f7537af.jpg","text":"TemporaryFile(/tmp/multipartBody7419039087411364744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172766005,"filename":"image_03112025_08_02_47_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/3/23aee9d8bc0e9d300aa5fa9f5bd885ee.jpg","text":"TemporaryFile(/tmp/multipartBody4226716777248730629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172766005,"filename":"image_03112025_08_02_52_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/3/4b4d90f30fe3a561242b887be86c3d63.jpg","text":"TemporaryFile(/tmp/multipartBody6767893267425093440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172766005,"filename":"image_03112025_08_02_49_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/3/fd463e6276b2afa460f59f4d9e654b26.jpg","text":"TemporaryFile(/tmp/multipartBody4902570049177912860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172766005,"filename":"image_03112025_08_02_41_3811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392046316","file1":"1392046289","file0":"1392046222","file4":"1392046381","file5":"1392046391","file3":"1392046333"},"map_files_photo_id_array":[{"photo_id":"1392046391","filename":"file5"},{"photo_id":"1392046316","filename":"file2"},{"photo_id":"1392046381","filename":"file4"},{"photo_id":"1392046289","filename":"file1"},{"photo_id":"1392046222","filename":"file0"},{"photo_id":"1392046333","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392046391":["hashtag1","hashtag2"]},{"1392046289":["hashtag1","hashtag2"]},{"1392046316":["hashtag1","hashtag2"]},{"1392046381":["hashtag1","hashtag2"]},{"1392046333":["hashtag1","hashtag2"]},{"1392046222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392046391, 1392046289, 1392046316, 1392046381, 1392046333, 1392046222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33956432342529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:25:42.680368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_01_2655.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_05_3689.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_07_2652.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_10_2684.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_14_3662.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_16_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_01_2655.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_05_3689.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_07_2652.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_10_2684.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_14_3662.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_16_2785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392046407","1392046416","1392046403","1392046406","1392046400","1392046405"],"photo_ids_order":["1392046400","1392046403","1392046405","1392046406","1392046407","1392046416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c9aafc1bfa48ea25e3d297e660bbebd5.jpg","text":"TemporaryFile(/tmp/multipartBody8131822048998529626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172803490,"filename":"image_03112025_08_03_14_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/3/415fbda616452ca3142f3aaaf157c05c.jpg","text":"TemporaryFile(/tmp/multipartBody4555118403949462573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172803490,"filename":"image_03112025_08_03_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/3/f97dabb7a3c6e05fdd992a2f1d9b7592.jpg","text":"TemporaryFile(/tmp/multipartBody2253239280067816712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172803490,"filename":"image_03112025_08_03_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/3/2fce66a815ed1ff19d00950d223d30be.jpg","text":"TemporaryFile(/tmp/multipartBody6957048937756951701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172803490,"filename":"image_03112025_08_03_10_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/3/52b4aff255808a4572dbbe0dc536e93c.jpg","text":"TemporaryFile(/tmp/multipartBody1064195910250552192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172803490,"filename":"image_03112025_08_03_01_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/3/b014484adf0b2ad38dac315c13cab805.jpg","text":"TemporaryFile(/tmp/multipartBody4932614591094271331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172803490,"filename":"image_03112025_08_03_07_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392046405","file1":"1392046403","file0":"1392046400","file4":"1392046407","file5":"1392046416","file3":"1392046406"},"map_files_photo_id_array":[{"photo_id":"1392046416","filename":"file5"},{"photo_id":"1392046405","filename":"file2"},{"photo_id":"1392046407","filename":"file4"},{"photo_id":"1392046403","filename":"file1"},{"photo_id":"1392046400","filename":"file0"},{"photo_id":"1392046406","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392046407":["hashtag1","hashtag2"]},{"1392046416":["hashtag1","hashtag2"]},{"1392046403":["hashtag1","hashtag2"]},{"1392046406":["hashtag1","hashtag2"]},{"1392046400":["hashtag1","hashtag2"]},{"1392046405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392046407, 1392046416, 1392046403, 1392046406, 1392046400, 1392046405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.425596475601196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:26:22.802279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_19_2667.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_22_2794.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_26_3689.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_28_2657.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_31_2763.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_35_3513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_19_2667.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_22_2794.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_26_3689.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_28_2657.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_31_2763.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_35_3513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392046460","1392046474","1392046471","1392046438","1392046468","1392046464"],"photo_ids_order":["1392046438","1392046460","1392046464","1392046468","1392046471","1392046474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a4b0550278187833c9296ba06da1b7e7.jpg","text":"TemporaryFile(/tmp/multipartBody597011297740510747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172843547,"filename":"image_03112025_08_03_22_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/3/b23693d5c4056f59b007cf99c0b8f990.jpg","text":"TemporaryFile(/tmp/multipartBody2600684217828541444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172843547,"filename":"image_03112025_08_03_35_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/851669d2156e240ffaaab4493637cfad.jpg","text":"TemporaryFile(/tmp/multipartBody2324141762458800612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172843547,"filename":"image_03112025_08_03_31_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/3/45fbebb956ad226041ea561062e7f4b6.jpg","text":"TemporaryFile(/tmp/multipartBody7820615263289552845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172843547,"filename":"image_03112025_08_03_19_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/3/b382ea021d3ca9fe3cf7e9964037c0c3.jpg","text":"TemporaryFile(/tmp/multipartBody8472406107354134979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172843547,"filename":"image_03112025_08_03_28_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/3/2bf32e381f85637090f323986843cde0.jpg","text":"TemporaryFile(/tmp/multipartBody5479773914277841001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172843547,"filename":"image_03112025_08_03_26_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392046464","file1":"1392046460","file0":"1392046438","file4":"1392046471","file5":"1392046474","file3":"1392046468"},"map_files_photo_id_array":[{"photo_id":"1392046474","filename":"file5"},{"photo_id":"1392046464","filename":"file2"},{"photo_id":"1392046471","filename":"file4"},{"photo_id":"1392046460","filename":"file1"},{"photo_id":"1392046438","filename":"file0"},{"photo_id":"1392046468","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392046460":["hashtag1","hashtag2"]},{"1392046474":["hashtag1","hashtag2"]},{"1392046471":["hashtag1","hashtag2"]},{"1392046438":["hashtag1","hashtag2"]},{"1392046468":["hashtag1","hashtag2"]},{"1392046464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392046460, 1392046474, 1392046471, 1392046438, 1392046468, 1392046464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.062000036239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:27:02.641069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_37_2690.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_40_2814.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_43_3416.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_46_2721.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_49_2670.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_53_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_37_2690.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_40_2814.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_43_3416.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_46_2721.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_49_2670.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_53_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392046512","1392046484","1392046481","1392046508","1392046505","1392046516"],"photo_ids_order":["1392046481","1392046484","1392046505","1392046508","1392046512","1392046516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f1b8eb1290237355bf917d560cb72b3.jpg","text":"TemporaryFile(/tmp/multipartBody3754146322837512222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172883495,"filename":"image_03112025_08_03_49_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/3/5fd34a787929aef2779d2ed5f533ce79.jpg","text":"TemporaryFile(/tmp/multipartBody8244428636187049226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172883495,"filename":"image_03112025_08_03_40_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b72835e7a7ed58e4a9a3621decabf611.jpg","text":"TemporaryFile(/tmp/multipartBody8584756132495960664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172883495,"filename":"image_03112025_08_03_37_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/3/16a8127b405c9b433c82e6717bc5df12.jpg","text":"TemporaryFile(/tmp/multipartBody4896729755893459516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172883495,"filename":"image_03112025_08_03_46_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/3/0f67f75ca5bd3e319565d5e9a72e71dd.jpg","text":"TemporaryFile(/tmp/multipartBody2553500862618926166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172883495,"filename":"image_03112025_08_03_43_3416.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cec8492272fffd060be13d7722161d5e.jpg","text":"TemporaryFile(/tmp/multipartBody7538263480557696588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172883495,"filename":"image_03112025_08_03_53_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392046505","file1":"1392046484","file0":"1392046481","file4":"1392046512","file5":"1392046516","file3":"1392046508"},"map_files_photo_id_array":[{"photo_id":"1392046516","filename":"file5"},{"photo_id":"1392046505","filename":"file2"},{"photo_id":"1392046512","filename":"file4"},{"photo_id":"1392046484","filename":"file1"},{"photo_id":"1392046481","filename":"file0"},{"photo_id":"1392046508","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392046512":["hashtag1","hashtag2"]},{"1392046484":["hashtag1","hashtag2"]},{"1392046481":["hashtag1","hashtag2"]},{"1392046508":["hashtag1","hashtag2"]},{"1392046505":["hashtag1","hashtag2"]},{"1392046516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392046512, 1392046484, 1392046481, 1392046508, 1392046505, 1392046516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60236740112305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:27:42.017123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_55_2637.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_58_2618.jpg', '/home/pi/Desktop/images/03112025/08/03/image_03112025_08_04_01_3593.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_04_2577.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_08_3665.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_10_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_55_2637.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_03_58_2618.jpg
/home/pi/Desktop/images/03112025/08/03/image_03112025_08_04_01_3593.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_04_2577.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_08_3665.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_10_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392046598","1392046607","1392046561","1392046585","1392046593","1392046572"],"photo_ids_order":["1392046561","1392046572","1392046585","1392046593","1392046598","1392046607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0317bf49ce8c192e2a0043fe3def4cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8366914584345270734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172922801,"filename":"image_03112025_08_04_08_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/3/b50ee3219a86fdc0238e0f6d6049e280.jpg","text":"TemporaryFile(/tmp/multipartBody4335943779330343781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172922801,"filename":"image_03112025_08_04_10_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/3/a3cf8fbe240f95cbc3deaf290c1f37c0.jpg","text":"TemporaryFile(/tmp/multipartBody5064009142584295892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172922801,"filename":"image_03112025_08_03_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/3/70099a7c95c3024bc570df7417d76c23.jpg","text":"TemporaryFile(/tmp/multipartBody3234924906841764151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172922801,"filename":"image_03112025_08_04_01_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/3/a91ea3222fc91b1f0fc9ceb85baceaac.jpg","text":"TemporaryFile(/tmp/multipartBody3266953224664917955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172922801,"filename":"image_03112025_08_04_04_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/3/a46c14dad8fc0f71e69f6cc33a44bed6.jpg","text":"TemporaryFile(/tmp/multipartBody6385475100604789343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172922801,"filename":"image_03112025_08_03_58_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392046585","file1":"1392046572","file0":"1392046561","file4":"1392046598","file5":"1392046607","file3":"1392046593"},"map_files_photo_id_array":[{"photo_id":"1392046607","filename":"file5"},{"photo_id":"1392046585","filename":"file2"},{"photo_id":"1392046598","filename":"file4"},{"photo_id":"1392046572","filename":"file1"},{"photo_id":"1392046561","filename":"file0"},{"photo_id":"1392046593","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392046598":["hashtag1","hashtag2"]},{"1392046607":["hashtag1","hashtag2"]},{"1392046561":["hashtag1","hashtag2"]},{"1392046585":["hashtag1","hashtag2"]},{"1392046593":["hashtag1","hashtag2"]},{"1392046572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392046598, 1392046607, 1392046561, 1392046585, 1392046593, 1392046572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41608905792236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:28:22.365772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_13_2544.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_17_3656.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_19_2807.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_25_2670.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_28_3585.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_31_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_13_2544.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_17_3656.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_19_2807.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_25_2670.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_28_3585.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_31_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392046781","1392046775","1392046850","1392046807","1392046770","1392046869"],"photo_ids_order":["1392046770","1392046775","1392046781","1392046807","1392046850","1392046869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fd0cd05952b14fed3a545869eec745d5.jpg","text":"TemporaryFile(/tmp/multipartBody7124005293900197551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172963113,"filename":"image_03112025_08_04_19_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/3/25216738b6f20ba3174ba2a9d8d2f38a.jpg","text":"TemporaryFile(/tmp/multipartBody725135915112066868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172963113,"filename":"image_03112025_08_04_17_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/3/55a7d900bf36c857518ccc65d95c9ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7893424705804775989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172963113,"filename":"image_03112025_08_04_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/3/e56ed272e984792334a6ca7c0b5886f8.jpg","text":"TemporaryFile(/tmp/multipartBody4451809032832159048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172963113,"filename":"image_03112025_08_04_25_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/3/d26f9a896bea267252524c540444944c.jpg","text":"TemporaryFile(/tmp/multipartBody20896607501004780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172963113,"filename":"image_03112025_08_04_13_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/3/44899d9a48ea5df2639d63f26c009681.jpg","text":"TemporaryFile(/tmp/multipartBody5800655028280317801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762172963113,"filename":"image_03112025_08_04_31_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392046781","file1":"1392046775","file0":"1392046770","file4":"1392046850","file5":"1392046869","file3":"1392046807"},"map_files_photo_id_array":[{"photo_id":"1392046869","filename":"file5"},{"photo_id":"1392046781","filename":"file2"},{"photo_id":"1392046850","filename":"file4"},{"photo_id":"1392046775","filename":"file1"},{"photo_id":"1392046770","filename":"file0"},{"photo_id":"1392046807","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392046781":["hashtag1","hashtag2"]},{"1392046775":["hashtag1","hashtag2"]},{"1392046850":["hashtag1","hashtag2"]},{"1392046807":["hashtag1","hashtag2"]},{"1392046770":["hashtag1","hashtag2"]},{"1392046869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392046781, 1392046775, 1392046850, 1392046807, 1392046770, 1392046869)","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.73578476905823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:29:45.692573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_35_3598.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_37_2650.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_40_2644.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_43_3576.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_46_2702.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_49_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_35_3598.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_37_2650.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_40_2644.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_43_3576.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_46_2702.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_49_2789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392046987","1392046972","1392046939","1392046977","1392046956","1392046950"],"photo_ids_order":["1392046939","1392046950","1392046956","1392046972","1392046977","1392046987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe5788a9a2ad9a3e6a1d0b5fe9b7cbb4.jpg","text":"TemporaryFile(/tmp/multipartBody967797289463346825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173046460,"filename":"image_03112025_08_04_49_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/3/4b86bed22bb9e7733aa1e9b7e505b2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2433964691122348084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173046460,"filename":"image_03112025_08_04_43_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/3/59d5fe2efbefb6f5902b276795dcd2fa.jpg","text":"TemporaryFile(/tmp/multipartBody1879540071066964017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173046460,"filename":"image_03112025_08_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/3/45438d8337870347a007452edac86a85.jpg","text":"TemporaryFile(/tmp/multipartBody670669653356581362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173046460,"filename":"image_03112025_08_04_46_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/3/56dd91c739efdf93ef22834a7106e795.jpg","text":"TemporaryFile(/tmp/multipartBody670740982464755381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173046460,"filename":"image_03112025_08_04_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/3/3d0db956398b0218ebff8607d768e53f.jpg","text":"TemporaryFile(/tmp/multipartBody6895152859520642246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173046460,"filename":"image_03112025_08_04_37_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392046956","file1":"1392046950","file0":"1392046939","file4":"1392046977","file5":"1392046987","file3":"1392046972"},"map_files_photo_id_array":[{"photo_id":"1392046987","filename":"file5"},{"photo_id":"1392046956","filename":"file2"},{"photo_id":"1392046977","filename":"file4"},{"photo_id":"1392046950","filename":"file1"},{"photo_id":"1392046939","filename":"file0"},{"photo_id":"1392046972","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392046987":["hashtag1","hashtag2"]},{"1392046972":["hashtag1","hashtag2"]},{"1392046939":["hashtag1","hashtag2"]},{"1392046977":["hashtag1","hashtag2"]},{"1392046956":["hashtag1","hashtag2"]},{"1392046950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392046987, 1392046972, 1392046939, 1392046977, 1392046956, 1392046950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82647967338562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:30:48.105125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_53_3593.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_55_2579.jpg', '/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_58_2700.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_02_3693.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_04_2940.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_07_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_53_3593.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_55_2579.jpg
/home/pi/Desktop/images/03112025/08/04/image_03112025_08_04_58_2700.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_02_3693.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_04_2940.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_07_2783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047111","1392047105","1392047107","1392047056","1392047116","1392047103"],"photo_ids_order":["1392047056","1392047103","1392047105","1392047107","1392047111","1392047116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b85c534fb456b3a66ce7d512e1823819.jpg","text":"TemporaryFile(/tmp/multipartBody3067520048946442714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173108862,"filename":"image_03112025_08_05_04_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/3/fae73b55491426cc087eb8fe6a67aa52.jpg","text":"TemporaryFile(/tmp/multipartBody2766206798536139833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173108862,"filename":"image_03112025_08_04_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/3/f68e5b3a9d6c11eca369a92064749c28.jpg","text":"TemporaryFile(/tmp/multipartBody7670022883001719626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173108862,"filename":"image_03112025_08_05_02_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/3/e2411996a670146d870cb7ad98e1eccf.jpg","text":"TemporaryFile(/tmp/multipartBody8920286466792363603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173108862,"filename":"image_03112025_08_04_53_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/3/590449e80128db1fb5fb73f694d7533f.jpg","text":"TemporaryFile(/tmp/multipartBody740414122098394273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173108862,"filename":"image_03112025_08_05_07_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/3/d4add7bb8c0ff1a2f7a260c838296fe6.jpg","text":"TemporaryFile(/tmp/multipartBody7465918430760701792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173108862,"filename":"image_03112025_08_04_55_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047105","file1":"1392047103","file0":"1392047056","file4":"1392047111","file5":"1392047116","file3":"1392047107"},"map_files_photo_id_array":[{"photo_id":"1392047116","filename":"file5"},{"photo_id":"1392047105","filename":"file2"},{"photo_id":"1392047111","filename":"file4"},{"photo_id":"1392047103","filename":"file1"},{"photo_id":"1392047056","filename":"file0"},{"photo_id":"1392047107","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047111":["hashtag1","hashtag2"]},{"1392047105":["hashtag1","hashtag2"]},{"1392047107":["hashtag1","hashtag2"]},{"1392047056":["hashtag1","hashtag2"]},{"1392047116":["hashtag1","hashtag2"]},{"1392047103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047111, 1392047105, 1392047107, 1392047056, 1392047116, 1392047103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.11569952964783 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-03 13:31:42.393878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_10_2657.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_13_3539.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_16_2752.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_19_2564.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_22_3480.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_25_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_10_2657.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_13_3539.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_16_2752.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_19_2564.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_22_3480.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_25_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047141","1392047150","1392047160","1392047136","1392047151","1392047145"],"photo_ids_order":["1392047136","1392047141","1392047145","1392047150","1392047151","1392047160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/977ad1a46a71e3c7d6484d70c203d004.jpg","text":"TemporaryFile(/tmp/multipartBody3274182780103277847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173163183,"filename":"image_03112025_08_05_13_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/3/05dbd09c387fbf17b28da389b425ac9f.jpg","text":"TemporaryFile(/tmp/multipartBody1624172973318946853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173163183,"filename":"image_03112025_08_05_19_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/3/07a2bb673f9584cee001ccbbb2308588.jpg","text":"TemporaryFile(/tmp/multipartBody326943484748139014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173163183,"filename":"image_03112025_08_05_25_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/3/9d05a8dffd85eee1d7b2b7c8033288a7.jpg","text":"TemporaryFile(/tmp/multipartBody1059196771126513343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173163183,"filename":"image_03112025_08_05_10_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ed717f999fceed49b8d85c8c32cb745a.jpg","text":"TemporaryFile(/tmp/multipartBody4959070253639610233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173163183,"filename":"image_03112025_08_05_22_3480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cbe425cc2e020e8de71e06ae523c78c.jpg","text":"TemporaryFile(/tmp/multipartBody8506109071230017228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173163183,"filename":"image_03112025_08_05_16_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047145","file1":"1392047141","file0":"1392047136","file4":"1392047151","file5":"1392047160","file3":"1392047150"},"map_files_photo_id_array":[{"photo_id":"1392047160","filename":"file5"},{"photo_id":"1392047145","filename":"file2"},{"photo_id":"1392047151","filename":"file4"},{"photo_id":"1392047141","filename":"file1"},{"photo_id":"1392047136","filename":"file0"},{"photo_id":"1392047150","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047141":["hashtag1","hashtag2"]},{"1392047150":["hashtag1","hashtag2"]},{"1392047160":["hashtag1","hashtag2"]},{"1392047136":["hashtag1","hashtag2"]},{"1392047151":["hashtag1","hashtag2"]},{"1392047145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047141, 1392047150, 1392047160, 1392047136, 1392047151, 1392047145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.420056104660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:32:22.498994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_28_2712.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_31_3714.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_34_2556.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_37_2623.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_40_3616.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_43_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_28_2712.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_31_3714.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_34_2556.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_37_2623.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_40_3616.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_43_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047201","1392047204","1392047191","1392047199","1392047196","1392047181"],"photo_ids_order":["1392047181","1392047191","1392047196","1392047199","1392047201","1392047204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4361da0ee9e5251e318a54cc68903df0.jpg","text":"TemporaryFile(/tmp/multipartBody1751395952724148890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173203230,"filename":"image_03112025_08_05_40_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/3/5c0aec3aae0e9d638c813b83c193abf0.jpg","text":"TemporaryFile(/tmp/multipartBody443657779367865221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173203230,"filename":"image_03112025_08_05_43_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2a176bf1e8681302385df2602857aa9d.jpg","text":"TemporaryFile(/tmp/multipartBody226168902961420270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173203230,"filename":"image_03112025_08_05_31_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/3/f19f4b3976e09bab8606da854cf19017.jpg","text":"TemporaryFile(/tmp/multipartBody3751178540741929832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173203230,"filename":"image_03112025_08_05_37_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f5ffff7f6989dcbafca2bfbb4973bf45.jpg","text":"TemporaryFile(/tmp/multipartBody4797540329363001829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173203230,"filename":"image_03112025_08_05_34_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/3/7397bfd061ecf7ef8bf0d1cf8ed57714.jpg","text":"TemporaryFile(/tmp/multipartBody6190147864842557760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173203230,"filename":"image_03112025_08_05_28_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047196","file1":"1392047191","file0":"1392047181","file4":"1392047201","file5":"1392047204","file3":"1392047199"},"map_files_photo_id_array":[{"photo_id":"1392047204","filename":"file5"},{"photo_id":"1392047196","filename":"file2"},{"photo_id":"1392047201","filename":"file4"},{"photo_id":"1392047191","filename":"file1"},{"photo_id":"1392047181","filename":"file0"},{"photo_id":"1392047199","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047201":["hashtag1","hashtag2"]},{"1392047204":["hashtag1","hashtag2"]},{"1392047191":["hashtag1","hashtag2"]},{"1392047199":["hashtag1","hashtag2"]},{"1392047196":["hashtag1","hashtag2"]},{"1392047181":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047201, 1392047204, 1392047191, 1392047199, 1392047196, 1392047181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.860893964767456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:33:03.346682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_46_3597.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_49_2784.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_52_2661.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_55_3657.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_58_2557.jpg', '/home/pi/Desktop/images/03112025/08/05/image_03112025_08_06_01_2508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_46_3597.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_49_2784.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_52_2661.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_55_3657.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_05_58_2557.jpg
/home/pi/Desktop/images/03112025/08/05/image_03112025_08_06_01_2508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047224","1392047212","1392047215","1392047209","1392047217","1392047220"],"photo_ids_order":["1392047209","1392047212","1392047215","1392047217","1392047220","1392047224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5888a08509f024870de3065fbd7679c3.jpg","text":"TemporaryFile(/tmp/multipartBody8512034281551664275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173244221,"filename":"image_03112025_08_06_01_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/3/5ab3b2a2ab6a582c04e2467d53921ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7053885094126373115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173244221,"filename":"image_03112025_08_05_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/3/9fa675b4d5bbe52c1c598f2252384502.jpg","text":"TemporaryFile(/tmp/multipartBody2942542169772366273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173244221,"filename":"image_03112025_08_05_52_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/3/7eec9cd4559da01c02f94d66a324b743.jpg","text":"TemporaryFile(/tmp/multipartBody1937535141531660946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173244221,"filename":"image_03112025_08_05_46_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/3/2e2df655b361a6c44c42d36e2192fe18.jpg","text":"TemporaryFile(/tmp/multipartBody4252828705673446889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173244221,"filename":"image_03112025_08_05_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/3/77552d6211f1041861d4af90a5a003fb.jpg","text":"TemporaryFile(/tmp/multipartBody1995564923297990978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173244221,"filename":"image_03112025_08_05_58_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047215","file1":"1392047212","file0":"1392047209","file4":"1392047220","file5":"1392047224","file3":"1392047217"},"map_files_photo_id_array":[{"photo_id":"1392047224","filename":"file5"},{"photo_id":"1392047215","filename":"file2"},{"photo_id":"1392047220","filename":"file4"},{"photo_id":"1392047212","filename":"file1"},{"photo_id":"1392047209","filename":"file0"},{"photo_id":"1392047217","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047224":["hashtag1","hashtag2"]},{"1392047212":["hashtag1","hashtag2"]},{"1392047215":["hashtag1","hashtag2"]},{"1392047209":["hashtag1","hashtag2"]},{"1392047217":["hashtag1","hashtag2"]},{"1392047220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047224, 1392047212, 1392047215, 1392047209, 1392047217, 1392047220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79514241218567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:33:42.709682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_04_3619.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_07_2707.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_10_3497.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_13_2560.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_16_2756.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_19_2889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_04_3619.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_07_2707.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_10_3497.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_13_2560.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_16_2756.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_19_2889.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047243","1392047245","1392047239","1392047248","1392047233","1392047235"],"photo_ids_order":["1392047233","1392047235","1392047239","1392047243","1392047245","1392047248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/443f0e9dfdcbb55506b9c3c441d1aa69.jpg","text":"TemporaryFile(/tmp/multipartBody4346164333996348921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173283549,"filename":"image_03112025_08_06_13_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/3/5066484efccb7a0490a953df56b7d500.jpg","text":"TemporaryFile(/tmp/multipartBody6456720337292504687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173283549,"filename":"image_03112025_08_06_16_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/3/fb3be8303c6624da34b2e9965d8143ee.jpg","text":"TemporaryFile(/tmp/multipartBody875336852131060715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173283549,"filename":"image_03112025_08_06_10_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/3/8f597ba0eb8aaaec4635695c99de95f1.jpg","text":"TemporaryFile(/tmp/multipartBody3999362650240649513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173283549,"filename":"image_03112025_08_06_19_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/3/a8cb05867fd10b01a8b5afcbe7d6b3ac.jpg","text":"TemporaryFile(/tmp/multipartBody5101493069233990671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173283549,"filename":"image_03112025_08_06_04_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/3/21b5889c4997e48e2326e4802a4ac385.jpg","text":"TemporaryFile(/tmp/multipartBody8029209283677064962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173283549,"filename":"image_03112025_08_06_07_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047239","file1":"1392047235","file0":"1392047233","file4":"1392047245","file5":"1392047248","file3":"1392047243"},"map_files_photo_id_array":[{"photo_id":"1392047248","filename":"file5"},{"photo_id":"1392047239","filename":"file2"},{"photo_id":"1392047245","filename":"file4"},{"photo_id":"1392047235","filename":"file1"},{"photo_id":"1392047233","filename":"file0"},{"photo_id":"1392047243","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047243":["hashtag1","hashtag2"]},{"1392047245":["hashtag1","hashtag2"]},{"1392047239":["hashtag1","hashtag2"]},{"1392047248":["hashtag1","hashtag2"]},{"1392047233":["hashtag1","hashtag2"]},{"1392047235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047243, 1392047245, 1392047239, 1392047248, 1392047233, 1392047235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25037455558777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:34:21.842751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_22_3708.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_25_2710.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_28_2579.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_31_3693.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_34_2726.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_37_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_22_3708.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_25_2710.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_28_2579.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_31_3693.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_34_2726.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_37_2545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047255","1392047269","1392047260","1392047257","1392047253","1392047264"],"photo_ids_order":["1392047253","1392047255","1392047257","1392047260","1392047264","1392047269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c64f75001619a44d9ae21e6b4a15ea6b.jpg","text":"TemporaryFile(/tmp/multipartBody5084049653185034558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173322594,"filename":"image_03112025_08_06_25_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/89fb87cdf914020838d2445246149adf.jpg","text":"TemporaryFile(/tmp/multipartBody2767861745579521008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173322594,"filename":"image_03112025_08_06_37_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/3/56ee5a4cc73b4021d4af6dfd17167340.jpg","text":"TemporaryFile(/tmp/multipartBody7217802664983357959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173322594,"filename":"image_03112025_08_06_31_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/3/b98b3d04f6417fe30486a5d238cc3dfb.jpg","text":"TemporaryFile(/tmp/multipartBody6815901521611154982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173322594,"filename":"image_03112025_08_06_28_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/3/d2be0dc99c9806e9202061092e0667bf.jpg","text":"TemporaryFile(/tmp/multipartBody2083034178040628545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173322594,"filename":"image_03112025_08_06_22_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/3/72ec788caa552cf6521f456a74c2a43a.jpg","text":"TemporaryFile(/tmp/multipartBody3972070380596171622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173322594,"filename":"image_03112025_08_06_34_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047257","file1":"1392047255","file0":"1392047253","file4":"1392047264","file5":"1392047269","file3":"1392047260"},"map_files_photo_id_array":[{"photo_id":"1392047269","filename":"file5"},{"photo_id":"1392047257","filename":"file2"},{"photo_id":"1392047264","filename":"file4"},{"photo_id":"1392047255","filename":"file1"},{"photo_id":"1392047253","filename":"file0"},{"photo_id":"1392047260","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047255":["hashtag1","hashtag2"]},{"1392047269":["hashtag1","hashtag2"]},{"1392047260":["hashtag1","hashtag2"]},{"1392047257":["hashtag1","hashtag2"]},{"1392047253":["hashtag1","hashtag2"]},{"1392047264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047255, 1392047269, 1392047260, 1392047257, 1392047253, 1392047264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.260642766952515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:35:02.714456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_40_3612.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_43_2603.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_46_3673.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_49_2545.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_52_2725.jpg', '/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_55_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_40_3612.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_43_2603.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_46_3673.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_49_2545.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_52_2725.jpg
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_55_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047288","1392047293","1392047290","1392047305","1392047298","1392047302"],"photo_ids_order":["1392047288","1392047290","1392047293","1392047298","1392047302","1392047305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d92c4a7b2432423e7532b65e7ac0f8fd.jpg","text":"TemporaryFile(/tmp/multipartBody2578768562326262576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173369365,"filename":"image_03112025_08_06_40_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/3/46cc6f8b2c11150030bb866348eb7832.jpg","text":"TemporaryFile(/tmp/multipartBody1666289054756041206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173369365,"filename":"image_03112025_08_06_46_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/3/7976acd4b6f6e23a3021dde046c97661.jpg","text":"TemporaryFile(/tmp/multipartBody1397261249883472805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173369365,"filename":"image_03112025_08_06_43_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7809a3d3969786b6dee15ea645fcfbf3.jpg","text":"TemporaryFile(/tmp/multipartBody2028476160038779457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173369365,"filename":"image_03112025_08_06_55_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ace6edddd312afdf14c667945393374a.jpg","text":"TemporaryFile(/tmp/multipartBody8789918764287389209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173369365,"filename":"image_03112025_08_06_49_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/3/d015507ae97d2ef781335fe60286c7bf.jpg","text":"TemporaryFile(/tmp/multipartBody8965199362785522155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173369365,"filename":"image_03112025_08_06_52_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047293","file1":"1392047290","file0":"1392047288","file4":"1392047302","file5":"1392047305","file3":"1392047298"},"map_files_photo_id_array":[{"photo_id":"1392047305","filename":"file5"},{"photo_id":"1392047293","filename":"file2"},{"photo_id":"1392047302","filename":"file4"},{"photo_id":"1392047290","filename":"file1"},{"photo_id":"1392047288","filename":"file0"},{"photo_id":"1392047298","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047288":["hashtag1","hashtag2"]},{"1392047293":["hashtag1","hashtag2"]},{"1392047290":["hashtag1","hashtag2"]},{"1392047305":["hashtag1","hashtag2"]},{"1392047298":["hashtag1","hashtag2"]},{"1392047302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047288, 1392047293, 1392047290, 1392047305, 1392047298, 1392047302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.063042879104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:36:02.702055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_58_2759.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_01_2634.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_04_3650.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_07_2766.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_10_2560.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_13_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/06/image_03112025_08_06_58_2759.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_01_2634.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_04_3650.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_07_2766.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_10_2560.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_13_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047494","1392047518","1392047514","1392047457","1392047480","1392047477"],"photo_ids_order":["1392047457","1392047477","1392047480","1392047494","1392047514","1392047518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/efb82037b84665bb073d14c4f78133ab.jpg","text":"TemporaryFile(/tmp/multipartBody6840927638951053833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173423546,"filename":"image_03112025_08_07_07_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d839c61a39138ba2bca96b74d0b3ba3e.jpg","text":"TemporaryFile(/tmp/multipartBody2350817155647190515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173423546,"filename":"image_03112025_08_07_13_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/3/73fef8e06882ed2f1be6b83943b78ecc.jpg","text":"TemporaryFile(/tmp/multipartBody3790895622033589881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173423546,"filename":"image_03112025_08_07_10_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/3/bda2a426b6a59af9ab7dc6859210fede.jpg","text":"TemporaryFile(/tmp/multipartBody2335568181235426072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173423546,"filename":"image_03112025_08_06_58_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/3/ead86a645cff95f9bc1cdc0d94401cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1814812377788927005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173423546,"filename":"image_03112025_08_07_04_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/3/da32f4895fc8c6c57fe1982d01886759.jpg","text":"TemporaryFile(/tmp/multipartBody16145394009921123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173423546,"filename":"image_03112025_08_07_01_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047480","file1":"1392047477","file0":"1392047457","file4":"1392047514","file5":"1392047518","file3":"1392047494"},"map_files_photo_id_array":[{"photo_id":"1392047518","filename":"file5"},{"photo_id":"1392047480","filename":"file2"},{"photo_id":"1392047514","filename":"file4"},{"photo_id":"1392047477","filename":"file1"},{"photo_id":"1392047457","filename":"file0"},{"photo_id":"1392047494","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047494":["hashtag1","hashtag2"]},{"1392047518":["hashtag1","hashtag2"]},{"1392047514":["hashtag1","hashtag2"]},{"1392047457":["hashtag1","hashtag2"]},{"1392047480":["hashtag1","hashtag2"]},{"1392047477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047494, 1392047518, 1392047514, 1392047457, 1392047480, 1392047477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.251521825790405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:36:42.450240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_16_2718.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_19_2657.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_21_2719.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_25_3702.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_28_2711.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_30_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_16_2718.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_19_2657.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_21_2719.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_25_3702.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_28_2711.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_30_2642.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":["1392047546","1392047549","1392047572","1392047551","1392047561","1392047555"],"photo_ids_order":["1392047546","1392047549","1392047551","1392047555","1392047561","1392047572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40ba26bdd1795a7005ac4808107aeead.jpg","text":"TemporaryFile(/tmp/multipartBody4946296542738545056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173463193,"filename":"image_03112025_08_07_16_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/3/3f8615514c407564fd34c29ef48db7e5.jpg","text":"TemporaryFile(/tmp/multipartBody5906294522871486590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173463193,"filename":"image_03112025_08_07_19_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/3/54e0b0d8089c5acd7111066ba9031e8a.jpg","text":"TemporaryFile(/tmp/multipartBody106722274368101152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173463193,"filename":"image_03112025_08_07_30_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/3/b06d4943600cd64a29fe3f6c2e1f4ad0.jpg","text":"TemporaryFile(/tmp/multipartBody6914450527359121557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173463193,"filename":"image_03112025_08_07_21_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/3/591e4f61f9cb8a16182af982aaaeba5f.jpg","text":"TemporaryFile(/tmp/multipartBody646977839254514546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173463193,"filename":"image_03112025_08_07_28_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2ae0357e7c8891739443bc20f5e7e54e.jpg","text":"TemporaryFile(/tmp/multipartBody3277988361375420907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173463193,"filename":"image_03112025_08_07_25_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047551","file1":"1392047549","file0":"1392047546","file4":"1392047561","file5":"1392047572","file3":"1392047555"},"map_files_photo_id_array":[{"photo_id":"1392047572","filename":"file5"},{"photo_id":"1392047551","filename":"file2"},{"photo_id":"1392047561","filename":"file4"},{"photo_id":"1392047549","filename":"file1"},{"photo_id":"1392047546","filename":"file0"},{"photo_id":"1392047555","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047546":["hashtag1","hashtag2"]},{"1392047549":["hashtag1","hashtag2"]},{"1392047572":["hashtag1","hashtag2"]},{"1392047551":["hashtag1","hashtag2"]},{"1392047561":["hashtag1","hashtag2"]},{"1392047555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047546, 1392047549, 1392047572, 1392047551, 1392047561, 1392047555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.50525999069214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:37:42.638817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_34_3558.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_37_2662.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_40_3593.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_45_5125.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_47_1495.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_49_1847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_34_3558.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_37_2662.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_40_3593.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_45_5125.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_47_1495.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_49_1847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047819","1392047704","1392047772","1392047811","1392047727","1392047829"],"photo_ids_order":["1392047704","1392047727","1392047772","1392047811","1392047819","1392047829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a7aa4f3bdaf13c5348b4d495776ddb25.jpg","text":"TemporaryFile(/tmp/multipartBody8527917030405673970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173529542,"filename":"image_03112025_08_07_47_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/3/c841947d4488138fab55e659d5ee99dc.jpg","text":"TemporaryFile(/tmp/multipartBody4365578028999215264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173529542,"filename":"image_03112025_08_07_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/3/b158fa1f30fea70567c7cf30d74d7c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6186597045108749742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173529542,"filename":"image_03112025_08_07_40_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a180a869e47339b0b6252ce915707a79.jpg","text":"TemporaryFile(/tmp/multipartBody8614340131636900362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173529542,"filename":"image_03112025_08_07_45_5125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/31bc64f338fa01cfb53e9f2cae2d7526.jpg","text":"TemporaryFile(/tmp/multipartBody921595170087920886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173529542,"filename":"image_03112025_08_07_37_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/3/0d93ef0036936e0610426cc3f31e19bc.jpg","text":"TemporaryFile(/tmp/multipartBody7453277565463097665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173529542,"filename":"image_03112025_08_07_49_1847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047772","file1":"1392047727","file0":"1392047704","file4":"1392047819","file5":"1392047829","file3":"1392047811"},"map_files_photo_id_array":[{"photo_id":"1392047829","filename":"file5"},{"photo_id":"1392047772","filename":"file2"},{"photo_id":"1392047819","filename":"file4"},{"photo_id":"1392047727","filename":"file1"},{"photo_id":"1392047704","filename":"file0"},{"photo_id":"1392047811","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047819":["hashtag1","hashtag2"]},{"1392047704":["hashtag1","hashtag2"]},{"1392047772":["hashtag1","hashtag2"]},{"1392047811":["hashtag1","hashtag2"]},{"1392047727":["hashtag1","hashtag2"]},{"1392047829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047819, 1392047704, 1392047772, 1392047811, 1392047727, 1392047829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86205053329468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:38:41.999947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_51_2645.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_55_3604.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_58_2773.jpg', '/home/pi/Desktop/images/03112025/08/07/image_03112025_08_08_00_2559.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_04_3792.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_07_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_51_2645.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_55_3604.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_58_2773.jpg
/home/pi/Desktop/images/03112025/08/07/image_03112025_08_08_00_2559.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_04_3792.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_07_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392047948","1392047992","1392047976","1392047981","1392047999","1392047972"],"photo_ids_order":["1392047948","1392047972","1392047976","1392047981","1392047992","1392047999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5a96707bfd8320c150e6da0840e754b.jpg","text":"TemporaryFile(/tmp/multipartBody1239075152453407173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173582772,"filename":"image_03112025_08_07_51_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/3/fbd8994a9cd9cbcade2850f145cd8549.jpg","text":"TemporaryFile(/tmp/multipartBody7823297098600297795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173582772,"filename":"image_03112025_08_08_04_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/3/86e1f00a1c510af6f7c3a8c130870bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8948154256925336880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173582772,"filename":"image_03112025_08_07_58_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/886e6cc9771045935b3b9cb8a4ae786d.jpg","text":"TemporaryFile(/tmp/multipartBody4501720631083393135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173582772,"filename":"image_03112025_08_08_00_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/3/81853888a5f2d5db28003afb97e44d02.jpg","text":"TemporaryFile(/tmp/multipartBody8131209595950475749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173582772,"filename":"image_03112025_08_08_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/3/564fe9108986371da2311a63e06f2f7e.jpg","text":"TemporaryFile(/tmp/multipartBody1806800930205389298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173582772,"filename":"image_03112025_08_07_55_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392047976","file1":"1392047972","file0":"1392047948","file4":"1392047992","file5":"1392047999","file3":"1392047981"},"map_files_photo_id_array":[{"photo_id":"1392047999","filename":"file5"},{"photo_id":"1392047976","filename":"file2"},{"photo_id":"1392047992","filename":"file4"},{"photo_id":"1392047972","filename":"file1"},{"photo_id":"1392047948","filename":"file0"},{"photo_id":"1392047981","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392047948":["hashtag1","hashtag2"]},{"1392047992":["hashtag1","hashtag2"]},{"1392047976":["hashtag1","hashtag2"]},{"1392047981":["hashtag1","hashtag2"]},{"1392047999":["hashtag1","hashtag2"]},{"1392047972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392047948, 1392047992, 1392047976, 1392047981, 1392047999, 1392047972)","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 = 1392047976 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/08/07/image_03112025_08_07_58_2773.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.28524875640869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:39:45.747950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_09_2659.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_13_3701.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_16_2664.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_19_2733.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_22_3621.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_25_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_09_2659.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_13_3701.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_16_2664.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_19_2733.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_22_3621.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_25_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":["1392048116","1392048079","1392048052","1392048112","1392048087","1392048105"],"photo_ids_order":["1392048052","1392048079","1392048087","1392048105","1392048112","1392048116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e86258cbbde25ab30d9d426b0fabaad.jpg","text":"TemporaryFile(/tmp/multipartBody1104793803818629637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173648764,"filename":"image_03112025_08_08_25_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/3/cbebe2c28b0053c4d007d27ba9a232d1.jpg","text":"TemporaryFile(/tmp/multipartBody5104847782211662319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173648764,"filename":"image_03112025_08_08_13_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/3/a6a48f77bfb05ef78423071bb7fafbfd.jpg","text":"TemporaryFile(/tmp/multipartBody871237143738634718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173648764,"filename":"image_03112025_08_08_09_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/3/f92949b92661e85869363dadda56e0ff.jpg","text":"TemporaryFile(/tmp/multipartBody794173429855511986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173648764,"filename":"image_03112025_08_08_22_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/3/2b2406fadb280f27eca0f3a151005203.jpg","text":"TemporaryFile(/tmp/multipartBody4828726619992995996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173648764,"filename":"image_03112025_08_08_16_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/3/f8a4394ca101360b1b321938a0bec451.jpg","text":"TemporaryFile(/tmp/multipartBody4531433427781195103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173648764,"filename":"image_03112025_08_08_19_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392048087","file1":"1392048079","file0":"1392048052","file4":"1392048112","file5":"1392048116","file3":"1392048105"},"map_files_photo_id_array":[{"photo_id":"1392048116","filename":"file5"},{"photo_id":"1392048087","filename":"file2"},{"photo_id":"1392048112","filename":"file4"},{"photo_id":"1392048079","filename":"file1"},{"photo_id":"1392048052","filename":"file0"},{"photo_id":"1392048105","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392048116":["hashtag1","hashtag2"]},{"1392048079":["hashtag1","hashtag2"]},{"1392048052":["hashtag1","hashtag2"]},{"1392048112":["hashtag1","hashtag2"]},{"1392048087":["hashtag1","hashtag2"]},{"1392048105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392048116, 1392048079, 1392048052, 1392048112, 1392048087, 1392048105)","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 = 1392048087 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_16_2664.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 69.62890219688416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:41:02.763104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_27_2553.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_31_3684.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_34_2546.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_36_2621.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_40_3567.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_42_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_27_2553.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_31_3684.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_34_2546.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_36_2621.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_40_3567.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_42_2529.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":["1392048199","1392048187","1392048195","1392048183","1392048202","1392048191"],"photo_ids_order":["1392048183","1392048187","1392048191","1392048195","1392048199","1392048202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/79dbe92f2a0fbb11436de8a78fb15233.jpg","text":"TemporaryFile(/tmp/multipartBody3007249484003526008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173723610,"filename":"image_03112025_08_08_40_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/3/3e4c2dfba40856f72479b6a0909d3d42.jpg","text":"TemporaryFile(/tmp/multipartBody813274942797328050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173723610,"filename":"image_03112025_08_08_31_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/3/a832f472eccca69b37cf09c44450476a.jpg","text":"TemporaryFile(/tmp/multipartBody8433140942532145956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173723610,"filename":"image_03112025_08_08_36_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/3/569dd4cec80a2fd3a6827d6e866536b1.jpg","text":"TemporaryFile(/tmp/multipartBody1119295794841729058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173723610,"filename":"image_03112025_08_08_27_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/3/cc2c9f5d2887ecf02b8d91b27c64a471.jpg","text":"TemporaryFile(/tmp/multipartBody8577141039766716424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173723610,"filename":"image_03112025_08_08_42_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/3/8f7640d1677e2d4a4666ee28c7e19131.jpg","text":"TemporaryFile(/tmp/multipartBody3906452247176885649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173723610,"filename":"image_03112025_08_08_34_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392048191","file1":"1392048187","file0":"1392048183","file4":"1392048199","file5":"1392048202","file3":"1392048195"},"map_files_photo_id_array":[{"photo_id":"1392048202","filename":"file5"},{"photo_id":"1392048191","filename":"file2"},{"photo_id":"1392048199","filename":"file4"},{"photo_id":"1392048187","filename":"file1"},{"photo_id":"1392048183","filename":"file0"},{"photo_id":"1392048195","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392048199":["hashtag1","hashtag2"]},{"1392048187":["hashtag1","hashtag2"]},{"1392048195":["hashtag1","hashtag2"]},{"1392048183":["hashtag1","hashtag2"]},{"1392048202":["hashtag1","hashtag2"]},{"1392048191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392048199, 1392048187, 1392048195, 1392048183, 1392048202, 1392048191)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 71.62278342247009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:42:21.846339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_46_3674.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_49_3065.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_52_2541.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_54_2700.jpg', '/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_58_3593.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_01_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_46_3674.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_49_3065.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_52_2541.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_54_2700.jpg
/home/pi/Desktop/images/03112025/08/08/image_03112025_08_08_58_3593.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_01_2856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392048283","1392048280","1392048274","1392048291","1392048288","1392048287"],"photo_ids_order":["1392048274","1392048280","1392048283","1392048287","1392048288","1392048291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/88b8bb7341bef9eb159ea1fbd9a1e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody6289022614849386074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173804650,"filename":"image_03112025_08_08_52_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/3/8c40c0065708b0a814ffbde826f918c9.jpg","text":"TemporaryFile(/tmp/multipartBody1171216379974761432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173804650,"filename":"image_03112025_08_08_49_3065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1c2ea3f7fd964d774b8d18e9b2206cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7851491183303316673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173804650,"filename":"image_03112025_08_08_46_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/3/094fe1f984470290a22100e45119bb38.jpg","text":"TemporaryFile(/tmp/multipartBody3498446765079869001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173804650,"filename":"image_03112025_08_09_01_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/3/a83db66361cd2c8834263f7fa806596f.jpg","text":"TemporaryFile(/tmp/multipartBody3894698123273451219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173804650,"filename":"image_03112025_08_08_58_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/3/f5f0629db48b6f996cabd9f8d11b9ace.jpg","text":"TemporaryFile(/tmp/multipartBody9135857542018233108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173804650,"filename":"image_03112025_08_08_54_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392048283","file1":"1392048280","file0":"1392048274","file4":"1392048288","file5":"1392048291","file3":"1392048287"},"map_files_photo_id_array":[{"photo_id":"1392048291","filename":"file5"},{"photo_id":"1392048283","filename":"file2"},{"photo_id":"1392048288","filename":"file4"},{"photo_id":"1392048280","filename":"file1"},{"photo_id":"1392048274","filename":"file0"},{"photo_id":"1392048287","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392048283":["hashtag1","hashtag2"]},{"1392048280":["hashtag1","hashtag2"]},{"1392048274":["hashtag1","hashtag2"]},{"1392048291":["hashtag1","hashtag2"]},{"1392048288":["hashtag1","hashtag2"]},{"1392048287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392048283, 1392048280, 1392048274, 1392048291, 1392048288, 1392048287)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.056644439697266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:43:42.215543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_03_2616.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_06_2823.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_10_3568.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_12_2623.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_16_3608.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_19_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_03_2616.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_06_2823.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_10_3568.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_12_2623.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_16_3608.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_19_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392048532","1392048526","1392048534","1392048528","1392048536","1392048530"],"photo_ids_order":["1392048526","1392048528","1392048530","1392048532","1392048534","1392048536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dd72112d14e663cdabf532d47de1f945.jpg","text":"TemporaryFile(/tmp/multipartBody1890645227545455346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173883906,"filename":"image_03112025_08_09_12_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/3/01b4ec79c81824d277824dfcaa497865.jpg","text":"TemporaryFile(/tmp/multipartBody1290014413054232751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173883906,"filename":"image_03112025_08_09_03_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/203a8050647683b3bea88066d61fe573.jpg","text":"TemporaryFile(/tmp/multipartBody1050855176295115494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173883906,"filename":"image_03112025_08_09_16_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/3/61d6f3af61ef47fb6fbb6be3a726289b.jpg","text":"TemporaryFile(/tmp/multipartBody2319175768877749838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173883906,"filename":"image_03112025_08_09_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/3/480c4b479550e66ab43d24dfa42b34bd.jpg","text":"TemporaryFile(/tmp/multipartBody1339773254171762755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173883906,"filename":"image_03112025_08_09_19_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d4a9a169feb7660ece9981f81bc57770.jpg","text":"TemporaryFile(/tmp/multipartBody3550314278899367637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173883906,"filename":"image_03112025_08_09_10_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392048530","file1":"1392048528","file0":"1392048526","file4":"1392048534","file5":"1392048536","file3":"1392048532"},"map_files_photo_id_array":[{"photo_id":"1392048536","filename":"file5"},{"photo_id":"1392048530","filename":"file2"},{"photo_id":"1392048534","filename":"file4"},{"photo_id":"1392048528","filename":"file1"},{"photo_id":"1392048526","filename":"file0"},{"photo_id":"1392048532","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392048532":["hashtag1","hashtag2"]},{"1392048526":["hashtag1","hashtag2"]},{"1392048534":["hashtag1","hashtag2"]},{"1392048528":["hashtag1","hashtag2"]},{"1392048536":["hashtag1","hashtag2"]},{"1392048530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392048532, 1392048526, 1392048534, 1392048528, 1392048536, 1392048530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73656606674194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:44:22.419370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_21_2744.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_25_3498.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_28_2678.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_31_3499.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_34_2734.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_36_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_21_2744.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_25_3498.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_28_2678.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_31_3499.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_34_2734.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_36_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392048580","1392048585","1392048597","1392048582","1392048590","1392048593"],"photo_ids_order":["1392048580","1392048582","1392048585","1392048590","1392048593","1392048597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3019e28acaba4777420ad0727b2d31de.jpg","text":"TemporaryFile(/tmp/multipartBody2957283044143045412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173953099,"filename":"image_03112025_08_09_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/3/6744984cec8d66cde258547a6a8ad2cb.jpg","text":"TemporaryFile(/tmp/multipartBody4271167138669321742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173953099,"filename":"image_03112025_08_09_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/3/018dd6196cee7004f2169721bb3bb655.jpg","text":"TemporaryFile(/tmp/multipartBody6586987520984712282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173953099,"filename":"image_03112025_08_09_36_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/20856c9d71e74eebaa98e513d491eddd.jpg","text":"TemporaryFile(/tmp/multipartBody2327959864570678844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173953099,"filename":"image_03112025_08_09_25_3498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cb031b9f459c5f001ba94d781dc8202e.jpg","text":"TemporaryFile(/tmp/multipartBody2975608900522867453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173953099,"filename":"image_03112025_08_09_31_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2e0ae3790ba133a335cc3c129aab7191.jpg","text":"TemporaryFile(/tmp/multipartBody6963712202935035816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762173953099,"filename":"image_03112025_08_09_34_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392048585","file1":"1392048582","file0":"1392048580","file4":"1392048593","file5":"1392048597","file3":"1392048590"},"map_files_photo_id_array":[{"photo_id":"1392048597","filename":"file5"},{"photo_id":"1392048585","filename":"file2"},{"photo_id":"1392048593","filename":"file4"},{"photo_id":"1392048582","filename":"file1"},{"photo_id":"1392048580","filename":"file0"},{"photo_id":"1392048590","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392048580":["hashtag1","hashtag2"]},{"1392048585":["hashtag1","hashtag2"]},{"1392048597":["hashtag1","hashtag2"]},{"1392048582":["hashtag1","hashtag2"]},{"1392048590":["hashtag1","hashtag2"]},{"1392048593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392048580, 1392048585, 1392048597, 1392048582, 1392048590, 1392048593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.82061171531677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:45:42.797208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_40_3625.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_43_2590.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_45_2584.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_48_3173.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_52_3639.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_55_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_40_3625.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_43_2590.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_45_2584.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_48_3173.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_52_3639.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_55_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392048640","1392048675","1392048660","1392048650","1392048668","1392048629"],"photo_ids_order":["1392048629","1392048640","1392048650","1392048660","1392048668","1392048675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f13ba0f3803bc3491f9ccd8b73805ab1.jpg","text":"TemporaryFile(/tmp/multipartBody2846383606018870198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174003564,"filename":"image_03112025_08_09_43_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6dd72a50c1b7ae27a344f91f332d41af.jpg","text":"TemporaryFile(/tmp/multipartBody2697104744381911590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174003564,"filename":"image_03112025_08_09_55_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fae00e13b2842a47e9d49a3e2c48cfad.jpg","text":"TemporaryFile(/tmp/multipartBody1753055992135665522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174003564,"filename":"image_03112025_08_09_48_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/3/b7eaa762ba79d490d27a20c79a22a7f9.jpg","text":"TemporaryFile(/tmp/multipartBody1703014311101733700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174003564,"filename":"image_03112025_08_09_45_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/74c3d480ee003d7be4f197f54f457767.jpg","text":"TemporaryFile(/tmp/multipartBody6709050718878052225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174003564,"filename":"image_03112025_08_09_52_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/3/fc9258f20ea924c126a53d9a05e581c5.jpg","text":"TemporaryFile(/tmp/multipartBody6502532444385911915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174003564,"filename":"image_03112025_08_09_40_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392048650","file1":"1392048640","file0":"1392048629","file4":"1392048668","file5":"1392048675","file3":"1392048660"},"map_files_photo_id_array":[{"photo_id":"1392048675","filename":"file5"},{"photo_id":"1392048650","filename":"file2"},{"photo_id":"1392048668","filename":"file4"},{"photo_id":"1392048640","filename":"file1"},{"photo_id":"1392048629","filename":"file0"},{"photo_id":"1392048660","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392048640":["hashtag1","hashtag2"]},{"1392048675":["hashtag1","hashtag2"]},{"1392048660":["hashtag1","hashtag2"]},{"1392048650":["hashtag1","hashtag2"]},{"1392048668":["hashtag1","hashtag2"]},{"1392048629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392048640, 1392048675, 1392048660, 1392048650, 1392048668, 1392048629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.988370180130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:46:22.075838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_57_2542.jpg', '/home/pi/Desktop/images/03112025/08/09/image_03112025_08_10_01_3601.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_04_2577.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_07_3303.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_10_3028.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_12_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_09_57_2542.jpg
/home/pi/Desktop/images/03112025/08/09/image_03112025_08_10_01_3601.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_04_2577.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_07_3303.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_10_3028.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_12_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392048715","1392048709","1392048718","1392048711","1392048705","1392048714"],"photo_ids_order":["1392048705","1392048709","1392048711","1392048714","1392048715","1392048718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/85c8dfa397adbf5c779ebdba46a4883c.jpg","text":"TemporaryFile(/tmp/multipartBody8216776098263723320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174042834,"filename":"image_03112025_08_10_10_3028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d7c8d6ecabc37b84da951f01df4ebae.jpg","text":"TemporaryFile(/tmp/multipartBody6082652655799975518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174042834,"filename":"image_03112025_08_10_01_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/3/f709c6359cc90b9677a2aa49cc5a4ce0.jpg","text":"TemporaryFile(/tmp/multipartBody2014931011433481262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174042834,"filename":"image_03112025_08_10_12_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/3/e17f4cd192e55cfbc67b091bf00c32ff.jpg","text":"TemporaryFile(/tmp/multipartBody8663379863188002925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174042834,"filename":"image_03112025_08_10_04_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/3/cf529491eeefe95a42d24f6843f01a75.jpg","text":"TemporaryFile(/tmp/multipartBody5237172891473728616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174042834,"filename":"image_03112025_08_09_57_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/3/23cf04598acd6fa234ac68be4bf68d44.jpg","text":"TemporaryFile(/tmp/multipartBody4659222681424875238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174042834,"filename":"image_03112025_08_10_07_3303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392048711","file1":"1392048709","file0":"1392048705","file4":"1392048715","file5":"1392048718","file3":"1392048714"},"map_files_photo_id_array":[{"photo_id":"1392048718","filename":"file5"},{"photo_id":"1392048711","filename":"file2"},{"photo_id":"1392048715","filename":"file4"},{"photo_id":"1392048709","filename":"file1"},{"photo_id":"1392048705","filename":"file0"},{"photo_id":"1392048714","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392048715":["hashtag1","hashtag2"]},{"1392048709":["hashtag1","hashtag2"]},{"1392048718":["hashtag1","hashtag2"]},{"1392048711":["hashtag1","hashtag2"]},{"1392048705":["hashtag1","hashtag2"]},{"1392048714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392048715, 1392048709, 1392048718, 1392048711, 1392048705, 1392048714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42530083656311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:47:02.948136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_15_2697.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_19_3751.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_21_2556.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_26_4202.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_27_1551.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_31_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_15_2697.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_19_3751.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_21_2556.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_26_4202.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_27_1551.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_31_3736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392048769","1392048742","1392048811","1392048846","1392048839","1392048746"],"photo_ids_order":["1392048742","1392048746","1392048769","1392048811","1392048839","1392048846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3c8be5470bc3f13946207e3d37559f8.jpg","text":"TemporaryFile(/tmp/multipartBody5544248934471549105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174085535,"filename":"image_03112025_08_10_21_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/3/da2d9c66ab26ac30da0a031c95f44650.jpg","text":"TemporaryFile(/tmp/multipartBody1787196079516783317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174085535,"filename":"image_03112025_08_10_15_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/3/5bec27b5185ad598dee7b34078f59ffc.jpg","text":"TemporaryFile(/tmp/multipartBody3142865237080555771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174085535,"filename":"image_03112025_08_10_26_4202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b863af373ab2acbdfc5a2eb02288b3fc.jpg","text":"TemporaryFile(/tmp/multipartBody1557961046807672556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174085535,"filename":"image_03112025_08_10_31_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/3/592cced16f12d78f0aae2a07ec8efff9.jpg","text":"TemporaryFile(/tmp/multipartBody6086285438401545513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174085535,"filename":"image_03112025_08_10_27_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/3/5d239881b3a3875b44a76bc056d0aec5.jpg","text":"TemporaryFile(/tmp/multipartBody4183698407130298777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174085535,"filename":"image_03112025_08_10_19_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392048769","file1":"1392048746","file0":"1392048742","file4":"1392048839","file5":"1392048846","file3":"1392048811"},"map_files_photo_id_array":[{"photo_id":"1392048846","filename":"file5"},{"photo_id":"1392048769","filename":"file2"},{"photo_id":"1392048839","filename":"file4"},{"photo_id":"1392048746","filename":"file1"},{"photo_id":"1392048742","filename":"file0"},{"photo_id":"1392048811","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392048769":["hashtag1","hashtag2"]},{"1392048742":["hashtag1","hashtag2"]},{"1392048811":["hashtag1","hashtag2"]},{"1392048846":["hashtag1","hashtag2"]},{"1392048839":["hashtag1","hashtag2"]},{"1392048746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392048769, 1392048742, 1392048811, 1392048846, 1392048839, 1392048746)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.35253691673279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:48:02.818469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_33_2535.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_36_2654.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_40_3667.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_42_2656.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_45_2537.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_49_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_33_2535.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_36_2654.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_40_3667.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_42_2656.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_45_2537.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_49_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392048931","1392048984","1392048927","1392049022","1392048947","1392048935"],"photo_ids_order":["1392048927","1392048931","1392048935","1392048947","1392048984","1392049022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a53d0aa3979d263e6946ae787ab3d039.jpg","text":"TemporaryFile(/tmp/multipartBody8048064414534202822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174146110,"filename":"image_03112025_08_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/3/bb84a1ab492de0f63347c8907a61f414.jpg","text":"TemporaryFile(/tmp/multipartBody2855392649063868726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174146110,"filename":"image_03112025_08_10_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/3/ba25292ff2cb12610e8ffc7d0842f8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8844683553919128062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174146110,"filename":"image_03112025_08_10_33_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/3/39f17d3e156d3d521dd603c1c129bb5e.jpg","text":"TemporaryFile(/tmp/multipartBody8792678272433681516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174146110,"filename":"image_03112025_08_10_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/3/a7a01a84f962989a9e3df536924fdfb9.jpg","text":"TemporaryFile(/tmp/multipartBody5631271396046671374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174146110,"filename":"image_03112025_08_10_42_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/3/9f291a460ebdaab6db81044a1ec3c30d.jpg","text":"TemporaryFile(/tmp/multipartBody7965864482846067091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174146110,"filename":"image_03112025_08_10_40_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392048935","file1":"1392048931","file0":"1392048927","file4":"1392048984","file5":"1392049022","file3":"1392048947"},"map_files_photo_id_array":[{"photo_id":"1392049022","filename":"file5"},{"photo_id":"1392048935","filename":"file2"},{"photo_id":"1392048984","filename":"file4"},{"photo_id":"1392048931","filename":"file1"},{"photo_id":"1392048927","filename":"file0"},{"photo_id":"1392048947","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392048931":["hashtag1","hashtag2"]},{"1392048984":["hashtag1","hashtag2"]},{"1392048927":["hashtag1","hashtag2"]},{"1392049022":["hashtag1","hashtag2"]},{"1392048947":["hashtag1","hashtag2"]},{"1392048935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392048931, 1392048984, 1392048927, 1392049022, 1392048947, 1392048935)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.40566372871399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:49:04.125952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_51_2632.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_55_3593.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_57_2527.jpg', '/home/pi/Desktop/images/03112025/08/10/image_03112025_08_11_00_2614.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_04_3642.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_06_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_51_2632.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_55_3593.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_10_57_2527.jpg
/home/pi/Desktop/images/03112025/08/10/image_03112025_08_11_00_2614.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_04_3642.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_06_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":["1392049132","1392049138","1392049143","1392049140","1392049148","1392049136"],"photo_ids_order":["1392049132","1392049136","1392049138","1392049140","1392049143","1392049148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/275a99a5cbb784fe6991da48bc3532f4.jpg","text":"TemporaryFile(/tmp/multipartBody5138983909517313044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174205462,"filename":"image_03112025_08_10_51_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/3/924293e8cf87fbd194203c9fe5ec27ca.jpg","text":"TemporaryFile(/tmp/multipartBody2596126493786639088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174205462,"filename":"image_03112025_08_10_57_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/3/100e92f1be9bba412c8cf8c3a34e7815.jpg","text":"TemporaryFile(/tmp/multipartBody8672362111165121394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174205462,"filename":"image_03112025_08_11_04_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/704479f1249e67f98c6934ce6f6c8ea4.jpg","text":"TemporaryFile(/tmp/multipartBody6518826068621187380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174205462,"filename":"image_03112025_08_11_00_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/3/16e9da0903e1d649cd81e32e6e251b92.jpg","text":"TemporaryFile(/tmp/multipartBody7238181714975447366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174205462,"filename":"image_03112025_08_11_06_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3717a21c4720f2cc1ad9f57f5ffb0bce.jpg","text":"TemporaryFile(/tmp/multipartBody7378925521226984168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174205462,"filename":"image_03112025_08_10_55_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049138","file1":"1392049136","file0":"1392049132","file4":"1392049143","file5":"1392049148","file3":"1392049140"},"map_files_photo_id_array":[{"photo_id":"1392049148","filename":"file5"},{"photo_id":"1392049138","filename":"file2"},{"photo_id":"1392049143","filename":"file4"},{"photo_id":"1392049136","filename":"file1"},{"photo_id":"1392049132","filename":"file0"},{"photo_id":"1392049140","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049132":["hashtag1","hashtag2"]},{"1392049138":["hashtag1","hashtag2"]},{"1392049143":["hashtag1","hashtag2"]},{"1392049140":["hashtag1","hashtag2"]},{"1392049148":["hashtag1","hashtag2"]},{"1392049136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049132, 1392049138, 1392049143, 1392049140, 1392049148, 1392049136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69392681121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:50:02.302179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 13:50:25.297253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 13:50:41.973475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_10_3531.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_12_2573.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_15_2723.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_19_3622.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_21_2570.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_24_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_10_3531.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_12_2573.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_15_2723.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_19_3622.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_21_2570.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_24_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392049201","1392049215","1392049199","1392049211","1392049205","1392049208"],"photo_ids_order":["1392049199","1392049201","1392049205","1392049208","1392049211","1392049215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c7c044738199b68340af6fb54511dd8d.jpg","text":"TemporaryFile(/tmp/multipartBody4237322169399464940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174302728,"filename":"image_03112025_08_11_12_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/3/a2b53c9ae890707d53cf5117a641c4bd.jpg","text":"TemporaryFile(/tmp/multipartBody2926032288985981318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174302728,"filename":"image_03112025_08_11_24_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/3/6413eac8d706d43fc86ed81199b06d53.jpg","text":"TemporaryFile(/tmp/multipartBody6644828849834156865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174302728,"filename":"image_03112025_08_11_10_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/3/c4c3f32b068100db51fd2f718ac0197a.jpg","text":"TemporaryFile(/tmp/multipartBody4038281507684230074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174302728,"filename":"image_03112025_08_11_21_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/3/237bcb2dec2f8245bb50dd9142caba51.jpg","text":"TemporaryFile(/tmp/multipartBody6349514763165824698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174302728,"filename":"image_03112025_08_11_15_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/3/f81312e9f8c2a26d2e1d6958d4f03158.jpg","text":"TemporaryFile(/tmp/multipartBody5102199132022902053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174302728,"filename":"image_03112025_08_11_19_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049205","file1":"1392049201","file0":"1392049199","file4":"1392049211","file5":"1392049215","file3":"1392049208"},"map_files_photo_id_array":[{"photo_id":"1392049215","filename":"file5"},{"photo_id":"1392049205","filename":"file2"},{"photo_id":"1392049211","filename":"file4"},{"photo_id":"1392049201","filename":"file1"},{"photo_id":"1392049199","filename":"file0"},{"photo_id":"1392049208","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049201":["hashtag1","hashtag2"]},{"1392049215":["hashtag1","hashtag2"]},{"1392049199":["hashtag1","hashtag2"]},{"1392049211":["hashtag1","hashtag2"]},{"1392049205":["hashtag1","hashtag2"]},{"1392049208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049201, 1392049215, 1392049199, 1392049211, 1392049205, 1392049208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46685290336609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:51:22.074182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_28_3684.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_30_2729.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_33_2758.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_36_2877.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_40_3589.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_42_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_28_3684.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_30_2729.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_33_2758.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_36_2877.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_40_3589.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_42_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392049231","1392049260","1392049233","1392049253","1392049256","1392049226"],"photo_ids_order":["1392049226","1392049231","1392049233","1392049253","1392049256","1392049260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c9b740c61e927d345f5ae50bcb3473b0.jpg","text":"TemporaryFile(/tmp/multipartBody3306191167840826041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174342846,"filename":"image_03112025_08_11_30_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/49e94103dd60ea02d8559c1e53e02299.jpg","text":"TemporaryFile(/tmp/multipartBody5826465916354717122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174342846,"filename":"image_03112025_08_11_42_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/3/562ba9762ab28a6d29472925ef4d8931.jpg","text":"TemporaryFile(/tmp/multipartBody8832378315414568254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174342846,"filename":"image_03112025_08_11_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/3/0bc88f4a381b6164fb139becdc50a23a.jpg","text":"TemporaryFile(/tmp/multipartBody3472483761202937076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174342846,"filename":"image_03112025_08_11_36_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/3/c29931afcf2cf940313e972bc48e95a5.jpg","text":"TemporaryFile(/tmp/multipartBody1540528320967997404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174342846,"filename":"image_03112025_08_11_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/3/d6191d0e30c735abb7b188edeb9e8d9a.jpg","text":"TemporaryFile(/tmp/multipartBody3618152170340187642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174342846,"filename":"image_03112025_08_11_28_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049233","file1":"1392049231","file0":"1392049226","file4":"1392049256","file5":"1392049260","file3":"1392049253"},"map_files_photo_id_array":[{"photo_id":"1392049260","filename":"file5"},{"photo_id":"1392049233","filename":"file2"},{"photo_id":"1392049256","filename":"file4"},{"photo_id":"1392049231","filename":"file1"},{"photo_id":"1392049226","filename":"file0"},{"photo_id":"1392049253","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049231":["hashtag1","hashtag2"]},{"1392049260":["hashtag1","hashtag2"]},{"1392049233":["hashtag1","hashtag2"]},{"1392049253":["hashtag1","hashtag2"]},{"1392049256":["hashtag1","hashtag2"]},{"1392049226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049231, 1392049260, 1392049233, 1392049253, 1392049256, 1392049226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45354390144348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:52:02.779254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_45_2700.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_49_3830.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_52_2900.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_54_2564.jpg', '/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_58_3657.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_01_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_45_2700.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_49_3830.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_52_2900.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_54_2564.jpg
/home/pi/Desktop/images/03112025/08/11/image_03112025_08_11_58_3657.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_01_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392049300","1392049272","1392049311","1392049283","1392049292","1392049295"],"photo_ids_order":["1392049272","1392049283","1392049292","1392049295","1392049300","1392049311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01c397ea074153a498eabd87adcd46d3.jpg","text":"TemporaryFile(/tmp/multipartBody2708823311393570670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174383608,"filename":"image_03112025_08_11_58_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/3/5efa422757116a15365072394832c531.jpg","text":"TemporaryFile(/tmp/multipartBody800258080130235416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174383608,"filename":"image_03112025_08_11_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/3/671206bda77663dd912c62f2c65e1692.jpg","text":"TemporaryFile(/tmp/multipartBody7089645334032246603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174383608,"filename":"image_03112025_08_12_01_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1822998f172a529fb22f8cd34ec565aa.jpg","text":"TemporaryFile(/tmp/multipartBody1513734051575312797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174383608,"filename":"image_03112025_08_11_49_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/3/cdd8216eb2af96f4848f80b5b62df4f6.jpg","text":"TemporaryFile(/tmp/multipartBody7878459484245707574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174383608,"filename":"image_03112025_08_11_52_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/3/0476cc9ce36b30c82970c46f23589080.jpg","text":"TemporaryFile(/tmp/multipartBody4966091960397198171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174383608,"filename":"image_03112025_08_11_54_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049292","file1":"1392049283","file0":"1392049272","file4":"1392049300","file5":"1392049311","file3":"1392049295"},"map_files_photo_id_array":[{"photo_id":"1392049311","filename":"file5"},{"photo_id":"1392049292","filename":"file2"},{"photo_id":"1392049300","filename":"file4"},{"photo_id":"1392049283","filename":"file1"},{"photo_id":"1392049272","filename":"file0"},{"photo_id":"1392049295","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049300":["hashtag1","hashtag2"]},{"1392049272":["hashtag1","hashtag2"]},{"1392049311":["hashtag1","hashtag2"]},{"1392049283":["hashtag1","hashtag2"]},{"1392049292":["hashtag1","hashtag2"]},{"1392049295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049300, 1392049272, 1392049311, 1392049283, 1392049292, 1392049295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.262781620025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 13:52:42.416047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_03_2798.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_06_2712.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_10_3602.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_12_2733.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_15_2552.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_18_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_03_2798.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_06_2712.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_10_3602.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_12_2733.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_15_2552.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_18_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392049372","1392049379","1392049364","1392049367","1392049375","1392049369"],"photo_ids_order":["1392049364","1392049367","1392049369","1392049372","1392049375","1392049379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f6f2c57023a8b55ca4ccce535028ce0b.jpg","text":"TemporaryFile(/tmp/multipartBody8698560321522561531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174423230,"filename":"image_03112025_08_12_12_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/3/bb87940cb8f1496d1ab1620bc248bf8b.jpg","text":"TemporaryFile(/tmp/multipartBody6575805634729138000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174423230,"filename":"image_03112025_08_12_18_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/3/e8f62922d2113af38852d430c7330b07.jpg","text":"TemporaryFile(/tmp/multipartBody7824878965362656412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174423230,"filename":"image_03112025_08_12_03_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/3/a8a1176cd494cc429ed5b3e935f61d73.jpg","text":"TemporaryFile(/tmp/multipartBody4826871460553803258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174423230,"filename":"image_03112025_08_12_06_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b145b0f373e24f792792884e6d72eb96.jpg","text":"TemporaryFile(/tmp/multipartBody4354133883443219346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174423230,"filename":"image_03112025_08_12_15_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/3/34ea6f6db12b77864bf86a92e1ea7303.jpg","text":"TemporaryFile(/tmp/multipartBody3393239998448100622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174423230,"filename":"image_03112025_08_12_10_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049369","file1":"1392049367","file0":"1392049364","file4":"1392049375","file5":"1392049379","file3":"1392049372"},"map_files_photo_id_array":[{"photo_id":"1392049379","filename":"file5"},{"photo_id":"1392049369","filename":"file2"},{"photo_id":"1392049375","filename":"file4"},{"photo_id":"1392049367","filename":"file1"},{"photo_id":"1392049364","filename":"file0"},{"photo_id":"1392049372","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049372":["hashtag1","hashtag2"]},{"1392049379":["hashtag1","hashtag2"]},{"1392049364":["hashtag1","hashtag2"]},{"1392049367":["hashtag1","hashtag2"]},{"1392049375":["hashtag1","hashtag2"]},{"1392049369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049372, 1392049379, 1392049364, 1392049367, 1392049375, 1392049369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17233633995056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:53:22.560216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_21_2765.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_24_2876.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_28_3698.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_30_2650.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_33_2771.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_36_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_21_2765.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_24_2876.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_28_3698.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_30_2650.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_33_2771.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_36_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392049408","1392049417","1392049402","1392049405","1392049410","1392049397"],"photo_ids_order":["1392049397","1392049402","1392049405","1392049408","1392049410","1392049417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/32ddc3b165d9286001072c69ece185e4.jpg","text":"TemporaryFile(/tmp/multipartBody2199873718672320603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174463336,"filename":"image_03112025_08_12_30_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/3/f6fdf0c2608f8617e08915d6ef18a08f.jpg","text":"TemporaryFile(/tmp/multipartBody2489085408451766369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174463336,"filename":"image_03112025_08_12_36_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/3/f32268053b4d52695291675d9c8f8ce1.jpg","text":"TemporaryFile(/tmp/multipartBody5033063613685197281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174463336,"filename":"image_03112025_08_12_24_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/3/47d7baff3953ae20006ab831377b129a.jpg","text":"TemporaryFile(/tmp/multipartBody9047781430680531020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174463336,"filename":"image_03112025_08_12_28_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/3/97f1f46153d5d5a0e1c4135eb60f8b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4814393008068814225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174463336,"filename":"image_03112025_08_12_33_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/3/f11aba735c9323b76cdacbb108f86061.jpg","text":"TemporaryFile(/tmp/multipartBody5466417792513871461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174463336,"filename":"image_03112025_08_12_21_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049405","file1":"1392049402","file0":"1392049397","file4":"1392049410","file5":"1392049417","file3":"1392049408"},"map_files_photo_id_array":[{"photo_id":"1392049417","filename":"file5"},{"photo_id":"1392049405","filename":"file2"},{"photo_id":"1392049410","filename":"file4"},{"photo_id":"1392049402","filename":"file1"},{"photo_id":"1392049397","filename":"file0"},{"photo_id":"1392049408","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049408":["hashtag1","hashtag2"]},{"1392049417":["hashtag1","hashtag2"]},{"1392049402":["hashtag1","hashtag2"]},{"1392049405":["hashtag1","hashtag2"]},{"1392049410":["hashtag1","hashtag2"]},{"1392049397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049408, 1392049417, 1392049402, 1392049405, 1392049410, 1392049397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65316820144653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:54:02.465082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_39_3644.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_42_2474.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_51_2562.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_56_4746.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_57_1597.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_13_00_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_39_3644.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_42_2474.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_51_2562.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_56_4746.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_57_1597.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_13_00_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: 0.8644046783447266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:54:21.888373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_39_3644.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_42_2474.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_51_2562.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_56_4746.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_57_1597.jpg', '/home/pi/Desktop/images/03112025/08/12/image_03112025_08_13_00_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_39_3644.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_42_2474.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_51_2562.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_56_4746.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_12_57_1597.jpg
/home/pi/Desktop/images/03112025/08/12/image_03112025_08_13_00_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392049471","1392049464","1392049481","1392049474","1392049468","1392049477"],"photo_ids_order":["1392049464","1392049468","1392049471","1392049474","1392049477","1392049481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/77ed5383d96b59647628e21125c0f24e.jpg","text":"TemporaryFile(/tmp/multipartBody7794749909833219377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174522604,"filename":"image_03112025_08_12_51_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/82e7083775c38ba3b4ea332dfb1dc4d2.jpg","text":"TemporaryFile(/tmp/multipartBody4186603760403672843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174522604,"filename":"image_03112025_08_12_39_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/3/cdc94d04af4222ebee9403827bacc92b.jpg","text":"TemporaryFile(/tmp/multipartBody6147503604028035697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174522604,"filename":"image_03112025_08_13_00_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/3/4d059f359edf1c34ad9524d4e4be7a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5595632612832565805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174522604,"filename":"image_03112025_08_12_56_4746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db637c1bae0250a8b4c0f9143d2d70cb.jpg","text":"TemporaryFile(/tmp/multipartBody9019060610571422913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174522604,"filename":"image_03112025_08_12_42_2474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/89d7f6f39310e9f5ace7e355ec6cd291.jpg","text":"TemporaryFile(/tmp/multipartBody6184144851709077942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174522604,"filename":"image_03112025_08_12_57_1597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049471","file1":"1392049468","file0":"1392049464","file4":"1392049477","file5":"1392049481","file3":"1392049474"},"map_files_photo_id_array":[{"photo_id":"1392049481","filename":"file5"},{"photo_id":"1392049471","filename":"file2"},{"photo_id":"1392049477","filename":"file4"},{"photo_id":"1392049468","filename":"file1"},{"photo_id":"1392049464","filename":"file0"},{"photo_id":"1392049474","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049471":["hashtag1","hashtag2"]},{"1392049464":["hashtag1","hashtag2"]},{"1392049481":["hashtag1","hashtag2"]},{"1392049474":["hashtag1","hashtag2"]},{"1392049468":["hashtag1","hashtag2"]},{"1392049477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049471, 1392049464, 1392049481, 1392049474, 1392049468, 1392049477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.735783100128174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:55:02.896841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_03_3678.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_06_2632.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_09_2665.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_12_3555.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_15_2673.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_19_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_03_3678.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_06_2632.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_09_2665.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_12_3555.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_15_2673.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_19_3694.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7566444873809814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 13:55:22.142154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_03_3678.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_06_2632.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_09_2665.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_12_3555.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_15_2673.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_19_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_03_3678.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_06_2632.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_09_2665.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_12_3555.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_15_2673.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_19_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392049657","1392049645","1392049659","1392049647","1392049662","1392049640"],"photo_ids_order":["1392049640","1392049645","1392049647","1392049657","1392049659","1392049662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/29cf958063c960b078b4af7beb2f531d.jpg","text":"TemporaryFile(/tmp/multipartBody5307274511969551351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174582798,"filename":"image_03112025_08_13_12_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5e7bbb3850898bc582afaf510e28b086.jpg","text":"TemporaryFile(/tmp/multipartBody1735658352505971901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174582798,"filename":"image_03112025_08_13_06_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/3/aa0ed3b783c01a6820ac5041b072fa12.jpg","text":"TemporaryFile(/tmp/multipartBody1237635526540839956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174582798,"filename":"image_03112025_08_13_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/3/df7661fe972e891692291d5f46067c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3164825322986378581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174582798,"filename":"image_03112025_08_13_09_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/624c02e8ea633dd72e26ed7f74f7bd70.jpg","text":"TemporaryFile(/tmp/multipartBody3518037901111719476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174582798,"filename":"image_03112025_08_13_19_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd04f478c724eb3ba549a65ef523ab8d.jpg","text":"TemporaryFile(/tmp/multipartBody1401081875973602733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174582798,"filename":"image_03112025_08_13_03_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049647","file1":"1392049645","file0":"1392049640","file4":"1392049659","file5":"1392049662","file3":"1392049657"},"map_files_photo_id_array":[{"photo_id":"1392049662","filename":"file5"},{"photo_id":"1392049647","filename":"file2"},{"photo_id":"1392049659","filename":"file4"},{"photo_id":"1392049645","filename":"file1"},{"photo_id":"1392049640","filename":"file0"},{"photo_id":"1392049657","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049657":["hashtag1","hashtag2"]},{"1392049645":["hashtag1","hashtag2"]},{"1392049659":["hashtag1","hashtag2"]},{"1392049647":["hashtag1","hashtag2"]},{"1392049662":["hashtag1","hashtag2"]},{"1392049640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049657, 1392049645, 1392049659, 1392049647, 1392049662, 1392049640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60899114608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:56:02.658308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_21_2708.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_24_2662.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_28_3607.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_30_2639.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_33_2852.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_36_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_21_2708.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_24_2662.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_28_3607.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_30_2639.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_33_2852.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_36_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392049720","1392049744","1392049731","1392049701","1392049781","1392049760"],"photo_ids_order":["1392049701","1392049720","1392049731","1392049744","1392049760","1392049781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dedd23a8f0f4dc6de12f85476085908f.jpg","text":"TemporaryFile(/tmp/multipartBody946992123395281224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174625584,"filename":"image_03112025_08_13_24_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/3/84e60009b6c5f136a73ec08ab0c79372.jpg","text":"TemporaryFile(/tmp/multipartBody1676041739489362129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174625584,"filename":"image_03112025_08_13_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/3/297710bbe57e0ddcc3fe2681ca69fbd1.jpg","text":"TemporaryFile(/tmp/multipartBody580444253162168963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174625584,"filename":"image_03112025_08_13_28_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/3/f241fde9a9eef8cadc1412f913d5ae5d.jpg","text":"TemporaryFile(/tmp/multipartBody5354976057694865097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174625584,"filename":"image_03112025_08_13_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/3/9c3c99c15a9a1d499ed23f2d12d7d7bb.jpg","text":"TemporaryFile(/tmp/multipartBody5314068965062681897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174625584,"filename":"image_03112025_08_13_36_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b089b4cb24e0fc512b80fcb0cb6c368c.jpg","text":"TemporaryFile(/tmp/multipartBody4246905908506332143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174625584,"filename":"image_03112025_08_13_33_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049731","file1":"1392049720","file0":"1392049701","file4":"1392049760","file5":"1392049781","file3":"1392049744"},"map_files_photo_id_array":[{"photo_id":"1392049781","filename":"file5"},{"photo_id":"1392049731","filename":"file2"},{"photo_id":"1392049760","filename":"file4"},{"photo_id":"1392049720","filename":"file1"},{"photo_id":"1392049701","filename":"file0"},{"photo_id":"1392049744","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049720":["hashtag1","hashtag2"]},{"1392049744":["hashtag1","hashtag2"]},{"1392049731":["hashtag1","hashtag2"]},{"1392049701":["hashtag1","hashtag2"]},{"1392049781":["hashtag1","hashtag2"]},{"1392049760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049720, 1392049744, 1392049731, 1392049701, 1392049781, 1392049760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06421899795532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:57:03.084361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_39_3563.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_42_2593.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_46_3618.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_48_2735.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_51_2657.jpg', '/home/pi/Desktop/images/03112025/08/13/image_03112025_08_14_00_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_39_3563.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_42_2593.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_46_3618.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_48_2735.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_13_51_2657.jpg
/home/pi/Desktop/images/03112025/08/13/image_03112025_08_14_00_2634.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":["1392049816","1392049807","1392049812","1392049821","1392049803","1392049798"],"photo_ids_order":["1392049798","1392049803","1392049807","1392049812","1392049816","1392049821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1cfc771db47d6fcab30505b0d12862fe.jpg","text":"TemporaryFile(/tmp/multipartBody4462959839470835270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174683944,"filename":"image_03112025_08_13_51_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/3/fe98eb29b33e1f8ddbe3a913f6e1b5ae.jpg","text":"TemporaryFile(/tmp/multipartBody6356627141291198160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174683944,"filename":"image_03112025_08_13_46_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/365e9a4992fb22561f8d0b650828f083.jpg","text":"TemporaryFile(/tmp/multipartBody2406119668914886570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174683944,"filename":"image_03112025_08_13_48_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/3/7838961a6295d4fca58ee151138d68d3.jpg","text":"TemporaryFile(/tmp/multipartBody4310375848454558739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174683944,"filename":"image_03112025_08_14_00_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/3/c370811e080e3509c314d3cea1253e84.jpg","text":"TemporaryFile(/tmp/multipartBody7565407325883999775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174683944,"filename":"image_03112025_08_13_42_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/3/1f94489fa91ba021624ce6fcad5955af.jpg","text":"TemporaryFile(/tmp/multipartBody5152078283198467914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174683944,"filename":"image_03112025_08_13_39_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392049807","file1":"1392049803","file0":"1392049798","file4":"1392049816","file5":"1392049821","file3":"1392049812"},"map_files_photo_id_array":[{"photo_id":"1392049821","filename":"file5"},{"photo_id":"1392049807","filename":"file2"},{"photo_id":"1392049816","filename":"file4"},{"photo_id":"1392049803","filename":"file1"},{"photo_id":"1392049798","filename":"file0"},{"photo_id":"1392049812","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392049816":["hashtag1","hashtag2"]},{"1392049807":["hashtag1","hashtag2"]},{"1392049812":["hashtag1","hashtag2"]},{"1392049821":["hashtag1","hashtag2"]},{"1392049803":["hashtag1","hashtag2"]},{"1392049798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392049816, 1392049807, 1392049812, 1392049821, 1392049803, 1392049798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67678761482239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 13:59:03.551913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_03_3536.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_06_2777.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_18_3577.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_21_2706.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_24_2652.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_27_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_03_3536.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_06_2777.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_18_3577.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_21_2706.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_24_2652.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_27_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":["1392050077","1392050062","1392050088","1392050073","1392050082","1392050067"],"photo_ids_order":["1392050062","1392050067","1392050073","1392050077","1392050082","1392050088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/98b076cb34bc5b1b59a576753439e01b.jpg","text":"TemporaryFile(/tmp/multipartBody6982628894055990373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174804540,"filename":"image_03112025_08_14_21_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/3/516ceeea68134d6990e36522b3fc7e66.jpg","text":"TemporaryFile(/tmp/multipartBody7970888571550117985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174804540,"filename":"image_03112025_08_14_03_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/3/4540aff869b75def5e967dcca32c7995.jpg","text":"TemporaryFile(/tmp/multipartBody8280122388511687322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174804540,"filename":"image_03112025_08_14_27_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/3/1bc29cde2a44406dbaf1f1be6fe77c3a.jpg","text":"TemporaryFile(/tmp/multipartBody3445840473157192685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174804540,"filename":"image_03112025_08_14_18_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/3/d183ad63fab9709d17ed53a1411eba49.jpg","text":"TemporaryFile(/tmp/multipartBody6141695303913652124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174804540,"filename":"image_03112025_08_14_24_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/3/90171e4bb33abd3601adf7261f67bce7.jpg","text":"TemporaryFile(/tmp/multipartBody2770131044270624598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174804540,"filename":"image_03112025_08_14_06_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392050073","file1":"1392050067","file0":"1392050062","file4":"1392050082","file5":"1392050088","file3":"1392050077"},"map_files_photo_id_array":[{"photo_id":"1392050088","filename":"file5"},{"photo_id":"1392050073","filename":"file2"},{"photo_id":"1392050082","filename":"file4"},{"photo_id":"1392050067","filename":"file1"},{"photo_id":"1392050062","filename":"file0"},{"photo_id":"1392050077","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392050077":["hashtag1","hashtag2"]},{"1392050062":["hashtag1","hashtag2"]},{"1392050088":["hashtag1","hashtag2"]},{"1392050073":["hashtag1","hashtag2"]},{"1392050082":["hashtag1","hashtag2"]},{"1392050067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392050077, 1392050062, 1392050088, 1392050073, 1392050082, 1392050067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6652991771698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:00:02.300840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_30_2746.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_36_1516.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_45_2544.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_48_2833.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_54_3580.jpg', '/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_57_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_30_2746.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_36_1516.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_45_2544.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_48_2833.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_54_3580.jpg
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_14_57_2629.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":["1392050188","1392050179","1392050152","1392050172","1392050162","1392050144"],"photo_ids_order":["1392050144","1392050152","1392050162","1392050172","1392050179","1392050188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8bd5882a0ec16084493a6fc19c97c53e.jpg","text":"TemporaryFile(/tmp/multipartBody1823708151496964757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174863123,"filename":"image_03112025_08_14_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/3/305ab17d029216768b0de9d7a6454e95.jpg","text":"TemporaryFile(/tmp/multipartBody5650280938705378686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174863123,"filename":"image_03112025_08_14_54_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/3/e53e652c0abb97c5516cce86597a6a41.jpg","text":"TemporaryFile(/tmp/multipartBody4806066689220070862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174863123,"filename":"image_03112025_08_14_36_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/3/29de490190a14a77751378d1626278a6.jpg","text":"TemporaryFile(/tmp/multipartBody5541797143879707208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174863123,"filename":"image_03112025_08_14_48_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/3/7ba79ff78c6fbe27f2a2fb9022f40a16.jpg","text":"TemporaryFile(/tmp/multipartBody3215605107374819388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174863123,"filename":"image_03112025_08_14_45_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/68dadb69fb4e76ab01e6ae319d01368f.jpg","text":"TemporaryFile(/tmp/multipartBody475199127831521214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174863123,"filename":"image_03112025_08_14_30_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392050162","file1":"1392050152","file0":"1392050144","file4":"1392050179","file5":"1392050188","file3":"1392050172"},"map_files_photo_id_array":[{"photo_id":"1392050188","filename":"file5"},{"photo_id":"1392050162","filename":"file2"},{"photo_id":"1392050179","filename":"file4"},{"photo_id":"1392050152","filename":"file1"},{"photo_id":"1392050144","filename":"file0"},{"photo_id":"1392050172","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392050188":["hashtag1","hashtag2"]},{"1392050179":["hashtag1","hashtag2"]},{"1392050152":["hashtag1","hashtag2"]},{"1392050172":["hashtag1","hashtag2"]},{"1392050162":["hashtag1","hashtag2"]},{"1392050144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392050188, 1392050179, 1392050152, 1392050172, 1392050162, 1392050144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.594982862472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:01:02.526764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/14/image_03112025_08_15_00_2721.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_03_3561.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_06_2824.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_09_2666.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_24_2713.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_27_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/14/image_03112025_08_15_00_2721.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_03_3561.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_06_2824.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_09_2666.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_24_2713.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_27_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392050330","1392050371","1392050550","1392050472","1392050411","1392050606"],"photo_ids_order":["1392050330","1392050371","1392050411","1392050472","1392050550","1392050606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/701a85fb9926ff271bfc942fa5daf205.jpg","text":"TemporaryFile(/tmp/multipartBody8328236957634456966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174923828,"filename":"image_03112025_08_15_00_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/3/2aa26ff394d649df517edc12af2eefdb.jpg","text":"TemporaryFile(/tmp/multipartBody1943132035307288832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174923828,"filename":"image_03112025_08_15_03_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/3/c16b23a6bea3e01d3ff1990d377fc611.jpg","text":"TemporaryFile(/tmp/multipartBody5135911756007126903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174923828,"filename":"image_03112025_08_15_24_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/3/d507f61dc5e8bcfa950cabe027e61f83.jpg","text":"TemporaryFile(/tmp/multipartBody8237917810542278239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174923828,"filename":"image_03112025_08_15_09_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/696368405a920929c779babc6e4becc3.jpg","text":"TemporaryFile(/tmp/multipartBody3658710587340990373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174923828,"filename":"image_03112025_08_15_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/3/cd6c848b99b95327c8ee47b38d8f6a4e.jpg","text":"TemporaryFile(/tmp/multipartBody8405683974133729832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174923828,"filename":"image_03112025_08_15_27_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392050411","file1":"1392050371","file0":"1392050330","file4":"1392050550","file5":"1392050606","file3":"1392050472"},"map_files_photo_id_array":[{"photo_id":"1392050606","filename":"file5"},{"photo_id":"1392050411","filename":"file2"},{"photo_id":"1392050550","filename":"file4"},{"photo_id":"1392050371","filename":"file1"},{"photo_id":"1392050330","filename":"file0"},{"photo_id":"1392050472","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392050330":["hashtag1","hashtag2"]},{"1392050371":["hashtag1","hashtag2"]},{"1392050550":["hashtag1","hashtag2"]},{"1392050472":["hashtag1","hashtag2"]},{"1392050411":["hashtag1","hashtag2"]},{"1392050606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392050330, 1392050371, 1392050550, 1392050472, 1392050411, 1392050606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74206781387329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:01:41.984816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_30_3678.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_33_2644.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_36_2697.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_39_2693.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_42_3804.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_45_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_30_3678.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_33_2644.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_36_2697.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_39_2693.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_42_3804.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_45_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392050842","1392050737","1392050895","1392050993","1392050945","1392050777"],"photo_ids_order":["1392050737","1392050777","1392050842","1392050895","1392050945","1392050993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e136e237b456099e76282274d1649b5d.jpg","text":"TemporaryFile(/tmp/multipartBody231701966302179761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174962817,"filename":"image_03112025_08_15_36_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c2989a24671d0d21c5bc884676ca0014.jpg","text":"TemporaryFile(/tmp/multipartBody7687302136827945232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174962817,"filename":"image_03112025_08_15_30_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/3/c25c70ddce7a25a3d278d328413a91db.jpg","text":"TemporaryFile(/tmp/multipartBody9182735650944417620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174962817,"filename":"image_03112025_08_15_39_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/3/f7f785f0269c324db4a599f9fa1f72ba.jpg","text":"TemporaryFile(/tmp/multipartBody7530631709122213338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174962817,"filename":"image_03112025_08_15_45_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/3/e3ffa75893fd99cc212409f1223e95be.jpg","text":"TemporaryFile(/tmp/multipartBody3892948731674480338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174962817,"filename":"image_03112025_08_15_42_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/3/a7c700970ef1fb75771c8ebdaead3e1e.jpg","text":"TemporaryFile(/tmp/multipartBody7490222611633150550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762174962817,"filename":"image_03112025_08_15_33_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392050842","file1":"1392050777","file0":"1392050737","file4":"1392050945","file5":"1392050993","file3":"1392050895"},"map_files_photo_id_array":[{"photo_id":"1392050993","filename":"file5"},{"photo_id":"1392050842","filename":"file2"},{"photo_id":"1392050945","filename":"file4"},{"photo_id":"1392050777","filename":"file1"},{"photo_id":"1392050737","filename":"file0"},{"photo_id":"1392050895","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392050842":["hashtag1","hashtag2"]},{"1392050737":["hashtag1","hashtag2"]},{"1392050895":["hashtag1","hashtag2"]},{"1392050993":["hashtag1","hashtag2"]},{"1392050945":["hashtag1","hashtag2"]},{"1392050777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392050842, 1392050737, 1392050895, 1392050993, 1392050945, 1392050777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.818747997283936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:02:22.038279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_51_3649.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_54_2767.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_57_2552.jpg', '/home/pi/Desktop/images/03112025/08/15/image_03112025_08_16_00_3661.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_03_2688.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_06_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_51_3649.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_54_2767.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_15_57_2552.jpg
/home/pi/Desktop/images/03112025/08/15/image_03112025_08_16_00_3661.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_03_2688.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_06_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392051355","1392051279","1392051202","1392051507","1392051587","1392051431"],"photo_ids_order":["1392051202","1392051279","1392051355","1392051431","1392051507","1392051587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ad56477dc6145ebdf574a833c2c4f457.jpg","text":"TemporaryFile(/tmp/multipartBody4873110474941488565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175002859,"filename":"image_03112025_08_15_57_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/3/9eef301597a508187970bf7a9beaca31.jpg","text":"TemporaryFile(/tmp/multipartBody986607327989770323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175002859,"filename":"image_03112025_08_15_54_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/3/16d15f132ed8a4d0095d95293de5fc60.jpg","text":"TemporaryFile(/tmp/multipartBody1306324099089513403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175002859,"filename":"image_03112025_08_15_51_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/3/c9c26392415152c464c3c4ec9a080806.jpg","text":"TemporaryFile(/tmp/multipartBody456289236977910419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175002859,"filename":"image_03112025_08_16_03_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/35b7cb3a758e056352490deb38340a8c.jpg","text":"TemporaryFile(/tmp/multipartBody4934878223018077335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175002859,"filename":"image_03112025_08_16_06_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/3/f2bc16c468b460973342fd4d7847c2eb.jpg","text":"TemporaryFile(/tmp/multipartBody1135658685045157898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175002859,"filename":"image_03112025_08_16_00_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392051355","file1":"1392051279","file0":"1392051202","file4":"1392051507","file5":"1392051587","file3":"1392051431"},"map_files_photo_id_array":[{"photo_id":"1392051587","filename":"file5"},{"photo_id":"1392051355","filename":"file2"},{"photo_id":"1392051507","filename":"file4"},{"photo_id":"1392051279","filename":"file1"},{"photo_id":"1392051202","filename":"file0"},{"photo_id":"1392051431","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392051355":["hashtag1","hashtag2"]},{"1392051279":["hashtag1","hashtag2"]},{"1392051202":["hashtag1","hashtag2"]},{"1392051507":["hashtag1","hashtag2"]},{"1392051587":["hashtag1","hashtag2"]},{"1392051431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392051355, 1392051279, 1392051202, 1392051507, 1392051587, 1392051431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08098912239075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:03:03.070735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_09_3591.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_12_2589.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_14_2608.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_18_3587.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_21_2753.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_24_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_09_3591.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_12_2589.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_14_2608.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_18_3587.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_21_2753.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_24_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392051921","1392051903","1392051912","1392051863","1392051914","1392051917"],"photo_ids_order":["1392051863","1392051903","1392051912","1392051914","1392051917","1392051921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2f1fa75ad77aa85b6ec7c280f8100d31.jpg","text":"TemporaryFile(/tmp/multipartBody8108147722300577754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175044191,"filename":"image_03112025_08_16_24_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/3/b9e56fd174b99ac216c490205a2111ec.jpg","text":"TemporaryFile(/tmp/multipartBody8615172054631769162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175044191,"filename":"image_03112025_08_16_12_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/3/e5756ea245109e55fcacb19467714c0d.jpg","text":"TemporaryFile(/tmp/multipartBody5857239596950985253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175044191,"filename":"image_03112025_08_16_14_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/3/4934e17f4efd70c6dcf85dbc8d53bad4.jpg","text":"TemporaryFile(/tmp/multipartBody2389227721582722548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175044191,"filename":"image_03112025_08_16_09_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/3/ac2d853448282589b62915b2a2231565.jpg","text":"TemporaryFile(/tmp/multipartBody2406176803802235539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175044191,"filename":"image_03112025_08_16_18_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/3/4cbd733c958a73e7cfad0d14b78d1731.jpg","text":"TemporaryFile(/tmp/multipartBody2758772291538812403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175044191,"filename":"image_03112025_08_16_21_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392051912","file1":"1392051903","file0":"1392051863","file4":"1392051917","file5":"1392051921","file3":"1392051914"},"map_files_photo_id_array":[{"photo_id":"1392051921","filename":"file5"},{"photo_id":"1392051912","filename":"file2"},{"photo_id":"1392051917","filename":"file4"},{"photo_id":"1392051903","filename":"file1"},{"photo_id":"1392051863","filename":"file0"},{"photo_id":"1392051914","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392051921":["hashtag1","hashtag2"]},{"1392051903":["hashtag1","hashtag2"]},{"1392051912":["hashtag1","hashtag2"]},{"1392051863":["hashtag1","hashtag2"]},{"1392051914":["hashtag1","hashtag2"]},{"1392051917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392051921, 1392051903, 1392051912, 1392051863, 1392051914, 1392051917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.962077379226685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:03:42.359977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_27_3622.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_30_2666.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_33_2712.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_36_3642.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_39_2795.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_42_2886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_27_3622.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_30_2666.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_33_2712.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_36_3642.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_39_2795.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_42_2886.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392052105","1392052083","1392052058","1392052022","1392051935","1392051982"],"photo_ids_order":["1392051935","1392051982","1392052022","1392052058","1392052083","1392052105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b6df133ee328432f32cb6dcfa2c1b906.jpg","text":"TemporaryFile(/tmp/multipartBody714852879029175584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175083194,"filename":"image_03112025_08_16_42_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/3/2f32d34606086be8c7e2b865e6a54f08.jpg","text":"TemporaryFile(/tmp/multipartBody780990721502233917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175083194,"filename":"image_03112025_08_16_39_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/3/1a4137433e1a9b4de6dcb382f2f08773.jpg","text":"TemporaryFile(/tmp/multipartBody3786934726948693105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175083194,"filename":"image_03112025_08_16_36_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/49a2b3f56b4c16f102122adc309b93c2.jpg","text":"TemporaryFile(/tmp/multipartBody62793284258247934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175083194,"filename":"image_03112025_08_16_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/3/68e39476acd6a55172672dd72abd42e5.jpg","text":"TemporaryFile(/tmp/multipartBody4518718241821335495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175083194,"filename":"image_03112025_08_16_27_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97ebf2a3cf3076485d845cf6193c0f40.jpg","text":"TemporaryFile(/tmp/multipartBody405685741762230404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175083194,"filename":"image_03112025_08_16_30_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392052022","file1":"1392051982","file0":"1392051935","file4":"1392052083","file5":"1392052105","file3":"1392052058"},"map_files_photo_id_array":[{"photo_id":"1392052105","filename":"file5"},{"photo_id":"1392052022","filename":"file2"},{"photo_id":"1392052083","filename":"file4"},{"photo_id":"1392051982","filename":"file1"},{"photo_id":"1392051935","filename":"file0"},{"photo_id":"1392052058","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392052105":["hashtag1","hashtag2"]},{"1392052083":["hashtag1","hashtag2"]},{"1392052058":["hashtag1","hashtag2"]},{"1392052022":["hashtag1","hashtag2"]},{"1392051935":["hashtag1","hashtag2"]},{"1392051982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392052105, 1392052083, 1392052058, 1392052022, 1392051935, 1392051982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13276124000549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:04:22.494308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_44_2544.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_48_3796.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_51_2565.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_54_2746.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_57_3782.jpg', '/home/pi/Desktop/images/03112025/08/16/image_03112025_08_17_00_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_44_2544.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_48_3796.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_51_2565.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_54_2746.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_16_57_3782.jpg
/home/pi/Desktop/images/03112025/08/16/image_03112025_08_17_00_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392052395","1392052266","1392052353","1392052475","1392052223","1392052307"],"photo_ids_order":["1392052223","1392052266","1392052307","1392052353","1392052395","1392052475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4b50c5022601a5606bf4eae4018c1f5a.jpg","text":"TemporaryFile(/tmp/multipartBody412483820499102614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175123290,"filename":"image_03112025_08_16_57_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/3/5f4d0216d8492ce2f06fbadce02cae10.jpg","text":"TemporaryFile(/tmp/multipartBody6178629034936458258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175123290,"filename":"image_03112025_08_16_48_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/093ea1edeb31ca037f07cbbcab1515d4.jpg","text":"TemporaryFile(/tmp/multipartBody8759607967755184989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175123290,"filename":"image_03112025_08_16_54_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/3/4b0f59119a91cdd1d4f0e9c88e9de49e.jpg","text":"TemporaryFile(/tmp/multipartBody5953933045729070655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175123290,"filename":"image_03112025_08_17_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/3/a502929b1aec41fff6a090515439b23a.jpg","text":"TemporaryFile(/tmp/multipartBody8558596190953114226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175123290,"filename":"image_03112025_08_16_44_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/3/d513f5397b8b239232b857353f4f2de2.jpg","text":"TemporaryFile(/tmp/multipartBody3583930321008932129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175123290,"filename":"image_03112025_08_16_51_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392052307","file1":"1392052266","file0":"1392052223","file4":"1392052395","file5":"1392052475","file3":"1392052353"},"map_files_photo_id_array":[{"photo_id":"1392052475","filename":"file5"},{"photo_id":"1392052307","filename":"file2"},{"photo_id":"1392052395","filename":"file4"},{"photo_id":"1392052266","filename":"file1"},{"photo_id":"1392052223","filename":"file0"},{"photo_id":"1392052353","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392052395":["hashtag1","hashtag2"]},{"1392052266":["hashtag1","hashtag2"]},{"1392052353":["hashtag1","hashtag2"]},{"1392052475":["hashtag1","hashtag2"]},{"1392052223":["hashtag1","hashtag2"]},{"1392052307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392052395, 1392052266, 1392052353, 1392052475, 1392052223, 1392052307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.735445976257324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:05:03.375466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_02_2557.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_06_3740.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_09_2567.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_11_2557.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_15_3577.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_18_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_02_2557.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_06_3740.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_09_2567.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_11_2557.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_15_3577.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_18_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392052683","1392052615","1392052605","1392052608","1392052664","1392052675"],"photo_ids_order":["1392052605","1392052608","1392052615","1392052664","1392052675","1392052683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d943e1349a761be5baa7d0e3d2b5626f.jpg","text":"TemporaryFile(/tmp/multipartBody7825539552204016661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175164265,"filename":"image_03112025_08_17_18_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/3/5d7fc052f199580daf1f2baf936ec5b5.jpg","text":"TemporaryFile(/tmp/multipartBody2401183541418973896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175164265,"filename":"image_03112025_08_17_09_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/3/aa83ae2c0a71fec9ddcefc71b4b4e982.jpg","text":"TemporaryFile(/tmp/multipartBody2551242527097308030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175164265,"filename":"image_03112025_08_17_02_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/3/9d94161c197707c46995c605d46dd06d.jpg","text":"TemporaryFile(/tmp/multipartBody3784325316079561279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175164265,"filename":"image_03112025_08_17_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/3/3fb190f403b371d9b5118ea4b2bba5e9.jpg","text":"TemporaryFile(/tmp/multipartBody692976619225067165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175164265,"filename":"image_03112025_08_17_11_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/3/737506bf6bf094b1919b601dd5150ecc.jpg","text":"TemporaryFile(/tmp/multipartBody8388058916584543435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175164265,"filename":"image_03112025_08_17_15_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392052615","file1":"1392052608","file0":"1392052605","file4":"1392052675","file5":"1392052683","file3":"1392052664"},"map_files_photo_id_array":[{"photo_id":"1392052683","filename":"file5"},{"photo_id":"1392052615","filename":"file2"},{"photo_id":"1392052675","filename":"file4"},{"photo_id":"1392052608","filename":"file1"},{"photo_id":"1392052605","filename":"file0"},{"photo_id":"1392052664","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392052683":["hashtag1","hashtag2"]},{"1392052615":["hashtag1","hashtag2"]},{"1392052605":["hashtag1","hashtag2"]},{"1392052608":["hashtag1","hashtag2"]},{"1392052664":["hashtag1","hashtag2"]},{"1392052675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392052683, 1392052615, 1392052605, 1392052608, 1392052664, 1392052675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19843149185181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:06:02.350795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_21_3504.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_24_2516.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_27_3648.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_30_2596.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_33_2809.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_36_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_21_3504.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_24_2516.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_27_3648.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_30_2596.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_33_2809.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_36_3534.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392052926","1392052911","1392052902","1392052907","1392052885","1392052924"],"photo_ids_order":["1392052885","1392052902","1392052907","1392052911","1392052924","1392052926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6e37d764db05dd0f12755895c1fbbe17.jpg","text":"TemporaryFile(/tmp/multipartBody139264113324440283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175223250,"filename":"image_03112025_08_17_36_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/3/13fd22b3d65ab8c9ade528366b5433c2.jpg","text":"TemporaryFile(/tmp/multipartBody3946707080993167520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175223250,"filename":"image_03112025_08_17_30_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/3/83d3c6cfcf0ae32d260973715c098e82.jpg","text":"TemporaryFile(/tmp/multipartBody3895043739951786128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175223250,"filename":"image_03112025_08_17_24_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/3/95d83258197a34cb7a8dffc33b6c2200.jpg","text":"TemporaryFile(/tmp/multipartBody7856833043516673147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175223250,"filename":"image_03112025_08_17_27_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/3/545ecaf1df41f1ea558fe12c084e0903.jpg","text":"TemporaryFile(/tmp/multipartBody5628903375769026905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175223250,"filename":"image_03112025_08_17_21_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b04110c276bf08e2119663729c5a937.jpg","text":"TemporaryFile(/tmp/multipartBody4138026085416920927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175223250,"filename":"image_03112025_08_17_33_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392052907","file1":"1392052902","file0":"1392052885","file4":"1392052924","file5":"1392052926","file3":"1392052911"},"map_files_photo_id_array":[{"photo_id":"1392052926","filename":"file5"},{"photo_id":"1392052907","filename":"file2"},{"photo_id":"1392052924","filename":"file4"},{"photo_id":"1392052902","filename":"file1"},{"photo_id":"1392052885","filename":"file0"},{"photo_id":"1392052911","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392052926":["hashtag1","hashtag2"]},{"1392052911":["hashtag1","hashtag2"]},{"1392052902":["hashtag1","hashtag2"]},{"1392052907":["hashtag1","hashtag2"]},{"1392052885":["hashtag1","hashtag2"]},{"1392052924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392052926, 1392052911, 1392052902, 1392052907, 1392052885, 1392052924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10291814804077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:06:41.849939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_39_2845.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_42_2609.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_45_3608.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_48_2772.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_51_2777.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_54_2956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_39_2845.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_42_2609.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_45_3608.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_48_2772.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_51_2777.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_54_2956.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392052968","1392052929","1392053015","1392053003","1392053009","1392053005"],"photo_ids_order":["1392052929","1392052968","1392053003","1392053005","1392053009","1392053015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb16546000fd29f75e14610e99509ae6.jpg","text":"TemporaryFile(/tmp/multipartBody6798045870960116947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175262693,"filename":"image_03112025_08_17_42_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/3/835613f35f8291b91a5af3aeabc7ee70.jpg","text":"TemporaryFile(/tmp/multipartBody5079498760074948374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175262693,"filename":"image_03112025_08_17_39_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a6d428e8a9aec9383de5d4c1ef077f2d.jpg","text":"TemporaryFile(/tmp/multipartBody8334528418379814990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175262693,"filename":"image_03112025_08_17_54_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/3/3868f8a609c2d5570128fdfb14b1e06d.jpg","text":"TemporaryFile(/tmp/multipartBody3274531282538762044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175262693,"filename":"image_03112025_08_17_45_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/3/a8d17ff9799070714ead7910bd57cfec.jpg","text":"TemporaryFile(/tmp/multipartBody5391582901600200213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175262693,"filename":"image_03112025_08_17_51_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/3/ce5af5c0b68cc7801351d2318140610f.jpg","text":"TemporaryFile(/tmp/multipartBody3995596826030113454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175262693,"filename":"image_03112025_08_17_48_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053003","file1":"1392052968","file0":"1392052929","file4":"1392053009","file5":"1392053015","file3":"1392053005"},"map_files_photo_id_array":[{"photo_id":"1392053015","filename":"file5"},{"photo_id":"1392053003","filename":"file2"},{"photo_id":"1392053009","filename":"file4"},{"photo_id":"1392052968","filename":"file1"},{"photo_id":"1392052929","filename":"file0"},{"photo_id":"1392053005","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392052968":["hashtag1","hashtag2"]},{"1392052929":["hashtag1","hashtag2"]},{"1392053015":["hashtag1","hashtag2"]},{"1392053003":["hashtag1","hashtag2"]},{"1392053009":["hashtag1","hashtag2"]},{"1392053005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392052968, 1392052929, 1392053015, 1392053003, 1392053009, 1392053005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79068565368652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:07:21.982620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_56_2742.jpg', '/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_59_2893.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_03_3676.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_06_2730.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_08_2585.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_12_3200.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_56_2742.jpg
/home/pi/Desktop/images/03112025/08/17/image_03112025_08_17_59_2893.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_03_3676.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_06_2730.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_08_2585.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_12_3200.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053043","1392053025","1392053060","1392053039","1392053074","1392053035"],"photo_ids_order":["1392053025","1392053035","1392053039","1392053043","1392053060","1392053074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9a1a3fdbcdee68825d105e62a21415e3.jpg","text":"TemporaryFile(/tmp/multipartBody6419166277479473475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175302776,"filename":"image_03112025_08_18_06_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5d1ff36b492ca44763d4b4a6c7d785d9.jpg","text":"TemporaryFile(/tmp/multipartBody974407265056281100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175302776,"filename":"image_03112025_08_17_56_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/24de5c959d146037cc6fbce04d5934de.jpg","text":"TemporaryFile(/tmp/multipartBody1968627082734693994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175302776,"filename":"image_03112025_08_18_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/3/8a8677724a2abb90d368b0a45be95dd6.jpg","text":"TemporaryFile(/tmp/multipartBody7343934324356720272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175302776,"filename":"image_03112025_08_18_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/3/90c824690c859cb8501f18dad823feab.jpg","text":"TemporaryFile(/tmp/multipartBody4407752629486292196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175302776,"filename":"image_03112025_08_18_12_3200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/53270eb1b417a1923c025a524979db9b.jpg","text":"TemporaryFile(/tmp/multipartBody2518020890424335396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175302776,"filename":"image_03112025_08_17_59_2893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053039","file1":"1392053035","file0":"1392053025","file4":"1392053060","file5":"1392053074","file3":"1392053043"},"map_files_photo_id_array":[{"photo_id":"1392053074","filename":"file5"},{"photo_id":"1392053039","filename":"file2"},{"photo_id":"1392053060","filename":"file4"},{"photo_id":"1392053035","filename":"file1"},{"photo_id":"1392053025","filename":"file0"},{"photo_id":"1392053043","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053043":["hashtag1","hashtag2"]},{"1392053025":["hashtag1","hashtag2"]},{"1392053060":["hashtag1","hashtag2"]},{"1392053039":["hashtag1","hashtag2"]},{"1392053074":["hashtag1","hashtag2"]},{"1392053035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053043, 1392053025, 1392053060, 1392053039, 1392053074, 1392053035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15629482269287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:08:02.839673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_14_2684.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_18_3399.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_20_2661.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_24_3653.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_27_2728.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_29_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_14_2684.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_18_3399.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_20_2661.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_24_3653.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_27_2728.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_29_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053079","1392053093","1392053081","1392053089","1392053083","1392053077"],"photo_ids_order":["1392053077","1392053079","1392053081","1392053083","1392053089","1392053093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a6736b5a8feaa25b61e59d24efe4ddea.jpg","text":"TemporaryFile(/tmp/multipartBody5009896732206673222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175343686,"filename":"image_03112025_08_18_18_3399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d17a2cd3b8e2ce2d0df59d2e0b9b374.jpg","text":"TemporaryFile(/tmp/multipartBody4843164461748201764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175343686,"filename":"image_03112025_08_18_29_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/3/279e883659381ebc2dbac1918fee4406.jpg","text":"TemporaryFile(/tmp/multipartBody6621833542269386827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175343686,"filename":"image_03112025_08_18_20_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/3/d2be4f36e43cd5a77ccc42f941841ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7035269415602716275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175343686,"filename":"image_03112025_08_18_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/3/5e406beb4a771a432d193f131e2c091a.jpg","text":"TemporaryFile(/tmp/multipartBody3278654004859451636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175343686,"filename":"image_03112025_08_18_24_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/3/95b26b4c64c456553063e75776fc5a74.jpg","text":"TemporaryFile(/tmp/multipartBody4007963887698811418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175343686,"filename":"image_03112025_08_18_14_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053081","file1":"1392053079","file0":"1392053077","file4":"1392053089","file5":"1392053093","file3":"1392053083"},"map_files_photo_id_array":[{"photo_id":"1392053093","filename":"file5"},{"photo_id":"1392053081","filename":"file2"},{"photo_id":"1392053089","filename":"file4"},{"photo_id":"1392053079","filename":"file1"},{"photo_id":"1392053077","filename":"file0"},{"photo_id":"1392053083","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053079":["hashtag1","hashtag2"]},{"1392053093":["hashtag1","hashtag2"]},{"1392053081":["hashtag1","hashtag2"]},{"1392053089":["hashtag1","hashtag2"]},{"1392053083":["hashtag1","hashtag2"]},{"1392053077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053079, 1392053093, 1392053081, 1392053089, 1392053083, 1392053077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37802696228027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:08:42.290353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_33_3586.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_36_2628.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_39_3562.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_42_2611.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_44_2681.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_48_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_33_3586.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_36_2628.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_39_3562.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_42_2611.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_44_2681.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_48_3747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053112","1392053106","1392053114","1392053117","1392053108","1392053110"],"photo_ids_order":["1392053106","1392053108","1392053110","1392053112","1392053114","1392053117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d35db83c0a1c49164522224ac936fe4.jpg","text":"TemporaryFile(/tmp/multipartBody2359455736045035352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175383295,"filename":"image_03112025_08_18_42_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/3/ec2c36cf8608849bce8bf7a683f17abc.jpg","text":"TemporaryFile(/tmp/multipartBody7738061545205487134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175383295,"filename":"image_03112025_08_18_33_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/3/fd6ddd7489d465412029ba68a25a636d.jpg","text":"TemporaryFile(/tmp/multipartBody7103132909548823969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175383295,"filename":"image_03112025_08_18_44_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6bb8e181c8757f462ae593136d4644d9.jpg","text":"TemporaryFile(/tmp/multipartBody5459658750301195864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175383295,"filename":"image_03112025_08_18_48_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/3/c3b52439f87ad4e19a562b646acaaf1c.jpg","text":"TemporaryFile(/tmp/multipartBody6117579108612548683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175383295,"filename":"image_03112025_08_18_36_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7e0af7c62f8aca2a3baf3dabbd323e3a.jpg","text":"TemporaryFile(/tmp/multipartBody438986199376581229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175383295,"filename":"image_03112025_08_18_39_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053110","file1":"1392053108","file0":"1392053106","file4":"1392053114","file5":"1392053117","file3":"1392053112"},"map_files_photo_id_array":[{"photo_id":"1392053117","filename":"file5"},{"photo_id":"1392053110","filename":"file2"},{"photo_id":"1392053114","filename":"file4"},{"photo_id":"1392053108","filename":"file1"},{"photo_id":"1392053106","filename":"file0"},{"photo_id":"1392053112","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053112":["hashtag1","hashtag2"]},{"1392053106":["hashtag1","hashtag2"]},{"1392053114":["hashtag1","hashtag2"]},{"1392053117":["hashtag1","hashtag2"]},{"1392053108":["hashtag1","hashtag2"]},{"1392053110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053112, 1392053106, 1392053114, 1392053117, 1392053108, 1392053110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.736433267593384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:09:22.591656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_51_2630.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_54_2774.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_56_2705.jpg', '/home/pi/Desktop/images/03112025/08/18/image_03112025_08_19_00_3726.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_02_2524.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_06_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_51_2630.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_54_2774.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_18_56_2705.jpg
/home/pi/Desktop/images/03112025/08/18/image_03112025_08_19_00_3726.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_02_2524.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_06_3590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053145","1392053165","1392053138","1392053155","1392053160","1392053148"],"photo_ids_order":["1392053138","1392053145","1392053148","1392053155","1392053160","1392053165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f2a38cc2e84bcdb15222a3ca7f9af5c.jpg","text":"TemporaryFile(/tmp/multipartBody2160580865747754691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175423437,"filename":"image_03112025_08_18_54_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/3/de9f32ddc51c16c002fa61e1a3f154fa.jpg","text":"TemporaryFile(/tmp/multipartBody6526654643680828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175423437,"filename":"image_03112025_08_19_06_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/3/f6d9e81cb5bfda060ea11cc0d242274a.jpg","text":"TemporaryFile(/tmp/multipartBody755721312149224478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175423437,"filename":"image_03112025_08_18_51_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/3/42af45a269940a66a2dbf8f9d224b660.jpg","text":"TemporaryFile(/tmp/multipartBody4022124414269346548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175423437,"filename":"image_03112025_08_19_00_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/3/38a42eef5dc5904e0c65bea4b976a7a3.jpg","text":"TemporaryFile(/tmp/multipartBody2000571479815463176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175423437,"filename":"image_03112025_08_19_02_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/3/e11ff576a95e731b6cb4e7301811e18f.jpg","text":"TemporaryFile(/tmp/multipartBody9017260842656797187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175423437,"filename":"image_03112025_08_18_56_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053148","file1":"1392053145","file0":"1392053138","file4":"1392053160","file5":"1392053165","file3":"1392053155"},"map_files_photo_id_array":[{"photo_id":"1392053165","filename":"file5"},{"photo_id":"1392053148","filename":"file2"},{"photo_id":"1392053160","filename":"file4"},{"photo_id":"1392053145","filename":"file1"},{"photo_id":"1392053138","filename":"file0"},{"photo_id":"1392053155","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053145":["hashtag1","hashtag2"]},{"1392053165":["hashtag1","hashtag2"]},{"1392053138":["hashtag1","hashtag2"]},{"1392053155":["hashtag1","hashtag2"]},{"1392053160":["hashtag1","hashtag2"]},{"1392053148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053145, 1392053165, 1392053138, 1392053155, 1392053160, 1392053148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14196968078613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:10:03.083323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_09_2592.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_21_12388.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_23_1714.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_24_1668.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_26_1492.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_28_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_09_2592.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_21_12388.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_23_1714.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_24_1668.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_26_1492.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_28_1667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053177","1392053186","1392053180","1392053194","1392053190","1392053184"],"photo_ids_order":["1392053177","1392053180","1392053184","1392053186","1392053190","1392053194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/160f6c6f283248ce1f659c41886d2a9a.jpg","text":"TemporaryFile(/tmp/multipartBody729832572742689155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175463913,"filename":"image_03112025_08_19_09_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/3/0384ef543f7c1070163329a2e8674174.jpg","text":"TemporaryFile(/tmp/multipartBody9033547440929113134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175463913,"filename":"image_03112025_08_19_24_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/3/23daabbc9e7d6fa47095893c86975f80.jpg","text":"TemporaryFile(/tmp/multipartBody7356160108666786574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175463913,"filename":"image_03112025_08_19_21_12388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ec69a21d93b84db0ee9c1850b42d19e8.jpg","text":"TemporaryFile(/tmp/multipartBody4423999731856968421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175463913,"filename":"image_03112025_08_19_28_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/3/87bbb4466c2809177e2194e03fc99fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1937371910692808834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175463913,"filename":"image_03112025_08_19_26_1492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2103595fae907104faa0c10087cf619b.jpg","text":"TemporaryFile(/tmp/multipartBody8769990870049449275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175463913,"filename":"image_03112025_08_19_23_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053184","file1":"1392053180","file0":"1392053177","file4":"1392053190","file5":"1392053194","file3":"1392053186"},"map_files_photo_id_array":[{"photo_id":"1392053194","filename":"file5"},{"photo_id":"1392053184","filename":"file2"},{"photo_id":"1392053190","filename":"file4"},{"photo_id":"1392053180","filename":"file1"},{"photo_id":"1392053177","filename":"file0"},{"photo_id":"1392053186","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053177":["hashtag1","hashtag2"]},{"1392053186":["hashtag1","hashtag2"]},{"1392053180":["hashtag1","hashtag2"]},{"1392053194":["hashtag1","hashtag2"]},{"1392053190":["hashtag1","hashtag2"]},{"1392053184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053177, 1392053186, 1392053180, 1392053194, 1392053190, 1392053184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.042816400527954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:11:03.496437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_29_1600.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_31_1518.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_32_1626.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_36_3739.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_42_5683.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_43_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_29_1600.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_31_1518.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_32_1626.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_36_3739.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_42_5683.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_43_1640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053398","1392053336","1392053324","1392053374","1392053353","1392053346"],"photo_ids_order":["1392053324","1392053336","1392053346","1392053353","1392053374","1392053398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a77f1e22f54f38b986e36159d782ad0e.jpg","text":"TemporaryFile(/tmp/multipartBody7354645812433986562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175524381,"filename":"image_03112025_08_19_43_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/3/79afe857111f06be8e671ea1aee41167.jpg","text":"TemporaryFile(/tmp/multipartBody5894221541726800881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175524381,"filename":"image_03112025_08_19_31_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/3/b1d110368ecad376c829725bfab0a273.jpg","text":"TemporaryFile(/tmp/multipartBody1666253760087948168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175524381,"filename":"image_03112025_08_19_29_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/3/75797a43a429a6067aec0ef09f30548e.jpg","text":"TemporaryFile(/tmp/multipartBody953058784361178950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175524381,"filename":"image_03112025_08_19_42_5683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/954df7e9f8ec37040787c6f8407d6c3e.jpg","text":"TemporaryFile(/tmp/multipartBody1275693127133241735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175524381,"filename":"image_03112025_08_19_36_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/3/b491051b2bf95e7138803d5bc9ae1898.jpg","text":"TemporaryFile(/tmp/multipartBody2860632489113718647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175524381,"filename":"image_03112025_08_19_32_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053346","file1":"1392053336","file0":"1392053324","file4":"1392053374","file5":"1392053398","file3":"1392053353"},"map_files_photo_id_array":[{"photo_id":"1392053398","filename":"file5"},{"photo_id":"1392053346","filename":"file2"},{"photo_id":"1392053374","filename":"file4"},{"photo_id":"1392053336","filename":"file1"},{"photo_id":"1392053324","filename":"file0"},{"photo_id":"1392053353","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053398":["hashtag1","hashtag2"]},{"1392053336":["hashtag1","hashtag2"]},{"1392053324":["hashtag1","hashtag2"]},{"1392053374":["hashtag1","hashtag2"]},{"1392053353":["hashtag1","hashtag2"]},{"1392053346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053398, 1392053336, 1392053324, 1392053374, 1392053353, 1392053346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.981141328811646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:11:42.697941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_45_1710.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_51_2577.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_55_4181.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_56_1654.jpg', '/home/pi/Desktop/images/03112025/08/19/image_03112025_08_20_00_3640.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_03_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_45_1710.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_51_2577.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_55_4181.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_19_56_1654.jpg
/home/pi/Desktop/images/03112025/08/19/image_03112025_08_20_00_3640.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_03_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053492","1392053486","1392053495","1392053477","1392053459","1392053455"],"photo_ids_order":["1392053455","1392053459","1392053477","1392053486","1392053492","1392053495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e4fb0660ec2a5602c52f6ebe133b61f.jpg","text":"TemporaryFile(/tmp/multipartBody3627958642569229493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175564361,"filename":"image_03112025_08_20_00_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/216b840020f8adffd382b23063d2756b.jpg","text":"TemporaryFile(/tmp/multipartBody7869536680268529095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175564361,"filename":"image_03112025_08_19_56_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/3/5fc848437ebb285df6d03c3075746dda.jpg","text":"TemporaryFile(/tmp/multipartBody4912787613803628262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175564361,"filename":"image_03112025_08_20_03_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/3/1a4ac1a4a0a13682c1c785978d2ac649.jpg","text":"TemporaryFile(/tmp/multipartBody3222479723073456852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175564361,"filename":"image_03112025_08_19_55_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/3/8bcabc4951249900fabbd5ccd03ccefd.jpg","text":"TemporaryFile(/tmp/multipartBody7535019869491386243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175564361,"filename":"image_03112025_08_19_51_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/3/dd465758aa6c9a8fe591407f95f431f8.jpg","text":"TemporaryFile(/tmp/multipartBody5301947759144842206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175564361,"filename":"image_03112025_08_19_45_1710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053477","file1":"1392053459","file0":"1392053455","file4":"1392053492","file5":"1392053495","file3":"1392053486"},"map_files_photo_id_array":[{"photo_id":"1392053495","filename":"file5"},{"photo_id":"1392053477","filename":"file2"},{"photo_id":"1392053492","filename":"file4"},{"photo_id":"1392053459","filename":"file1"},{"photo_id":"1392053455","filename":"file0"},{"photo_id":"1392053486","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053492":["hashtag1","hashtag2"]},{"1392053486":["hashtag1","hashtag2"]},{"1392053495":["hashtag1","hashtag2"]},{"1392053477":["hashtag1","hashtag2"]},{"1392053459":["hashtag1","hashtag2"]},{"1392053455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053492, 1392053486, 1392053495, 1392053477, 1392053459, 1392053455)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.90594458580017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:12:44.391677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_06_3165.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_08_2577.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_12_3538.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_14_2499.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_18_3611.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_21_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_06_3165.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_08_2577.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_12_3538.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_14_2499.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_18_3611.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_21_2716.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":["1392053607","1392053603","1392053606","1392053599","1392053611","1392053605"],"photo_ids_order":["1392053599","1392053603","1392053605","1392053606","1392053607","1392053611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5afa9bf6456938523e668cf0a7882244.jpg","text":"TemporaryFile(/tmp/multipartBody6483668200793403906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175625140,"filename":"image_03112025_08_20_18_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/3/f2171d7952c0cccb340e533584201311.jpg","text":"TemporaryFile(/tmp/multipartBody8775997308771075420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175625140,"filename":"image_03112025_08_20_08_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/3/6af19d254c79a5fbbe564f3f1671db6c.jpg","text":"TemporaryFile(/tmp/multipartBody3762486445417230417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175625140,"filename":"image_03112025_08_20_14_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1abd9fa1a53609f597efe2f9c7087a02.jpg","text":"TemporaryFile(/tmp/multipartBody1076406211861328262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175625140,"filename":"image_03112025_08_20_06_3165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b4736135cb40bc284315de3cb4422470.jpg","text":"TemporaryFile(/tmp/multipartBody2957740557044813190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175625140,"filename":"image_03112025_08_20_21_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/3/1b375f8b7017d631c999e5b0e347ba49.jpg","text":"TemporaryFile(/tmp/multipartBody1840549218129575447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175625140,"filename":"image_03112025_08_20_12_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053605","file1":"1392053603","file0":"1392053599","file4":"1392053607","file5":"1392053611","file3":"1392053606"},"map_files_photo_id_array":[{"photo_id":"1392053611","filename":"file5"},{"photo_id":"1392053605","filename":"file2"},{"photo_id":"1392053607","filename":"file4"},{"photo_id":"1392053603","filename":"file1"},{"photo_id":"1392053599","filename":"file0"},{"photo_id":"1392053606","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053607":["hashtag1","hashtag2"]},{"1392053603":["hashtag1","hashtag2"]},{"1392053606":["hashtag1","hashtag2"]},{"1392053599":["hashtag1","hashtag2"]},{"1392053611":["hashtag1","hashtag2"]},{"1392053605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053607, 1392053603, 1392053606, 1392053599, 1392053611, 1392053605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.95411419868469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:13:42.742110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_23_2604.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_27_3649.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_30_2836.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_32_2676.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_35_2769.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_39_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_23_2604.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_27_3649.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_30_2836.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_32_2676.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_35_2769.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_39_3633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053751","1392053733","1392053746","1392053704","1392053736","1392053664"],"photo_ids_order":["1392053664","1392053704","1392053733","1392053736","1392053746","1392053751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/028a9c314f8c2ffaece2c84d57c3ad7f.jpg","text":"TemporaryFile(/tmp/multipartBody1531953017438062663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175685845,"filename":"image_03112025_08_20_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/3/f09ea719eb66726b44ef2418e5f43a7c.jpg","text":"TemporaryFile(/tmp/multipartBody6684889700555215195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175685845,"filename":"image_03112025_08_20_30_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/3/4f521941168f08d90befd0b76c1444bd.jpg","text":"TemporaryFile(/tmp/multipartBody7263814797391867125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175685845,"filename":"image_03112025_08_20_35_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/3/f9f850f71f67d629f3bea98c50963ba6.jpg","text":"TemporaryFile(/tmp/multipartBody6896384120013400126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175685845,"filename":"image_03112025_08_20_27_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/3/3c2ea6516718f65bd451412b364421bd.jpg","text":"TemporaryFile(/tmp/multipartBody3766726515148193429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175685845,"filename":"image_03112025_08_20_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/3/57fa230bb9256e2268f9b5aed0c29648.jpg","text":"TemporaryFile(/tmp/multipartBody300369057051274254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175685845,"filename":"image_03112025_08_20_23_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053733","file1":"1392053704","file0":"1392053664","file4":"1392053746","file5":"1392053751","file3":"1392053736"},"map_files_photo_id_array":[{"photo_id":"1392053751","filename":"file5"},{"photo_id":"1392053733","filename":"file2"},{"photo_id":"1392053746","filename":"file4"},{"photo_id":"1392053704","filename":"file1"},{"photo_id":"1392053664","filename":"file0"},{"photo_id":"1392053736","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053751":["hashtag1","hashtag2"]},{"1392053733":["hashtag1","hashtag2"]},{"1392053746":["hashtag1","hashtag2"]},{"1392053704":["hashtag1","hashtag2"]},{"1392053736":["hashtag1","hashtag2"]},{"1392053664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053751, 1392053733, 1392053746, 1392053704, 1392053736, 1392053664)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 66.86231255531311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:15:02.872165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_46_6779.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_49_3123.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_50_1662.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_52_1622.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_54_1523.jpg', '/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_56_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_46_6779.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_49_3123.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_50_1662.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_52_1622.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_54_1523.jpg
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_56_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053798","1392053795","1392053801","1392053790","1392053793","1392053787"],"photo_ids_order":["1392053787","1392053790","1392053793","1392053795","1392053798","1392053801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/937108486c9d2c8ce5c8c1d536154bee.jpg","text":"TemporaryFile(/tmp/multipartBody6011038836999696894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175763781,"filename":"image_03112025_08_20_54_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/3/dbafc33385e4c6fdfc9558ed99975ce3.jpg","text":"TemporaryFile(/tmp/multipartBody3231345900929996769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175763781,"filename":"image_03112025_08_20_52_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/3/bafa3464d710590b88cd123a50eff0db.jpg","text":"TemporaryFile(/tmp/multipartBody681567829312116314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175763781,"filename":"image_03112025_08_20_56_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/3/b822ae40385bfc24c0cf67198b8ea47d.jpg","text":"TemporaryFile(/tmp/multipartBody7607673983177588567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175763781,"filename":"image_03112025_08_20_49_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/3/d42a64a7851ffe3046455e2de88cbd46.jpg","text":"TemporaryFile(/tmp/multipartBody5349784275000384790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175763781,"filename":"image_03112025_08_20_50_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/3/8b288b150b5bba482df11cb28cf164c0.jpg","text":"TemporaryFile(/tmp/multipartBody6640184034534222942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175763781,"filename":"image_03112025_08_20_46_6779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053793","file1":"1392053790","file0":"1392053787","file4":"1392053798","file5":"1392053801","file3":"1392053795"},"map_files_photo_id_array":[{"photo_id":"1392053801","filename":"file5"},{"photo_id":"1392053793","filename":"file2"},{"photo_id":"1392053798","filename":"file4"},{"photo_id":"1392053790","filename":"file1"},{"photo_id":"1392053787","filename":"file0"},{"photo_id":"1392053795","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053798":["hashtag1","hashtag2"]},{"1392053795":["hashtag1","hashtag2"]},{"1392053801":["hashtag1","hashtag2"]},{"1392053790":["hashtag1","hashtag2"]},{"1392053793":["hashtag1","hashtag2"]},{"1392053787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053798, 1392053795, 1392053801, 1392053790, 1392053793, 1392053787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.390448808670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:15:42.175883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_59_2736.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_03_3825.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_06_2663.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_08_2594.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_11_2745.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_15_3740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/20/image_03112025_08_20_59_2736.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_03_3825.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_06_2663.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_08_2594.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_11_2745.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_15_3740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392053907","1392053816","1392053819","1392053863","1392053947","1392053827"],"photo_ids_order":["1392053816","1392053819","1392053827","1392053863","1392053907","1392053947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b30c2354ebf1c4e36d2ba894fd71b69a.jpg","text":"TemporaryFile(/tmp/multipartBody5159067683703865214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175802949,"filename":"image_03112025_08_21_11_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/3/a015eff9baa43c89a26865a46cd92c98.jpg","text":"TemporaryFile(/tmp/multipartBody3905730168930685151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175802949,"filename":"image_03112025_08_20_59_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/3/21b6b0a83d9d69a716135c224f0e96bc.jpg","text":"TemporaryFile(/tmp/multipartBody576686993441388321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175802949,"filename":"image_03112025_08_21_03_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/49e0bad2de87d876bf5a43b838b8eefd.jpg","text":"TemporaryFile(/tmp/multipartBody4262428345161936086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175802949,"filename":"image_03112025_08_21_08_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/3/804cdcd1ddcfeacfef27f66be067e4eb.jpg","text":"TemporaryFile(/tmp/multipartBody4967154256792175202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175802949,"filename":"image_03112025_08_21_15_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/3/dd5d00c1b41fc84bc6a88889b581a9ac.jpg","text":"TemporaryFile(/tmp/multipartBody4156568053924805503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175802949,"filename":"image_03112025_08_21_06_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392053827","file1":"1392053819","file0":"1392053816","file4":"1392053907","file5":"1392053947","file3":"1392053863"},"map_files_photo_id_array":[{"photo_id":"1392053947","filename":"file5"},{"photo_id":"1392053827","filename":"file2"},{"photo_id":"1392053907","filename":"file4"},{"photo_id":"1392053819","filename":"file1"},{"photo_id":"1392053816","filename":"file0"},{"photo_id":"1392053863","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392053907":["hashtag1","hashtag2"]},{"1392053816":["hashtag1","hashtag2"]},{"1392053819":["hashtag1","hashtag2"]},{"1392053863":["hashtag1","hashtag2"]},{"1392053947":["hashtag1","hashtag2"]},{"1392053827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392053907, 1392053816, 1392053819, 1392053863, 1392053947, 1392053827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39098858833313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:16:22.412049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_17_2634.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_20_2754.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_24_3773.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_27_2670.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_29_2773.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_33_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_17_2634.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_20_2754.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_24_3773.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_27_2670.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_29_2773.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_33_3582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392054047","1392054002","1392054055","1392054034","1392054051","1392054030"],"photo_ids_order":["1392054002","1392054030","1392054034","1392054047","1392054051","1392054055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e441c59024a7a28739b4030274536762.jpg","text":"TemporaryFile(/tmp/multipartBody5395147032394264184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175843203,"filename":"image_03112025_08_21_27_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/914e07d499144f4a9eca6a3aeaee4a9c.jpg","text":"TemporaryFile(/tmp/multipartBody6640781205801143272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175843203,"filename":"image_03112025_08_21_17_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/3/076054c04baf51e043d0f1895e2a0743.jpg","text":"TemporaryFile(/tmp/multipartBody3243271048401684131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175843203,"filename":"image_03112025_08_21_33_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/3/4a6929bc3b60a9e4f6a81d11a1f6414d.jpg","text":"TemporaryFile(/tmp/multipartBody3032456921491978293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175843203,"filename":"image_03112025_08_21_24_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/3/404c3ce91a489acb2febd5d90a180b08.jpg","text":"TemporaryFile(/tmp/multipartBody8219586500434279586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175843203,"filename":"image_03112025_08_21_29_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/3/33b0a4569e31f7d31ea074dfa1594d04.jpg","text":"TemporaryFile(/tmp/multipartBody1316708953768289121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175843203,"filename":"image_03112025_08_21_20_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392054034","file1":"1392054030","file0":"1392054002","file4":"1392054051","file5":"1392054055","file3":"1392054047"},"map_files_photo_id_array":[{"photo_id":"1392054055","filename":"file5"},{"photo_id":"1392054034","filename":"file2"},{"photo_id":"1392054051","filename":"file4"},{"photo_id":"1392054030","filename":"file1"},{"photo_id":"1392054002","filename":"file0"},{"photo_id":"1392054047","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392054047":["hashtag1","hashtag2"]},{"1392054002":["hashtag1","hashtag2"]},{"1392054055":["hashtag1","hashtag2"]},{"1392054034":["hashtag1","hashtag2"]},{"1392054051":["hashtag1","hashtag2"]},{"1392054030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392054047, 1392054002, 1392054055, 1392054034, 1392054051, 1392054030)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.704286336898804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:17:22.559361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_35_2564.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_38_2642.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_42_3752.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_45_2691.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_47_2585.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_51_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_35_2564.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_38_2642.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_42_3752.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_45_2691.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_47_2585.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_51_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392054155","1392054143","1392054149","1392054134","1392054157","1392054139"],"photo_ids_order":["1392054134","1392054139","1392054143","1392054149","1392054155","1392054157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b77402a2c7a57e2e52ad5b8dcb02884.jpg","text":"TemporaryFile(/tmp/multipartBody844895684864038547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175910724,"filename":"image_03112025_08_21_47_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/3/f3449da953b678dffc6b5afb68267e74.jpg","text":"TemporaryFile(/tmp/multipartBody7330494959694531021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175910724,"filename":"image_03112025_08_21_42_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/3/f6523aab5022bf858636acf467d22310.jpg","text":"TemporaryFile(/tmp/multipartBody2329902975286433284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175910724,"filename":"image_03112025_08_21_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/3/8501e95654c9f641660d6b378a27980b.jpg","text":"TemporaryFile(/tmp/multipartBody1724778585530623622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175910724,"filename":"image_03112025_08_21_35_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/3/76c0f77e0801397bf614299c568a197f.jpg","text":"TemporaryFile(/tmp/multipartBody7732681774377814593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175910724,"filename":"image_03112025_08_21_51_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/3/98d8727fbb2c561efbc158504599bb44.jpg","text":"TemporaryFile(/tmp/multipartBody7341229059867209942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175910724,"filename":"image_03112025_08_21_38_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392054143","file1":"1392054139","file0":"1392054134","file4":"1392054155","file5":"1392054157","file3":"1392054149"},"map_files_photo_id_array":[{"photo_id":"1392054157","filename":"file5"},{"photo_id":"1392054143","filename":"file2"},{"photo_id":"1392054155","filename":"file4"},{"photo_id":"1392054139","filename":"file1"},{"photo_id":"1392054134","filename":"file0"},{"photo_id":"1392054149","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392054155":["hashtag1","hashtag2"]},{"1392054143":["hashtag1","hashtag2"]},{"1392054149":["hashtag1","hashtag2"]},{"1392054134":["hashtag1","hashtag2"]},{"1392054157":["hashtag1","hashtag2"]},{"1392054139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392054155, 1392054143, 1392054149, 1392054134, 1392054157, 1392054139)","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 = 1392054143 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_42_3752.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 69.62759518623352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:18:43.438436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_54_2730.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_56_2693.jpg', '/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_59_3084.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_02_2737.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_06_3572.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_08_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_54_2730.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_56_2693.jpg
/home/pi/Desktop/images/03112025/08/21/image_03112025_08_21_59_3084.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_02_2737.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_06_3572.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_08_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392054188","1392054185","1392054190","1392054271","1392054223","1392054189"],"photo_ids_order":["1392054185","1392054188","1392054189","1392054190","1392054223","1392054271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1cecaa950a498b3a3ec3605a5e1b8f09.jpg","text":"TemporaryFile(/tmp/multipartBody5189990380141451633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175984247,"filename":"image_03112025_08_21_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/3/57456d94c3410dc361da627b3f02541e.jpg","text":"TemporaryFile(/tmp/multipartBody1010147699752365135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175984247,"filename":"image_03112025_08_21_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/3/0c3dfffb68127e70b41c5843a580ddf0.jpg","text":"TemporaryFile(/tmp/multipartBody9081103674846989599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175984247,"filename":"image_03112025_08_22_02_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/3/db55e87ff4a5c10c130ead7acede5bac.jpg","text":"TemporaryFile(/tmp/multipartBody7845919936586238222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175984247,"filename":"image_03112025_08_22_08_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/3/56f5d38be463cdbf19e1d190de179cf6.jpg","text":"TemporaryFile(/tmp/multipartBody251705211705434917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175984247,"filename":"image_03112025_08_22_06_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/3/4d9dba44c0d5e1508ecf98bee4ea8e61.jpg","text":"TemporaryFile(/tmp/multipartBody3123466762887801679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762175984247,"filename":"image_03112025_08_21_59_3084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392054189","file1":"1392054188","file0":"1392054185","file4":"1392054223","file5":"1392054271","file3":"1392054190"},"map_files_photo_id_array":[{"photo_id":"1392054271","filename":"file5"},{"photo_id":"1392054189","filename":"file2"},{"photo_id":"1392054223","filename":"file4"},{"photo_id":"1392054188","filename":"file1"},{"photo_id":"1392054185","filename":"file0"},{"photo_id":"1392054190","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392054188":["hashtag1","hashtag2"]},{"1392054185":["hashtag1","hashtag2"]},{"1392054190":["hashtag1","hashtag2"]},{"1392054271":["hashtag1","hashtag2"]},{"1392054223":["hashtag1","hashtag2"]},{"1392054189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392054188, 1392054185, 1392054190, 1392054271, 1392054223, 1392054189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03979444503784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:19:22.748479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_11_2763.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_14_3509.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_17_2610.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_21_3624.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_23_2680.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_26_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_11_2763.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_14_3509.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_17_2610.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_21_3624.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_23_2680.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_26_2790.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.717573881149292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:19:42.696165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_11_2763.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_14_3509.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_17_2610.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_21_3624.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_23_2680.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_26_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_11_2763.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_14_3509.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_17_2610.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_21_3624.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_23_2680.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_26_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392054551","1392054602","1392054503","1392054556","1392054561","1392054546"],"photo_ids_order":["1392054503","1392054546","1392054551","1392054556","1392054561","1392054602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c56148cc39fb68d68516bc7881fa1ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3737009990478935842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176043420,"filename":"image_03112025_08_22_17_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1f7f4c11f69ad548359a1e2b770bd1b1.jpg","text":"TemporaryFile(/tmp/multipartBody3139839627771746739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176043420,"filename":"image_03112025_08_22_26_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/3/32447ea0c109f1f2526e625363e521d3.jpg","text":"TemporaryFile(/tmp/multipartBody2741841786079942386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176043420,"filename":"image_03112025_08_22_11_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b9b8260c9de824cf71519c6cd0a568ae.jpg","text":"TemporaryFile(/tmp/multipartBody9037458313412700627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176043420,"filename":"image_03112025_08_22_21_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/3/beeb3bc238463683833e91569cad6d4b.jpg","text":"TemporaryFile(/tmp/multipartBody5261749234737669413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176043420,"filename":"image_03112025_08_22_23_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/3/35d297da122b3f25e7db16ee13effd19.jpg","text":"TemporaryFile(/tmp/multipartBody7124302460718303842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176043420,"filename":"image_03112025_08_22_14_3509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392054551","file1":"1392054546","file0":"1392054503","file4":"1392054561","file5":"1392054602","file3":"1392054556"},"map_files_photo_id_array":[{"photo_id":"1392054602","filename":"file5"},{"photo_id":"1392054551","filename":"file2"},{"photo_id":"1392054561","filename":"file4"},{"photo_id":"1392054546","filename":"file1"},{"photo_id":"1392054503","filename":"file0"},{"photo_id":"1392054556","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392054551":["hashtag1","hashtag2"]},{"1392054602":["hashtag1","hashtag2"]},{"1392054503":["hashtag1","hashtag2"]},{"1392054556":["hashtag1","hashtag2"]},{"1392054561":["hashtag1","hashtag2"]},{"1392054546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392054551, 1392054602, 1392054503, 1392054556, 1392054561, 1392054546)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.69987368583679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:20:41.919619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_29_2681.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_33_3859.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_36_2779.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_38_2574.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_42_3679.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_47_5651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_29_2681.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_33_3859.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_36_2779.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_38_2574.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_42_3679.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_47_5651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392054791","1392054824","1392054803","1392054796","1392054769","1392054780"],"photo_ids_order":["1392054769","1392054780","1392054791","1392054796","1392054803","1392054824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/157a798316554a47ebeb6073479afdf7.jpg","text":"TemporaryFile(/tmp/multipartBody3495273328573723005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176102743,"filename":"image_03112025_08_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/3/ed7bdb3a843f80ea9df572c5fbf9c865.jpg","text":"TemporaryFile(/tmp/multipartBody1626664123025272130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176102743,"filename":"image_03112025_08_22_47_5651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40302ee87ce97f591ee774468cd5e9a3.jpg","text":"TemporaryFile(/tmp/multipartBody2329677299911462199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176102743,"filename":"image_03112025_08_22_42_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/3/77452974a70f0c136d86f4dc7f5a0b94.jpg","text":"TemporaryFile(/tmp/multipartBody4116292816094377717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176102743,"filename":"image_03112025_08_22_38_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/3/748bd9881daa2294e22f9fc840ce7156.jpg","text":"TemporaryFile(/tmp/multipartBody356954650568922259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176102743,"filename":"image_03112025_08_22_29_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5912ab22f40d2ab461d3579f9f8945e2.jpg","text":"TemporaryFile(/tmp/multipartBody4329117113405306351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176102743,"filename":"image_03112025_08_22_33_3859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392054791","file1":"1392054780","file0":"1392054769","file4":"1392054803","file5":"1392054824","file3":"1392054796"},"map_files_photo_id_array":[{"photo_id":"1392054824","filename":"file5"},{"photo_id":"1392054791","filename":"file2"},{"photo_id":"1392054803","filename":"file4"},{"photo_id":"1392054780","filename":"file1"},{"photo_id":"1392054769","filename":"file0"},{"photo_id":"1392054796","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392054791":["hashtag1","hashtag2"]},{"1392054824":["hashtag1","hashtag2"]},{"1392054803":["hashtag1","hashtag2"]},{"1392054796":["hashtag1","hashtag2"]},{"1392054769":["hashtag1","hashtag2"]},{"1392054780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392054791, 1392054824, 1392054803, 1392054796, 1392054769, 1392054780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17426800727844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:21:22.059369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_49_1623.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_51_1607.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_53_2411.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_57_3696.jpg', '/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_59_2668.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_02_2876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_49_1623.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_51_1607.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_53_2411.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_57_3696.jpg
/home/pi/Desktop/images/03112025/08/22/image_03112025_08_22_59_2668.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_02_2876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392055004","1392054878","1392054920","1392054958","1392054844","1392054840"],"photo_ids_order":["1392054840","1392054844","1392054878","1392054920","1392054958","1392055004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/232a87ef1f5301c7b898b7ac7af9eb2c.jpg","text":"TemporaryFile(/tmp/multipartBody2854070099016509618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176142842,"filename":"image_03112025_08_23_02_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/3/117fe5f18c415e822c8e57c3920f0b42.jpg","text":"TemporaryFile(/tmp/multipartBody5088376419568522936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176142842,"filename":"image_03112025_08_22_53_2411.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0299292aecba6786aa01d7851f9ed933.jpg","text":"TemporaryFile(/tmp/multipartBody203264200465339259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176142842,"filename":"image_03112025_08_22_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/3/63227afbe947e6557c4aa8c22a6c1683.jpg","text":"TemporaryFile(/tmp/multipartBody4301470611723460103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176142842,"filename":"image_03112025_08_22_59_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/3/7749e3f9dca9eb7c2d252c2ffd138e3c.jpg","text":"TemporaryFile(/tmp/multipartBody2754910646225468097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176142842,"filename":"image_03112025_08_22_51_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/3/33714a6b695b90975f2cd964e5cf45b4.jpg","text":"TemporaryFile(/tmp/multipartBody1690355051908214315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176142842,"filename":"image_03112025_08_22_49_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392054878","file1":"1392054844","file0":"1392054840","file4":"1392054958","file5":"1392055004","file3":"1392054920"},"map_files_photo_id_array":[{"photo_id":"1392055004","filename":"file5"},{"photo_id":"1392054878","filename":"file2"},{"photo_id":"1392054958","filename":"file4"},{"photo_id":"1392054844","filename":"file1"},{"photo_id":"1392054840","filename":"file0"},{"photo_id":"1392054920","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392055004":["hashtag1","hashtag2"]},{"1392054878":["hashtag1","hashtag2"]},{"1392054920":["hashtag1","hashtag2"]},{"1392054958":["hashtag1","hashtag2"]},{"1392054844":["hashtag1","hashtag2"]},{"1392054840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392055004, 1392054878, 1392054920, 1392054958, 1392054844, 1392054840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.419580936431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:22:02.847649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_05_2556.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_08_3610.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_11_2751.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_14_2607.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_17_3623.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_20_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_05_2556.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_08_3610.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_11_2751.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_14_2607.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_17_3623.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_20_2511.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392055183","1392055225","1392055141","1392055350","1392055308","1392055265"],"photo_ids_order":["1392055141","1392055183","1392055225","1392055265","1392055308","1392055350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7ae70be6c7142beaf57c815f5f6732b4.jpg","text":"TemporaryFile(/tmp/multipartBody7140337731250564401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176183754,"filename":"image_03112025_08_23_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/3/09598dbb483c873266db8d39eada4535.jpg","text":"TemporaryFile(/tmp/multipartBody8566738902159199573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176183754,"filename":"image_03112025_08_23_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/3/6574608eff87974070483c7c93a4ed76.jpg","text":"TemporaryFile(/tmp/multipartBody2239583498384919911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176183754,"filename":"image_03112025_08_23_05_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/3/3cf705260833137e6f1fe7d42e351fea.jpg","text":"TemporaryFile(/tmp/multipartBody3720555242357369209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176183754,"filename":"image_03112025_08_23_20_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/3/d5e1b98c704b4a457be1471a77f70e8d.jpg","text":"TemporaryFile(/tmp/multipartBody7401616140455074699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176183754,"filename":"image_03112025_08_23_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/3/27e8f5aa55cd4407edd9dbe839ba41c8.jpg","text":"TemporaryFile(/tmp/multipartBody920247939335248890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176183754,"filename":"image_03112025_08_23_14_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392055225","file1":"1392055183","file0":"1392055141","file4":"1392055308","file5":"1392055350","file3":"1392055265"},"map_files_photo_id_array":[{"photo_id":"1392055350","filename":"file5"},{"photo_id":"1392055225","filename":"file2"},{"photo_id":"1392055308","filename":"file4"},{"photo_id":"1392055183","filename":"file1"},{"photo_id":"1392055141","filename":"file0"},{"photo_id":"1392055265","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392055183":["hashtag1","hashtag2"]},{"1392055225":["hashtag1","hashtag2"]},{"1392055141":["hashtag1","hashtag2"]},{"1392055350":["hashtag1","hashtag2"]},{"1392055308":["hashtag1","hashtag2"]},{"1392055265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392055183, 1392055225, 1392055141, 1392055350, 1392055308, 1392055265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86390805244446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:22:42.364762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_24_3622.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_26_2710.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_29_2599.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_33_3730.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_35_2601.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_38_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_24_3622.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_26_2710.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_29_2599.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_33_3730.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_35_2601.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_38_2540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392055642","1392055537","1392055680","1392055497","1392055572","1392055605"],"photo_ids_order":["1392055497","1392055537","1392055572","1392055605","1392055642","1392055680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc95fbd1103947cdb5823d5f06ad60d4.jpg","text":"TemporaryFile(/tmp/multipartBody878205899646823868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176223204,"filename":"image_03112025_08_23_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/3/f3c47a4e4d7edcf3561e6cf13d635cca.jpg","text":"TemporaryFile(/tmp/multipartBody8491616837559336246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176223204,"filename":"image_03112025_08_23_26_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/3/58ac49baf22af5ebe455f82f0c4ede6f.jpg","text":"TemporaryFile(/tmp/multipartBody8010712029349680179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176223204,"filename":"image_03112025_08_23_38_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/3/ad5349d6c69b59d45ff21d4ea99a711e.jpg","text":"TemporaryFile(/tmp/multipartBody1852775181971930773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176223204,"filename":"image_03112025_08_23_24_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/3/daaae556d85d6a82742d890d5e5c000a.jpg","text":"TemporaryFile(/tmp/multipartBody4495588693067044069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176223204,"filename":"image_03112025_08_23_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/3/419803f78350dd0558e51d2bbceaeb03.jpg","text":"TemporaryFile(/tmp/multipartBody1210258373795994229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176223204,"filename":"image_03112025_08_23_33_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392055572","file1":"1392055537","file0":"1392055497","file4":"1392055642","file5":"1392055680","file3":"1392055605"},"map_files_photo_id_array":[{"photo_id":"1392055680","filename":"file5"},{"photo_id":"1392055572","filename":"file2"},{"photo_id":"1392055642","filename":"file4"},{"photo_id":"1392055537","filename":"file1"},{"photo_id":"1392055497","filename":"file0"},{"photo_id":"1392055605","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392055642":["hashtag1","hashtag2"]},{"1392055537":["hashtag1","hashtag2"]},{"1392055680":["hashtag1","hashtag2"]},{"1392055497":["hashtag1","hashtag2"]},{"1392055572":["hashtag1","hashtag2"]},{"1392055605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392055642, 1392055537, 1392055680, 1392055497, 1392055572, 1392055605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.982014417648315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:23:22.695658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_41_3654.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_44_2815.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_47_2652.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_51_3638.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_53_2534.jpg', '/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_56_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_41_3654.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_44_2815.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_47_2652.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_51_3638.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_53_2534.jpg
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_23_56_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392055885","1392055879","1392055888","1392055873","1392055892","1392055895"],"photo_ids_order":["1392055873","1392055879","1392055885","1392055888","1392055892","1392055895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1800eb7d8989b2b6cae5ab1da6a12f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2799089972486925272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176265136,"filename":"image_03112025_08_23_47_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dbed60e920ca6c7f2e8b49069bd224e6.jpg","text":"TemporaryFile(/tmp/multipartBody2104233198858812322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176265136,"filename":"image_03112025_08_23_44_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/3/2c7941fd8c89f326280a7a09457a9314.jpg","text":"TemporaryFile(/tmp/multipartBody8184771012965737894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176265136,"filename":"image_03112025_08_23_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/3/3876b633d46d3b201b6b25d58ecdfd66.jpg","text":"TemporaryFile(/tmp/multipartBody1966201913558120124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176265136,"filename":"image_03112025_08_23_41_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/3/59a76b6884a1545beaaeeafa4b027c55.jpg","text":"TemporaryFile(/tmp/multipartBody3530686706408603623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176265136,"filename":"image_03112025_08_23_53_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/3/809a033052587ab0895856f917488bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4964944303004376201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176265136,"filename":"image_03112025_08_23_56_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392055885","file1":"1392055879","file0":"1392055873","file4":"1392055892","file5":"1392055895","file3":"1392055888"},"map_files_photo_id_array":[{"photo_id":"1392055895","filename":"file5"},{"photo_id":"1392055885","filename":"file2"},{"photo_id":"1392055892","filename":"file4"},{"photo_id":"1392055879","filename":"file1"},{"photo_id":"1392055873","filename":"file0"},{"photo_id":"1392055888","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392055885":["hashtag1","hashtag2"]},{"1392055879":["hashtag1","hashtag2"]},{"1392055888":["hashtag1","hashtag2"]},{"1392055873":["hashtag1","hashtag2"]},{"1392055892":["hashtag1","hashtag2"]},{"1392055895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392055885, 1392055879, 1392055888, 1392055873, 1392055892, 1392055895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65994119644165 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-03 14:24:21.870676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/23/image_03112025_08_24_00_3693.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_02_2575.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_05_2600.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_08_3724.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_11_3010.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_14_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/23/image_03112025_08_24_00_3693.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_02_2575.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_05_2600.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_08_3724.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_11_3010.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_14_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392055922","1392055925","1392055954","1392055992","1392055918","1392056030"],"photo_ids_order":["1392055918","1392055922","1392055925","1392055954","1392055992","1392056030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e10db3076a019c569f6ef687fa1e295c.jpg","text":"TemporaryFile(/tmp/multipartBody1061953711982514598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176322628,"filename":"image_03112025_08_24_02_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/3/7ea07107cd763faaae8df13efbaf87eb.jpg","text":"TemporaryFile(/tmp/multipartBody293770769405924338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176322628,"filename":"image_03112025_08_24_05_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/79de699404dd0d36c9d77ee915d42382.jpg","text":"TemporaryFile(/tmp/multipartBody8041427527853760107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176322628,"filename":"image_03112025_08_24_08_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/3/d0f17d931789c1cdeb5e021ec0324fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8569252594870753613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176322628,"filename":"image_03112025_08_24_11_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/3/805cf627e4898289d13c0430e45e5381.jpg","text":"TemporaryFile(/tmp/multipartBody8760261669740514575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176322628,"filename":"image_03112025_08_24_00_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/3/bf7b6d4372dd91a9bfdd3b717829364b.jpg","text":"TemporaryFile(/tmp/multipartBody8019994379344027681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176322628,"filename":"image_03112025_08_24_14_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392055925","file1":"1392055922","file0":"1392055918","file4":"1392055992","file5":"1392056030","file3":"1392055954"},"map_files_photo_id_array":[{"photo_id":"1392056030","filename":"file5"},{"photo_id":"1392055925","filename":"file2"},{"photo_id":"1392055992","filename":"file4"},{"photo_id":"1392055922","filename":"file1"},{"photo_id":"1392055918","filename":"file0"},{"photo_id":"1392055954","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392055922":["hashtag1","hashtag2"]},{"1392055925":["hashtag1","hashtag2"]},{"1392055954":["hashtag1","hashtag2"]},{"1392055992":["hashtag1","hashtag2"]},{"1392055918":["hashtag1","hashtag2"]},{"1392056030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392055922, 1392055925, 1392055954, 1392055992, 1392055918, 1392056030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.452165603637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:25:02.771206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_18_3636.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_20_2706.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_23_2644.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_27_3792.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_29_2668.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_32_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_18_3636.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_20_2706.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_23_2644.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_27_3792.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_29_2668.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_32_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":["1392056229","1392056387","1392056319","1392056310","1392056189","1392056270"],"photo_ids_order":["1392056189","1392056229","1392056270","1392056310","1392056319","1392056387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/10f6557df19ac026f993507a32014654.jpg","text":"TemporaryFile(/tmp/multipartBody5253251134150180555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176363662,"filename":"image_03112025_08_24_20_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bfc432476372e0999f5b45d1f931b9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6677515034464203795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176363662,"filename":"image_03112025_08_24_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/3/4c559ee68b487323088cbe71534408c7.jpg","text":"TemporaryFile(/tmp/multipartBody1808638240608999129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176363662,"filename":"image_03112025_08_24_29_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc4ade5d8c3751068b611eac9c5c0548.jpg","text":"TemporaryFile(/tmp/multipartBody1679986129147503468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176363662,"filename":"image_03112025_08_24_27_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/3/8bd1f35460fdab15ea5a750e9397fffb.jpg","text":"TemporaryFile(/tmp/multipartBody4827390223387608280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176363662,"filename":"image_03112025_08_24_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/3/61402a600df2245eae002058085c400f.jpg","text":"TemporaryFile(/tmp/multipartBody906048632836756989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176363662,"filename":"image_03112025_08_24_23_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392056270","file1":"1392056229","file0":"1392056189","file4":"1392056319","file5":"1392056387","file3":"1392056310"},"map_files_photo_id_array":[{"photo_id":"1392056387","filename":"file5"},{"photo_id":"1392056270","filename":"file2"},{"photo_id":"1392056319","filename":"file4"},{"photo_id":"1392056229","filename":"file1"},{"photo_id":"1392056189","filename":"file0"},{"photo_id":"1392056310","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392056229":["hashtag1","hashtag2"]},{"1392056387":["hashtag1","hashtag2"]},{"1392056319":["hashtag1","hashtag2"]},{"1392056310":["hashtag1","hashtag2"]},{"1392056189":["hashtag1","hashtag2"]},{"1392056270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392056229, 1392056387, 1392056319, 1392056310, 1392056189, 1392056270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22535467147827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:26:02.748267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_35_2732.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_38_2593.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_41_3758.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_44_2725.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_47_2690.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_51_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_35_2732.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_38_2593.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_41_3758.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_44_2725.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_47_2690.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_51_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392056758","1392056830","1392056583","1392056684","1392056802","1392056618"],"photo_ids_order":["1392056583","1392056618","1392056684","1392056758","1392056802","1392056830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/114d8408fe07525ea1a290c01fda4fa3.jpg","text":"TemporaryFile(/tmp/multipartBody4620096634364567907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176423622,"filename":"image_03112025_08_24_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/3/9f8896b0f8af3636690cdc91fab07fa4.jpg","text":"TemporaryFile(/tmp/multipartBody143383674111992980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176423622,"filename":"image_03112025_08_24_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/3/6b162c2b05476950f0784394d97a0901.jpg","text":"TemporaryFile(/tmp/multipartBody8620280253207437305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176423622,"filename":"image_03112025_08_24_35_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/3/f3ea56f6330491ec08f3d5ebbcb8bce2.jpg","text":"TemporaryFile(/tmp/multipartBody8219470126958850101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176423622,"filename":"image_03112025_08_24_41_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/3/c4de500c91ea7574031755f03088c915.jpg","text":"TemporaryFile(/tmp/multipartBody8749654827744723054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176423622,"filename":"image_03112025_08_24_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/3/d74c242a15a8ec25db9b3ea55b17cf9b.jpg","text":"TemporaryFile(/tmp/multipartBody2366690200889726052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176423622,"filename":"image_03112025_08_24_38_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392056684","file1":"1392056618","file0":"1392056583","file4":"1392056802","file5":"1392056830","file3":"1392056758"},"map_files_photo_id_array":[{"photo_id":"1392056830","filename":"file5"},{"photo_id":"1392056684","filename":"file2"},{"photo_id":"1392056802","filename":"file4"},{"photo_id":"1392056618","filename":"file1"},{"photo_id":"1392056583","filename":"file0"},{"photo_id":"1392056758","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392056758":["hashtag1","hashtag2"]},{"1392056830":["hashtag1","hashtag2"]},{"1392056583":["hashtag1","hashtag2"]},{"1392056684":["hashtag1","hashtag2"]},{"1392056802":["hashtag1","hashtag2"]},{"1392056618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392056758, 1392056830, 1392056583, 1392056684, 1392056802, 1392056618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97049808502197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:26:42.320616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_53_2904.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_56_2530.jpg', '/home/pi/Desktop/images/03112025/08/24/image_03112025_08_25_00_3567.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_02_2698.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_05_2645.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_08_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_53_2904.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_24_56_2530.jpg
/home/pi/Desktop/images/03112025/08/24/image_03112025_08_25_00_3567.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_02_2698.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_05_2645.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_08_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392057162","1392057120","1392057009","1392057053","1392057200","1392057250"],"photo_ids_order":["1392057009","1392057053","1392057120","1392057162","1392057200","1392057250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/954ffa31719a7b9895fc6468118ded25.jpg","text":"TemporaryFile(/tmp/multipartBody9109940780109534819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176463149,"filename":"image_03112025_08_25_02_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c2ea453c20965faf02078a3a877c0da4.jpg","text":"TemporaryFile(/tmp/multipartBody3782991240434465233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176463149,"filename":"image_03112025_08_25_00_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/3/49a720cfcb6105664bfee8194ffc0dab.jpg","text":"TemporaryFile(/tmp/multipartBody6431319985992880118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176463149,"filename":"image_03112025_08_24_53_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/3/3f0e8c03326104a3bb3cc9183b463438.jpg","text":"TemporaryFile(/tmp/multipartBody5900867508051410029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176463149,"filename":"image_03112025_08_24_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/3/c2043ea4b5502561e91a899ff401f602.jpg","text":"TemporaryFile(/tmp/multipartBody8298935098995118320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176463149,"filename":"image_03112025_08_25_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/3/49ceb59e7feb52c3e7d6b7b2177c7645.jpg","text":"TemporaryFile(/tmp/multipartBody7244240352832438558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176463149,"filename":"image_03112025_08_25_08_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392057120","file1":"1392057053","file0":"1392057009","file4":"1392057200","file5":"1392057250","file3":"1392057162"},"map_files_photo_id_array":[{"photo_id":"1392057250","filename":"file5"},{"photo_id":"1392057120","filename":"file2"},{"photo_id":"1392057200","filename":"file4"},{"photo_id":"1392057053","filename":"file1"},{"photo_id":"1392057009","filename":"file0"},{"photo_id":"1392057162","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392057162":["hashtag1","hashtag2"]},{"1392057120":["hashtag1","hashtag2"]},{"1392057009":["hashtag1","hashtag2"]},{"1392057053":["hashtag1","hashtag2"]},{"1392057200":["hashtag1","hashtag2"]},{"1392057250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392057162, 1392057120, 1392057009, 1392057053, 1392057200, 1392057250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63708734512329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:27:22.440900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_11_3660.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_14_2577.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_17_2748.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_20_3596.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_23_2801.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_26_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_11_3660.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_14_2577.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_17_2748.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_20_3596.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_23_2801.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_26_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392057894","1392057604","1392057854","1392057807","1392057707","1392057524"],"photo_ids_order":["1392057524","1392057604","1392057707","1392057807","1392057854","1392057894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/583b06ce492e0d09b9401e18bd90c063.jpg","text":"TemporaryFile(/tmp/multipartBody5726071485118945590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176503227,"filename":"image_03112025_08_25_26_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa0bc2aa0945426fe3268e5b6e696081.jpg","text":"TemporaryFile(/tmp/multipartBody6556661700467476554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176503227,"filename":"image_03112025_08_25_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/3/2b712349f91f8b8c69b1c955fae20f33.jpg","text":"TemporaryFile(/tmp/multipartBody1852811093123536745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176503227,"filename":"image_03112025_08_25_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/3/6409aec3c55926339f5971e1b6322543.jpg","text":"TemporaryFile(/tmp/multipartBody647648160691649070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176503227,"filename":"image_03112025_08_25_20_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/3/1509a865fcca0a4190fd70543a516b30.jpg","text":"TemporaryFile(/tmp/multipartBody5956994610975735198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176503227,"filename":"image_03112025_08_25_17_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/3/1bb11ee515af0d3e4c90c6cebc9ced8e.jpg","text":"TemporaryFile(/tmp/multipartBody8002019017056889978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176503227,"filename":"image_03112025_08_25_11_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392057707","file1":"1392057604","file0":"1392057524","file4":"1392057854","file5":"1392057894","file3":"1392057807"},"map_files_photo_id_array":[{"photo_id":"1392057894","filename":"file5"},{"photo_id":"1392057707","filename":"file2"},{"photo_id":"1392057854","filename":"file4"},{"photo_id":"1392057604","filename":"file1"},{"photo_id":"1392057524","filename":"file0"},{"photo_id":"1392057807","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392057894":["hashtag1","hashtag2"]},{"1392057604":["hashtag1","hashtag2"]},{"1392057854":["hashtag1","hashtag2"]},{"1392057807":["hashtag1","hashtag2"]},{"1392057707":["hashtag1","hashtag2"]},{"1392057524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392057894, 1392057604, 1392057854, 1392057807, 1392057707, 1392057524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16669774055481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:28:03.170943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_29_3665.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_32_2815.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_36_3571.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_38_2704.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_41_2629.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_44_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_29_3665.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_32_2815.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_36_3571.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_38_2704.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_41_2629.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_44_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392058170","1392058166","1392058160","1392058118","1392058078","1392058039"],"photo_ids_order":["1392058039","1392058078","1392058118","1392058160","1392058166","1392058170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ecb04ef26cbd1c1f340bf83c851cea3.jpg","text":"TemporaryFile(/tmp/multipartBody5993505699587445737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176544016,"filename":"image_03112025_08_25_44_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/3/3f246b4cc388843c69eb1f38b0a4a7ad.jpg","text":"TemporaryFile(/tmp/multipartBody7948273783719398343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176544016,"filename":"image_03112025_08_25_41_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/3/dc3a1b38c85979e7fce58496cfddd23c.jpg","text":"TemporaryFile(/tmp/multipartBody3503587925442477467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176544016,"filename":"image_03112025_08_25_38_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/3/4a4e970685e4e15df8e15c4a0974f925.jpg","text":"TemporaryFile(/tmp/multipartBody7261658301684685473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176544016,"filename":"image_03112025_08_25_36_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/3/9c58a43898ca7115403daa2d26698a81.jpg","text":"TemporaryFile(/tmp/multipartBody3915973936136467928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176544016,"filename":"image_03112025_08_25_32_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/3/8c445ede52f13ee78d2b040495168f42.jpg","text":"TemporaryFile(/tmp/multipartBody5704828123335548147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176544016,"filename":"image_03112025_08_25_29_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392058118","file1":"1392058078","file0":"1392058039","file4":"1392058166","file5":"1392058170","file3":"1392058160"},"map_files_photo_id_array":[{"photo_id":"1392058170","filename":"file5"},{"photo_id":"1392058118","filename":"file2"},{"photo_id":"1392058166","filename":"file4"},{"photo_id":"1392058078","filename":"file1"},{"photo_id":"1392058039","filename":"file0"},{"photo_id":"1392058160","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392058170":["hashtag1","hashtag2"]},{"1392058166":["hashtag1","hashtag2"]},{"1392058160":["hashtag1","hashtag2"]},{"1392058118":["hashtag1","hashtag2"]},{"1392058078":["hashtag1","hashtag2"]},{"1392058039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392058170, 1392058166, 1392058160, 1392058118, 1392058078, 1392058039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.052414417266846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:28:42.749895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_47_2900.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_50_3593.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_53_2660.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_56_3586.jpg', '/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_59_2655.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_02_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_47_2900.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_50_3593.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_53_2660.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_56_3586.jpg
/home/pi/Desktop/images/03112025/08/25/image_03112025_08_25_59_2655.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_02_2744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392058203","1392058184","1392058202","1392058205","1392058189","1392058201"],"photo_ids_order":["1392058184","1392058189","1392058201","1392058202","1392058203","1392058205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/83fc4b6ab4ef2e55b4b2dbbe0f7624df.jpg","text":"TemporaryFile(/tmp/multipartBody7920070100206709642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176586290,"filename":"image_03112025_08_25_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/3/0624784251503706c6eb64dc4439b2d5.jpg","text":"TemporaryFile(/tmp/multipartBody8397268729686363702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176586290,"filename":"image_03112025_08_25_47_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/3/57a8a9d879e43fe5a9cd72375745d1b7.jpg","text":"TemporaryFile(/tmp/multipartBody5562872726999461303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176586290,"filename":"image_03112025_08_25_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/3/a8bd879d287011f2d1857b76ba986eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3039656964790501215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176586290,"filename":"image_03112025_08_26_02_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/3/4a1a225599b9f2c305fc0f0c08f42e8c.jpg","text":"TemporaryFile(/tmp/multipartBody2089139350959474548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176586290,"filename":"image_03112025_08_25_50_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/3/700f0035dc3c48ec61534263a045f202.jpg","text":"TemporaryFile(/tmp/multipartBody8984611162157763347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176586290,"filename":"image_03112025_08_25_53_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392058201","file1":"1392058189","file0":"1392058184","file4":"1392058203","file5":"1392058205","file3":"1392058202"},"map_files_photo_id_array":[{"photo_id":"1392058205","filename":"file5"},{"photo_id":"1392058201","filename":"file2"},{"photo_id":"1392058203","filename":"file4"},{"photo_id":"1392058189","filename":"file1"},{"photo_id":"1392058184","filename":"file0"},{"photo_id":"1392058202","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392058203":["hashtag1","hashtag2"]},{"1392058184":["hashtag1","hashtag2"]},{"1392058202":["hashtag1","hashtag2"]},{"1392058205":["hashtag1","hashtag2"]},{"1392058189":["hashtag1","hashtag2"]},{"1392058201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392058203, 1392058184, 1392058202, 1392058205, 1392058189, 1392058201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59086203575134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:29:42.000498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_05_3713.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_08_2753.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_11_2716.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_14_2794.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_17_3708.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_20_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_05_3713.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_08_2753.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_11_2716.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_14_2794.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_17_3708.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_20_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392058584","1392058667","1392058481","1392058397","1392058823","1392058750"],"photo_ids_order":["1392058397","1392058481","1392058584","1392058667","1392058750","1392058823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/095c545e7c8753f16e3870104301f116.jpg","text":"TemporaryFile(/tmp/multipartBody5529187230936937295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176642876,"filename":"image_03112025_08_26_11_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/3/a05ec55c31d548170ea226f1c53a43d9.jpg","text":"TemporaryFile(/tmp/multipartBody7458957233701850575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176642876,"filename":"image_03112025_08_26_14_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/3/99bdecf2e9b8a0a255e5eb617ee04823.jpg","text":"TemporaryFile(/tmp/multipartBody8072756638369547480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176642876,"filename":"image_03112025_08_26_08_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/3/3c2d95587b5246745aa7aeed6818cecc.jpg","text":"TemporaryFile(/tmp/multipartBody3256816200014451511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176642876,"filename":"image_03112025_08_26_05_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/3/63975356fc8cc373366277f239e9ff0c.jpg","text":"TemporaryFile(/tmp/multipartBody6907559901768832278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176642876,"filename":"image_03112025_08_26_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/3/3a6fa5c3b0e9d7c42ea68dafbb3ab7d9.jpg","text":"TemporaryFile(/tmp/multipartBody1029279405010635879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176642876,"filename":"image_03112025_08_26_17_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392058584","file1":"1392058481","file0":"1392058397","file4":"1392058750","file5":"1392058823","file3":"1392058667"},"map_files_photo_id_array":[{"photo_id":"1392058823","filename":"file5"},{"photo_id":"1392058584","filename":"file2"},{"photo_id":"1392058750","filename":"file4"},{"photo_id":"1392058481","filename":"file1"},{"photo_id":"1392058397","filename":"file0"},{"photo_id":"1392058667","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392058584":["hashtag1","hashtag2"]},{"1392058667":["hashtag1","hashtag2"]},{"1392058481":["hashtag1","hashtag2"]},{"1392058397":["hashtag1","hashtag2"]},{"1392058823":["hashtag1","hashtag2"]},{"1392058750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392058584, 1392058667, 1392058481, 1392058397, 1392058823, 1392058750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2729434967041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:30:22.060699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_23_2543.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_25_2795.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_29_3509.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_32_2645.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_38_2693.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_41_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_23_2543.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_25_2795.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_29_3509.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_32_2645.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_38_2693.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_41_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392059121","1392059158","1392059218","1392059206","1392059190","1392059178"],"photo_ids_order":["1392059121","1392059158","1392059178","1392059190","1392059206","1392059218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d61aca52436f89ab522f9b8bed4dddc.jpg","text":"TemporaryFile(/tmp/multipartBody7129012550636719037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176682867,"filename":"image_03112025_08_26_23_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/3/c0010116d23c202ce65c7eb01315fb68.jpg","text":"TemporaryFile(/tmp/multipartBody7415634989263909298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176682867,"filename":"image_03112025_08_26_25_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/3/8fbb0334b90bb5f32ca4334117610827.jpg","text":"TemporaryFile(/tmp/multipartBody5019406243479999978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176682867,"filename":"image_03112025_08_26_41_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/3/7990ed6b953916bc623132870e59a330.jpg","text":"TemporaryFile(/tmp/multipartBody2691553268665890200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176682867,"filename":"image_03112025_08_26_38_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/3/c6208a933ac25eaf03e41e12c863d2c5.jpg","text":"TemporaryFile(/tmp/multipartBody2680156513239042339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176682867,"filename":"image_03112025_08_26_32_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/3/3af1a0e7bfe55f4ba9a864451c9a3240.jpg","text":"TemporaryFile(/tmp/multipartBody2299662463884261075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176682867,"filename":"image_03112025_08_26_29_3509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392059178","file1":"1392059158","file0":"1392059121","file4":"1392059206","file5":"1392059218","file3":"1392059190"},"map_files_photo_id_array":[{"photo_id":"1392059218","filename":"file5"},{"photo_id":"1392059178","filename":"file2"},{"photo_id":"1392059206","filename":"file4"},{"photo_id":"1392059158","filename":"file1"},{"photo_id":"1392059121","filename":"file0"},{"photo_id":"1392059190","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392059121":["hashtag1","hashtag2"]},{"1392059158":["hashtag1","hashtag2"]},{"1392059218":["hashtag1","hashtag2"]},{"1392059206":["hashtag1","hashtag2"]},{"1392059190":["hashtag1","hashtag2"]},{"1392059178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392059121, 1392059158, 1392059218, 1392059206, 1392059190, 1392059178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4518837928772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:31:02.576735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:31:21.942096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_44_3669.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_47_2732.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_50_2613.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_53_3637.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_56_3065.jpg', '/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_59_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_44_3669.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_47_2732.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_50_2613.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_53_3637.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_56_3065.jpg
/home/pi/Desktop/images/03112025/08/26/image_03112025_08_26_59_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392059832","1392059978","1392059938","1392059905","1392059775","1392059655"],"photo_ids_order":["1392059655","1392059775","1392059832","1392059905","1392059938","1392059978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/503391d861c8a8de416ff079b8aea55a.jpg","text":"TemporaryFile(/tmp/multipartBody5048961892860100045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176743017,"filename":"image_03112025_08_26_50_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/3/6b611dbc1e3e4876e0852fd3ee238d8f.jpg","text":"TemporaryFile(/tmp/multipartBody239521356279283952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176743017,"filename":"image_03112025_08_26_59_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/3/77b7db17092e8c23225a67aa879d8471.jpg","text":"TemporaryFile(/tmp/multipartBody5840780901532863397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176743017,"filename":"image_03112025_08_26_56_3065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b0c611007b3d676a90b2a59b4ea8271.jpg","text":"TemporaryFile(/tmp/multipartBody5059771831987550881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176743017,"filename":"image_03112025_08_26_53_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/3/b6d0087dae0472c168e09e392d888e63.jpg","text":"TemporaryFile(/tmp/multipartBody4214460500835014809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176743017,"filename":"image_03112025_08_26_47_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/3/828ace1edc68bcd92b14e8560169b637.jpg","text":"TemporaryFile(/tmp/multipartBody6196174086376920214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176743017,"filename":"image_03112025_08_26_44_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392059832","file1":"1392059775","file0":"1392059655","file4":"1392059938","file5":"1392059978","file3":"1392059905"},"map_files_photo_id_array":[{"photo_id":"1392059978","filename":"file5"},{"photo_id":"1392059832","filename":"file2"},{"photo_id":"1392059938","filename":"file4"},{"photo_id":"1392059775","filename":"file1"},{"photo_id":"1392059655","filename":"file0"},{"photo_id":"1392059905","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392059832":["hashtag1","hashtag2"]},{"1392059978":["hashtag1","hashtag2"]},{"1392059938":["hashtag1","hashtag2"]},{"1392059905":["hashtag1","hashtag2"]},{"1392059775":["hashtag1","hashtag2"]},{"1392059655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392059832, 1392059978, 1392059938, 1392059905, 1392059775, 1392059655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.847819805145264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:32:02.551466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_02_2823.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_05_2765.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_08_3675.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_11_2563.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_13_2601.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_17_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_02_2823.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_05_2765.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_08_3675.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_11_2563.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_13_2601.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_17_3686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392060069","1392060135","1392060138","1392060111","1392060142","1392060136"],"photo_ids_order":["1392060069","1392060111","1392060135","1392060136","1392060138","1392060142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/94c923bf7874ed2618c54e57deb443a6.jpg","text":"TemporaryFile(/tmp/multipartBody7667317986846308930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176783389,"filename":"image_03112025_08_27_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/3/652255290461e7729f68be5573246e94.jpg","text":"TemporaryFile(/tmp/multipartBody5388145481215452228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176783389,"filename":"image_03112025_08_27_08_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/3/bc01995187944ebd1eee4b907c12fd83.jpg","text":"TemporaryFile(/tmp/multipartBody5386793662069928574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176783389,"filename":"image_03112025_08_27_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/3/c6a87e85fadac82fd4a57f89af46c926.jpg","text":"TemporaryFile(/tmp/multipartBody6068502826773273137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176783389,"filename":"image_03112025_08_27_05_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/3/d8b86e3a3abdb74b545cabbab5b44cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3624450658247641803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176783389,"filename":"image_03112025_08_27_17_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/3/d871e1232af11e0e1550a18146c68d17.jpg","text":"TemporaryFile(/tmp/multipartBody8349813322788017238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176783389,"filename":"image_03112025_08_27_11_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392060135","file1":"1392060111","file0":"1392060069","file4":"1392060138","file5":"1392060142","file3":"1392060136"},"map_files_photo_id_array":[{"photo_id":"1392060142","filename":"file5"},{"photo_id":"1392060135","filename":"file2"},{"photo_id":"1392060138","filename":"file4"},{"photo_id":"1392060111","filename":"file1"},{"photo_id":"1392060069","filename":"file0"},{"photo_id":"1392060136","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392060069":["hashtag1","hashtag2"]},{"1392060135":["hashtag1","hashtag2"]},{"1392060138":["hashtag1","hashtag2"]},{"1392060111":["hashtag1","hashtag2"]},{"1392060142":["hashtag1","hashtag2"]},{"1392060136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392060069, 1392060135, 1392060138, 1392060111, 1392060142, 1392060136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38456869125366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:32:42.096632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_20_2661.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_22_2581.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_26_3706.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_29_2914.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_32_2662.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_34_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_20_2661.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_22_2581.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_26_3706.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_29_2914.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_32_2662.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_34_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392060307","1392060252","1392060429","1392060392","1392060352","1392060436"],"photo_ids_order":["1392060252","1392060307","1392060352","1392060392","1392060429","1392060436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/280ed5a17f45ab0d9d4495d370cfb9ef.jpg","text":"TemporaryFile(/tmp/multipartBody2186555555392968071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176822937,"filename":"image_03112025_08_27_22_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/3/3ea9a388c972a15aa1841aeb2e1e03a9.jpg","text":"TemporaryFile(/tmp/multipartBody2836394859927700262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176822937,"filename":"image_03112025_08_27_20_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/3/694354f24288fc7b7ccbb3a24abef979.jpg","text":"TemporaryFile(/tmp/multipartBody5310082908946044627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176822937,"filename":"image_03112025_08_27_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/3/a2ac92135c6b1fbb86be32b1c4a91bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2130818466562303724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176822937,"filename":"image_03112025_08_27_29_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/3/d993fc7e971e697b16b7cd9936068200.jpg","text":"TemporaryFile(/tmp/multipartBody7386671222794872024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176822937,"filename":"image_03112025_08_27_26_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3321419a99a5c27c44bea0800b0629b6.jpg","text":"TemporaryFile(/tmp/multipartBody8092948362907935289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176822937,"filename":"image_03112025_08_27_34_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392060352","file1":"1392060307","file0":"1392060252","file4":"1392060429","file5":"1392060436","file3":"1392060392"},"map_files_photo_id_array":[{"photo_id":"1392060436","filename":"file5"},{"photo_id":"1392060352","filename":"file2"},{"photo_id":"1392060429","filename":"file4"},{"photo_id":"1392060307","filename":"file1"},{"photo_id":"1392060252","filename":"file0"},{"photo_id":"1392060392","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392060307":["hashtag1","hashtag2"]},{"1392060252":["hashtag1","hashtag2"]},{"1392060429":["hashtag1","hashtag2"]},{"1392060392":["hashtag1","hashtag2"]},{"1392060352":["hashtag1","hashtag2"]},{"1392060436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392060307, 1392060252, 1392060429, 1392060392, 1392060352, 1392060436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14591336250305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:33:22.209520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_38_3683.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_41_2981.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_44_2658.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_47_3514.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_50_2679.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_53_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_38_3683.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_41_2981.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_44_2658.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_47_3514.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_50_2679.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_53_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392060456","1392060459","1392060450","1392060453","1392060446","1392060511"],"photo_ids_order":["1392060446","1392060450","1392060453","1392060456","1392060459","1392060511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/447494e64ae0b463227fe5196a6d3754.jpg","text":"TemporaryFile(/tmp/multipartBody9167488716708621944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176863023,"filename":"image_03112025_08_27_47_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf2fa8b9388df3b530c662c89be0f3ef.jpg","text":"TemporaryFile(/tmp/multipartBody9105348420747437954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176863023,"filename":"image_03112025_08_27_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/3/f32d4b7d73fd79f6db8afdb212018491.jpg","text":"TemporaryFile(/tmp/multipartBody7372666816092441373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176863023,"filename":"image_03112025_08_27_41_2981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/72fb80d30b085090ed909f6b809b64ba.jpg","text":"TemporaryFile(/tmp/multipartBody552914106003874053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176863023,"filename":"image_03112025_08_27_44_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/3/69e40c53ecd8a18d0b122f851e6f757b.jpg","text":"TemporaryFile(/tmp/multipartBody8230956238939889175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176863023,"filename":"image_03112025_08_27_38_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/3/4457d4b29e7b69c0b5c5206b802e7164.jpg","text":"TemporaryFile(/tmp/multipartBody1164649444911409351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176863023,"filename":"image_03112025_08_27_53_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392060453","file1":"1392060450","file0":"1392060446","file4":"1392060459","file5":"1392060511","file3":"1392060456"},"map_files_photo_id_array":[{"photo_id":"1392060511","filename":"file5"},{"photo_id":"1392060453","filename":"file2"},{"photo_id":"1392060459","filename":"file4"},{"photo_id":"1392060450","filename":"file1"},{"photo_id":"1392060446","filename":"file0"},{"photo_id":"1392060456","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392060456":["hashtag1","hashtag2"]},{"1392060459":["hashtag1","hashtag2"]},{"1392060450":["hashtag1","hashtag2"]},{"1392060453":["hashtag1","hashtag2"]},{"1392060446":["hashtag1","hashtag2"]},{"1392060511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392060456, 1392060459, 1392060450, 1392060453, 1392060446, 1392060511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58983850479126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:34:03.179169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_56_2967.jpg', '/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_58_2796.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_02_3803.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_05_2462.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_07_2728.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_11_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_56_2967.jpg
/home/pi/Desktop/images/03112025/08/27/image_03112025_08_27_58_2796.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_02_3803.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_05_2462.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_07_2728.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_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":["1392060618","1392060629","1392060638","1392060605","1392060658","1392060646"],"photo_ids_order":["1392060605","1392060618","1392060629","1392060638","1392060646","1392060658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5974b880e7fdfbb9d690d56053f8e39e.jpg","text":"TemporaryFile(/tmp/multipartBody813127434737446714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176907035,"filename":"image_03112025_08_27_58_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/3/d6445faca2a1ccbed0eb194662dbc065.jpg","text":"TemporaryFile(/tmp/multipartBody4866566485872259885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176907035,"filename":"image_03112025_08_28_02_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/3/f554c17dd9529e42429106edae868ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6943753727249430806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176907035,"filename":"image_03112025_08_28_05_2462.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb5133ec218b46ac15f742dec980861a.jpg","text":"TemporaryFile(/tmp/multipartBody1467089360317161125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176907035,"filename":"image_03112025_08_27_56_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2159eb04d80c50e19d906e350cc36179.jpg","text":"TemporaryFile(/tmp/multipartBody7591566139302679165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176907035,"filename":"image_03112025_08_28_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/3/9ce9ab06311bb5a0e8897cae31f5c671.jpg","text":"TemporaryFile(/tmp/multipartBody1268880950014429919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176907035,"filename":"image_03112025_08_28_07_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392060629","file1":"1392060618","file0":"1392060605","file4":"1392060646","file5":"1392060658","file3":"1392060638"},"map_files_photo_id_array":[{"photo_id":"1392060658","filename":"file5"},{"photo_id":"1392060629","filename":"file2"},{"photo_id":"1392060646","filename":"file4"},{"photo_id":"1392060618","filename":"file1"},{"photo_id":"1392060605","filename":"file0"},{"photo_id":"1392060638","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392060618":["hashtag1","hashtag2"]},{"1392060629":["hashtag1","hashtag2"]},{"1392060638":["hashtag1","hashtag2"]},{"1392060605":["hashtag1","hashtag2"]},{"1392060658":["hashtag1","hashtag2"]},{"1392060646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392060618, 1392060629, 1392060638, 1392060605, 1392060658, 1392060646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.946181535720825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:35:03.275229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_14_2692.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_16_2749.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_20_3723.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_23_2653.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_26_2704.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_29_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_14_2692.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_16_2749.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_20_3723.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_23_2653.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_26_2704.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_29_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392060738","1392060689","1392060683","1392060686","1392060679","1392060700"],"photo_ids_order":["1392060679","1392060683","1392060686","1392060689","1392060700","1392060738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a846071a897a85f34503ab040490bdbb.jpg","text":"TemporaryFile(/tmp/multipartBody3796820330763984326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176964202,"filename":"image_03112025_08_28_29_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/3/a2f893078296fc1b6da80c322ec7f679.jpg","text":"TemporaryFile(/tmp/multipartBody3937463808771408320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176964202,"filename":"image_03112025_08_28_23_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/3/5d352c34adf2b8e0b6042c6078219047.jpg","text":"TemporaryFile(/tmp/multipartBody3803182038476091957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176964202,"filename":"image_03112025_08_28_16_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/3/7f1fff8f809249bdf6dcf14c9b58316d.jpg","text":"TemporaryFile(/tmp/multipartBody2151065762038489015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176964202,"filename":"image_03112025_08_28_20_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/3/5a95ed4680e73f4f7c23f91258c2792a.jpg","text":"TemporaryFile(/tmp/multipartBody3992941646578333045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176964202,"filename":"image_03112025_08_28_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/3/487b50b1be9568c31dd71c5bdbbc38fa.jpg","text":"TemporaryFile(/tmp/multipartBody7466931186824332127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762176964202,"filename":"image_03112025_08_28_26_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392060686","file1":"1392060683","file0":"1392060679","file4":"1392060700","file5":"1392060738","file3":"1392060689"},"map_files_photo_id_array":[{"photo_id":"1392060738","filename":"file5"},{"photo_id":"1392060686","filename":"file2"},{"photo_id":"1392060700","filename":"file4"},{"photo_id":"1392060683","filename":"file1"},{"photo_id":"1392060679","filename":"file0"},{"photo_id":"1392060689","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392060738":["hashtag1","hashtag2"]},{"1392060689":["hashtag1","hashtag2"]},{"1392060683":["hashtag1","hashtag2"]},{"1392060686":["hashtag1","hashtag2"]},{"1392060679":["hashtag1","hashtag2"]},{"1392060700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392060738, 1392060689, 1392060683, 1392060686, 1392060679, 1392060700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54108953475952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:35:42.574462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_32_2706.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_35_2697.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_38_3619.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_41_2589.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_43_2721.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_47_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_32_2706.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_35_2697.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_38_3619.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_41_2589.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_43_2721.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_47_3708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392060842","1392060851","1392060821","1392060853","1392060856","1392060832"],"photo_ids_order":["1392060821","1392060832","1392060842","1392060851","1392060853","1392060856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6c823ef8be38a8fc1b2830eee41e385e.jpg","text":"TemporaryFile(/tmp/multipartBody7997337706668850320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177003420,"filename":"image_03112025_08_28_38_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/3/0e8931d99593cbdc9c32015ac08dc0b7.jpg","text":"TemporaryFile(/tmp/multipartBody7345874914399987908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177003420,"filename":"image_03112025_08_28_41_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/3/1f863aef00783c0581af2b2d2a30a018.jpg","text":"TemporaryFile(/tmp/multipartBody350224569517781570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177003420,"filename":"image_03112025_08_28_32_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1475dcdcdb9720308eb740c5745dde76.jpg","text":"TemporaryFile(/tmp/multipartBody1778267928172842878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177003420,"filename":"image_03112025_08_28_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/3/dbae29e2849a047053749efc059390c1.jpg","text":"TemporaryFile(/tmp/multipartBody7851267954505898404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177003420,"filename":"image_03112025_08_28_47_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/3/264137a78977382f5b14219f469b32d7.jpg","text":"TemporaryFile(/tmp/multipartBody7735910078562277564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177003420,"filename":"image_03112025_08_28_35_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392060842","file1":"1392060832","file0":"1392060821","file4":"1392060853","file5":"1392060856","file3":"1392060851"},"map_files_photo_id_array":[{"photo_id":"1392060856","filename":"file5"},{"photo_id":"1392060842","filename":"file2"},{"photo_id":"1392060853","filename":"file4"},{"photo_id":"1392060832","filename":"file1"},{"photo_id":"1392060821","filename":"file0"},{"photo_id":"1392060851","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392060842":["hashtag1","hashtag2"]},{"1392060851":["hashtag1","hashtag2"]},{"1392060821":["hashtag1","hashtag2"]},{"1392060853":["hashtag1","hashtag2"]},{"1392060856":["hashtag1","hashtag2"]},{"1392060832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392060842, 1392060851, 1392060821, 1392060853, 1392060856, 1392060832)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.119935035705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:36:42.752718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_50_2662.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_52_2613.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_56_3314.jpg', '/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_58_2699.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_04_5254.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_05_1513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_50_2662.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_52_2613.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_56_3314.jpg
/home/pi/Desktop/images/03112025/08/28/image_03112025_08_28_58_2699.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_04_5254.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_05_1513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392061125","1392061199","1392061235","1392061081","1392061162","1392061275"],"photo_ids_order":["1392061081","1392061125","1392061162","1392061199","1392061235","1392061275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ad3e0a77de089890378b443865e18265.jpg","text":"TemporaryFile(/tmp/multipartBody1573890234290299654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177063592,"filename":"image_03112025_08_28_52_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe0246417315b6e7dd6c69787cbf2caa.jpg","text":"TemporaryFile(/tmp/multipartBody2971690901270263040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177063592,"filename":"image_03112025_08_28_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/3/d882156736587c22fa1bc6673363cae3.jpg","text":"TemporaryFile(/tmp/multipartBody2047391994527654933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177063592,"filename":"image_03112025_08_29_04_5254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd9935d1a27c49573dc82ac900914ca6.jpg","text":"TemporaryFile(/tmp/multipartBody9026688934394346525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177063592,"filename":"image_03112025_08_28_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/3/713358a00b10b9e2c519843ddb1da9cb.jpg","text":"TemporaryFile(/tmp/multipartBody3903759778190232263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177063592,"filename":"image_03112025_08_28_56_3314.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b026b9576131c3d19b189a902bd725be.jpg","text":"TemporaryFile(/tmp/multipartBody6919791217809698069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177063592,"filename":"image_03112025_08_29_05_1513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392061162","file1":"1392061125","file0":"1392061081","file4":"1392061235","file5":"1392061275","file3":"1392061199"},"map_files_photo_id_array":[{"photo_id":"1392061275","filename":"file5"},{"photo_id":"1392061162","filename":"file2"},{"photo_id":"1392061235","filename":"file4"},{"photo_id":"1392061125","filename":"file1"},{"photo_id":"1392061081","filename":"file0"},{"photo_id":"1392061199","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392061125":["hashtag1","hashtag2"]},{"1392061199":["hashtag1","hashtag2"]},{"1392061235":["hashtag1","hashtag2"]},{"1392061081":["hashtag1","hashtag2"]},{"1392061162":["hashtag1","hashtag2"]},{"1392061275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392061125, 1392061199, 1392061235, 1392061081, 1392061162, 1392061275)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.37925481796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:37:41.955689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_08_2619.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_10_2620.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_14_3979.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_16_1707.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_20_4223.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_23_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_08_2619.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_10_2620.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_14_3979.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_16_1707.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_20_4223.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_23_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392061451","1392061522","1392061444","1392061447","1392061485","1392061449"],"photo_ids_order":["1392061444","1392061447","1392061449","1392061451","1392061485","1392061522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ba59b65f1d12767e1c5b61932f9204b5.jpg","text":"TemporaryFile(/tmp/multipartBody7951128404577432762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177122890,"filename":"image_03112025_08_29_16_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/3/cd214b448cc11d2e355eeb39c36eb0ec.jpg","text":"TemporaryFile(/tmp/multipartBody5832707411677329329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177122890,"filename":"image_03112025_08_29_23_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/3/1f4dc8ca7a202cf0b6ec73b8de951cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6672448946136526342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177122890,"filename":"image_03112025_08_29_08_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/3/3b4341cc466a89c4f71eeb2a56c397aa.jpg","text":"TemporaryFile(/tmp/multipartBody4061702154950667531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177122890,"filename":"image_03112025_08_29_10_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/3/1f0c09fc344d1618df3a26892f703f78.jpg","text":"TemporaryFile(/tmp/multipartBody4514332390879889537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177122890,"filename":"image_03112025_08_29_20_4223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/16044e7b8f035d9ef030aceed3470a45.jpg","text":"TemporaryFile(/tmp/multipartBody8030992256553352479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177122890,"filename":"image_03112025_08_29_14_3979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392061449","file1":"1392061447","file0":"1392061444","file4":"1392061485","file5":"1392061522","file3":"1392061451"},"map_files_photo_id_array":[{"photo_id":"1392061522","filename":"file5"},{"photo_id":"1392061449","filename":"file2"},{"photo_id":"1392061485","filename":"file4"},{"photo_id":"1392061447","filename":"file1"},{"photo_id":"1392061444","filename":"file0"},{"photo_id":"1392061451","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392061451":["hashtag1","hashtag2"]},{"1392061522":["hashtag1","hashtag2"]},{"1392061444":["hashtag1","hashtag2"]},{"1392061447":["hashtag1","hashtag2"]},{"1392061485":["hashtag1","hashtag2"]},{"1392061449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392061451, 1392061522, 1392061444, 1392061447, 1392061485, 1392061449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24020481109619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:38:22.064776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_26_3280.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_29_2679.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_32_3060.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_35_2673.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_41_6329.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_43_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_26_3280.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_29_2679.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_32_3060.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_35_2673.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_41_6329.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_43_1611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392061693","1392061654","1392061663","1392061621","1392061624","1392061674"],"photo_ids_order":["1392061621","1392061624","1392061654","1392061663","1392061674","1392061693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/44f286dbc44f86e8d118bad88871038e.jpg","text":"TemporaryFile(/tmp/multipartBody6005987355470233850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177162848,"filename":"image_03112025_08_29_43_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/3/5bcb1540819a5446205944b1ac22c757.jpg","text":"TemporaryFile(/tmp/multipartBody1287925394001085575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177162848,"filename":"image_03112025_08_29_32_3060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dd9a2cf13db06d94b647f15210cf9386.jpg","text":"TemporaryFile(/tmp/multipartBody3409258180539970691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177162848,"filename":"image_03112025_08_29_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/3/18af9f38bb36b8bfefbcef4c9079f408.jpg","text":"TemporaryFile(/tmp/multipartBody8407481791138661768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177162848,"filename":"image_03112025_08_29_26_3280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc80351f184daef6a561db8940bc10b2.jpg","text":"TemporaryFile(/tmp/multipartBody2400476555311481255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177162848,"filename":"image_03112025_08_29_29_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/74a0c2a66c5029e18993002151347276.jpg","text":"TemporaryFile(/tmp/multipartBody5191735282604106155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177162848,"filename":"image_03112025_08_29_41_6329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392061654","file1":"1392061624","file0":"1392061621","file4":"1392061674","file5":"1392061693","file3":"1392061663"},"map_files_photo_id_array":[{"photo_id":"1392061693","filename":"file5"},{"photo_id":"1392061654","filename":"file2"},{"photo_id":"1392061674","filename":"file4"},{"photo_id":"1392061624","filename":"file1"},{"photo_id":"1392061621","filename":"file0"},{"photo_id":"1392061663","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392061693":["hashtag1","hashtag2"]},{"1392061654":["hashtag1","hashtag2"]},{"1392061663":["hashtag1","hashtag2"]},{"1392061621":["hashtag1","hashtag2"]},{"1392061624":["hashtag1","hashtag2"]},{"1392061674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392061693, 1392061654, 1392061663, 1392061621, 1392061624, 1392061674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28863859176636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:39:03.275562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_44_1597.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_47_2562.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_50_2758.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_52_2622.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_56_3593.jpg', '/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_59_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_44_1597.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_47_2562.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_50_2758.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_52_2622.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_56_3593.jpg
/home/pi/Desktop/images/03112025/08/29/image_03112025_08_29_59_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392061880","1392061901","1392061840","1392061869","1392061941","1392061878"],"photo_ids_order":["1392061840","1392061869","1392061878","1392061880","1392061901","1392061941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b50c84a8a245b5f5d931ff358031fb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3326366249823720073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177204413,"filename":"image_03112025_08_29_52_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/3/6cefcbedca057ebc4a9729b0125a153f.jpg","text":"TemporaryFile(/tmp/multipartBody5775926229555389136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177204413,"filename":"image_03112025_08_29_56_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b97901ff523c138d587dfdc25fb46ed.jpg","text":"TemporaryFile(/tmp/multipartBody301576928701927269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177204413,"filename":"image_03112025_08_29_44_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/3/bfe9686686856951fc6b7fe2b80713c2.jpg","text":"TemporaryFile(/tmp/multipartBody5925636415927101935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177204413,"filename":"image_03112025_08_29_47_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/3/452026173cd8b31d61d3baf149ed34ad.jpg","text":"TemporaryFile(/tmp/multipartBody392821414048036803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177204413,"filename":"image_03112025_08_29_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/3/1398907f630a7687b8ff525a5511a87a.jpg","text":"TemporaryFile(/tmp/multipartBody7924554087391817446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177204413,"filename":"image_03112025_08_29_50_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392061878","file1":"1392061869","file0":"1392061840","file4":"1392061901","file5":"1392061941","file3":"1392061880"},"map_files_photo_id_array":[{"photo_id":"1392061941","filename":"file5"},{"photo_id":"1392061878","filename":"file2"},{"photo_id":"1392061901","filename":"file4"},{"photo_id":"1392061869","filename":"file1"},{"photo_id":"1392061840","filename":"file0"},{"photo_id":"1392061880","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392061880":["hashtag1","hashtag2"]},{"1392061901":["hashtag1","hashtag2"]},{"1392061840":["hashtag1","hashtag2"]},{"1392061869":["hashtag1","hashtag2"]},{"1392061941":["hashtag1","hashtag2"]},{"1392061878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392061880, 1392061901, 1392061840, 1392061869, 1392061941, 1392061878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55375027656555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:39:42.325204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_07_3014.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_11_3796.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_13_2565.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_16_2667.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_20_3619.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_22_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_07_3014.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_11_3796.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_13_2565.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_16_2667.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_20_3619.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_22_2811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392062033","1392062021","1392062035","1392062031","1392062025","1392062028"],"photo_ids_order":["1392062021","1392062025","1392062028","1392062031","1392062033","1392062035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/69e7652c6594bd11affaa834795c6c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7443448007644328950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177243164,"filename":"image_03112025_08_30_20_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/3/7f27cecc6ee5e0761dc68f3c46e741d4.jpg","text":"TemporaryFile(/tmp/multipartBody5726503300646872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177243164,"filename":"image_03112025_08_30_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/3/af35bc4e1cc9b4b1c3791099f73f3d76.jpg","text":"TemporaryFile(/tmp/multipartBody5357974509430152571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177243164,"filename":"image_03112025_08_30_22_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/3/f33e0a872d5236ca84d1abfc9174ef00.jpg","text":"TemporaryFile(/tmp/multipartBody1965502127429585264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177243164,"filename":"image_03112025_08_30_16_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3c6354880a08298a480cfe319ee67287.jpg","text":"TemporaryFile(/tmp/multipartBody5643747785269504720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177243164,"filename":"image_03112025_08_30_11_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/3/7b45ecddf478827d40604f7d919a40a7.jpg","text":"TemporaryFile(/tmp/multipartBody151977866262368954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177243164,"filename":"image_03112025_08_30_13_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392062028","file1":"1392062025","file0":"1392062021","file4":"1392062033","file5":"1392062035","file3":"1392062031"},"map_files_photo_id_array":[{"photo_id":"1392062035","filename":"file5"},{"photo_id":"1392062028","filename":"file2"},{"photo_id":"1392062033","filename":"file4"},{"photo_id":"1392062025","filename":"file1"},{"photo_id":"1392062021","filename":"file0"},{"photo_id":"1392062031","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392062033":["hashtag1","hashtag2"]},{"1392062021":["hashtag1","hashtag2"]},{"1392062035":["hashtag1","hashtag2"]},{"1392062031":["hashtag1","hashtag2"]},{"1392062025":["hashtag1","hashtag2"]},{"1392062028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392062033, 1392062021, 1392062035, 1392062031, 1392062025, 1392062028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47794055938721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:40:22.464934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_25_2541.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_29_3560.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_31_2738.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_34_2732.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_38_3870.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_40_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_25_2541.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_29_3560.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_31_2738.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_34_2732.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_38_3870.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_40_2549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392062045","1392062054","1392062062","1392062050","1392062067","1392062058"],"photo_ids_order":["1392062045","1392062050","1392062054","1392062058","1392062062","1392062067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b4bf591f0f6ab579963c17c9235894d7.jpg","text":"TemporaryFile(/tmp/multipartBody6854946926914559647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177283248,"filename":"image_03112025_08_30_25_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/3/0861b2952b2bd543d17cf263485f8871.jpg","text":"TemporaryFile(/tmp/multipartBody6159309849931414442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177283248,"filename":"image_03112025_08_30_31_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/3/d2c7629b9239c592be479ddc44903468.jpg","text":"TemporaryFile(/tmp/multipartBody3158078266149607045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177283248,"filename":"image_03112025_08_30_38_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a13e993f1a40c0910cfaef5640bed3b9.jpg","text":"TemporaryFile(/tmp/multipartBody8320501977587532577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177283248,"filename":"image_03112025_08_30_29_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/3/864ab549c8de91fc0d7b7129bdf680c5.jpg","text":"TemporaryFile(/tmp/multipartBody3446161849675968755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177283248,"filename":"image_03112025_08_30_40_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/3/dc69ec4a1771aa874a675d150e933adb.jpg","text":"TemporaryFile(/tmp/multipartBody9135707795958595871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177283248,"filename":"image_03112025_08_30_34_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392062054","file1":"1392062050","file0":"1392062045","file4":"1392062062","file5":"1392062067","file3":"1392062058"},"map_files_photo_id_array":[{"photo_id":"1392062067","filename":"file5"},{"photo_id":"1392062054","filename":"file2"},{"photo_id":"1392062062","filename":"file4"},{"photo_id":"1392062050","filename":"file1"},{"photo_id":"1392062045","filename":"file0"},{"photo_id":"1392062058","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392062045":["hashtag1","hashtag2"]},{"1392062054":["hashtag1","hashtag2"]},{"1392062062":["hashtag1","hashtag2"]},{"1392062050":["hashtag1","hashtag2"]},{"1392062067":["hashtag1","hashtag2"]},{"1392062058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392062045, 1392062054, 1392062062, 1392062050, 1392062067, 1392062058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5912139415741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:41:03.358798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_43_2736.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_47_3607.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_50_2916.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_52_2781.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_55_2597.jpg', '/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_59_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_43_2736.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_47_3607.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_50_2916.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_52_2781.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_55_2597.jpg
/home/pi/Desktop/images/03112025/08/30/image_03112025_08_30_59_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392062100","1392062074","1392062097","1392062079","1392062094","1392062082"],"photo_ids_order":["1392062074","1392062079","1392062082","1392062094","1392062097","1392062100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5032ce7e7ba8d2bb2a6d2280dc6e9b6f.jpg","text":"TemporaryFile(/tmp/multipartBody7405981674328820994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177324262,"filename":"image_03112025_08_30_59_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/3/b013672b977a55c6cf21ef11028379b3.jpg","text":"TemporaryFile(/tmp/multipartBody59020566062326426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177324262,"filename":"image_03112025_08_30_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/3/fd82817d96dac7a9923de7cbcdfc7d1b.jpg","text":"TemporaryFile(/tmp/multipartBody4512699349161761939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177324262,"filename":"image_03112025_08_30_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/3/72c2fc143c462214a6f7054b4d583c24.jpg","text":"TemporaryFile(/tmp/multipartBody8755846979133218885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177324262,"filename":"image_03112025_08_30_47_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/3/c2ad9f3ea55e9425fce8ec1ce0c3fb1a.jpg","text":"TemporaryFile(/tmp/multipartBody6527111997815960750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177324262,"filename":"image_03112025_08_30_52_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/3/0da9222e64e02e4d9ea8bfd6d0f49faf.jpg","text":"TemporaryFile(/tmp/multipartBody8511836185629435577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177324262,"filename":"image_03112025_08_30_50_2916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392062082","file1":"1392062079","file0":"1392062074","file4":"1392062097","file5":"1392062100","file3":"1392062094"},"map_files_photo_id_array":[{"photo_id":"1392062100","filename":"file5"},{"photo_id":"1392062082","filename":"file2"},{"photo_id":"1392062097","filename":"file4"},{"photo_id":"1392062079","filename":"file1"},{"photo_id":"1392062074","filename":"file0"},{"photo_id":"1392062094","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392062100":["hashtag1","hashtag2"]},{"1392062074":["hashtag1","hashtag2"]},{"1392062097":["hashtag1","hashtag2"]},{"1392062079":["hashtag1","hashtag2"]},{"1392062094":["hashtag1","hashtag2"]},{"1392062082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392062100, 1392062074, 1392062097, 1392062079, 1392062094, 1392062082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61681628227234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:41:42.772204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_01_2635.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_04_2688.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_08_3574.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_10_2570.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_14_3620.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_16_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_01_2635.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_04_2688.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_08_3574.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_10_2570.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_14_3620.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_16_2545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392062114","1392062117","1392062111","1392062122","1392062103","1392062106"],"photo_ids_order":["1392062103","1392062106","1392062111","1392062114","1392062117","1392062122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/06e525ee39a17ed5587490d5ee584a9a.jpg","text":"TemporaryFile(/tmp/multipartBody6764221887128405602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177363642,"filename":"image_03112025_08_31_10_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/3/4321baa10c0e0a50f187edf6f3d1bed2.jpg","text":"TemporaryFile(/tmp/multipartBody3927762398300609332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177363642,"filename":"image_03112025_08_31_14_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/3/354576559e2ac1175a3ad3bc6aecba7f.jpg","text":"TemporaryFile(/tmp/multipartBody7889039770226459203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177363642,"filename":"image_03112025_08_31_08_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/3/5bdd4382a6bbf1ebe88d0835247fd6c9.jpg","text":"TemporaryFile(/tmp/multipartBody3652020871252529970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177363642,"filename":"image_03112025_08_31_16_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/3/07460524b5c2fdae47c4121351d43b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4344309459571983457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177363642,"filename":"image_03112025_08_31_01_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/449ab737f84fd52c40b7d0e348dee72d.jpg","text":"TemporaryFile(/tmp/multipartBody7155532059986611866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177363642,"filename":"image_03112025_08_31_04_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392062111","file1":"1392062106","file0":"1392062103","file4":"1392062117","file5":"1392062122","file3":"1392062114"},"map_files_photo_id_array":[{"photo_id":"1392062122","filename":"file5"},{"photo_id":"1392062111","filename":"file2"},{"photo_id":"1392062117","filename":"file4"},{"photo_id":"1392062106","filename":"file1"},{"photo_id":"1392062103","filename":"file0"},{"photo_id":"1392062114","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392062114":["hashtag1","hashtag2"]},{"1392062117":["hashtag1","hashtag2"]},{"1392062111":["hashtag1","hashtag2"]},{"1392062122":["hashtag1","hashtag2"]},{"1392062103":["hashtag1","hashtag2"]},{"1392062106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392062114, 1392062117, 1392062111, 1392062122, 1392062103, 1392062106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45639681816101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:42:22.012482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_20_3324.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_22_2683.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_25_2648.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_29_3633.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_31_2537.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_35_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_20_3324.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_22_2683.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_25_2648.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_29_3633.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_31_2537.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_35_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392062144","1392062140","1392062151","1392062133","1392062136","1392062130"],"photo_ids_order":["1392062130","1392062133","1392062136","1392062140","1392062144","1392062151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c01ab21c3ae2c2f136d5c6805a0158bb.jpg","text":"TemporaryFile(/tmp/multipartBody5277188371301495096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177402820,"filename":"image_03112025_08_31_31_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/3/10bcf3ec58ed8550b5ccc556bcd7d3c2.jpg","text":"TemporaryFile(/tmp/multipartBody4293301072612310957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177402820,"filename":"image_03112025_08_31_29_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/3/0a60aa4dd9280a6b14c07c68044018cb.jpg","text":"TemporaryFile(/tmp/multipartBody7915138956141227311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177402820,"filename":"image_03112025_08_31_35_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/3/a5aa7a39b1f1129675e8e0794eb5b120.jpg","text":"TemporaryFile(/tmp/multipartBody5833674693291823899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177402820,"filename":"image_03112025_08_31_22_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e75f70d388cd650965a626e9bf638fa4.jpg","text":"TemporaryFile(/tmp/multipartBody6100260297450005095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177402820,"filename":"image_03112025_08_31_25_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/3/48bb5b5b8882b82519b26e8602d1f0a8.jpg","text":"TemporaryFile(/tmp/multipartBody2913487085215715065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177402820,"filename":"image_03112025_08_31_20_3324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392062136","file1":"1392062133","file0":"1392062130","file4":"1392062144","file5":"1392062151","file3":"1392062140"},"map_files_photo_id_array":[{"photo_id":"1392062151","filename":"file5"},{"photo_id":"1392062136","filename":"file2"},{"photo_id":"1392062144","filename":"file4"},{"photo_id":"1392062133","filename":"file1"},{"photo_id":"1392062130","filename":"file0"},{"photo_id":"1392062140","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392062144":["hashtag1","hashtag2"]},{"1392062140":["hashtag1","hashtag2"]},{"1392062151":["hashtag1","hashtag2"]},{"1392062133":["hashtag1","hashtag2"]},{"1392062136":["hashtag1","hashtag2"]},{"1392062130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392062144, 1392062140, 1392062151, 1392062133, 1392062136, 1392062130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87799072265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:43:02.969328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_37_2614.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_40_2599.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_44_3646.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_46_2718.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_49_2678.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_53_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_37_2614.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_40_2599.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_44_3646.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_46_2718.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_49_2678.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_53_3736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392062307","1392062279","1392062270","1392062324","1392062296","1392062289"],"photo_ids_order":["1392062270","1392062279","1392062289","1392062296","1392062307","1392062324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/18ddf7fe90fef0818a2ad8b4b0633c7a.jpg","text":"TemporaryFile(/tmp/multipartBody2789265312401029408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177443864,"filename":"image_03112025_08_31_49_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/3/22ad0c23b6f2504165b186f50574aed7.jpg","text":"TemporaryFile(/tmp/multipartBody7856450589377730819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177443864,"filename":"image_03112025_08_31_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/3/9ee46bf1b26645c56055153707ca0383.jpg","text":"TemporaryFile(/tmp/multipartBody360315235913144994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177443864,"filename":"image_03112025_08_31_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/3/0c52cec313e8e6acdea6b18e143d4c2e.jpg","text":"TemporaryFile(/tmp/multipartBody8538353852278011933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177443864,"filename":"image_03112025_08_31_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/3/63fb26c83247723b7500c2fafdea6ed2.jpg","text":"TemporaryFile(/tmp/multipartBody3715825059632641231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177443864,"filename":"image_03112025_08_31_46_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/3/79a5e3adaf24c97bd79e7f4a6f6bd561.jpg","text":"TemporaryFile(/tmp/multipartBody4154286829633552344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177443864,"filename":"image_03112025_08_31_44_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392062289","file1":"1392062279","file0":"1392062270","file4":"1392062307","file5":"1392062324","file3":"1392062296"},"map_files_photo_id_array":[{"photo_id":"1392062324","filename":"file5"},{"photo_id":"1392062289","filename":"file2"},{"photo_id":"1392062307","filename":"file4"},{"photo_id":"1392062279","filename":"file1"},{"photo_id":"1392062270","filename":"file0"},{"photo_id":"1392062296","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392062307":["hashtag1","hashtag2"]},{"1392062279":["hashtag1","hashtag2"]},{"1392062270":["hashtag1","hashtag2"]},{"1392062324":["hashtag1","hashtag2"]},{"1392062296":["hashtag1","hashtag2"]},{"1392062289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392062307, 1392062279, 1392062270, 1392062324, 1392062296, 1392062289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84110879898071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:43:42.243944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_55_2692.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_58_2491.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_32_02_3583.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_04_2668.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_07_2596.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_11_3871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_55_2692.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_58_2491.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_32_02_3583.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_04_2668.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_07_2596.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_11_3871.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7990732192993164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:44:02.991519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_55_2692.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_58_2491.jpg', '/home/pi/Desktop/images/03112025/08/31/image_03112025_08_32_02_3583.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_04_2668.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_07_2596.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_11_3871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_55_2692.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_31_58_2491.jpg
/home/pi/Desktop/images/03112025/08/31/image_03112025_08_32_02_3583.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_04_2668.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_07_2596.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_11_3871.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392062435","1392062423","1392062420","1392062428","1392062416","1392062430"],"photo_ids_order":["1392062416","1392062420","1392062423","1392062428","1392062430","1392062435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3e61bd3b837485348443fb96b0af6f50.jpg","text":"TemporaryFile(/tmp/multipartBody4961273275369207632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177503787,"filename":"image_03112025_08_32_11_3871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4406efb023767ef9e545fc32a1ee8923.jpg","text":"TemporaryFile(/tmp/multipartBody2641294456969458750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177503787,"filename":"image_03112025_08_32_02_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/3/c54592d5a6ebc5ad9e189ea54c975672.jpg","text":"TemporaryFile(/tmp/multipartBody2107117607580294365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177503787,"filename":"image_03112025_08_31_58_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf669eefdf31b45078d23fe77b7686f6.jpg","text":"TemporaryFile(/tmp/multipartBody4952954959918079030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177503787,"filename":"image_03112025_08_32_04_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/85ff977363eab6b67b1301826e68d563.jpg","text":"TemporaryFile(/tmp/multipartBody8718458215957995945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177503787,"filename":"image_03112025_08_31_55_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/3/65ba5f45637623c67ed47dc49b1e0228.jpg","text":"TemporaryFile(/tmp/multipartBody404635221165420086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177503787,"filename":"image_03112025_08_32_07_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392062423","file1":"1392062420","file0":"1392062416","file4":"1392062430","file5":"1392062435","file3":"1392062428"},"map_files_photo_id_array":[{"photo_id":"1392062435","filename":"file5"},{"photo_id":"1392062423","filename":"file2"},{"photo_id":"1392062430","filename":"file4"},{"photo_id":"1392062420","filename":"file1"},{"photo_id":"1392062416","filename":"file0"},{"photo_id":"1392062428","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392062435":["hashtag1","hashtag2"]},{"1392062423":["hashtag1","hashtag2"]},{"1392062420":["hashtag1","hashtag2"]},{"1392062428":["hashtag1","hashtag2"]},{"1392062416":["hashtag1","hashtag2"]},{"1392062430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392062435, 1392062423, 1392062420, 1392062428, 1392062416, 1392062430)","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 = 1392062423 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/08/31/image_03112025_08_32_02_3583.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.77936863899231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:45:03.052459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_13_2737.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_16_2614.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_20_3675.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_22_2790.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_25_2798.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_28_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_13_2737.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_16_2614.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_20_3675.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_22_2790.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_25_2798.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_28_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392062480","1392062468","1392062477","1392062475","1392062478","1392062471"],"photo_ids_order":["1392062468","1392062471","1392062475","1392062477","1392062478","1392062480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/266303ddbd4fc46057f62253a3b799ff.jpg","text":"TemporaryFile(/tmp/multipartBody5566317920707799619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177563995,"filename":"image_03112025_08_32_28_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71aafdff0a22b1d1bd75f621217068ce.jpg","text":"TemporaryFile(/tmp/multipartBody9200750951737893062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177563995,"filename":"image_03112025_08_32_13_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/3/6e4111f4b3234530497d6e1eaeef7825.jpg","text":"TemporaryFile(/tmp/multipartBody9121488329585274728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177563995,"filename":"image_03112025_08_32_22_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/3/4446129c6f1129cb945255efe7cb83f5.jpg","text":"TemporaryFile(/tmp/multipartBody7172874257726757672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177563995,"filename":"image_03112025_08_32_20_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/3/51e82cf1b33f7d16493bd40897b3cffc.jpg","text":"TemporaryFile(/tmp/multipartBody3345930226739933920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177563995,"filename":"image_03112025_08_32_25_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/3/65750663a7fde1220e83d57b84267b03.jpg","text":"TemporaryFile(/tmp/multipartBody6048344140041098886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177563995,"filename":"image_03112025_08_32_16_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392062475","file1":"1392062471","file0":"1392062468","file4":"1392062478","file5":"1392062480","file3":"1392062477"},"map_files_photo_id_array":[{"photo_id":"1392062480","filename":"file5"},{"photo_id":"1392062475","filename":"file2"},{"photo_id":"1392062478","filename":"file4"},{"photo_id":"1392062471","filename":"file1"},{"photo_id":"1392062468","filename":"file0"},{"photo_id":"1392062477","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392062480":["hashtag1","hashtag2"]},{"1392062468":["hashtag1","hashtag2"]},{"1392062477":["hashtag1","hashtag2"]},{"1392062475":["hashtag1","hashtag2"]},{"1392062478":["hashtag1","hashtag2"]},{"1392062471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392062480, 1392062468, 1392062477, 1392062475, 1392062478, 1392062471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38194680213928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:45:42.398070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_32_3593.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_34_2766.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_37_2608.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_41_3662.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_43_2642.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_46_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_32_3593.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_34_2766.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_37_2608.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_41_3662.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_43_2642.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_46_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392062497","1392062501","1392062500","1392062503","1392062493","1392062490"],"photo_ids_order":["1392062490","1392062493","1392062497","1392062500","1392062501","1392062503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b008267bc6007e0870fb342feb15178c.jpg","text":"TemporaryFile(/tmp/multipartBody5452185127525121975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177603244,"filename":"image_03112025_08_32_37_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/3/94865135982612c70f9b4f8fbdaa4d66.jpg","text":"TemporaryFile(/tmp/multipartBody3812988265007767018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177603244,"filename":"image_03112025_08_32_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/3/04f4a1fd51f8ee07ef6049dbdcadc69b.jpg","text":"TemporaryFile(/tmp/multipartBody4148811032999238760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177603244,"filename":"image_03112025_08_32_41_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/3/6ff1f5a35b5a9ebba3eeaf93969dccd3.jpg","text":"TemporaryFile(/tmp/multipartBody8620092803310066755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177603244,"filename":"image_03112025_08_32_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/3/ed164272a9271c0345787fa21a79e160.jpg","text":"TemporaryFile(/tmp/multipartBody9059407791904261815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177603244,"filename":"image_03112025_08_32_34_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/3/fe1a1398533311558a592fbf8971bb2f.jpg","text":"TemporaryFile(/tmp/multipartBody6239012184241369172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762177603244,"filename":"image_03112025_08_32_32_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392062497","file1":"1392062493","file0":"1392062490","file4":"1392062501","file5":"1392062503","file3":"1392062500"},"map_files_photo_id_array":[{"photo_id":"1392062503","filename":"file5"},{"photo_id":"1392062497","filename":"file2"},{"photo_id":"1392062501","filename":"file4"},{"photo_id":"1392062493","filename":"file1"},{"photo_id":"1392062490","filename":"file0"},{"photo_id":"1392062500","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392062497":["hashtag1","hashtag2"]},{"1392062501":["hashtag1","hashtag2"]},{"1392062500":["hashtag1","hashtag2"]},{"1392062503":["hashtag1","hashtag2"]},{"1392062493":["hashtag1","hashtag2"]},{"1392062490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392062497, 1392062501, 1392062500, 1392062503, 1392062493, 1392062490)","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 = 1392062497 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_37_2608.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392062497 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_37_2608.jpg";
uploaded 6 photos
time to upload: 70.13628578186035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:47:02.540592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:47:22.063699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:48:05.907018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:48:25.883509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:49:02.074467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:49:28.007889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:49:51.981079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:50:02.320362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 2 : upload photos already in processing! 
2025-11-03 14:51:19.887397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:51:19.923773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:51:45.750447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:51:59.395251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 14:52:22.627818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_32_3593.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_34_2766.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_37_2608.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_41_3662.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_43_2642.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_46_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_32_3593.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_34_2766.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_37_2608.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_41_3662.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_43_2642.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_46_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392063203","1392063206","1392063195","1392063198","1392063210","1392063191"],"photo_ids_order":["1392063191","1392063195","1392063198","1392063203","1392063206","1392063210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db7889048a47d6feeb4699007e33651e.jpg","text":"TemporaryFile(/tmp/multipartBody1296745010587733758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178003333,"filename":"image_03112025_08_32_41_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/3/10bdfe00808607767ea6ca4afbeb431a.jpg","text":"TemporaryFile(/tmp/multipartBody431499564955524980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178003333,"filename":"image_03112025_08_32_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/3/a7bf56412d5fc39fbb3046ce12497c01.jpg","text":"TemporaryFile(/tmp/multipartBody4673117620575076584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178003333,"filename":"image_03112025_08_32_34_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/3/e7e401b80fe4135ecdedad48286afc5a.jpg","text":"TemporaryFile(/tmp/multipartBody696639319614466906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178003333,"filename":"image_03112025_08_32_37_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/3/98e2fa30cac009752d22fa33212959f9.jpg","text":"TemporaryFile(/tmp/multipartBody8319607643792692449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178003333,"filename":"image_03112025_08_32_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/3/2c98818564014f9a13e6120c258ad124.jpg","text":"TemporaryFile(/tmp/multipartBody7502253992587049167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178003333,"filename":"image_03112025_08_32_32_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392063198","file1":"1392063195","file0":"1392063191","file4":"1392063206","file5":"1392063210","file3":"1392063203"},"map_files_photo_id_array":[{"photo_id":"1392063210","filename":"file5"},{"photo_id":"1392063198","filename":"file2"},{"photo_id":"1392063206","filename":"file4"},{"photo_id":"1392063195","filename":"file1"},{"photo_id":"1392063191","filename":"file0"},{"photo_id":"1392063203","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392063203":["hashtag1","hashtag2"]},{"1392063206":["hashtag1","hashtag2"]},{"1392063195":["hashtag1","hashtag2"]},{"1392063198":["hashtag1","hashtag2"]},{"1392063210":["hashtag1","hashtag2"]},{"1392063191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392063203, 1392063206, 1392063195, 1392063198, 1392063210, 1392063191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.031468868255615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:53:02.479173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_50_3595.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_52_2798.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_55_2630.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_58_2709.jpg', '/home/pi/Desktop/images/03112025/08/32/image_03112025_08_33_01_3561.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_04_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_50_3595.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_52_2798.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_55_2630.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_32_58_2709.jpg
/home/pi/Desktop/images/03112025/08/32/image_03112025_08_33_01_3561.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_04_2785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392063245","1392063230","1392063270","1392063266","1392063263","1392063257"],"photo_ids_order":["1392063230","1392063245","1392063257","1392063263","1392063266","1392063270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/70f0b3a6ba9990c7034db8d4cb4a4e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7590566612988319566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178043361,"filename":"image_03112025_08_32_52_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/3/2963c3401af6a467c30db691c82358be.jpg","text":"TemporaryFile(/tmp/multipartBody7387280223170283444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178043361,"filename":"image_03112025_08_32_50_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/3/c794afdfd6de5c8c2c80de36dc0a2fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3976972471582688561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178043361,"filename":"image_03112025_08_33_04_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/3/e7ea961756d38d07877f28613538f163.jpg","text":"TemporaryFile(/tmp/multipartBody2962625472482441586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178043361,"filename":"image_03112025_08_33_01_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/3/9cd76e45290354784c0bd0b043021dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1914540446406848820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178043361,"filename":"image_03112025_08_32_58_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/3/d059bc5f5ea7306adced0fcbcdd3a0bc.jpg","text":"TemporaryFile(/tmp/multipartBody4240575189205143080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178043361,"filename":"image_03112025_08_32_55_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392063257","file1":"1392063245","file0":"1392063230","file4":"1392063266","file5":"1392063270","file3":"1392063263"},"map_files_photo_id_array":[{"photo_id":"1392063270","filename":"file5"},{"photo_id":"1392063257","filename":"file2"},{"photo_id":"1392063266","filename":"file4"},{"photo_id":"1392063245","filename":"file1"},{"photo_id":"1392063230","filename":"file0"},{"photo_id":"1392063263","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392063245":["hashtag1","hashtag2"]},{"1392063230":["hashtag1","hashtag2"]},{"1392063270":["hashtag1","hashtag2"]},{"1392063266":["hashtag1","hashtag2"]},{"1392063263":["hashtag1","hashtag2"]},{"1392063257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392063245, 1392063230, 1392063270, 1392063266, 1392063263, 1392063257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.878337383270264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:53:41.840625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_08_3528.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_17_9185.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_23_5862.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_24_1722.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_26_1543.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_28_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_08_3528.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_17_9185.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_23_5862.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_24_1722.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_26_1543.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_28_1667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392063401","1392063317","1392063391","1392063385","1392063411","1392063395"],"photo_ids_order":["1392063317","1392063385","1392063391","1392063395","1392063401","1392063411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c3c16804b6c7243fa5ab098106d81cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3397327281315480475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178082664,"filename":"image_03112025_08_33_26_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/3/d366d724ad3187b9a96af8336cea4b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8458056832287837996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178082664,"filename":"image_03112025_08_33_08_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/3/29c94d7593788f277544f3b84d02085e.jpg","text":"TemporaryFile(/tmp/multipartBody7191742198852374229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178082664,"filename":"image_03112025_08_33_23_5862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0375bc7048642d68eab8b627850ee29a.jpg","text":"TemporaryFile(/tmp/multipartBody1264768903084878062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178082664,"filename":"image_03112025_08_33_17_9185.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fac55ad26cf27c7730987dce690374ba.jpg","text":"TemporaryFile(/tmp/multipartBody4948202197076874955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178082664,"filename":"image_03112025_08_33_28_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/3/2e840156bd377ad8e1c3c63801965f8b.jpg","text":"TemporaryFile(/tmp/multipartBody8471917953607800350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178082664,"filename":"image_03112025_08_33_24_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392063391","file1":"1392063385","file0":"1392063317","file4":"1392063401","file5":"1392063411","file3":"1392063395"},"map_files_photo_id_array":[{"photo_id":"1392063411","filename":"file5"},{"photo_id":"1392063391","filename":"file2"},{"photo_id":"1392063401","filename":"file4"},{"photo_id":"1392063385","filename":"file1"},{"photo_id":"1392063317","filename":"file0"},{"photo_id":"1392063395","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392063401":["hashtag1","hashtag2"]},{"1392063317":["hashtag1","hashtag2"]},{"1392063391":["hashtag1","hashtag2"]},{"1392063385":["hashtag1","hashtag2"]},{"1392063411":["hashtag1","hashtag2"]},{"1392063395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392063401, 1392063317, 1392063391, 1392063385, 1392063411, 1392063395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41666102409363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 14:54:22.128936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_29_1710.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_31_1727.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_32_1522.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_34_1833.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_37_2610.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_41_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_29_1710.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_31_1727.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_32_1522.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_34_1833.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_37_2610.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_41_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392063442","1392063451","1392063430","1392063438","1392063446","1392063434"],"photo_ids_order":["1392063430","1392063434","1392063438","1392063442","1392063446","1392063451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3516832febaf055177ee0d84c234a4bb.jpg","text":"TemporaryFile(/tmp/multipartBody6192384252468369407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178122909,"filename":"image_03112025_08_33_34_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/3/b1aa73b12381e7a25434cb6ced96ec21.jpg","text":"TemporaryFile(/tmp/multipartBody8743132998214536827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178122909,"filename":"image_03112025_08_33_41_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/3/c00fd05b62876d6ca43dc89662993182.jpg","text":"TemporaryFile(/tmp/multipartBody3256789739622457784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178122909,"filename":"image_03112025_08_33_29_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/3/2ca1d31fb04caa003d291754660e2aae.jpg","text":"TemporaryFile(/tmp/multipartBody1016202897230918274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178122909,"filename":"image_03112025_08_33_32_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/3/08e2d7b719909e65132aba60357e46a3.jpg","text":"TemporaryFile(/tmp/multipartBody4818603391659973986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178122909,"filename":"image_03112025_08_33_37_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/3/11ab32d8cc0aafd777f3017a1feafa10.jpg","text":"TemporaryFile(/tmp/multipartBody3897351744511439613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178122909,"filename":"image_03112025_08_33_31_1727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392063438","file1":"1392063434","file0":"1392063430","file4":"1392063446","file5":"1392063451","file3":"1392063442"},"map_files_photo_id_array":[{"photo_id":"1392063451","filename":"file5"},{"photo_id":"1392063438","filename":"file2"},{"photo_id":"1392063446","filename":"file4"},{"photo_id":"1392063434","filename":"file1"},{"photo_id":"1392063430","filename":"file0"},{"photo_id":"1392063442","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392063442":["hashtag1","hashtag2"]},{"1392063451":["hashtag1","hashtag2"]},{"1392063430":["hashtag1","hashtag2"]},{"1392063438":["hashtag1","hashtag2"]},{"1392063446":["hashtag1","hashtag2"]},{"1392063434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392063442, 1392063451, 1392063430, 1392063438, 1392063446, 1392063434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71880888938904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:55:02.800029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_43_2581.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_46_3005.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_49_2679.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_52_2802.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_58_6688.jpg', '/home/pi/Desktop/images/03112025/08/33/image_03112025_08_34_00_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_43_2581.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_46_3005.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_49_2679.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_52_2802.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_33_58_6688.jpg
/home/pi/Desktop/images/03112025/08/33/image_03112025_08_34_00_1710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392063463","1392063607","1392063729","1392063465","1392063494","1392063461"],"photo_ids_order":["1392063461","1392063463","1392063465","1392063494","1392063607","1392063729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bdef4597d45a12228bdac97ba9a55aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3209565650693234300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178163703,"filename":"image_03112025_08_33_46_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/473a6be435f9ac14fa13c270c8bc78c8.jpg","text":"TemporaryFile(/tmp/multipartBody4549902582333234769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178163703,"filename":"image_03112025_08_33_58_6688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c552969a91a22804233d744b7d7728e4.jpg","text":"TemporaryFile(/tmp/multipartBody1946314311966770965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178163703,"filename":"image_03112025_08_34_00_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/3/b42d5a32f93bcf5131b3c814630ce1de.jpg","text":"TemporaryFile(/tmp/multipartBody728279261675641258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178163703,"filename":"image_03112025_08_33_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/3/6b644e8a2883435ceb3107d97dc2822c.jpg","text":"TemporaryFile(/tmp/multipartBody5878351509260944163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178163703,"filename":"image_03112025_08_33_52_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/3/a13e22e689048464e1dadf5520637691.jpg","text":"TemporaryFile(/tmp/multipartBody2454070168046239469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178163703,"filename":"image_03112025_08_33_43_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392063465","file1":"1392063463","file0":"1392063461","file4":"1392063607","file5":"1392063729","file3":"1392063494"},"map_files_photo_id_array":[{"photo_id":"1392063729","filename":"file5"},{"photo_id":"1392063465","filename":"file2"},{"photo_id":"1392063607","filename":"file4"},{"photo_id":"1392063463","filename":"file1"},{"photo_id":"1392063461","filename":"file0"},{"photo_id":"1392063494","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392063463":["hashtag1","hashtag2"]},{"1392063607":["hashtag1","hashtag2"]},{"1392063729":["hashtag1","hashtag2"]},{"1392063465":["hashtag1","hashtag2"]},{"1392063494":["hashtag1","hashtag2"]},{"1392063461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392063463, 1392063607, 1392063729, 1392063465, 1392063494, 1392063461)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.90263628959656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:56:02.979722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_02_1731.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_05_2738.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_07_2722.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_10_2694.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_13_2703.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_16_3812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_02_1731.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_05_2738.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_07_2722.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_10_2694.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_13_2703.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_16_3812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392063859","1392063874","1392063906","1392063854","1392063836","1392063917"],"photo_ids_order":["1392063836","1392063854","1392063859","1392063874","1392063906","1392063917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/18aa40057500488eec54b5ca39249b67.jpg","text":"TemporaryFile(/tmp/multipartBody1221282691643905187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178223824,"filename":"image_03112025_08_34_07_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/401881d389a1ec11ae23b010ac52a126.jpg","text":"TemporaryFile(/tmp/multipartBody6255574985439379150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178223824,"filename":"image_03112025_08_34_10_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/3/2cb356ebdbbcf20b85eb24fd45c3e45e.jpg","text":"TemporaryFile(/tmp/multipartBody5175407700605842691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178223824,"filename":"image_03112025_08_34_13_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/3/137b8b12e6b4dd3195942c603246af87.jpg","text":"TemporaryFile(/tmp/multipartBody44410017856469328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178223824,"filename":"image_03112025_08_34_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/3/2622310c94a55c545cffddc92d126e33.jpg","text":"TemporaryFile(/tmp/multipartBody8924104663061132449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178223824,"filename":"image_03112025_08_34_02_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/3/740833bd5b656985a40a82a17c08a494.jpg","text":"TemporaryFile(/tmp/multipartBody1289412483311019487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178223824,"filename":"image_03112025_08_34_16_3812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392063859","file1":"1392063854","file0":"1392063836","file4":"1392063906","file5":"1392063917","file3":"1392063874"},"map_files_photo_id_array":[{"photo_id":"1392063917","filename":"file5"},{"photo_id":"1392063859","filename":"file2"},{"photo_id":"1392063906","filename":"file4"},{"photo_id":"1392063854","filename":"file1"},{"photo_id":"1392063836","filename":"file0"},{"photo_id":"1392063874","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392063859":["hashtag1","hashtag2"]},{"1392063874":["hashtag1","hashtag2"]},{"1392063906":["hashtag1","hashtag2"]},{"1392063854":["hashtag1","hashtag2"]},{"1392063836":["hashtag1","hashtag2"]},{"1392063917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392063859, 1392063874, 1392063906, 1392063854, 1392063836, 1392063917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59126567840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:56:42.618620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_19_2537.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_22_2660.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_25_3538.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_28_2661.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_31_2786.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_34_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_19_2537.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_22_2660.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_25_3538.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_28_2661.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_31_2786.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_34_3534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392063982","1392063991","1392063987","1392063984","1392063980","1392063977"],"photo_ids_order":["1392063977","1392063980","1392063982","1392063984","1392063987","1392063991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0adc712bc91013a7f9a12afcae16e241.jpg","text":"TemporaryFile(/tmp/multipartBody3023800315504815593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178269217,"filename":"image_03112025_08_34_25_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/3/c3283901ffc65e7e9c4fe40a6a6de8f4.jpg","text":"TemporaryFile(/tmp/multipartBody123294007362766043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178269217,"filename":"image_03112025_08_34_34_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/3/97e86fe15b9f822aa6f1be54e038e64b.jpg","text":"TemporaryFile(/tmp/multipartBody495198306555679966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178269217,"filename":"image_03112025_08_34_31_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/3/15308a1a38c4dcd8056564e1b31f4550.jpg","text":"TemporaryFile(/tmp/multipartBody785224177390647528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178269217,"filename":"image_03112025_08_34_28_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/3/98d44b58b6bf8fb5f1af0b3259f0a6bf.jpg","text":"TemporaryFile(/tmp/multipartBody714679729355522192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178269217,"filename":"image_03112025_08_34_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/3/536b6d712d62747cdffbe46354c80759.jpg","text":"TemporaryFile(/tmp/multipartBody8716727789767012803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178269217,"filename":"image_03112025_08_34_19_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392063982","file1":"1392063980","file0":"1392063977","file4":"1392063987","file5":"1392063991","file3":"1392063984"},"map_files_photo_id_array":[{"photo_id":"1392063991","filename":"file5"},{"photo_id":"1392063982","filename":"file2"},{"photo_id":"1392063987","filename":"file4"},{"photo_id":"1392063980","filename":"file1"},{"photo_id":"1392063977","filename":"file0"},{"photo_id":"1392063984","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392063982":["hashtag1","hashtag2"]},{"1392063991":["hashtag1","hashtag2"]},{"1392063987":["hashtag1","hashtag2"]},{"1392063984":["hashtag1","hashtag2"]},{"1392063980":["hashtag1","hashtag2"]},{"1392063977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392063982, 1392063991, 1392063987, 1392063984, 1392063980, 1392063977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78725743293762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 14:57:42.805665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_37_2682.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_39_2647.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_43_3609.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_46_2585.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_49_3569.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_52_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_37_2682.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_39_2647.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_43_3609.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_46_2585.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_49_3569.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_52_2533.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392064100","1392064176","1392064038","1392064017","1392064244","1392064013"],"photo_ids_order":["1392064013","1392064017","1392064038","1392064100","1392064176","1392064244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73c5228bc4c3dcffc8693a1744d55a88.jpg","text":"TemporaryFile(/tmp/multipartBody1345655802316369517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178323661,"filename":"image_03112025_08_34_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/3/aa5dd0874e909938d8044f446b28543c.jpg","text":"TemporaryFile(/tmp/multipartBody2317374890754139958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178323661,"filename":"image_03112025_08_34_49_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/3/8d65764bf81b3255a5a748c871326655.jpg","text":"TemporaryFile(/tmp/multipartBody1014817059529080830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178323661,"filename":"image_03112025_08_34_43_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/3/004e41d9a85dc3b6384b116e87617133.jpg","text":"TemporaryFile(/tmp/multipartBody7815143329006694358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178323661,"filename":"image_03112025_08_34_39_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/3/1053d7b463b91841d5d4510c6732d2b4.jpg","text":"TemporaryFile(/tmp/multipartBody5739856790903893071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178323661,"filename":"image_03112025_08_34_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/3/3ed1135fee3ad028c2c7240a27976dfa.jpg","text":"TemporaryFile(/tmp/multipartBody1981254386727016907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178323661,"filename":"image_03112025_08_34_37_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392064038","file1":"1392064017","file0":"1392064013","file4":"1392064176","file5":"1392064244","file3":"1392064100"},"map_files_photo_id_array":[{"photo_id":"1392064244","filename":"file5"},{"photo_id":"1392064038","filename":"file2"},{"photo_id":"1392064176","filename":"file4"},{"photo_id":"1392064017","filename":"file1"},{"photo_id":"1392064013","filename":"file0"},{"photo_id":"1392064100","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392064100":["hashtag1","hashtag2"]},{"1392064176":["hashtag1","hashtag2"]},{"1392064038":["hashtag1","hashtag2"]},{"1392064017":["hashtag1","hashtag2"]},{"1392064244":["hashtag1","hashtag2"]},{"1392064013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392064100, 1392064176, 1392064038, 1392064017, 1392064244, 1392064013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.867684841156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 14:59:02.856444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_55_3610.jpg', '/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_58_2692.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_01_2541.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_04_3783.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_07_2620.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_10_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_55_3610.jpg
/home/pi/Desktop/images/03112025/08/34/image_03112025_08_34_58_2692.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_01_2541.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_04_3783.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_07_2620.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_10_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392064747","1392064851","1392064839","1392064688","1392064703","1392064798"],"photo_ids_order":["1392064688","1392064703","1392064747","1392064798","1392064839","1392064851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9303b269693b4a638d416332fa9fb697.jpg","text":"TemporaryFile(/tmp/multipartBody8394639923622489665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178403772,"filename":"image_03112025_08_35_01_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/3/7fde14160a15f8bcac2ac53592d34d95.jpg","text":"TemporaryFile(/tmp/multipartBody8565722517767804854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178403772,"filename":"image_03112025_08_35_10_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/3/05ac6c2f3e1aa8e38db1199e4c5a7aef.jpg","text":"TemporaryFile(/tmp/multipartBody270499022053607296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178403772,"filename":"image_03112025_08_35_07_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/134a51b9c08374fef80d4b3dec0160ea.jpg","text":"TemporaryFile(/tmp/multipartBody8374634628119162149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178403772,"filename":"image_03112025_08_34_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/3/ad0a8c33e064f158cc8e300386e4f459.jpg","text":"TemporaryFile(/tmp/multipartBody5101637700234155917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178403772,"filename":"image_03112025_08_34_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/3/980983e2bb43580890e3b72a1c5af935.jpg","text":"TemporaryFile(/tmp/multipartBody7965908865269785026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178403772,"filename":"image_03112025_08_35_04_3783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392064747","file1":"1392064703","file0":"1392064688","file4":"1392064839","file5":"1392064851","file3":"1392064798"},"map_files_photo_id_array":[{"photo_id":"1392064851","filename":"file5"},{"photo_id":"1392064747","filename":"file2"},{"photo_id":"1392064839","filename":"file4"},{"photo_id":"1392064703","filename":"file1"},{"photo_id":"1392064688","filename":"file0"},{"photo_id":"1392064798","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392064747":["hashtag1","hashtag2"]},{"1392064851":["hashtag1","hashtag2"]},{"1392064839":["hashtag1","hashtag2"]},{"1392064688":["hashtag1","hashtag2"]},{"1392064703":["hashtag1","hashtag2"]},{"1392064798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392064747, 1392064851, 1392064839, 1392064688, 1392064703, 1392064798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.078431129455566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:00:02.671455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_13_2765.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_16_3734.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_19_2657.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_22_2768.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_25_3677.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_28_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_13_2765.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_16_3734.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_19_2657.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_22_2768.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_25_3677.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_28_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392064978","1392064992","1392064986","1392064971","1392064982","1392064975"],"photo_ids_order":["1392064971","1392064975","1392064978","1392064982","1392064986","1392064992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e5edcbda95d4a273e1234f391735df83.jpg","text":"TemporaryFile(/tmp/multipartBody857614957820928731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178463574,"filename":"image_03112025_08_35_19_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/3/f146ba81c11c630bd1cb6257e2dca606.jpg","text":"TemporaryFile(/tmp/multipartBody3621528222902654438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178463574,"filename":"image_03112025_08_35_28_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/3/7cfbed2b34a2001778323a2504ebfedb.jpg","text":"TemporaryFile(/tmp/multipartBody4119657727677882486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178463574,"filename":"image_03112025_08_35_25_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/849783316116ec3cf0c68f869c54937d.jpg","text":"TemporaryFile(/tmp/multipartBody962292722828135889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178463574,"filename":"image_03112025_08_35_13_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/3/b7a6866dcfe8889d875abf4e155eda5b.jpg","text":"TemporaryFile(/tmp/multipartBody3607728360565010793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178463574,"filename":"image_03112025_08_35_22_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9fef77cc5330aa73a3e2d9890393281c.jpg","text":"TemporaryFile(/tmp/multipartBody1173945956340200343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178463574,"filename":"image_03112025_08_35_16_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392064978","file1":"1392064975","file0":"1392064971","file4":"1392064986","file5":"1392064992","file3":"1392064982"},"map_files_photo_id_array":[{"photo_id":"1392064992","filename":"file5"},{"photo_id":"1392064978","filename":"file2"},{"photo_id":"1392064986","filename":"file4"},{"photo_id":"1392064975","filename":"file1"},{"photo_id":"1392064971","filename":"file0"},{"photo_id":"1392064982","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392064978":["hashtag1","hashtag2"]},{"1392064992":["hashtag1","hashtag2"]},{"1392064986":["hashtag1","hashtag2"]},{"1392064971":["hashtag1","hashtag2"]},{"1392064982":["hashtag1","hashtag2"]},{"1392064975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392064978, 1392064992, 1392064986, 1392064971, 1392064982, 1392064975)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.20230507850647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:01:02.491068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_31_2618.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_34_3687.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_37_2694.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_40_2682.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_43_3655.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_46_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_31_2618.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_34_3687.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_37_2694.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_40_2682.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_43_3655.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_46_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392065317","1392065407","1392065273","1392065453","1392065494","1392065359"],"photo_ids_order":["1392065273","1392065317","1392065359","1392065407","1392065453","1392065494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9febcba2e72216cd9cc867c3658a39fb.jpg","text":"TemporaryFile(/tmp/multipartBody5911696045107342089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178523412,"filename":"image_03112025_08_35_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/3/3d2bdd9b0cc567508eef2616cb9748ba.jpg","text":"TemporaryFile(/tmp/multipartBody8025418510071264039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178523412,"filename":"image_03112025_08_35_40_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/29ee63be04090960a3c5685f4ee287f5.jpg","text":"TemporaryFile(/tmp/multipartBody4784292174417452846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178523412,"filename":"image_03112025_08_35_31_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/3/096e498fc1482bbbf9abc216dfa0bde7.jpg","text":"TemporaryFile(/tmp/multipartBody7106719805433040466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178523412,"filename":"image_03112025_08_35_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/3/6f252a2df7cd7909fe4010167e1f1c23.jpg","text":"TemporaryFile(/tmp/multipartBody8685603009772995110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178523412,"filename":"image_03112025_08_35_46_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/3/d5f08779c3e86b4e05973f50deeb0ae1.jpg","text":"TemporaryFile(/tmp/multipartBody5530013245881558010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178523412,"filename":"image_03112025_08_35_37_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392065359","file1":"1392065317","file0":"1392065273","file4":"1392065453","file5":"1392065494","file3":"1392065407"},"map_files_photo_id_array":[{"photo_id":"1392065494","filename":"file5"},{"photo_id":"1392065359","filename":"file2"},{"photo_id":"1392065453","filename":"file4"},{"photo_id":"1392065317","filename":"file1"},{"photo_id":"1392065273","filename":"file0"},{"photo_id":"1392065407","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392065317":["hashtag1","hashtag2"]},{"1392065407":["hashtag1","hashtag2"]},{"1392065273":["hashtag1","hashtag2"]},{"1392065453":["hashtag1","hashtag2"]},{"1392065494":["hashtag1","hashtag2"]},{"1392065359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392065317, 1392065407, 1392065273, 1392065453, 1392065494, 1392065359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0854229927063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:01:41.976976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_49_2650.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_52_3758.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_56_3254.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_57_1837.jpg', '/home/pi/Desktop/images/03112025/08/35/image_03112025_08_36_01_3682.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_04_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_49_2650.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_52_3758.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_56_3254.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_35_57_1837.jpg
/home/pi/Desktop/images/03112025/08/35/image_03112025_08_36_01_3682.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_04_2880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392065709","1392065756","1392065735","1392065720","1392065746","1392065731"],"photo_ids_order":["1392065709","1392065720","1392065731","1392065735","1392065746","1392065756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b3de5cf25d56f4862662a0b1e040608.jpg","text":"TemporaryFile(/tmp/multipartBody7335170137421733187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178562804,"filename":"image_03112025_08_35_49_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/3/069523f0adf397ed1977064a22a9ab1b.jpg","text":"TemporaryFile(/tmp/multipartBody414171597197814621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178562804,"filename":"image_03112025_08_36_04_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/3/c5774a5bb7403795983ef74e744531af.jpg","text":"TemporaryFile(/tmp/multipartBody5815964981966190724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178562804,"filename":"image_03112025_08_35_57_1837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2a8d0329d24d9b529bcd68fcc3ab5ad7.jpg","text":"TemporaryFile(/tmp/multipartBody9138789998592371310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178562804,"filename":"image_03112025_08_35_52_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/3/7311377c0adeeb78c167e1a93e73acdd.jpg","text":"TemporaryFile(/tmp/multipartBody505519848407272722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178562804,"filename":"image_03112025_08_36_01_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/3/13a954fcb89591b2b54a362ecbeef6c9.jpg","text":"TemporaryFile(/tmp/multipartBody8525909297198482329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178562804,"filename":"image_03112025_08_35_56_3254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392065731","file1":"1392065720","file0":"1392065709","file4":"1392065746","file5":"1392065756","file3":"1392065735"},"map_files_photo_id_array":[{"photo_id":"1392065756","filename":"file5"},{"photo_id":"1392065731","filename":"file2"},{"photo_id":"1392065746","filename":"file4"},{"photo_id":"1392065720","filename":"file1"},{"photo_id":"1392065709","filename":"file0"},{"photo_id":"1392065735","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392065709":["hashtag1","hashtag2"]},{"1392065756":["hashtag1","hashtag2"]},{"1392065735":["hashtag1","hashtag2"]},{"1392065720":["hashtag1","hashtag2"]},{"1392065746":["hashtag1","hashtag2"]},{"1392065731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392065709, 1392065756, 1392065735, 1392065720, 1392065746, 1392065731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42899179458618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:02:22.126596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_07_2718.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_10_3536.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_13_2770.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_15_2525.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_19_3694.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_22_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_07_2718.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_10_3536.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_13_2770.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_15_2525.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_19_3694.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_22_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392065982","1392065868","1392066023","1392065843","1392065945","1392065906"],"photo_ids_order":["1392065843","1392065868","1392065906","1392065945","1392065982","1392066023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/abde6e3a77bc38df1d7202837ecaf4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6725834315412406135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178602949,"filename":"image_03112025_08_36_19_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4353b1aa3ae704c08d5826dbf1ef8055.jpg","text":"TemporaryFile(/tmp/multipartBody6106480349647848649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178602949,"filename":"image_03112025_08_36_10_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/3/8ae59f68c13649bcdf8c6689edd2aa35.jpg","text":"TemporaryFile(/tmp/multipartBody6654330572873447828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178602949,"filename":"image_03112025_08_36_22_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb866f87035b54732ecca2a298ab7106.jpg","text":"TemporaryFile(/tmp/multipartBody2400932981083711510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178602949,"filename":"image_03112025_08_36_07_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/3/d2c45234b82667db2328143aeccb2caa.jpg","text":"TemporaryFile(/tmp/multipartBody2434028712821266029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178602949,"filename":"image_03112025_08_36_15_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd7059208fd39194e42f29448500e421.jpg","text":"TemporaryFile(/tmp/multipartBody2385119072187650758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178602949,"filename":"image_03112025_08_36_13_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392065906","file1":"1392065868","file0":"1392065843","file4":"1392065982","file5":"1392066023","file3":"1392065945"},"map_files_photo_id_array":[{"photo_id":"1392066023","filename":"file5"},{"photo_id":"1392065906","filename":"file2"},{"photo_id":"1392065982","filename":"file4"},{"photo_id":"1392065868","filename":"file1"},{"photo_id":"1392065843","filename":"file0"},{"photo_id":"1392065945","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392065982":["hashtag1","hashtag2"]},{"1392065868":["hashtag1","hashtag2"]},{"1392066023":["hashtag1","hashtag2"]},{"1392065843":["hashtag1","hashtag2"]},{"1392065945":["hashtag1","hashtag2"]},{"1392065906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392065982, 1392065868, 1392066023, 1392065843, 1392065945, 1392065906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10242438316345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:03:03.022511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_25_2692.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_28_3691.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_31_2627.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_33_2621.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_37_3739.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_40_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_25_2692.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_28_3691.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_31_2627.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_33_2621.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_37_3739.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_40_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392066162","1392066269","1392066236","1392066232","1392066157","1392066195"],"photo_ids_order":["1392066157","1392066162","1392066195","1392066232","1392066236","1392066269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b377bbc3675641354b456e171b6d7b90.jpg","text":"TemporaryFile(/tmp/multipartBody3173447382798329099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178644018,"filename":"image_03112025_08_36_28_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/3/7c3a08662cd62792ad55e55a88d4ac97.jpg","text":"TemporaryFile(/tmp/multipartBody8444184427028992312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178644018,"filename":"image_03112025_08_36_40_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/3/4e9e87bc9a5fe3960a9c9456cba2ecb0.jpg","text":"TemporaryFile(/tmp/multipartBody4265699726037818957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178644018,"filename":"image_03112025_08_36_37_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/3/94041dff0709fce9e3e862aa9bfda01a.jpg","text":"TemporaryFile(/tmp/multipartBody8262462072152724211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178644018,"filename":"image_03112025_08_36_33_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/3/da46d6c0c1ba1a44f1ca87ec74fece7c.jpg","text":"TemporaryFile(/tmp/multipartBody2167523145825018531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178644018,"filename":"image_03112025_08_36_25_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/3/800945855331b388253e2e55763a5325.jpg","text":"TemporaryFile(/tmp/multipartBody7534064254651617954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178644018,"filename":"image_03112025_08_36_31_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392066195","file1":"1392066162","file0":"1392066157","file4":"1392066236","file5":"1392066269","file3":"1392066232"},"map_files_photo_id_array":[{"photo_id":"1392066269","filename":"file5"},{"photo_id":"1392066195","filename":"file2"},{"photo_id":"1392066236","filename":"file4"},{"photo_id":"1392066162","filename":"file1"},{"photo_id":"1392066157","filename":"file0"},{"photo_id":"1392066232","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392066162":["hashtag1","hashtag2"]},{"1392066269":["hashtag1","hashtag2"]},{"1392066236":["hashtag1","hashtag2"]},{"1392066232":["hashtag1","hashtag2"]},{"1392066157":["hashtag1","hashtag2"]},{"1392066195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392066162, 1392066269, 1392066236, 1392066232, 1392066157, 1392066195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54002642631531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:03:42.349356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_43_2789.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_46_3447.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_49_2791.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_55_5949.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_57_1881.jpg', '/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_58_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_43_2789.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_46_3447.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_49_2791.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_55_5949.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_57_1881.jpg
/home/pi/Desktop/images/03112025/08/36/image_03112025_08_36_58_1667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392066360","1392066357","1392066353","1392066358","1392066355","1392066349"],"photo_ids_order":["1392066349","1392066353","1392066355","1392066357","1392066358","1392066360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3bc8b14350986bd789f6e056e5e76361.jpg","text":"TemporaryFile(/tmp/multipartBody1116977350985267955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178683229,"filename":"image_03112025_08_36_58_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/3/a3bedcca7fd245dccad308520ee4bb6f.jpg","text":"TemporaryFile(/tmp/multipartBody6342879562634333281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178683229,"filename":"image_03112025_08_36_55_5949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/78198a887f59369005c334c6edb92c38.jpg","text":"TemporaryFile(/tmp/multipartBody8145828448817547915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178683229,"filename":"image_03112025_08_36_46_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/3/4eaef119fc7ab0505371ed675ad8982f.jpg","text":"TemporaryFile(/tmp/multipartBody4547786281499949718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178683229,"filename":"image_03112025_08_36_57_1881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5de00e57f045daab307baa9cfd4d541c.jpg","text":"TemporaryFile(/tmp/multipartBody4403610903879683234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178683229,"filename":"image_03112025_08_36_49_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/3/8196d747473b4befb6d5c49eebd9b87e.jpg","text":"TemporaryFile(/tmp/multipartBody9101550252768996968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178683229,"filename":"image_03112025_08_36_43_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392066355","file1":"1392066353","file0":"1392066349","file4":"1392066358","file5":"1392066360","file3":"1392066357"},"map_files_photo_id_array":[{"photo_id":"1392066360","filename":"file5"},{"photo_id":"1392066355","filename":"file2"},{"photo_id":"1392066358","filename":"file4"},{"photo_id":"1392066353","filename":"file1"},{"photo_id":"1392066349","filename":"file0"},{"photo_id":"1392066357","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392066360":["hashtag1","hashtag2"]},{"1392066357":["hashtag1","hashtag2"]},{"1392066353":["hashtag1","hashtag2"]},{"1392066358":["hashtag1","hashtag2"]},{"1392066355":["hashtag1","hashtag2"]},{"1392066349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392066360, 1392066357, 1392066353, 1392066358, 1392066355, 1392066349)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.30317306518555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:04:42.631806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_01_2676.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_04_2664.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_06_2661.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_10_3835.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_13_2391.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_16_3299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_01_2676.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_04_2664.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_06_2661.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_10_3835.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_13_2391.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_16_3299.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392066381","1392066383","1392066392","1392066385","1392066390","1392066387"],"photo_ids_order":["1392066381","1392066383","1392066385","1392066387","1392066390","1392066392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/920ff4087308a2376feae3bca90f2708.jpg","text":"TemporaryFile(/tmp/multipartBody8891400231049973241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178743475,"filename":"image_03112025_08_37_01_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/3/e82e2629b198b4c02003799ecc7c2102.jpg","text":"TemporaryFile(/tmp/multipartBody3357547815483138914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178743475,"filename":"image_03112025_08_37_04_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/3/09b4962612d74c28212d300bb907f5de.jpg","text":"TemporaryFile(/tmp/multipartBody4886758401189845919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178743475,"filename":"image_03112025_08_37_16_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/3/2c7ad50e60854f76fcb3e5f0ce385003.jpg","text":"TemporaryFile(/tmp/multipartBody5114279939566999800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178743475,"filename":"image_03112025_08_37_06_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/3/d0df23f8fdc70f8607c512a87648a4a0.jpg","text":"TemporaryFile(/tmp/multipartBody8829269944508778370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178743475,"filename":"image_03112025_08_37_13_2391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e9900cd840d6d933a4283f56e8c395a.jpg","text":"TemporaryFile(/tmp/multipartBody9100534029034954467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178743475,"filename":"image_03112025_08_37_10_3835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392066385","file1":"1392066383","file0":"1392066381","file4":"1392066390","file5":"1392066392","file3":"1392066387"},"map_files_photo_id_array":[{"photo_id":"1392066392","filename":"file5"},{"photo_id":"1392066385","filename":"file2"},{"photo_id":"1392066390","filename":"file4"},{"photo_id":"1392066383","filename":"file1"},{"photo_id":"1392066381","filename":"file0"},{"photo_id":"1392066387","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392066381":["hashtag1","hashtag2"]},{"1392066383":["hashtag1","hashtag2"]},{"1392066392":["hashtag1","hashtag2"]},{"1392066385":["hashtag1","hashtag2"]},{"1392066390":["hashtag1","hashtag2"]},{"1392066387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392066381, 1392066383, 1392066392, 1392066385, 1392066390, 1392066387)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.38686013221741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:05:42.834477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_19_2637.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_22_3641.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_25_2670.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_27_2624.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_30_2761.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_34_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_19_2637.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_22_3641.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_25_2670.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_27_2624.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_30_2761.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_34_3565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392066750","1392066666","1392066711","1392066557","1392066620","1392066795"],"photo_ids_order":["1392066557","1392066620","1392066666","1392066711","1392066750","1392066795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d213bc5286527fa189a70a1ca19cad65.jpg","text":"TemporaryFile(/tmp/multipartBody4804729863025525014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178804264,"filename":"image_03112025_08_37_30_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/3/41fea45146d5f41be0ae11b46b768058.jpg","text":"TemporaryFile(/tmp/multipartBody291583915070608149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178804264,"filename":"image_03112025_08_37_25_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/3/37b2b9dafb9f6896f7f2d2959f0ddb2b.jpg","text":"TemporaryFile(/tmp/multipartBody2103670640113117590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178804264,"filename":"image_03112025_08_37_27_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/3/6e87f2b8eb790c104bff6004a36dfdd0.jpg","text":"TemporaryFile(/tmp/multipartBody6882523668145736409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178804264,"filename":"image_03112025_08_37_19_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/3/b85533dd15ce21a9c2b55d4693b11c36.jpg","text":"TemporaryFile(/tmp/multipartBody1051414651399467311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178804264,"filename":"image_03112025_08_37_22_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/3/f6f449368cada02a7042803ae017dae0.jpg","text":"TemporaryFile(/tmp/multipartBody1877728020790196609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178804264,"filename":"image_03112025_08_37_34_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392066666","file1":"1392066620","file0":"1392066557","file4":"1392066750","file5":"1392066795","file3":"1392066711"},"map_files_photo_id_array":[{"photo_id":"1392066795","filename":"file5"},{"photo_id":"1392066666","filename":"file2"},{"photo_id":"1392066750","filename":"file4"},{"photo_id":"1392066620","filename":"file1"},{"photo_id":"1392066557","filename":"file0"},{"photo_id":"1392066711","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392066750":["hashtag1","hashtag2"]},{"1392066666":["hashtag1","hashtag2"]},{"1392066711":["hashtag1","hashtag2"]},{"1392066557":["hashtag1","hashtag2"]},{"1392066620":["hashtag1","hashtag2"]},{"1392066795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392066750, 1392066666, 1392066711, 1392066557, 1392066620, 1392066795)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.28032326698303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:06:42.041944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_36_2684.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_39_2701.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_43_3740.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_46_2702.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_48_2715.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_52_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_36_2684.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_39_2701.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_43_3740.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_46_2702.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_48_2715.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_52_3548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392067326","1392067259","1392067138","1392067213","1392067368","1392067176"],"photo_ids_order":["1392067138","1392067176","1392067213","1392067259","1392067326","1392067368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/44de60be31637c4e9778d52feb7f8068.jpg","text":"TemporaryFile(/tmp/multipartBody7267008816016304654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178863509,"filename":"image_03112025_08_37_48_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ad3cced13e507c025cff8f20afa75fd.jpg","text":"TemporaryFile(/tmp/multipartBody5813233050180380058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178863509,"filename":"image_03112025_08_37_46_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/3/2936100ed69c4aaa6af62083d8ed507e.jpg","text":"TemporaryFile(/tmp/multipartBody6681849943828889256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178863509,"filename":"image_03112025_08_37_36_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/3/93632c54bb1d532c428ed8045690fd06.jpg","text":"TemporaryFile(/tmp/multipartBody1653500309753068848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178863509,"filename":"image_03112025_08_37_43_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/3/7b38233866dd7c2ea0f2a015895a1ef3.jpg","text":"TemporaryFile(/tmp/multipartBody7543029502741876515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178863509,"filename":"image_03112025_08_37_52_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/3/8dfca86de15da9ca8eada10d303eb896.jpg","text":"TemporaryFile(/tmp/multipartBody7186071469319681002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178863509,"filename":"image_03112025_08_37_39_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392067213","file1":"1392067176","file0":"1392067138","file4":"1392067326","file5":"1392067368","file3":"1392067259"},"map_files_photo_id_array":[{"photo_id":"1392067368","filename":"file5"},{"photo_id":"1392067213","filename":"file2"},{"photo_id":"1392067326","filename":"file4"},{"photo_id":"1392067176","filename":"file1"},{"photo_id":"1392067138","filename":"file0"},{"photo_id":"1392067259","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392067326":["hashtag1","hashtag2"]},{"1392067259":["hashtag1","hashtag2"]},{"1392067138":["hashtag1","hashtag2"]},{"1392067213":["hashtag1","hashtag2"]},{"1392067368":["hashtag1","hashtag2"]},{"1392067176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392067326, 1392067259, 1392067138, 1392067213, 1392067368, 1392067176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9209303855896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:07:22.558760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_55_2680.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_57_2722.jpg', '/home/pi/Desktop/images/03112025/08/37/image_03112025_08_38_01_3646.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_04_2878.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_07_2718.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_09_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_55_2680.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_37_57_2722.jpg
/home/pi/Desktop/images/03112025/08/37/image_03112025_08_38_01_3646.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_04_2878.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_07_2718.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_09_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392067598","1392067661","1392067621","1392067558","1392067516","1392067603"],"photo_ids_order":["1392067516","1392067558","1392067598","1392067603","1392067621","1392067661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e23f9f6567736b03c6bee4607f2fba3.jpg","text":"TemporaryFile(/tmp/multipartBody4941197075273571635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178903351,"filename":"image_03112025_08_38_01_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/3/f2fb0b42a04fb70791c5bd6e167f554c.jpg","text":"TemporaryFile(/tmp/multipartBody4123484981978265108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178903351,"filename":"image_03112025_08_38_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/3/dee8e7bfb31b175ee55dc630116db1e2.jpg","text":"TemporaryFile(/tmp/multipartBody3373083661260597296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178903351,"filename":"image_03112025_08_38_07_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/3/70b8f598638016f14976ee9660be7f53.jpg","text":"TemporaryFile(/tmp/multipartBody6802501149493408894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178903351,"filename":"image_03112025_08_37_57_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/3/c4775a0af089a3d85904779ef6619da8.jpg","text":"TemporaryFile(/tmp/multipartBody6241168621804823529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178903351,"filename":"image_03112025_08_37_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/3/34e9c875edae8bac1deddaf01378bcbb.jpg","text":"TemporaryFile(/tmp/multipartBody2504514701102038660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178903351,"filename":"image_03112025_08_38_04_2878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392067598","file1":"1392067558","file0":"1392067516","file4":"1392067621","file5":"1392067661","file3":"1392067603"},"map_files_photo_id_array":[{"photo_id":"1392067661","filename":"file5"},{"photo_id":"1392067598","filename":"file2"},{"photo_id":"1392067621","filename":"file4"},{"photo_id":"1392067558","filename":"file1"},{"photo_id":"1392067516","filename":"file0"},{"photo_id":"1392067603","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392067598":["hashtag1","hashtag2"]},{"1392067661":["hashtag1","hashtag2"]},{"1392067621":["hashtag1","hashtag2"]},{"1392067558":["hashtag1","hashtag2"]},{"1392067516":["hashtag1","hashtag2"]},{"1392067603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392067598, 1392067661, 1392067621, 1392067558, 1392067516, 1392067603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.563722372055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:08:03.305698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_12_2848.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_16_3719.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_19_2673.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_21_2644.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_25_3614.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_27_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_12_2848.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_16_3719.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_19_2673.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_21_2644.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_25_3614.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_27_2667.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.754976749420166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:08:22.728731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_12_2848.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_16_3719.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_19_2673.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_21_2644.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_25_3614.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_27_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_12_2848.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_16_3719.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_19_2673.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_21_2644.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_25_3614.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_27_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392067806","1392067780","1392067706","1392067744","1392067819","1392067810"],"photo_ids_order":["1392067706","1392067744","1392067780","1392067806","1392067810","1392067819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f2b3a6ea467d698b83a295654046be21.jpg","text":"TemporaryFile(/tmp/multipartBody939004465580714940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178963384,"filename":"image_03112025_08_38_21_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/3/486614b045805ac6258399d7f56d7d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7642668500730777197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178963384,"filename":"image_03112025_08_38_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/3/b8631bc79612cc907d55165322cecfb5.jpg","text":"TemporaryFile(/tmp/multipartBody624613870833267367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178963384,"filename":"image_03112025_08_38_12_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/3/11d66e2c17f6d55d8fe24e1ba301e696.jpg","text":"TemporaryFile(/tmp/multipartBody8914250817588135020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178963384,"filename":"image_03112025_08_38_16_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/3/e9218d23b295a0f3257839c7f5039bfb.jpg","text":"TemporaryFile(/tmp/multipartBody7783310561203018379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178963384,"filename":"image_03112025_08_38_27_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/3/7f14fc40a8ebc79a4905b9faf4814ee9.jpg","text":"TemporaryFile(/tmp/multipartBody3937074047376886471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762178963384,"filename":"image_03112025_08_38_25_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392067780","file1":"1392067744","file0":"1392067706","file4":"1392067810","file5":"1392067819","file3":"1392067806"},"map_files_photo_id_array":[{"photo_id":"1392067819","filename":"file5"},{"photo_id":"1392067780","filename":"file2"},{"photo_id":"1392067810","filename":"file4"},{"photo_id":"1392067744","filename":"file1"},{"photo_id":"1392067706","filename":"file0"},{"photo_id":"1392067806","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392067806":["hashtag1","hashtag2"]},{"1392067780":["hashtag1","hashtag2"]},{"1392067706":["hashtag1","hashtag2"]},{"1392067744":["hashtag1","hashtag2"]},{"1392067819":["hashtag1","hashtag2"]},{"1392067810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392067806, 1392067780, 1392067706, 1392067744, 1392067819, 1392067810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09935927391052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:09:03.044355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_31_3525.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_34_2591.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_36_2645.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_40_3683.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_43_2618.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_45_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_31_3525.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_34_2591.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_36_2645.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_40_3683.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_43_2618.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_45_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392068249","1392068042","1392068119","1392068206","1392068082","1392068166"],"photo_ids_order":["1392068042","1392068082","1392068119","1392068166","1392068206","1392068249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/25e418c20e2afc43770cfe010cb453d8.jpg","text":"TemporaryFile(/tmp/multipartBody543521774210349214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179004073,"filename":"image_03112025_08_38_45_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/3/96882f81c3bf4df32d4763433453bf3e.jpg","text":"TemporaryFile(/tmp/multipartBody5777587562684616865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179004073,"filename":"image_03112025_08_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/3/45fb00b4f585dd8ba297f61ead860a09.jpg","text":"TemporaryFile(/tmp/multipartBody6331322535378009049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179004073,"filename":"image_03112025_08_38_36_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/3/1007e469d3972dd3a9169d43c591d606.jpg","text":"TemporaryFile(/tmp/multipartBody3535804437396808507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179004073,"filename":"image_03112025_08_38_43_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/3/93204034ae0d4a1ecc50d710abfd239a.jpg","text":"TemporaryFile(/tmp/multipartBody8339784385534486876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179004073,"filename":"image_03112025_08_38_34_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5679c200ecfa299643edff221fd233e4.jpg","text":"TemporaryFile(/tmp/multipartBody4206128143759143130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179004073,"filename":"image_03112025_08_38_40_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392068119","file1":"1392068082","file0":"1392068042","file4":"1392068206","file5":"1392068249","file3":"1392068166"},"map_files_photo_id_array":[{"photo_id":"1392068249","filename":"file5"},{"photo_id":"1392068119","filename":"file2"},{"photo_id":"1392068206","filename":"file4"},{"photo_id":"1392068082","filename":"file1"},{"photo_id":"1392068042","filename":"file0"},{"photo_id":"1392068166","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392068249":["hashtag1","hashtag2"]},{"1392068042":["hashtag1","hashtag2"]},{"1392068119":["hashtag1","hashtag2"]},{"1392068206":["hashtag1","hashtag2"]},{"1392068082":["hashtag1","hashtag2"]},{"1392068166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392068249, 1392068042, 1392068119, 1392068206, 1392068082, 1392068166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.461665630340576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:09:42.018798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_49_3828.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_51_2501.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_54_2695.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_58_3633.jpg', '/home/pi/Desktop/images/03112025/08/38/image_03112025_08_39_00_2537.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_03_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_49_3828.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_51_2501.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_54_2695.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_38_58_3633.jpg
/home/pi/Desktop/images/03112025/08/38/image_03112025_08_39_00_2537.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_03_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392068423","1392068389","1392068362","1392068422","1392068358","1392068352"],"photo_ids_order":["1392068352","1392068358","1392068362","1392068389","1392068422","1392068423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/782b555a5b20b8fa64b29d43d03025c6.jpg","text":"TemporaryFile(/tmp/multipartBody5910820948987772993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179042889,"filename":"image_03112025_08_39_03_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/3/fae68bb49c303a71b093fa5bb4218ebb.jpg","text":"TemporaryFile(/tmp/multipartBody417437016187097610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179042889,"filename":"image_03112025_08_38_58_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/3/58b789ec97a1d7d7da2cc6a0fcc60d29.jpg","text":"TemporaryFile(/tmp/multipartBody2032394666903937460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179042889,"filename":"image_03112025_08_38_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/3/d9ac4e5d97697d136f12eec04d828bea.jpg","text":"TemporaryFile(/tmp/multipartBody6064892558529933966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179042889,"filename":"image_03112025_08_39_00_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/3/bcce8e599c2172be27fc12b7e965b010.jpg","text":"TemporaryFile(/tmp/multipartBody458261188411937794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179042889,"filename":"image_03112025_08_38_51_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f0802bbe7c049d4c087ab24ee81401b.jpg","text":"TemporaryFile(/tmp/multipartBody3247338711647290676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179042889,"filename":"image_03112025_08_38_49_3828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392068362","file1":"1392068358","file0":"1392068352","file4":"1392068422","file5":"1392068423","file3":"1392068389"},"map_files_photo_id_array":[{"photo_id":"1392068423","filename":"file5"},{"photo_id":"1392068362","filename":"file2"},{"photo_id":"1392068422","filename":"file4"},{"photo_id":"1392068358","filename":"file1"},{"photo_id":"1392068352","filename":"file0"},{"photo_id":"1392068389","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392068423":["hashtag1","hashtag2"]},{"1392068389":["hashtag1","hashtag2"]},{"1392068362":["hashtag1","hashtag2"]},{"1392068422":["hashtag1","hashtag2"]},{"1392068358":["hashtag1","hashtag2"]},{"1392068352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392068423, 1392068389, 1392068362, 1392068422, 1392068358, 1392068352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70088005065918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:10:22.171696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_07_3700.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_09_2673.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_12_2771.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_16_3506.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_18_2668.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_21_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_07_3700.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_09_2673.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_12_2771.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_16_3506.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_18_2668.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_21_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392068516","1392068494","1392068524","1392068506","1392068511","1392068520"],"photo_ids_order":["1392068494","1392068506","1392068511","1392068516","1392068520","1392068524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/627c8f0e262ef23f303cfa84a3ab0ce7.jpg","text":"TemporaryFile(/tmp/multipartBody3051004134125801437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179083007,"filename":"image_03112025_08_39_16_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/3/934e4fc3ea2a9390d121bbf9d07e6b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8631267066093531029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179083007,"filename":"image_03112025_08_39_07_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/3/9aadcf7675e351602ff2ed07ce0adbf5.jpg","text":"TemporaryFile(/tmp/multipartBody2785674986294522885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179083007,"filename":"image_03112025_08_39_21_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/3/953f5f6682b76335df49b492e6e36906.jpg","text":"TemporaryFile(/tmp/multipartBody2771331425920481732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179083007,"filename":"image_03112025_08_39_09_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26f77cb3d40736fcca00ba28884cc8b5.jpg","text":"TemporaryFile(/tmp/multipartBody2898520693859829970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179083007,"filename":"image_03112025_08_39_12_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/3/40db165c5c0c63a4f81d11219442abe9.jpg","text":"TemporaryFile(/tmp/multipartBody91270738084878310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179083007,"filename":"image_03112025_08_39_18_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392068511","file1":"1392068506","file0":"1392068494","file4":"1392068520","file5":"1392068524","file3":"1392068516"},"map_files_photo_id_array":[{"photo_id":"1392068524","filename":"file5"},{"photo_id":"1392068511","filename":"file2"},{"photo_id":"1392068520","filename":"file4"},{"photo_id":"1392068506","filename":"file1"},{"photo_id":"1392068494","filename":"file0"},{"photo_id":"1392068516","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392068516":["hashtag1","hashtag2"]},{"1392068494":["hashtag1","hashtag2"]},{"1392068524":["hashtag1","hashtag2"]},{"1392068506":["hashtag1","hashtag2"]},{"1392068511":["hashtag1","hashtag2"]},{"1392068520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392068516, 1392068494, 1392068524, 1392068506, 1392068511, 1392068520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.409730195999146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:11:03.121756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_26_4831.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_32_5951.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_33_1584.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_35_1629.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_37_1618.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_39_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_26_4831.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_32_5951.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_33_1584.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_35_1629.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_37_1618.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_39_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392068534","1392068542","1392068551","1392068545","1392068538","1392068547"],"photo_ids_order":["1392068534","1392068538","1392068542","1392068545","1392068547","1392068551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/463ce6c133427b8db0c47271eb933954.jpg","text":"TemporaryFile(/tmp/multipartBody6710135707030475843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179124296,"filename":"image_03112025_08_39_26_4831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1909a56f0774c847036a68fd7ae46d84.jpg","text":"TemporaryFile(/tmp/multipartBody5253982605338722601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179124296,"filename":"image_03112025_08_39_33_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/3/1f9629ce8873192b0e3c112bf8cfff73.jpg","text":"TemporaryFile(/tmp/multipartBody6243582699064173463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179124296,"filename":"image_03112025_08_39_39_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/3/f9cfede3857760c4a1e53d1524ad8e66.jpg","text":"TemporaryFile(/tmp/multipartBody7181555397706264927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179124296,"filename":"image_03112025_08_39_35_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/3/fc1f611458ea390ec2e777c2d6b29f8c.jpg","text":"TemporaryFile(/tmp/multipartBody809040371681280007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179124296,"filename":"image_03112025_08_39_32_5951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/036e13be10b0a38311e315f0c033dadf.jpg","text":"TemporaryFile(/tmp/multipartBody7041276739221304064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179124296,"filename":"image_03112025_08_39_37_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392068542","file1":"1392068538","file0":"1392068534","file4":"1392068547","file5":"1392068551","file3":"1392068545"},"map_files_photo_id_array":[{"photo_id":"1392068551","filename":"file5"},{"photo_id":"1392068542","filename":"file2"},{"photo_id":"1392068547","filename":"file4"},{"photo_id":"1392068538","filename":"file1"},{"photo_id":"1392068534","filename":"file0"},{"photo_id":"1392068545","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392068534":["hashtag1","hashtag2"]},{"1392068542":["hashtag1","hashtag2"]},{"1392068551":["hashtag1","hashtag2"]},{"1392068545":["hashtag1","hashtag2"]},{"1392068538":["hashtag1","hashtag2"]},{"1392068547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392068534, 1392068542, 1392068551, 1392068545, 1392068538, 1392068547)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.89822745323181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:12:04.327046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_42_2694.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_54_11592.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_55_1752.jpg', '/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_57_1611.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_02_5202.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_07_4719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_42_2694.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_54_11592.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_55_1752.jpg
/home/pi/Desktop/images/03112025/08/39/image_03112025_08_39_57_1611.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_02_5202.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_07_4719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392068588","1392068578","1392068605","1392068595","1392068582","1392068601"],"photo_ids_order":["1392068578","1392068582","1392068588","1392068595","1392068601","1392068605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8a81f280734560343011a76fcb68b547.jpg","text":"TemporaryFile(/tmp/multipartBody2379772370101220258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179185202,"filename":"image_03112025_08_39_55_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/3/0d41fdb965e6891ac2f54ec992bb27d4.jpg","text":"TemporaryFile(/tmp/multipartBody1563647478763571589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179185202,"filename":"image_03112025_08_39_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/3/8f925a456ea3a8ccb7fd4a9c61b8eb0a.jpg","text":"TemporaryFile(/tmp/multipartBody2169058463667963050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179185202,"filename":"image_03112025_08_40_07_4719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/128b314b546fb0ef00c379a1f82e3cdc.jpg","text":"TemporaryFile(/tmp/multipartBody6066482043115092333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179185202,"filename":"image_03112025_08_39_57_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/3/bcfc75f4a60a10b7e46aad3333c737bb.jpg","text":"TemporaryFile(/tmp/multipartBody3725948237708216588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179185202,"filename":"image_03112025_08_39_54_11592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5f9e29df78fc92a4c0b63a46f80ecac.jpg","text":"TemporaryFile(/tmp/multipartBody1955267732297058377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179185202,"filename":"image_03112025_08_40_02_5202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392068588","file1":"1392068582","file0":"1392068578","file4":"1392068601","file5":"1392068605","file3":"1392068595"},"map_files_photo_id_array":[{"photo_id":"1392068605","filename":"file5"},{"photo_id":"1392068588","filename":"file2"},{"photo_id":"1392068601","filename":"file4"},{"photo_id":"1392068582","filename":"file1"},{"photo_id":"1392068578","filename":"file0"},{"photo_id":"1392068595","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392068588":["hashtag1","hashtag2"]},{"1392068578":["hashtag1","hashtag2"]},{"1392068605":["hashtag1","hashtag2"]},{"1392068595":["hashtag1","hashtag2"]},{"1392068582":["hashtag1","hashtag2"]},{"1392068601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392068588, 1392068578, 1392068605, 1392068595, 1392068582, 1392068601)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.91422915458679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:13:03.932640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_09_1759.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_10_1645.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_12_1721.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_14_1703.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_15_1621.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_17_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_09_1759.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_10_1645.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_12_1721.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_14_1703.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_15_1621.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_17_1625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392068639","1392068732","1392068641","1392068704","1392068728","1392068663"],"photo_ids_order":["1392068639","1392068641","1392068663","1392068704","1392068728","1392068732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb865a489c86e614424070f1cb71aca1.jpg","text":"TemporaryFile(/tmp/multipartBody8183252929927780159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179244770,"filename":"image_03112025_08_40_09_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/3/fcf8c7af48de59160eeba091ffb54941.jpg","text":"TemporaryFile(/tmp/multipartBody1621105872595034462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179244770,"filename":"image_03112025_08_40_17_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/3/81c36f2534b92b107527cc7d3bb553a5.jpg","text":"TemporaryFile(/tmp/multipartBody759918540970192029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179244770,"filename":"image_03112025_08_40_10_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/3/f06f596c0174a34b61f53f7da289b439.jpg","text":"TemporaryFile(/tmp/multipartBody220032843322660030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179244770,"filename":"image_03112025_08_40_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/3/c7c58679d195f4fbcb084f04e9b1c2c9.jpg","text":"TemporaryFile(/tmp/multipartBody7422348452386934806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179244770,"filename":"image_03112025_08_40_15_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/3/6d8a1c5d400789586aa052fe7933216c.jpg","text":"TemporaryFile(/tmp/multipartBody3145392631965597617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179244770,"filename":"image_03112025_08_40_12_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392068663","file1":"1392068641","file0":"1392068639","file4":"1392068728","file5":"1392068732","file3":"1392068704"},"map_files_photo_id_array":[{"photo_id":"1392068732","filename":"file5"},{"photo_id":"1392068663","filename":"file2"},{"photo_id":"1392068728","filename":"file4"},{"photo_id":"1392068641","filename":"file1"},{"photo_id":"1392068639","filename":"file0"},{"photo_id":"1392068704","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392068639":["hashtag1","hashtag2"]},{"1392068732":["hashtag1","hashtag2"]},{"1392068641":["hashtag1","hashtag2"]},{"1392068704":["hashtag1","hashtag2"]},{"1392068728":["hashtag1","hashtag2"]},{"1392068663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392068639, 1392068732, 1392068641, 1392068704, 1392068728, 1392068663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85715699195862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:14:02.754201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 15:14:22.149336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_19_1576.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_21_2580.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_25_3697.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_28_2724.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_30_2646.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_34_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_19_1576.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_21_2580.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_25_3697.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_28_2724.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_30_2646.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_34_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392068849","1392068836","1392068824","1392068833","1392068815","1392068820"],"photo_ids_order":["1392068815","1392068820","1392068824","1392068833","1392068836","1392068849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f93970c277d47769496772f237428bf3.jpg","text":"TemporaryFile(/tmp/multipartBody680873441875191764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179322970,"filename":"image_03112025_08_40_34_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/3/7865c71494e419db7e5e98603cea6ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7568789200243157742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179322970,"filename":"image_03112025_08_40_30_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/3/ddcff9f18fca3e1ec610d4d0875d9283.jpg","text":"TemporaryFile(/tmp/multipartBody444015651192937453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179322970,"filename":"image_03112025_08_40_25_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/3/1f5f5c07d270537025f4552becd8477a.jpg","text":"TemporaryFile(/tmp/multipartBody1614903214048967401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179322970,"filename":"image_03112025_08_40_28_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/3/affacc2fe1d233776aac0da745d9605e.jpg","text":"TemporaryFile(/tmp/multipartBody6674080981935009792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179322970,"filename":"image_03112025_08_40_19_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/3/8252b994677d925ea89d0acfb76ebc69.jpg","text":"TemporaryFile(/tmp/multipartBody3305078139967187587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179322970,"filename":"image_03112025_08_40_21_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392068824","file1":"1392068820","file0":"1392068815","file4":"1392068836","file5":"1392068849","file3":"1392068833"},"map_files_photo_id_array":[{"photo_id":"1392068849","filename":"file5"},{"photo_id":"1392068824","filename":"file2"},{"photo_id":"1392068836","filename":"file4"},{"photo_id":"1392068820","filename":"file1"},{"photo_id":"1392068815","filename":"file0"},{"photo_id":"1392068833","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392068849":["hashtag1","hashtag2"]},{"1392068836":["hashtag1","hashtag2"]},{"1392068824":["hashtag1","hashtag2"]},{"1392068833":["hashtag1","hashtag2"]},{"1392068815":["hashtag1","hashtag2"]},{"1392068820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392068849, 1392068836, 1392068824, 1392068833, 1392068815, 1392068820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12312936782837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:15:03.191620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_36_2595.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_39_2697.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_42_3183.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_45_2814.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_49_3598.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_52_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_36_2595.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_39_2697.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_42_3183.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_45_2814.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_49_3598.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_52_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392068864","1392068881","1392068869","1392068860","1392068877","1392068873"],"photo_ids_order":["1392068860","1392068864","1392068869","1392068873","1392068877","1392068881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/94c8497e391d79d99adeb7f2760c160c.jpg","text":"TemporaryFile(/tmp/multipartBody2220722278343854835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179364103,"filename":"image_03112025_08_40_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/3/f0fc7a1fcc3236016d4d4257d37b9e8e.jpg","text":"TemporaryFile(/tmp/multipartBody5458142669213169168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179364103,"filename":"image_03112025_08_40_52_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b703cbe913424807c8b3a84b1ed6c43.jpg","text":"TemporaryFile(/tmp/multipartBody6086964049158209067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179364103,"filename":"image_03112025_08_40_42_3183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7eaca458129e2f013339ba8a48d3bbb0.jpg","text":"TemporaryFile(/tmp/multipartBody8292718345144203953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179364103,"filename":"image_03112025_08_40_36_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/3/666269ab2ffd9b845bcbdab22b39f807.jpg","text":"TemporaryFile(/tmp/multipartBody4025000560773522419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179364103,"filename":"image_03112025_08_40_49_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ce5594dc878f94d995d55d35711a72d.jpg","text":"TemporaryFile(/tmp/multipartBody1389617989328934110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179364103,"filename":"image_03112025_08_40_45_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392068869","file1":"1392068864","file0":"1392068860","file4":"1392068877","file5":"1392068881","file3":"1392068873"},"map_files_photo_id_array":[{"photo_id":"1392068881","filename":"file5"},{"photo_id":"1392068869","filename":"file2"},{"photo_id":"1392068877","filename":"file4"},{"photo_id":"1392068864","filename":"file1"},{"photo_id":"1392068860","filename":"file0"},{"photo_id":"1392068873","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392068864":["hashtag1","hashtag2"]},{"1392068881":["hashtag1","hashtag2"]},{"1392068869":["hashtag1","hashtag2"]},{"1392068860":["hashtag1","hashtag2"]},{"1392068877":["hashtag1","hashtag2"]},{"1392068873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392068864, 1392068881, 1392068869, 1392068860, 1392068877, 1392068873)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.020227670669556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:16:02.972521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_54_2706.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_57_2685.jpg', '/home/pi/Desktop/images/03112025/08/40/image_03112025_08_41_01_3644.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_03_2908.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_06_2768.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_09_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_54_2706.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_40_57_2685.jpg
/home/pi/Desktop/images/03112025/08/40/image_03112025_08_41_01_3644.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_03_2908.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_06_2768.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_09_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392068918","1392068906","1392068909","1392068900","1392068903","1392068914"],"photo_ids_order":["1392068900","1392068903","1392068906","1392068909","1392068914","1392068918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc84262061867ef203a34cb658a19b15.jpg","text":"TemporaryFile(/tmp/multipartBody5043218714881478296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179423822,"filename":"image_03112025_08_41_09_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/3/c54e3a65b8f26fbd2d36696f956578e4.jpg","text":"TemporaryFile(/tmp/multipartBody1362432028189841095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179423822,"filename":"image_03112025_08_41_01_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/3/a710856c7510d6eb9cf879693b02ee44.jpg","text":"TemporaryFile(/tmp/multipartBody5629727489360953173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179423822,"filename":"image_03112025_08_41_03_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/3/67703d76fa27832be12e9b14ff05346a.jpg","text":"TemporaryFile(/tmp/multipartBody3316756488349104870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179423822,"filename":"image_03112025_08_40_54_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/106f6d6f1207f3121bc4eb30e2a4d8aa.jpg","text":"TemporaryFile(/tmp/multipartBody4591876733067324060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179423822,"filename":"image_03112025_08_40_57_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/3/9be7c2044dc890dd86ca0d0842e723f8.jpg","text":"TemporaryFile(/tmp/multipartBody2347489633925941123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179423822,"filename":"image_03112025_08_41_06_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392068906","file1":"1392068903","file0":"1392068900","file4":"1392068914","file5":"1392068918","file3":"1392068909"},"map_files_photo_id_array":[{"photo_id":"1392068918","filename":"file5"},{"photo_id":"1392068906","filename":"file2"},{"photo_id":"1392068914","filename":"file4"},{"photo_id":"1392068903","filename":"file1"},{"photo_id":"1392068900","filename":"file0"},{"photo_id":"1392068909","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392068918":["hashtag1","hashtag2"]},{"1392068906":["hashtag1","hashtag2"]},{"1392068909":["hashtag1","hashtag2"]},{"1392068900":["hashtag1","hashtag2"]},{"1392068903":["hashtag1","hashtag2"]},{"1392068914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392068918, 1392068906, 1392068909, 1392068900, 1392068903, 1392068914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11295962333679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:16:42.440698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_13_3579.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_15_2721.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_18_2767.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_22_3541.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_24_2714.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_27_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_13_3579.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_15_2721.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_18_2767.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_22_3541.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_24_2714.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_27_2881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392069069","1392069060","1392069078","1392069066","1392069092","1392069089"],"photo_ids_order":["1392069060","1392069066","1392069069","1392069078","1392069089","1392069092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f8001cdd8b759066211fb00dd9160014.jpg","text":"TemporaryFile(/tmp/multipartBody364093016845537989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179491296,"filename":"image_03112025_08_41_18_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/3/9fba805b62db6739db59cb41420bd8ce.jpg","text":"TemporaryFile(/tmp/multipartBody5091589850044800578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179491296,"filename":"image_03112025_08_41_13_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/3/741e2192813cb71bd56c47c40867f878.jpg","text":"TemporaryFile(/tmp/multipartBody2411210920888173612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179491296,"filename":"image_03112025_08_41_22_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/3/84c0af8e5a27d130213fccdad9612d80.jpg","text":"TemporaryFile(/tmp/multipartBody4653826917972898996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179491296,"filename":"image_03112025_08_41_15_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/3/79f7061d4daebbc6c52c1854519cf3e5.jpg","text":"TemporaryFile(/tmp/multipartBody3784859473779496019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179491296,"filename":"image_03112025_08_41_27_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/3/707f3bcb66bbc19279f356df798c3490.jpg","text":"TemporaryFile(/tmp/multipartBody6871026813630948608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179491296,"filename":"image_03112025_08_41_24_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392069069","file1":"1392069066","file0":"1392069060","file4":"1392069089","file5":"1392069092","file3":"1392069078"},"map_files_photo_id_array":[{"photo_id":"1392069092","filename":"file5"},{"photo_id":"1392069069","filename":"file2"},{"photo_id":"1392069089","filename":"file4"},{"photo_id":"1392069066","filename":"file1"},{"photo_id":"1392069060","filename":"file0"},{"photo_id":"1392069078","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392069069":["hashtag1","hashtag2"]},{"1392069060":["hashtag1","hashtag2"]},{"1392069078":["hashtag1","hashtag2"]},{"1392069066":["hashtag1","hashtag2"]},{"1392069092":["hashtag1","hashtag2"]},{"1392069089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392069069, 1392069060, 1392069078, 1392069066, 1392069092, 1392069089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.91778540611267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:18:02.832219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_30_2661.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_34_3714.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_36_2743.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_39_2630.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_43_3554.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_45_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_30_2661.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_34_3714.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_36_2743.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_39_2630.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_43_3554.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_45_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392069131","1392069139","1392069127","1392069124","1392069135","1392069129"],"photo_ids_order":["1392069124","1392069127","1392069129","1392069131","1392069135","1392069139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/09ffaad7fbdd8a59f8616be831bfa018.jpg","text":"TemporaryFile(/tmp/multipartBody3217304780723178973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179544487,"filename":"image_03112025_08_41_39_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/3/fa5f6f33658a9b25e3e3a7963e179bbd.jpg","text":"TemporaryFile(/tmp/multipartBody5898581826974204215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179544487,"filename":"image_03112025_08_41_45_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/3/2d2801cb25eb6f7c7212a83ef0d961c6.jpg","text":"TemporaryFile(/tmp/multipartBody2847092786745910761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179544487,"filename":"image_03112025_08_41_34_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/91034935edc0aaa9b4df0419f57488c2.jpg","text":"TemporaryFile(/tmp/multipartBody589184512586140579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179544487,"filename":"image_03112025_08_41_30_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/3/01f917c945164a56471c5e1535d3aa64.jpg","text":"TemporaryFile(/tmp/multipartBody8126726224864974458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179544487,"filename":"image_03112025_08_41_43_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4acd2f73820e5722d925a06d2bb4b5cd.jpg","text":"TemporaryFile(/tmp/multipartBody4850921876704630333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179544487,"filename":"image_03112025_08_41_36_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392069129","file1":"1392069127","file0":"1392069124","file4":"1392069135","file5":"1392069139","file3":"1392069131"},"map_files_photo_id_array":[{"photo_id":"1392069139","filename":"file5"},{"photo_id":"1392069129","filename":"file2"},{"photo_id":"1392069135","filename":"file4"},{"photo_id":"1392069127","filename":"file1"},{"photo_id":"1392069124","filename":"file0"},{"photo_id":"1392069131","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392069131":["hashtag1","hashtag2"]},{"1392069139":["hashtag1","hashtag2"]},{"1392069127":["hashtag1","hashtag2"]},{"1392069124":["hashtag1","hashtag2"]},{"1392069135":["hashtag1","hashtag2"]},{"1392069129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392069131, 1392069139, 1392069127, 1392069124, 1392069135, 1392069129)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.1238694190979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:19:03.282052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 15:19:22.662474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_48_2786.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_52_3704.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_54_2743.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_57_2556.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_42_00_2920.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_04_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_48_2786.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_52_3704.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_54_2743.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_57_2556.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_42_00_2920.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_04_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":["1392069503","1392069481","1392069457","1392069488","1392069327","1392069407"],"photo_ids_order":["1392069327","1392069407","1392069457","1392069481","1392069488","1392069503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5942c8209379c01230541c5831e7abcf.jpg","text":"TemporaryFile(/tmp/multipartBody260996184438472198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179625902,"filename":"image_03112025_08_42_04_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/3/37eb8a41081bbfdb1f203ca678d49cae.jpg","text":"TemporaryFile(/tmp/multipartBody4465548992581413094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179625902,"filename":"image_03112025_08_41_57_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/3/d5235783f417736f2094b0599758c7d3.jpg","text":"TemporaryFile(/tmp/multipartBody4333747624853136576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179625902,"filename":"image_03112025_08_41_54_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/3/4d49c9f2a306f2012762bf431138886e.jpg","text":"TemporaryFile(/tmp/multipartBody4572438925225810308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179625902,"filename":"image_03112025_08_42_00_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/3/1b66261fe5085554012d55471d067ec0.jpg","text":"TemporaryFile(/tmp/multipartBody5501748877119819388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179625902,"filename":"image_03112025_08_41_48_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/3/69f398ce2f569f18047369ed0e08a7de.jpg","text":"TemporaryFile(/tmp/multipartBody8393135682010448718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179625902,"filename":"image_03112025_08_41_52_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392069457","file1":"1392069407","file0":"1392069327","file4":"1392069488","file5":"1392069503","file3":"1392069481"},"map_files_photo_id_array":[{"photo_id":"1392069503","filename":"file5"},{"photo_id":"1392069457","filename":"file2"},{"photo_id":"1392069488","filename":"file4"},{"photo_id":"1392069407","filename":"file1"},{"photo_id":"1392069327","filename":"file0"},{"photo_id":"1392069481","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392069503":["hashtag1","hashtag2"]},{"1392069481":["hashtag1","hashtag2"]},{"1392069457":["hashtag1","hashtag2"]},{"1392069488":["hashtag1","hashtag2"]},{"1392069327":["hashtag1","hashtag2"]},{"1392069407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392069503, 1392069481, 1392069457, 1392069488, 1392069327, 1392069407)","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 = 1392069457 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_54_2743.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392069457 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_54_2743.jpg";
uploaded 6 photos
time to upload: 77.17337608337402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:20:46.351444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 15:21:07.558692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 15:21:27.267437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_48_2786.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_52_3704.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_54_2743.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_57_2556.jpg', '/home/pi/Desktop/images/03112025/08/41/image_03112025_08_42_00_2920.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_04_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_48_2786.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_52_3704.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_54_2743.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_41_57_2556.jpg
/home/pi/Desktop/images/03112025/08/41/image_03112025_08_42_00_2920.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_04_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":["1392069667","1392069646","1392069640","1392069660","1392069642","1392069671"],"photo_ids_order":["1392069640","1392069642","1392069646","1392069660","1392069667","1392069671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/23c1c75ac2f7458be65452812ecd020a.jpg","text":"TemporaryFile(/tmp/multipartBody2472380072955285302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179748983,"filename":"image_03112025_08_42_00_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/3/0d57da017fcd86ad5401d897ffc2bb23.jpg","text":"TemporaryFile(/tmp/multipartBody1337550091330185808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179748983,"filename":"image_03112025_08_41_54_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/3/4aa064cebf60acc89c205b1f23a08484.jpg","text":"TemporaryFile(/tmp/multipartBody1482697005371466256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179748983,"filename":"image_03112025_08_41_48_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/3/9f0429b6039a5da5e19cac04f10da265.jpg","text":"TemporaryFile(/tmp/multipartBody885401943603179795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179748983,"filename":"image_03112025_08_41_57_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/3/06af833bfda532bbbe6f7b64015ea8ed.jpg","text":"TemporaryFile(/tmp/multipartBody1399120791596504425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179748983,"filename":"image_03112025_08_41_52_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/3/58241bd11276cdd3d046f1566eb5c722.jpg","text":"TemporaryFile(/tmp/multipartBody3279342564608152274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179748983,"filename":"image_03112025_08_42_04_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392069646","file1":"1392069642","file0":"1392069640","file4":"1392069667","file5":"1392069671","file3":"1392069660"},"map_files_photo_id_array":[{"photo_id":"1392069671","filename":"file5"},{"photo_id":"1392069646","filename":"file2"},{"photo_id":"1392069667","filename":"file4"},{"photo_id":"1392069642","filename":"file1"},{"photo_id":"1392069640","filename":"file0"},{"photo_id":"1392069660","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392069667":["hashtag1","hashtag2"]},{"1392069646":["hashtag1","hashtag2"]},{"1392069640":["hashtag1","hashtag2"]},{"1392069660":["hashtag1","hashtag2"]},{"1392069642":["hashtag1","hashtag2"]},{"1392069671":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392069667, 1392069646, 1392069640, 1392069660, 1392069642, 1392069671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69121527671814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:22:22.168498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 15:22:42.203670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_06_2652.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_09_2750.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_13_3623.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_15_2660.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_18_2534.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_22_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_06_2652.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_09_2750.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_13_3623.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_15_2660.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_18_2534.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_22_3770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392070100","1392069993","1392070054","1392069954","1392070024","1392069947"],"photo_ids_order":["1392069947","1392069954","1392069993","1392070024","1392070054","1392070100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6759861422ae9b6d3348b9da094f378f.jpg","text":"TemporaryFile(/tmp/multipartBody4363491172298628975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179865633,"filename":"image_03112025_08_42_22_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/3/c7918584f59a513bcadbd2c4c45e5bd0.jpg","text":"TemporaryFile(/tmp/multipartBody839771454551788880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179865633,"filename":"image_03112025_08_42_13_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/3/fb9c76b272bb3b3afc81362931edd2df.jpg","text":"TemporaryFile(/tmp/multipartBody6730672373016737592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179865633,"filename":"image_03112025_08_42_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/3/0b7b3e18e800eb17d6d7ea74df811f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2606737160851663078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179865633,"filename":"image_03112025_08_42_09_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/84490aa5172570f12ed6b0649cc500a2.jpg","text":"TemporaryFile(/tmp/multipartBody7160538682940629166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179865633,"filename":"image_03112025_08_42_15_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/90380db7e8d442089c2750d4c2dc95b9.jpg","text":"TemporaryFile(/tmp/multipartBody9063938259024264874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179865633,"filename":"image_03112025_08_42_06_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392069993","file1":"1392069954","file0":"1392069947","file4":"1392070054","file5":"1392070100","file3":"1392070024"},"map_files_photo_id_array":[{"photo_id":"1392070100","filename":"file5"},{"photo_id":"1392069993","filename":"file2"},{"photo_id":"1392070054","filename":"file4"},{"photo_id":"1392069954","filename":"file1"},{"photo_id":"1392069947","filename":"file0"},{"photo_id":"1392070024","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392070100":["hashtag1","hashtag2"]},{"1392069993":["hashtag1","hashtag2"]},{"1392070054":["hashtag1","hashtag2"]},{"1392069954":["hashtag1","hashtag2"]},{"1392070024":["hashtag1","hashtag2"]},{"1392069947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392070100, 1392069993, 1392070054, 1392069954, 1392070024, 1392069947)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 96.15374565124512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:24:22.648054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_24_2606.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_27_2745.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_31_3612.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_33_2660.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_36_2589.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_40_3766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_24_2606.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_27_2745.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_31_3612.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_33_2660.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_36_2589.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_40_3766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392070363","1392070383","1392070371","1392070374","1392070368","1392070356"],"photo_ids_order":["1392070356","1392070363","1392070368","1392070371","1392070374","1392070383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc2fd7d968cfa054598846d3271c475b.jpg","text":"TemporaryFile(/tmp/multipartBody8876963272188187342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179923503,"filename":"image_03112025_08_42_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/3/7e3330aac701894f4b0bf1ad956e48ae.jpg","text":"TemporaryFile(/tmp/multipartBody2369815135089181819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179923503,"filename":"image_03112025_08_42_40_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/3/236dbe8e1e2fd4e43877052d83442d97.jpg","text":"TemporaryFile(/tmp/multipartBody1595296482700570952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179923503,"filename":"image_03112025_08_42_33_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/3/d24dfc3bb373ba4c74e276cbaf3c2734.jpg","text":"TemporaryFile(/tmp/multipartBody8978447741981555214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179923503,"filename":"image_03112025_08_42_36_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/3/bf321144da4edf9005cde2fdb93d735e.jpg","text":"TemporaryFile(/tmp/multipartBody8248292186715128273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179923503,"filename":"image_03112025_08_42_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/3/c296a947f150ffedbac5661327c54ae9.jpg","text":"TemporaryFile(/tmp/multipartBody2240409622923038632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762179923503,"filename":"image_03112025_08_42_24_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392070368","file1":"1392070363","file0":"1392070356","file4":"1392070374","file5":"1392070383","file3":"1392070371"},"map_files_photo_id_array":[{"photo_id":"1392070383","filename":"file5"},{"photo_id":"1392070368","filename":"file2"},{"photo_id":"1392070374","filename":"file4"},{"photo_id":"1392070363","filename":"file1"},{"photo_id":"1392070356","filename":"file0"},{"photo_id":"1392070371","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392070363":["hashtag1","hashtag2"]},{"1392070383":["hashtag1","hashtag2"]},{"1392070371":["hashtag1","hashtag2"]},{"1392070374":["hashtag1","hashtag2"]},{"1392070368":["hashtag1","hashtag2"]},{"1392070356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392070363, 1392070383, 1392070371, 1392070374, 1392070368, 1392070356)","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.03829598426819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:25:42.087447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_42_2688.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_45_2672.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_49_3771.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_51_2815.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_54_2871.jpg', '/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_57_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_42_2688.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_45_2672.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_49_3771.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_51_2815.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_54_2871.jpg
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_42_57_2562.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":["1392070663","1392070570","1392070603","1392070581","1392070592","1392070589"],"photo_ids_order":["1392070570","1392070581","1392070589","1392070592","1392070603","1392070663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/47101be925918af4c033c4313c7bd38f.jpg","text":"TemporaryFile(/tmp/multipartBody2968464104639008196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180002936,"filename":"image_03112025_08_42_57_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/3/927e14ad6a58d980ea7cdfc80de6c387.jpg","text":"TemporaryFile(/tmp/multipartBody1464271299167485753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180002936,"filename":"image_03112025_08_42_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/3/c7c749ff3a8f25f0c02ca9f180814dd0.jpg","text":"TemporaryFile(/tmp/multipartBody5933960981633345614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180002936,"filename":"image_03112025_08_42_54_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/3/3c6efccff91992257f1462678864cac6.jpg","text":"TemporaryFile(/tmp/multipartBody5120503277829891168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180002936,"filename":"image_03112025_08_42_45_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/3/6cbac604db7f9f92f85a568ce3af2f04.jpg","text":"TemporaryFile(/tmp/multipartBody3905990428643166011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180002936,"filename":"image_03112025_08_42_51_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/3/4ae46ca83c5b511b34c9ded8325d5409.jpg","text":"TemporaryFile(/tmp/multipartBody4283866832747674330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180002936,"filename":"image_03112025_08_42_49_3771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392070589","file1":"1392070581","file0":"1392070570","file4":"1392070603","file5":"1392070663","file3":"1392070592"},"map_files_photo_id_array":[{"photo_id":"1392070663","filename":"file5"},{"photo_id":"1392070589","filename":"file2"},{"photo_id":"1392070603","filename":"file4"},{"photo_id":"1392070581","filename":"file1"},{"photo_id":"1392070570","filename":"file0"},{"photo_id":"1392070592","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392070663":["hashtag1","hashtag2"]},{"1392070570":["hashtag1","hashtag2"]},{"1392070603":["hashtag1","hashtag2"]},{"1392070581":["hashtag1","hashtag2"]},{"1392070592":["hashtag1","hashtag2"]},{"1392070589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392070663, 1392070570, 1392070603, 1392070581, 1392070592, 1392070589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.530659198760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:26:42.385688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/42/image_03112025_08_43_00_2829.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_03_3635.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_06_2671.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_10_3537.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_12_2733.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_15_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/42/image_03112025_08_43_00_2829.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_03_3635.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_06_2671.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_10_3537.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_12_2733.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_15_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392070853","1392070844","1392070858","1392070860","1392070857","1392070865"],"photo_ids_order":["1392070844","1392070853","1392070857","1392070858","1392070860","1392070865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ebfc643421624a7873e7f33cdd04143d.jpg","text":"TemporaryFile(/tmp/multipartBody7451524820238129886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180079840,"filename":"image_03112025_08_43_03_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/3/efef3034feb7f2e71e11db218d04b49e.jpg","text":"TemporaryFile(/tmp/multipartBody6244009408509241413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180079840,"filename":"image_03112025_08_43_00_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/3/a046d1aaac3905ebff84079c4c20fc21.jpg","text":"TemporaryFile(/tmp/multipartBody2637554115302025379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180079840,"filename":"image_03112025_08_43_10_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/3/accf0770b76c522a1a04367345173b90.jpg","text":"TemporaryFile(/tmp/multipartBody2028789686014672593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180079840,"filename":"image_03112025_08_43_12_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/3/1116141034bc4711e0a4832fe16b9155.jpg","text":"TemporaryFile(/tmp/multipartBody1783374714618188157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180079840,"filename":"image_03112025_08_43_06_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dfa3b213df15326e37aab1bad97b545a.jpg","text":"TemporaryFile(/tmp/multipartBody2434481119593806564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180079840,"filename":"image_03112025_08_43_15_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392070857","file1":"1392070853","file0":"1392070844","file4":"1392070860","file5":"1392070865","file3":"1392070858"},"map_files_photo_id_array":[{"photo_id":"1392070865","filename":"file5"},{"photo_id":"1392070857","filename":"file2"},{"photo_id":"1392070860","filename":"file4"},{"photo_id":"1392070853","filename":"file1"},{"photo_id":"1392070844","filename":"file0"},{"photo_id":"1392070858","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392070853":["hashtag1","hashtag2"]},{"1392070844":["hashtag1","hashtag2"]},{"1392070858":["hashtag1","hashtag2"]},{"1392070860":["hashtag1","hashtag2"]},{"1392070857":["hashtag1","hashtag2"]},{"1392070865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392070853, 1392070844, 1392070858, 1392070860, 1392070857, 1392070865)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 66.29939103126526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:28:02.344914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_19_3657.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_21_2480.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_24_2720.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_27_3636.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_30_2732.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_33_2500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_19_3657.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_21_2480.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_24_2720.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_27_3636.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_30_2732.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_33_2500.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392071428","1392071370","1392071253","1392071195","1392071159","1392071318"],"photo_ids_order":["1392071159","1392071195","1392071253","1392071318","1392071370","1392071428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da4de6c7583e940899d5f75bdee9faa9.jpg","text":"TemporaryFile(/tmp/multipartBody7946506391207666813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180143228,"filename":"image_03112025_08_43_33_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/3/3a46c7b0bec2245e49b8ea1892923c8b.jpg","text":"TemporaryFile(/tmp/multipartBody5267532024050029685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180143228,"filename":"image_03112025_08_43_30_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/3/b87db730de5c6712841234ede6b9c984.jpg","text":"TemporaryFile(/tmp/multipartBody593744279171321723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180143228,"filename":"image_03112025_08_43_24_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/3/b6ec70eb1e2c45625c3b8332c067eac0.jpg","text":"TemporaryFile(/tmp/multipartBody2049437209381579412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180143228,"filename":"image_03112025_08_43_21_2480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fc4ed6102e9c5dbce780568c8330d771.jpg","text":"TemporaryFile(/tmp/multipartBody7486928764257667946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180143228,"filename":"image_03112025_08_43_19_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/3/1f467ea774471e7b67070e67cc855f12.jpg","text":"TemporaryFile(/tmp/multipartBody2489048897745060082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180143228,"filename":"image_03112025_08_43_27_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392071253","file1":"1392071195","file0":"1392071159","file4":"1392071370","file5":"1392071428","file3":"1392071318"},"map_files_photo_id_array":[{"photo_id":"1392071428","filename":"file5"},{"photo_id":"1392071253","filename":"file2"},{"photo_id":"1392071370","filename":"file4"},{"photo_id":"1392071195","filename":"file1"},{"photo_id":"1392071159","filename":"file0"},{"photo_id":"1392071318","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392071428":["hashtag1","hashtag2"]},{"1392071370":["hashtag1","hashtag2"]},{"1392071253":["hashtag1","hashtag2"]},{"1392071195":["hashtag1","hashtag2"]},{"1392071159":["hashtag1","hashtag2"]},{"1392071318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392071428, 1392071370, 1392071253, 1392071195, 1392071159, 1392071318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81576704978943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:28:41.880043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_36_3674.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_39_2555.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_43_3654.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_45_2782.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_48_2569.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_52_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_36_3674.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_39_2555.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_43_3654.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_45_2782.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_48_2569.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_52_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392071623","1392071598","1392071602","1392071594","1392071588","1392071600"],"photo_ids_order":["1392071588","1392071594","1392071598","1392071600","1392071602","1392071623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/02308b18aca9da3510c12f7d081c4fd6.jpg","text":"TemporaryFile(/tmp/multipartBody4585385350659790004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180182762,"filename":"image_03112025_08_43_52_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/3/44dd774b6c3d13a0564cd60bbb80dd69.jpg","text":"TemporaryFile(/tmp/multipartBody6058476612027247715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180182762,"filename":"image_03112025_08_43_43_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/3/82d40d894b3ae091f0c23dd8f9b214fd.jpg","text":"TemporaryFile(/tmp/multipartBody971951028602053714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180182762,"filename":"image_03112025_08_43_48_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/3/5f64545a146efaccd1cf3bb94d89e5a7.jpg","text":"TemporaryFile(/tmp/multipartBody2420799709140903144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180182762,"filename":"image_03112025_08_43_39_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/3/8dba80dd032b6e595722c7ea9f948371.jpg","text":"TemporaryFile(/tmp/multipartBody1468766099592915490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180182762,"filename":"image_03112025_08_43_36_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/3/828e31c684e7c90c681f1dd85ecb5da5.jpg","text":"TemporaryFile(/tmp/multipartBody3706279683378830119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180182762,"filename":"image_03112025_08_43_45_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392071598","file1":"1392071594","file0":"1392071588","file4":"1392071602","file5":"1392071623","file3":"1392071600"},"map_files_photo_id_array":[{"photo_id":"1392071623","filename":"file5"},{"photo_id":"1392071598","filename":"file2"},{"photo_id":"1392071602","filename":"file4"},{"photo_id":"1392071594","filename":"file1"},{"photo_id":"1392071588","filename":"file0"},{"photo_id":"1392071600","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392071623":["hashtag1","hashtag2"]},{"1392071598":["hashtag1","hashtag2"]},{"1392071602":["hashtag1","hashtag2"]},{"1392071594":["hashtag1","hashtag2"]},{"1392071588":["hashtag1","hashtag2"]},{"1392071600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392071623, 1392071598, 1392071602, 1392071594, 1392071588, 1392071600)","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 = 1392071598 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_43_3654.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.40661382675171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:29:42.126488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_54_2739.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_57_2527.jpg', '/home/pi/Desktop/images/03112025/08/43/image_03112025_08_44_00_3540.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_03_2958.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_06_2605.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_09_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_54_2739.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_43_57_2527.jpg
/home/pi/Desktop/images/03112025/08/43/image_03112025_08_44_00_3540.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_03_2958.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_06_2605.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_09_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392071860","1392071863","1392071856","1392071888","1392071843","1392071912"],"photo_ids_order":["1392071843","1392071856","1392071860","1392071863","1392071888","1392071912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/00b07e3a6c6d8733cc09b7fa10bca460.jpg","text":"TemporaryFile(/tmp/multipartBody3519965240046716460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180243010,"filename":"image_03112025_08_44_00_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/3/a2a3005049ab3da3f84ba7457be6f515.jpg","text":"TemporaryFile(/tmp/multipartBody8440464084316600259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180243010,"filename":"image_03112025_08_44_03_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3292b40b2c1f750f352e1fea34012651.jpg","text":"TemporaryFile(/tmp/multipartBody3856775952398953019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180243010,"filename":"image_03112025_08_43_57_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/3/6881152e41c001b61686e9d8f2897aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4380183665337153319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180243010,"filename":"image_03112025_08_44_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/3/447864ef37788703885f45c7bff36caa.jpg","text":"TemporaryFile(/tmp/multipartBody5661640261059371678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180243010,"filename":"image_03112025_08_43_54_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/3/43af0a44939754458507f4287532d4a4.jpg","text":"TemporaryFile(/tmp/multipartBody2635544081907586916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180243010,"filename":"image_03112025_08_44_09_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392071860","file1":"1392071856","file0":"1392071843","file4":"1392071888","file5":"1392071912","file3":"1392071863"},"map_files_photo_id_array":[{"photo_id":"1392071912","filename":"file5"},{"photo_id":"1392071860","filename":"file2"},{"photo_id":"1392071888","filename":"file4"},{"photo_id":"1392071856","filename":"file1"},{"photo_id":"1392071843","filename":"file0"},{"photo_id":"1392071863","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392071860":["hashtag1","hashtag2"]},{"1392071863":["hashtag1","hashtag2"]},{"1392071856":["hashtag1","hashtag2"]},{"1392071888":["hashtag1","hashtag2"]},{"1392071843":["hashtag1","hashtag2"]},{"1392071912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392071860, 1392071863, 1392071856, 1392071888, 1392071843, 1392071912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64027500152588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:30:22.352307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_12_2828.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_15_2749.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_18_2674.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_21_2883.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_24_3776.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_27_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_12_2828.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_15_2749.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_18_2674.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_21_2883.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_24_3776.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_27_2568.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8300049304962158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:30:42.353266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_12_2828.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_15_2749.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_18_2674.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_21_2883.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_24_3776.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_27_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_12_2828.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_15_2749.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_18_2674.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_21_2883.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_24_3776.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_27_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392072148","1392072133","1392072174","1392072144","1392072231","1392072140"],"photo_ids_order":["1392072133","1392072140","1392072144","1392072148","1392072174","1392072231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01b1a62430d2ccf2a2c59b8e1ee503d2.jpg","text":"TemporaryFile(/tmp/multipartBody8767560134852247663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180303070,"filename":"image_03112025_08_44_21_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2abde31f8b0aa07d199f1c04d54ff98a.jpg","text":"TemporaryFile(/tmp/multipartBody2212101110393201187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180303070,"filename":"image_03112025_08_44_12_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/3/a4e4a668a8f78712349ea2d46c551d13.jpg","text":"TemporaryFile(/tmp/multipartBody7254905228339011785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180303070,"filename":"image_03112025_08_44_24_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/3/1b1f2be4b65a69fc663bbc8c091f38eb.jpg","text":"TemporaryFile(/tmp/multipartBody7348470277936830801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180303070,"filename":"image_03112025_08_44_18_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/3/7c50255efe19f12d35e565b58b7a4b7b.jpg","text":"TemporaryFile(/tmp/multipartBody6852079463890547170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180303070,"filename":"image_03112025_08_44_27_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/3/1190ea0b639d20f1c155fc164f447cd5.jpg","text":"TemporaryFile(/tmp/multipartBody7496135286822162056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180303070,"filename":"image_03112025_08_44_15_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392072144","file1":"1392072140","file0":"1392072133","file4":"1392072174","file5":"1392072231","file3":"1392072148"},"map_files_photo_id_array":[{"photo_id":"1392072231","filename":"file5"},{"photo_id":"1392072144","filename":"file2"},{"photo_id":"1392072174","filename":"file4"},{"photo_id":"1392072140","filename":"file1"},{"photo_id":"1392072133","filename":"file0"},{"photo_id":"1392072148","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392072148":["hashtag1","hashtag2"]},{"1392072133":["hashtag1","hashtag2"]},{"1392072174":["hashtag1","hashtag2"]},{"1392072144":["hashtag1","hashtag2"]},{"1392072231":["hashtag1","hashtag2"]},{"1392072140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392072148, 1392072133, 1392072174, 1392072144, 1392072231, 1392072140)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.91695761680603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:31:42.564147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_30_2786.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_33_2773.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_36_3671.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_39_2692.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_42_2669.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_45_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_30_2786.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_33_2773.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_36_3671.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_39_2692.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_42_2669.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_45_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392072591","1392072627","1392072603","1392072599","1392072617","1392072574"],"photo_ids_order":["1392072574","1392072591","1392072599","1392072603","1392072617","1392072627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36c8e2fa8ba971e0845149c19ae265c2.jpg","text":"TemporaryFile(/tmp/multipartBody6617102044185815644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180363914,"filename":"image_03112025_08_44_33_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/3/4d14521cf2382118af418f21be5465c9.jpg","text":"TemporaryFile(/tmp/multipartBody6854589586650074329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180363914,"filename":"image_03112025_08_44_45_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/3/8fdf324cfb9ef459b8bcef6e267de5a7.jpg","text":"TemporaryFile(/tmp/multipartBody7061071724969683536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180363914,"filename":"image_03112025_08_44_39_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/3/a645ea8af0c9eff53f035f8fd166711b.jpg","text":"TemporaryFile(/tmp/multipartBody2812719417582395738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180363914,"filename":"image_03112025_08_44_36_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/3/7e923a3ce12d7420e9333572fd629207.jpg","text":"TemporaryFile(/tmp/multipartBody6952411009683408168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180363914,"filename":"image_03112025_08_44_42_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e0e28ca341bac0554bcec1530ec6e925.jpg","text":"TemporaryFile(/tmp/multipartBody7018284598819719188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180363914,"filename":"image_03112025_08_44_30_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392072599","file1":"1392072591","file0":"1392072574","file4":"1392072617","file5":"1392072627","file3":"1392072603"},"map_files_photo_id_array":[{"photo_id":"1392072627","filename":"file5"},{"photo_id":"1392072599","filename":"file2"},{"photo_id":"1392072617","filename":"file4"},{"photo_id":"1392072591","filename":"file1"},{"photo_id":"1392072574","filename":"file0"},{"photo_id":"1392072603","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392072591":["hashtag1","hashtag2"]},{"1392072627":["hashtag1","hashtag2"]},{"1392072603":["hashtag1","hashtag2"]},{"1392072599":["hashtag1","hashtag2"]},{"1392072617":["hashtag1","hashtag2"]},{"1392072574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392072591, 1392072627, 1392072603, 1392072599, 1392072617, 1392072574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82713723182678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:32:22.711780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_48_2593.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_51_2683.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_54_3675.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_57_2930.jpg', '/home/pi/Desktop/images/03112025/08/44/image_03112025_08_45_00_2761.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_03_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_48_2593.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_51_2683.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_54_3675.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_44_57_2930.jpg
/home/pi/Desktop/images/03112025/08/44/image_03112025_08_45_00_2761.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_03_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392072640","1392072665","1392072650","1392072644","1392072653","1392072647"],"photo_ids_order":["1392072640","1392072644","1392072647","1392072650","1392072653","1392072665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2869a85571c841c93dee0eb9b9e27eef.jpg","text":"TemporaryFile(/tmp/multipartBody2801067908270241597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180403578,"filename":"image_03112025_08_44_48_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb546019aa5cccda4cd0b0f0d20e4e5c.jpg","text":"TemporaryFile(/tmp/multipartBody1490469082232890713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180403578,"filename":"image_03112025_08_45_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/3/9c6de5d8ece48f4c00e6ccb62652ec46.jpg","text":"TemporaryFile(/tmp/multipartBody4483824534846135980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180403578,"filename":"image_03112025_08_44_57_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/3/fa4bd53907fb9b5696cf6d97d80047cc.jpg","text":"TemporaryFile(/tmp/multipartBody4166825702907428706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180403578,"filename":"image_03112025_08_44_51_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4acbd8f80518f31461b64cfb26ff28fa.jpg","text":"TemporaryFile(/tmp/multipartBody5063089565146659879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180403578,"filename":"image_03112025_08_45_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/3/9a42a6d598e66445ec8ba767951547ca.jpg","text":"TemporaryFile(/tmp/multipartBody4108620069665813926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180403578,"filename":"image_03112025_08_44_54_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392072647","file1":"1392072644","file0":"1392072640","file4":"1392072653","file5":"1392072665","file3":"1392072650"},"map_files_photo_id_array":[{"photo_id":"1392072665","filename":"file5"},{"photo_id":"1392072647","filename":"file2"},{"photo_id":"1392072653","filename":"file4"},{"photo_id":"1392072644","filename":"file1"},{"photo_id":"1392072640","filename":"file0"},{"photo_id":"1392072650","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392072640":["hashtag1","hashtag2"]},{"1392072665":["hashtag1","hashtag2"]},{"1392072650":["hashtag1","hashtag2"]},{"1392072644":["hashtag1","hashtag2"]},{"1392072653":["hashtag1","hashtag2"]},{"1392072647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392072640, 1392072665, 1392072650, 1392072644, 1392072653, 1392072647)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.190876960754395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:33:21.819794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_06_2948.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_09_2945.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_12_3709.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_15_2684.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_18_2796.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_21_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_06_2948.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_09_2945.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_12_3709.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_15_2684.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_18_2796.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_21_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392072709","1392072686","1392072683","1392072691","1392072694","1392072688"],"photo_ids_order":["1392072683","1392072686","1392072688","1392072691","1392072694","1392072709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ed5c70c27766e76078ee33e8db81be85.jpg","text":"TemporaryFile(/tmp/multipartBody2860779442707067486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180462600,"filename":"image_03112025_08_45_21_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/3/bdfe96710d855306e8a202f380c41139.jpg","text":"TemporaryFile(/tmp/multipartBody6313818907489275003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180462600,"filename":"image_03112025_08_45_09_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a143f366b8492517021fc766a18f2c65.jpg","text":"TemporaryFile(/tmp/multipartBody8259240762593413910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180462600,"filename":"image_03112025_08_45_06_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/3/dda380cff27f6aa30e0efec531531a85.jpg","text":"TemporaryFile(/tmp/multipartBody3735574483555072459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180462600,"filename":"image_03112025_08_45_15_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f325aab4b50ed1b4dd95abd492169060.jpg","text":"TemporaryFile(/tmp/multipartBody436064243011948672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180462600,"filename":"image_03112025_08_45_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/3/8794b950c0418c32b5d0b3fdc873214a.jpg","text":"TemporaryFile(/tmp/multipartBody8969566762592420694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180462600,"filename":"image_03112025_08_45_12_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392072688","file1":"1392072686","file0":"1392072683","file4":"1392072694","file5":"1392072709","file3":"1392072691"},"map_files_photo_id_array":[{"photo_id":"1392072709","filename":"file5"},{"photo_id":"1392072688","filename":"file2"},{"photo_id":"1392072694","filename":"file4"},{"photo_id":"1392072686","filename":"file1"},{"photo_id":"1392072683","filename":"file0"},{"photo_id":"1392072691","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392072709":["hashtag1","hashtag2"]},{"1392072686":["hashtag1","hashtag2"]},{"1392072683":["hashtag1","hashtag2"]},{"1392072691":["hashtag1","hashtag2"]},{"1392072694":["hashtag1","hashtag2"]},{"1392072688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392072709, 1392072686, 1392072683, 1392072691, 1392072694, 1392072688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.572731256484985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:34:02.910149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_24_2588.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_27_2662.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_30_3655.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_33_2616.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_36_2815.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_44_7841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_24_2588.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_27_2662.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_30_3655.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_33_2616.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_36_2815.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_44_7841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392072820","1392072855","1392072858","1392072893","1392072883","1392072784"],"photo_ids_order":["1392072784","1392072820","1392072855","1392072858","1392072883","1392072893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/975a0a3a1ecbd15362e29aa27ca7ce33.jpg","text":"TemporaryFile(/tmp/multipartBody5931089046400550979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180503933,"filename":"image_03112025_08_45_27_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/3/944b37f1e4d65a70408938d035c03ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7049928504747050487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180503933,"filename":"image_03112025_08_45_30_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/3/913aeca0ca7398a9922b37d619bca318.jpg","text":"TemporaryFile(/tmp/multipartBody6833183143583386617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180503933,"filename":"image_03112025_08_45_33_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/3/eae1eb2f654f2c4a4cd5ee3af911b5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1902614119770169866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180503933,"filename":"image_03112025_08_45_44_7841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/669025dbd4c8d2b9bb0acfa5625c9116.jpg","text":"TemporaryFile(/tmp/multipartBody7801488953733600702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180503933,"filename":"image_03112025_08_45_36_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/3/d7f367a78548be92e3c94b2631c1bbc5.jpg","text":"TemporaryFile(/tmp/multipartBody6325397530399700416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180503933,"filename":"image_03112025_08_45_24_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392072855","file1":"1392072820","file0":"1392072784","file4":"1392072883","file5":"1392072893","file3":"1392072858"},"map_files_photo_id_array":[{"photo_id":"1392072893","filename":"file5"},{"photo_id":"1392072855","filename":"file2"},{"photo_id":"1392072883","filename":"file4"},{"photo_id":"1392072820","filename":"file1"},{"photo_id":"1392072784","filename":"file0"},{"photo_id":"1392072858","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392072820":["hashtag1","hashtag2"]},{"1392072855":["hashtag1","hashtag2"]},{"1392072858":["hashtag1","hashtag2"]},{"1392072893":["hashtag1","hashtag2"]},{"1392072883":["hashtag1","hashtag2"]},{"1392072784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392072820, 1392072855, 1392072858, 1392072893, 1392072883, 1392072784)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.81712079048157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:35:03.069188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_52_8650.jpg', '/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_54_1617.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_07_12918.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_16_8913.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_17_1606.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_19_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_52_8650.jpg
/home/pi/Desktop/images/03112025/08/45/image_03112025_08_45_54_1617.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_07_12918.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_16_8913.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_17_1606.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_19_1710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392072996","1392073058","1392073013","1392073063","1392073045","1392072991"],"photo_ids_order":["1392072991","1392072996","1392073013","1392073045","1392073058","1392073063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be02986fc96eae90c63cde6a574c3b1e.jpg","text":"TemporaryFile(/tmp/multipartBody7547867302841080168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180565619,"filename":"image_03112025_08_45_54_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/3/a842b5a7f29a97c406c959e0451bf2cd.jpg","text":"TemporaryFile(/tmp/multipartBody411422978969854932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180565619,"filename":"image_03112025_08_46_17_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f218e8d5b1724fba2b8d00a4d1ba5824.jpg","text":"TemporaryFile(/tmp/multipartBody2564319913662221228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180565619,"filename":"image_03112025_08_46_07_12918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f652135522f92156d41f3492ce6ae042.jpg","text":"TemporaryFile(/tmp/multipartBody3453766396780815749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180565619,"filename":"image_03112025_08_46_19_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/3/3469d42e6588c293e43779f90be1e407.jpg","text":"TemporaryFile(/tmp/multipartBody2941303064853728558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180565619,"filename":"image_03112025_08_46_16_8913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e93c092dae15ee3fa4cfc8da6dc7196a.jpg","text":"TemporaryFile(/tmp/multipartBody2340730527413330842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180565619,"filename":"image_03112025_08_45_52_8650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073013","file1":"1392072996","file0":"1392072991","file4":"1392073058","file5":"1392073063","file3":"1392073045"},"map_files_photo_id_array":[{"photo_id":"1392073063","filename":"file5"},{"photo_id":"1392073013","filename":"file2"},{"photo_id":"1392073058","filename":"file4"},{"photo_id":"1392072996","filename":"file1"},{"photo_id":"1392072991","filename":"file0"},{"photo_id":"1392073045","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392072996":["hashtag1","hashtag2"]},{"1392073058":["hashtag1","hashtag2"]},{"1392073013":["hashtag1","hashtag2"]},{"1392073063":["hashtag1","hashtag2"]},{"1392073045":["hashtag1","hashtag2"]},{"1392072991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392072996, 1392073058, 1392073013, 1392073063, 1392073045, 1392072991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.798486948013306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:36:02.909263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_21_1707.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_22_1578.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_24_1683.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_25_1509.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_27_1721.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_29_1750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_21_1707.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_22_1578.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_24_1683.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_25_1509.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_27_1721.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_29_1750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392073102","1392073109","1392073096","1392073099","1392073090","1392073105"],"photo_ids_order":["1392073090","1392073096","1392073099","1392073102","1392073105","1392073109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b6ffaeb02f6869cd5b1f8b630f916ab.jpg","text":"TemporaryFile(/tmp/multipartBody4011695033348737282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180623805,"filename":"image_03112025_08_46_25_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/3/cc6f58dc0a2f7a9dbbf436be7a11f575.jpg","text":"TemporaryFile(/tmp/multipartBody5517434212086201449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180623805,"filename":"image_03112025_08_46_29_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/3/9281476c1bcd0d3f6bf721d7368d8982.jpg","text":"TemporaryFile(/tmp/multipartBody4413504737827883499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180623805,"filename":"image_03112025_08_46_22_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/3/36b7fbc56746bf1ba47ef601bb6ba9ef.jpg","text":"TemporaryFile(/tmp/multipartBody4759203120887234132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180623805,"filename":"image_03112025_08_46_24_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/3/627799a8381af5afe780c50e56f5b496.jpg","text":"TemporaryFile(/tmp/multipartBody8909197592024568199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180623805,"filename":"image_03112025_08_46_21_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/3/31e76f5a2335b52fd491c5cff4a9dbba.jpg","text":"TemporaryFile(/tmp/multipartBody4098673066334795396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180623805,"filename":"image_03112025_08_46_27_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073099","file1":"1392073096","file0":"1392073090","file4":"1392073105","file5":"1392073109","file3":"1392073102"},"map_files_photo_id_array":[{"photo_id":"1392073109","filename":"file5"},{"photo_id":"1392073099","filename":"file2"},{"photo_id":"1392073105","filename":"file4"},{"photo_id":"1392073096","filename":"file1"},{"photo_id":"1392073090","filename":"file0"},{"photo_id":"1392073102","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392073102":["hashtag1","hashtag2"]},{"1392073109":["hashtag1","hashtag2"]},{"1392073096":["hashtag1","hashtag2"]},{"1392073099":["hashtag1","hashtag2"]},{"1392073090":["hashtag1","hashtag2"]},{"1392073105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392073102, 1392073109, 1392073096, 1392073099, 1392073090, 1392073105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54499101638794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:36:42.602529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_31_1759.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_38_7225.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_44_6016.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_46_1710.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_48_2076.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_49_1711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_31_1759.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_38_7225.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_44_6016.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_46_1710.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_48_2076.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_49_1711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392073135","1392073137","1392073122","1392073119","1392073139","1392073136"],"photo_ids_order":["1392073119","1392073122","1392073135","1392073136","1392073137","1392073139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5b37e9b59dced2e08ef7310d631d636.jpg","text":"TemporaryFile(/tmp/multipartBody1913688158727216540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180663477,"filename":"image_03112025_08_46_44_6016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/94eb322c9b20db5023599c8f60f09afd.jpg","text":"TemporaryFile(/tmp/multipartBody3483623058790941157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180663477,"filename":"image_03112025_08_46_48_2076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b2d3a35fe0ce140a2bee5c6033725a9a.jpg","text":"TemporaryFile(/tmp/multipartBody6082698971183356298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180663477,"filename":"image_03112025_08_46_38_7225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/18fb2de0abb0818bc1b87972117df131.jpg","text":"TemporaryFile(/tmp/multipartBody909868531470416990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180663477,"filename":"image_03112025_08_46_31_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/3/dd4a380eee8d6c4c65120ee39f24e6f7.jpg","text":"TemporaryFile(/tmp/multipartBody4835383916207908650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180663477,"filename":"image_03112025_08_46_49_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/3/a6a1a04f41d267ca22ccbe0278093ac1.jpg","text":"TemporaryFile(/tmp/multipartBody4995129961937569961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180663477,"filename":"image_03112025_08_46_46_1710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073135","file1":"1392073122","file0":"1392073119","file4":"1392073137","file5":"1392073139","file3":"1392073136"},"map_files_photo_id_array":[{"photo_id":"1392073139","filename":"file5"},{"photo_id":"1392073135","filename":"file2"},{"photo_id":"1392073137","filename":"file4"},{"photo_id":"1392073122","filename":"file1"},{"photo_id":"1392073119","filename":"file0"},{"photo_id":"1392073136","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392073135":["hashtag1","hashtag2"]},{"1392073137":["hashtag1","hashtag2"]},{"1392073122":["hashtag1","hashtag2"]},{"1392073119":["hashtag1","hashtag2"]},{"1392073139":["hashtag1","hashtag2"]},{"1392073136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392073135, 1392073137, 1392073122, 1392073119, 1392073139, 1392073136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38358736038208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:37:22.834524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_51_1798.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_55_4195.jpg', '/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_57_1649.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_13_15749.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_17_4389.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_22_4390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_51_1798.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_55_4195.jpg
/home/pi/Desktop/images/03112025/08/46/image_03112025_08_46_57_1649.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_13_15749.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_17_4389.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_22_4390.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392073216","1392073359","1392073287","1392073320","1392073175","1392073349"],"photo_ids_order":["1392073175","1392073216","1392073287","1392073320","1392073349","1392073359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4e39919548a3348c88999bbcbbd864b8.jpg","text":"TemporaryFile(/tmp/multipartBody3666372463546971261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180703679,"filename":"image_03112025_08_46_55_4195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cc7440ffb5afdd1e812be376e63dde8.jpg","text":"TemporaryFile(/tmp/multipartBody7626084456199978591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180703679,"filename":"image_03112025_08_47_22_4390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/437c0417e6f7f9352e70d01fdff1abcd.jpg","text":"TemporaryFile(/tmp/multipartBody7371868364040192710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180703679,"filename":"image_03112025_08_46_57_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/3/f5952daa121e3c997a7fe6a5ece548e1.jpg","text":"TemporaryFile(/tmp/multipartBody3372267275360860398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180703679,"filename":"image_03112025_08_47_13_15749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/13285bd3eb4ac21f6460024775350f01.jpg","text":"TemporaryFile(/tmp/multipartBody9184156723661896825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180703679,"filename":"image_03112025_08_46_51_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8bd218f8c70eaa570e5df70729ab9c98.jpg","text":"TemporaryFile(/tmp/multipartBody828483207288146213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180703679,"filename":"image_03112025_08_47_17_4389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073287","file1":"1392073216","file0":"1392073175","file4":"1392073349","file5":"1392073359","file3":"1392073320"},"map_files_photo_id_array":[{"photo_id":"1392073359","filename":"file5"},{"photo_id":"1392073287","filename":"file2"},{"photo_id":"1392073349","filename":"file4"},{"photo_id":"1392073216","filename":"file1"},{"photo_id":"1392073175","filename":"file0"},{"photo_id":"1392073320","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392073216":["hashtag1","hashtag2"]},{"1392073359":["hashtag1","hashtag2"]},{"1392073287":["hashtag1","hashtag2"]},{"1392073320":["hashtag1","hashtag2"]},{"1392073175":["hashtag1","hashtag2"]},{"1392073349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392073216, 1392073359, 1392073287, 1392073320, 1392073175, 1392073349)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.61081504821777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:38:22.031979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_23_1752.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_25_1630.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_30_5285.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_33_3064.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_37_3215.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_38_1722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_23_1752.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_25_1630.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_30_5285.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_33_3064.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_37_3215.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_38_1722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392073497","1392073509","1392073499","1392073493","1392073505","1392073501"],"photo_ids_order":["1392073493","1392073497","1392073499","1392073501","1392073505","1392073509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b6b7eaa1b90bba2e1dc822d00a35fe49.jpg","text":"TemporaryFile(/tmp/multipartBody6136527345022401803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180764278,"filename":"image_03112025_08_47_25_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/3/3f3e6a2a149a91f50f3cc33bda8da748.jpg","text":"TemporaryFile(/tmp/multipartBody4031606669699045313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180764278,"filename":"image_03112025_08_47_38_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/3/9576f294fea17e42c31f8230c6dec73e.jpg","text":"TemporaryFile(/tmp/multipartBody983157033539570698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180764278,"filename":"image_03112025_08_47_30_5285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe4690c3a2a113fdbac0a4dfea17cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody7980984747645929553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180764278,"filename":"image_03112025_08_47_23_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/3/02647979f6050f3ff2ff6d8a32e290e8.jpg","text":"TemporaryFile(/tmp/multipartBody155732341135364292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180764278,"filename":"image_03112025_08_47_37_3215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1a799f776b72f6d7c83c03e3151e3dc7.jpg","text":"TemporaryFile(/tmp/multipartBody4456737419221980782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180764278,"filename":"image_03112025_08_47_33_3064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073499","file1":"1392073497","file0":"1392073493","file4":"1392073505","file5":"1392073509","file3":"1392073501"},"map_files_photo_id_array":[{"photo_id":"1392073509","filename":"file5"},{"photo_id":"1392073499","filename":"file2"},{"photo_id":"1392073505","filename":"file4"},{"photo_id":"1392073497","filename":"file1"},{"photo_id":"1392073493","filename":"file0"},{"photo_id":"1392073501","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392073497":["hashtag1","hashtag2"]},{"1392073509":["hashtag1","hashtag2"]},{"1392073499":["hashtag1","hashtag2"]},{"1392073493":["hashtag1","hashtag2"]},{"1392073505":["hashtag1","hashtag2"]},{"1392073501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392073497, 1392073509, 1392073499, 1392073493, 1392073505, 1392073501)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.62303400039673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:39:22.316093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_40_1643.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_43_3105.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_45_1666.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_46_1648.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_49_3131.jpg', '/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_51_1906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_40_1643.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_43_3105.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_45_1666.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_46_1648.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_49_3131.jpg
/home/pi/Desktop/images/03112025/08/47/image_03112025_08_47_51_1906.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392073606","1392073647","1392073626","1392073620","1392073598","1392073673"],"photo_ids_order":["1392073598","1392073606","1392073620","1392073626","1392073647","1392073673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f0e3d69f0b96acb3826d86bbcab4611.jpg","text":"TemporaryFile(/tmp/multipartBody7857383408224069980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180823157,"filename":"image_03112025_08_47_43_3105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0db85dd20c7e4493be852d659b3722c8.jpg","text":"TemporaryFile(/tmp/multipartBody7908071272897657550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180823157,"filename":"image_03112025_08_47_49_3131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/67aed915695e6738fb9ee55229196467.jpg","text":"TemporaryFile(/tmp/multipartBody5981035763867465058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180823157,"filename":"image_03112025_08_47_46_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d362dabd1b2fcd171f0a2e455e3be398.jpg","text":"TemporaryFile(/tmp/multipartBody3962084649123078040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180823157,"filename":"image_03112025_08_47_45_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/3/c6aafd54662e9aa148e11ecfaac8e138.jpg","text":"TemporaryFile(/tmp/multipartBody7886429734041015967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180823157,"filename":"image_03112025_08_47_40_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/3/c9f36df0447eb250afcd8240950a69a9.jpg","text":"TemporaryFile(/tmp/multipartBody4627341121161476758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180823157,"filename":"image_03112025_08_47_51_1906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073620","file1":"1392073606","file0":"1392073598","file4":"1392073647","file5":"1392073673","file3":"1392073626"},"map_files_photo_id_array":[{"photo_id":"1392073673","filename":"file5"},{"photo_id":"1392073620","filename":"file2"},{"photo_id":"1392073647","filename":"file4"},{"photo_id":"1392073606","filename":"file1"},{"photo_id":"1392073598","filename":"file0"},{"photo_id":"1392073626","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392073606":["hashtag1","hashtag2"]},{"1392073647":["hashtag1","hashtag2"]},{"1392073626":["hashtag1","hashtag2"]},{"1392073620":["hashtag1","hashtag2"]},{"1392073598":["hashtag1","hashtag2"]},{"1392073673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392073606, 1392073647, 1392073626, 1392073620, 1392073598, 1392073673)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.575823068618774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:40:23.246956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_01_9146.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_02_1640.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_07_4366.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_10_3279.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_11_1578.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_13_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_01_9146.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_02_1640.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_07_4366.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_10_3279.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_11_1578.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_13_1672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392073791","1392073845","1392073812","1392073784","1392073766","1392073828"],"photo_ids_order":["1392073766","1392073784","1392073791","1392073812","1392073828","1392073845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6be2fabdd191073ccbef2546f7c38f0c.jpg","text":"TemporaryFile(/tmp/multipartBody4829965536441589246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180884060,"filename":"image_03112025_08_48_07_4366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf31a1c55cdc3ab7c141f17a86bd374d.jpg","text":"TemporaryFile(/tmp/multipartBody6686545763296348189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180884060,"filename":"image_03112025_08_48_13_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/3/aa77a6654fdebf6f1bc86d5e3c967898.jpg","text":"TemporaryFile(/tmp/multipartBody3471064196955043660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180884060,"filename":"image_03112025_08_48_10_3279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f99da6de0aac86500955411a318872c1.jpg","text":"TemporaryFile(/tmp/multipartBody7880395257965523545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180884060,"filename":"image_03112025_08_48_02_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/3/e4f0f5ecd4b84aa8eb179c632a5c5dde.jpg","text":"TemporaryFile(/tmp/multipartBody317194405966279177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180884060,"filename":"image_03112025_08_48_01_9146.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/596eb95d3e8e5635b06e8df9e308ae36.jpg","text":"TemporaryFile(/tmp/multipartBody949570805730187448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180884060,"filename":"image_03112025_08_48_11_1578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073791","file1":"1392073784","file0":"1392073766","file4":"1392073828","file5":"1392073845","file3":"1392073812"},"map_files_photo_id_array":[{"photo_id":"1392073845","filename":"file5"},{"photo_id":"1392073791","filename":"file2"},{"photo_id":"1392073828","filename":"file4"},{"photo_id":"1392073784","filename":"file1"},{"photo_id":"1392073766","filename":"file0"},{"photo_id":"1392073812","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392073791":["hashtag1","hashtag2"]},{"1392073845":["hashtag1","hashtag2"]},{"1392073812":["hashtag1","hashtag2"]},{"1392073784":["hashtag1","hashtag2"]},{"1392073766":["hashtag1","hashtag2"]},{"1392073828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392073791, 1392073845, 1392073812, 1392073784, 1392073766, 1392073828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7685124874115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:41:03.216861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_33_20145.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_42_8878.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_44_1594.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_50_6183.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_53_2823.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_54_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_33_20145.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_42_8878.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_44_1594.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_50_6183.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_53_2823.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_54_1696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392073857","1392073859","1392073873","1392073855","1392073870","1392073852"],"photo_ids_order":["1392073852","1392073855","1392073857","1392073859","1392073870","1392073873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4b657b0c47991ead43a7bdf2dc5f3488.jpg","text":"TemporaryFile(/tmp/multipartBody5560720038086878857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180924134,"filename":"image_03112025_08_48_44_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/3/d7c4e7151122e23fa0e1f65a7af8bd50.jpg","text":"TemporaryFile(/tmp/multipartBody7573227476206336442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180924134,"filename":"image_03112025_08_48_50_6183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/999d7f0531de4ef74c13b5d7412c27f0.jpg","text":"TemporaryFile(/tmp/multipartBody3858611250185740417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180924134,"filename":"image_03112025_08_48_54_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/3/9396bbdb9abb4658f185db82830b3b30.jpg","text":"TemporaryFile(/tmp/multipartBody4815026230591627028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180924134,"filename":"image_03112025_08_48_42_8878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/feb46c43617183b1ee3e6a9309849ca4.jpg","text":"TemporaryFile(/tmp/multipartBody612260170038544959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180924134,"filename":"image_03112025_08_48_53_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/3/49e0e336ba37e02bf6dd73a30c45654e.jpg","text":"TemporaryFile(/tmp/multipartBody4404103694786610788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180924134,"filename":"image_03112025_08_48_33_20145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073857","file1":"1392073855","file0":"1392073852","file4":"1392073870","file5":"1392073873","file3":"1392073859"},"map_files_photo_id_array":[{"photo_id":"1392073873","filename":"file5"},{"photo_id":"1392073857","filename":"file2"},{"photo_id":"1392073870","filename":"file4"},{"photo_id":"1392073855","filename":"file1"},{"photo_id":"1392073852","filename":"file0"},{"photo_id":"1392073859","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392073857":["hashtag1","hashtag2"]},{"1392073859":["hashtag1","hashtag2"]},{"1392073873":["hashtag1","hashtag2"]},{"1392073855":["hashtag1","hashtag2"]},{"1392073870":["hashtag1","hashtag2"]},{"1392073852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392073857, 1392073859, 1392073873, 1392073855, 1392073870, 1392073852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57987880706787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:41:42.502536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_56_1775.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_58_1795.jpg', '/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_59_1515.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_05_5141.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_06_1593.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_08_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_56_1775.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_58_1795.jpg
/home/pi/Desktop/images/03112025/08/48/image_03112025_08_48_59_1515.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_05_5141.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_06_1593.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_08_1602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392073909","1392073895","1392073908","1392073901","1392073885","1392073906"],"photo_ids_order":["1392073885","1392073895","1392073901","1392073906","1392073908","1392073909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1817ba72f28f0be47a7b978b62e1fc9f.jpg","text":"TemporaryFile(/tmp/multipartBody6567150545695597050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180963427,"filename":"image_03112025_08_49_08_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/3/d5b7ec921a69148a2a0139566f0e4af0.jpg","text":"TemporaryFile(/tmp/multipartBody2115854436001224459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180963427,"filename":"image_03112025_08_48_58_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc8e838a96f34ff4064f7170235a8828.jpg","text":"TemporaryFile(/tmp/multipartBody3404564024384498693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180963427,"filename":"image_03112025_08_49_06_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/3/93d1e3acab15cccd62907838f0b7c704.jpg","text":"TemporaryFile(/tmp/multipartBody9051293750246062548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180963427,"filename":"image_03112025_08_48_59_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/3/8aed1217caf7750c506a0c08d52de2f4.jpg","text":"TemporaryFile(/tmp/multipartBody2191090037877683106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180963427,"filename":"image_03112025_08_48_56_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/757d999e022494d31f7c8811962500f4.jpg","text":"TemporaryFile(/tmp/multipartBody3658617219049442727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762180963427,"filename":"image_03112025_08_49_05_5141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073901","file1":"1392073895","file0":"1392073885","file4":"1392073908","file5":"1392073909","file3":"1392073906"},"map_files_photo_id_array":[{"photo_id":"1392073909","filename":"file5"},{"photo_id":"1392073901","filename":"file2"},{"photo_id":"1392073908","filename":"file4"},{"photo_id":"1392073895","filename":"file1"},{"photo_id":"1392073885","filename":"file0"},{"photo_id":"1392073906","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392073909":["hashtag1","hashtag2"]},{"1392073895":["hashtag1","hashtag2"]},{"1392073908":["hashtag1","hashtag2"]},{"1392073901":["hashtag1","hashtag2"]},{"1392073885":["hashtag1","hashtag2"]},{"1392073906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392073909, 1392073895, 1392073908, 1392073901, 1392073885, 1392073906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22429895401001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:42:22.747556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_09_1621.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_11_1788.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_13_1601.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_14_1661.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_16_1546.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_18_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_09_1621.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_11_1788.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_13_1601.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_14_1661.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_16_1546.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_18_1626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392073947","1392073964","1392073960","1392073954","1392073957","1392073951"],"photo_ids_order":["1392073947","1392073951","1392073954","1392073957","1392073960","1392073964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b01db4332381f4ccf8a33293dbd01b46.jpg","text":"TemporaryFile(/tmp/multipartBody1836844597153494328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181003559,"filename":"image_03112025_08_49_09_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/3/e7797019401cd89836b924e8d1643658.jpg","text":"TemporaryFile(/tmp/multipartBody6300479148257575404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181003559,"filename":"image_03112025_08_49_18_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/3/835be830dd33bb3471fbea7050791aa9.jpg","text":"TemporaryFile(/tmp/multipartBody7630627059739573135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181003559,"filename":"image_03112025_08_49_16_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/3/7ba5ed061ce57027d532c2690a245769.jpg","text":"TemporaryFile(/tmp/multipartBody8698493144893261548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181003559,"filename":"image_03112025_08_49_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/3/33e8d6be7616060fac506a8bb6acb879.jpg","text":"TemporaryFile(/tmp/multipartBody9091012374590292644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181003559,"filename":"image_03112025_08_49_14_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/3/9e36f7c981bb6668be4ed9432841e845.jpg","text":"TemporaryFile(/tmp/multipartBody25509800936557881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181003559,"filename":"image_03112025_08_49_11_1788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073954","file1":"1392073951","file0":"1392073947","file4":"1392073960","file5":"1392073964","file3":"1392073957"},"map_files_photo_id_array":[{"photo_id":"1392073964","filename":"file5"},{"photo_id":"1392073954","filename":"file2"},{"photo_id":"1392073960","filename":"file4"},{"photo_id":"1392073951","filename":"file1"},{"photo_id":"1392073947","filename":"file0"},{"photo_id":"1392073957","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392073947":["hashtag1","hashtag2"]},{"1392073964":["hashtag1","hashtag2"]},{"1392073960":["hashtag1","hashtag2"]},{"1392073954":["hashtag1","hashtag2"]},{"1392073957":["hashtag1","hashtag2"]},{"1392073951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392073947, 1392073964, 1392073960, 1392073954, 1392073957, 1392073951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.402888774871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:43:02.524863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_21_3580.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_23_1613.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_25_1677.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_26_1733.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_28_1594.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_31_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_21_3580.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_23_1613.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_25_1677.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_26_1733.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_28_1594.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_31_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392074046","1392073983","1392073991","1392074074","1392073987","1392074008"],"photo_ids_order":["1392073983","1392073987","1392073991","1392074008","1392074046","1392074074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/28253ebd375ba16de6581b730af6c702.jpg","text":"TemporaryFile(/tmp/multipartBody5144251894582466672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181045709,"filename":"image_03112025_08_49_28_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/3/c7d8582097b82ace514b4d9c5ad951e7.jpg","text":"TemporaryFile(/tmp/multipartBody1390711192953434195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181045709,"filename":"image_03112025_08_49_21_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/3/6447b142c2739a928193d96251e45577.jpg","text":"TemporaryFile(/tmp/multipartBody262656167140604354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181045709,"filename":"image_03112025_08_49_25_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/3/f5e2318e2a368280f6f7ada885c65cac.jpg","text":"TemporaryFile(/tmp/multipartBody5567153733150896130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181045709,"filename":"image_03112025_08_49_31_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/3/6d065503267180643f751410f0d16e89.jpg","text":"TemporaryFile(/tmp/multipartBody2631727538917163259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181045709,"filename":"image_03112025_08_49_23_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/3/c2633fec45e1323386c4d12cfd9f8a8f.jpg","text":"TemporaryFile(/tmp/multipartBody5266408324065995188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181045709,"filename":"image_03112025_08_49_26_1733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392073991","file1":"1392073987","file0":"1392073983","file4":"1392074046","file5":"1392074074","file3":"1392074008"},"map_files_photo_id_array":[{"photo_id":"1392074074","filename":"file5"},{"photo_id":"1392073991","filename":"file2"},{"photo_id":"1392074046","filename":"file4"},{"photo_id":"1392073987","filename":"file1"},{"photo_id":"1392073983","filename":"file0"},{"photo_id":"1392074008","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392074046":["hashtag1","hashtag2"]},{"1392073983":["hashtag1","hashtag2"]},{"1392073991":["hashtag1","hashtag2"]},{"1392074074":["hashtag1","hashtag2"]},{"1392073987":["hashtag1","hashtag2"]},{"1392074008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392074046, 1392073983, 1392073991, 1392074074, 1392073987, 1392074008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00237846374512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:44:02.810366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_32_1690.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_34_1615.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_36_1681.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_42_6734.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_48_5812.jpg', '/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_50_1683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_32_1690.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_34_1615.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_36_1681.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_42_6734.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_48_5812.jpg
/home/pi/Desktop/images/03112025/08/49/image_03112025_08_49_50_1683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392074244","1392074241","1392074235","1392074228","1392074239","1392074224"],"photo_ids_order":["1392074224","1392074228","1392074235","1392074239","1392074241","1392074244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/05da9039a7c23fca68a78ee7e175db0c.jpg","text":"TemporaryFile(/tmp/multipartBody2803157318285461683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181103760,"filename":"image_03112025_08_49_50_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/3/861658094aa8d083e5c89e0c5212c445.jpg","text":"TemporaryFile(/tmp/multipartBody422150534243996716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181103760,"filename":"image_03112025_08_49_48_5812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8e6427e60a992fd1c56627346a00dc2f.jpg","text":"TemporaryFile(/tmp/multipartBody1668992598046392633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181103760,"filename":"image_03112025_08_49_36_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/3/188474935fbb69bf8b7292e4660b2e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6620280820978231164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181103760,"filename":"image_03112025_08_49_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/3/fbbbdfe1de47694aa3a580ed0fb6ad4d.jpg","text":"TemporaryFile(/tmp/multipartBody239249952985189008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181103760,"filename":"image_03112025_08_49_42_6734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f5a95cda3e1761abec9c2397f39bff8d.jpg","text":"TemporaryFile(/tmp/multipartBody5299635775338596593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181103760,"filename":"image_03112025_08_49_32_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392074235","file1":"1392074228","file0":"1392074224","file4":"1392074241","file5":"1392074244","file3":"1392074239"},"map_files_photo_id_array":[{"photo_id":"1392074244","filename":"file5"},{"photo_id":"1392074235","filename":"file2"},{"photo_id":"1392074241","filename":"file4"},{"photo_id":"1392074228","filename":"file1"},{"photo_id":"1392074224","filename":"file0"},{"photo_id":"1392074239","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392074244":["hashtag1","hashtag2"]},{"1392074241":["hashtag1","hashtag2"]},{"1392074235":["hashtag1","hashtag2"]},{"1392074228":["hashtag1","hashtag2"]},{"1392074239":["hashtag1","hashtag2"]},{"1392074224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392074244, 1392074241, 1392074235, 1392074228, 1392074239, 1392074224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42379355430603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:44:42.166905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/50/image_03112025_08_50_11_21505.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_07_3017.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_10_3813.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_14_3112.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_16_2876.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_19_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/50/image_03112025_08_50_11_21505.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_07_3017.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_10_3813.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_14_3112.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_16_2876.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_19_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392074285","1392074258","1392074280","1392074283","1392074277","1392074262"],"photo_ids_order":["1392074258","1392074262","1392074277","1392074280","1392074283","1392074285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b7e9e68a4798ed35903eaca02d782aa.jpg","text":"TemporaryFile(/tmp/multipartBody3059505525213815470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181143029,"filename":"image_03112025_08_51_19_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/3/7e1bc66f7fb0381eecb3fed48c9e4939.jpg","text":"TemporaryFile(/tmp/multipartBody5279303412528666610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181143029,"filename":"image_03112025_08_50_11_21505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf6f446dfc6c90cc6835bbf484e8814a.jpg","text":"TemporaryFile(/tmp/multipartBody4350584702237305999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181143029,"filename":"image_03112025_08_51_14_3112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/19808dff8608fbd87d3706b0908e47e0.jpg","text":"TemporaryFile(/tmp/multipartBody164107641680849089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181143029,"filename":"image_03112025_08_51_16_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/3/44a2a88cdd4670b68cb7b1dd47c303d9.jpg","text":"TemporaryFile(/tmp/multipartBody1948046487452918190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181143029,"filename":"image_03112025_08_51_10_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/3/b050ffd4c0db4c24063d0c141c016ac8.jpg","text":"TemporaryFile(/tmp/multipartBody3853358292893981366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181143029,"filename":"image_03112025_08_51_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392074277","file1":"1392074262","file0":"1392074258","file4":"1392074283","file5":"1392074285","file3":"1392074280"},"map_files_photo_id_array":[{"photo_id":"1392074285","filename":"file5"},{"photo_id":"1392074277","filename":"file2"},{"photo_id":"1392074283","filename":"file4"},{"photo_id":"1392074262","filename":"file1"},{"photo_id":"1392074258","filename":"file0"},{"photo_id":"1392074280","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392074285":["hashtag1","hashtag2"]},{"1392074258":["hashtag1","hashtag2"]},{"1392074280":["hashtag1","hashtag2"]},{"1392074283":["hashtag1","hashtag2"]},{"1392074277":["hashtag1","hashtag2"]},{"1392074262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392074285, 1392074258, 1392074280, 1392074283, 1392074277, 1392074262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.018492698669434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:45:22.216490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_22_2653.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_25_3723.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_28_2620.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_31_2709.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_34_3679.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_39_4130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_22_2653.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_25_3723.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_28_2620.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_31_2709.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_34_3679.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_39_4130.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392074313","1392074303","1392074308","1392074317","1392074292","1392074298"],"photo_ids_order":["1392074292","1392074298","1392074303","1392074308","1392074313","1392074317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2d071075a7e696275e56b09ab90e8199.jpg","text":"TemporaryFile(/tmp/multipartBody7697715162853824921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181183034,"filename":"image_03112025_08_51_34_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/3/66a04723a9d4a457048c6a8924c1d1fe.jpg","text":"TemporaryFile(/tmp/multipartBody1053749873197631049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181183034,"filename":"image_03112025_08_51_28_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/3/d4b09e7b9339c6d7373d9aa819947039.jpg","text":"TemporaryFile(/tmp/multipartBody370195172658785781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181183034,"filename":"image_03112025_08_51_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/3/9e86e1541de7e39513d82e2e733a4a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1312127181957399977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181183034,"filename":"image_03112025_08_51_39_4130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e3ad73ce9ebe0fea1aff428f8ae6caf3.jpg","text":"TemporaryFile(/tmp/multipartBody794980338923464838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181183034,"filename":"image_03112025_08_51_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/3/315da5d2f411f33da3be071b17aabd07.jpg","text":"TemporaryFile(/tmp/multipartBody8411806700259156397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181183034,"filename":"image_03112025_08_51_25_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392074303","file1":"1392074298","file0":"1392074292","file4":"1392074313","file5":"1392074317","file3":"1392074308"},"map_files_photo_id_array":[{"photo_id":"1392074317","filename":"file5"},{"photo_id":"1392074303","filename":"file2"},{"photo_id":"1392074313","filename":"file4"},{"photo_id":"1392074298","filename":"file1"},{"photo_id":"1392074292","filename":"file0"},{"photo_id":"1392074308","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392074313":["hashtag1","hashtag2"]},{"1392074303":["hashtag1","hashtag2"]},{"1392074308":["hashtag1","hashtag2"]},{"1392074317":["hashtag1","hashtag2"]},{"1392074292":["hashtag1","hashtag2"]},{"1392074298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392074313, 1392074303, 1392074308, 1392074317, 1392074292, 1392074298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.662867307662964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:46:02.870934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_40_1585.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_43_3085.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_46_2793.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_49_2656.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_52_3704.jpg', '/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_55_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_40_1585.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_43_3085.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_46_2793.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_49_2656.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_52_3704.jpg
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_55_2819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392074334","1392074328","1392074336","1392074339","1392074330","1392074324"],"photo_ids_order":["1392074324","1392074328","1392074330","1392074334","1392074336","1392074339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/28090cb6cafe16d1392bf5068a5d9d52.jpg","text":"TemporaryFile(/tmp/multipartBody4450912702967163268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181223754,"filename":"image_03112025_08_51_49_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/320eea35030a6a21d99e0834a5e27080.jpg","text":"TemporaryFile(/tmp/multipartBody8590968196251501570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181223754,"filename":"image_03112025_08_51_43_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/3/da2a96477bcffcf8ac2ab4b40237a492.jpg","text":"TemporaryFile(/tmp/multipartBody4334689787673864595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181223754,"filename":"image_03112025_08_51_52_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/3/de6ea1b9f91e1c86a847ca5abec51c57.jpg","text":"TemporaryFile(/tmp/multipartBody5120739567088356690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181223754,"filename":"image_03112025_08_51_55_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/3/03a7bc2c555f7fd80c0de0a979065739.jpg","text":"TemporaryFile(/tmp/multipartBody2117025896832761357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181223754,"filename":"image_03112025_08_51_46_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/3/49acf395197eeb16b2d0c7589e78cd6b.jpg","text":"TemporaryFile(/tmp/multipartBody7797411345884168526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181223754,"filename":"image_03112025_08_51_40_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392074330","file1":"1392074328","file0":"1392074324","file4":"1392074336","file5":"1392074339","file3":"1392074334"},"map_files_photo_id_array":[{"photo_id":"1392074339","filename":"file5"},{"photo_id":"1392074330","filename":"file2"},{"photo_id":"1392074336","filename":"file4"},{"photo_id":"1392074328","filename":"file1"},{"photo_id":"1392074324","filename":"file0"},{"photo_id":"1392074334","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392074334":["hashtag1","hashtag2"]},{"1392074328":["hashtag1","hashtag2"]},{"1392074336":["hashtag1","hashtag2"]},{"1392074339":["hashtag1","hashtag2"]},{"1392074330":["hashtag1","hashtag2"]},{"1392074324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392074334, 1392074328, 1392074336, 1392074339, 1392074330, 1392074324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72379755973816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:46:42.572006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_58_2701.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_01_2908.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_04_3644.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_07_2539.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_10_2617.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_13_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/51/image_03112025_08_51_58_2701.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_01_2908.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_04_3644.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_07_2539.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_10_2617.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_13_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392074372","1392074380","1392074383","1392074392","1392074367","1392074376"],"photo_ids_order":["1392074367","1392074372","1392074376","1392074380","1392074383","1392074392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/227728c22f43d94a8bad991949eb5bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6919609161762600414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181263469,"filename":"image_03112025_08_52_01_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/3/0c2c619660109fb7536b34613e1aae91.jpg","text":"TemporaryFile(/tmp/multipartBody4331795888964783486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181263469,"filename":"image_03112025_08_52_07_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/3/1f9f3ea1f8161de63caf54b4ed496664.jpg","text":"TemporaryFile(/tmp/multipartBody4552556152344563925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181263469,"filename":"image_03112025_08_52_10_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/3/d70fb69e62518531b12d0a28dcaf5fb7.jpg","text":"TemporaryFile(/tmp/multipartBody6407293096532379913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181263469,"filename":"image_03112025_08_52_13_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/63aba66f00b7296a014655a6fe247d3a.jpg","text":"TemporaryFile(/tmp/multipartBody9113643432089046269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181263469,"filename":"image_03112025_08_51_58_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/3/014b6b86e2d6d20f07d0b83e0ab4e466.jpg","text":"TemporaryFile(/tmp/multipartBody8327967176837735338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181263469,"filename":"image_03112025_08_52_04_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392074376","file1":"1392074372","file0":"1392074367","file4":"1392074383","file5":"1392074392","file3":"1392074380"},"map_files_photo_id_array":[{"photo_id":"1392074392","filename":"file5"},{"photo_id":"1392074376","filename":"file2"},{"photo_id":"1392074383","filename":"file4"},{"photo_id":"1392074372","filename":"file1"},{"photo_id":"1392074367","filename":"file0"},{"photo_id":"1392074380","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392074372":["hashtag1","hashtag2"]},{"1392074380":["hashtag1","hashtag2"]},{"1392074383":["hashtag1","hashtag2"]},{"1392074392":["hashtag1","hashtag2"]},{"1392074367":["hashtag1","hashtag2"]},{"1392074376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392074372, 1392074380, 1392074383, 1392074392, 1392074367, 1392074376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57749271392822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:47:22.790412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_16_2573.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_18_2583.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_22_3177.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_25_3664.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_28_2647.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_33_4517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_16_2573.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_18_2583.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_22_3177.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_25_3664.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_28_2647.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_33_4517.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392074637","1392074588","1392074612","1392074603","1392074596","1392074574"],"photo_ids_order":["1392074574","1392074588","1392074596","1392074603","1392074612","1392074637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f3e99b9c9b0071f18dc2808f82c1d5af.jpg","text":"TemporaryFile(/tmp/multipartBody3264749262161395877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181304168,"filename":"image_03112025_08_52_33_4517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7c7fac5a622ffcd9beda8abc7cd88fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4148375441336861904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181304168,"filename":"image_03112025_08_52_18_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/3/56fe367d315df87dd3bd449b0f2ad364.jpg","text":"TemporaryFile(/tmp/multipartBody8943014860503485876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181304168,"filename":"image_03112025_08_52_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/3/c66293fcd6cd346d446fde82a7533f5e.jpg","text":"TemporaryFile(/tmp/multipartBody5277913927775848396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181304168,"filename":"image_03112025_08_52_25_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/3/6cb25f231c4893c9c0ea1226d157ca0d.jpg","text":"TemporaryFile(/tmp/multipartBody6532812540752536464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181304168,"filename":"image_03112025_08_52_22_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/3/0e8881ecb56d82d742c34034b212cedd.jpg","text":"TemporaryFile(/tmp/multipartBody6198277196636297655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181304168,"filename":"image_03112025_08_52_16_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392074596","file1":"1392074588","file0":"1392074574","file4":"1392074612","file5":"1392074637","file3":"1392074603"},"map_files_photo_id_array":[{"photo_id":"1392074637","filename":"file5"},{"photo_id":"1392074596","filename":"file2"},{"photo_id":"1392074612","filename":"file4"},{"photo_id":"1392074588","filename":"file1"},{"photo_id":"1392074574","filename":"file0"},{"photo_id":"1392074603","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392074637":["hashtag1","hashtag2"]},{"1392074588":["hashtag1","hashtag2"]},{"1392074612":["hashtag1","hashtag2"]},{"1392074603":["hashtag1","hashtag2"]},{"1392074596":["hashtag1","hashtag2"]},{"1392074574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392074637, 1392074588, 1392074612, 1392074603, 1392074596, 1392074574)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.08806347846985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:48:30.620507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_34_1580.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_37_2665.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_39_2722.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_43_3561.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_46_2525.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_49_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_34_1580.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_37_2665.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_39_2722.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_43_3561.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_46_2525.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_49_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392074663","1392074729","1392074686","1392074671","1392074674","1392074667"],"photo_ids_order":["1392074663","1392074667","1392074671","1392074674","1392074686","1392074729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b44fd6c2591e4ee32a7749a1c0dfe03.jpg","text":"TemporaryFile(/tmp/multipartBody3501732886485227219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181371419,"filename":"image_03112025_08_52_34_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/3/3657596b19ec3c257b3b4aa0c06d4f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6408825854455510183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181371419,"filename":"image_03112025_08_52_49_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/3/efb4126d84d0a4c826a9611fcbe04feb.jpg","text":"TemporaryFile(/tmp/multipartBody1629947622875656567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181371419,"filename":"image_03112025_08_52_46_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/3/843fd8fcf40a74be1afddd2e5e79086e.jpg","text":"TemporaryFile(/tmp/multipartBody7324699141143856122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181371419,"filename":"image_03112025_08_52_39_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/3/f37115163c54e098f990341417c5b047.jpg","text":"TemporaryFile(/tmp/multipartBody525917836735069853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181371419,"filename":"image_03112025_08_52_43_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/3/d05e63fdf9ef860339cd0be0340953a0.jpg","text":"TemporaryFile(/tmp/multipartBody8711340097346602363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181371419,"filename":"image_03112025_08_52_37_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392074671","file1":"1392074667","file0":"1392074663","file4":"1392074686","file5":"1392074729","file3":"1392074674"},"map_files_photo_id_array":[{"photo_id":"1392074729","filename":"file5"},{"photo_id":"1392074671","filename":"file2"},{"photo_id":"1392074686","filename":"file4"},{"photo_id":"1392074667","filename":"file1"},{"photo_id":"1392074663","filename":"file0"},{"photo_id":"1392074674","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392074663":["hashtag1","hashtag2"]},{"1392074729":["hashtag1","hashtag2"]},{"1392074686":["hashtag1","hashtag2"]},{"1392074671":["hashtag1","hashtag2"]},{"1392074674":["hashtag1","hashtag2"]},{"1392074667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392074663, 1392074729, 1392074686, 1392074671, 1392074674, 1392074667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.584434270858765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:49:22.831134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_52_2680.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_55_2681.jpg', '/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_58_3592.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_01_2550.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_04_2747.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_07_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_52_2680.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_55_2681.jpg
/home/pi/Desktop/images/03112025/08/52/image_03112025_08_52_58_3592.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_01_2550.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_04_2747.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_07_3577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392074820","1392074817","1392074813","1392074824","1392074827","1392074809"],"photo_ids_order":["1392074809","1392074813","1392074817","1392074820","1392074824","1392074827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5687749a2754a212fb3b5ea409cfe6bf.jpg","text":"TemporaryFile(/tmp/multipartBody8050365702126820518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181423703,"filename":"image_03112025_08_53_01_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/03f3f2e4f6fd880464ce504610f9acb9.jpg","text":"TemporaryFile(/tmp/multipartBody8565173294323146720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181423703,"filename":"image_03112025_08_52_58_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/3/8e2e69bac3a32bf85ea6fd1724d9c415.jpg","text":"TemporaryFile(/tmp/multipartBody1102130719869898454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181423703,"filename":"image_03112025_08_52_55_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8cf94083a561686bab0e7d0e414a2ca7.jpg","text":"TemporaryFile(/tmp/multipartBody7518526537827378553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181423703,"filename":"image_03112025_08_53_04_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/3/ba00690f1d27515bb681441f79a41b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4763018183225816635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181423703,"filename":"image_03112025_08_53_07_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/3/b165aa21b1a4843a4df43cd8464bf67f.jpg","text":"TemporaryFile(/tmp/multipartBody5269438485714785686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181423703,"filename":"image_03112025_08_52_52_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392074817","file1":"1392074813","file0":"1392074809","file4":"1392074824","file5":"1392074827","file3":"1392074820"},"map_files_photo_id_array":[{"photo_id":"1392074827","filename":"file5"},{"photo_id":"1392074817","filename":"file2"},{"photo_id":"1392074824","filename":"file4"},{"photo_id":"1392074813","filename":"file1"},{"photo_id":"1392074809","filename":"file0"},{"photo_id":"1392074820","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392074820":["hashtag1","hashtag2"]},{"1392074817":["hashtag1","hashtag2"]},{"1392074813":["hashtag1","hashtag2"]},{"1392074824":["hashtag1","hashtag2"]},{"1392074827":["hashtag1","hashtag2"]},{"1392074809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392074820, 1392074817, 1392074813, 1392074824, 1392074827, 1392074809)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.46643400192261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:50:21.931662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 15:50:41.966344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_10_2640.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_13_2796.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_16_3580.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_19_2572.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_22_3566.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_25_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_10_2640.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_13_2796.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_16_3580.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_19_2572.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_22_3566.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_25_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075015","1392074978","1392074942","1392075076","1392075070","1392075057"],"photo_ids_order":["1392074942","1392074978","1392075015","1392075057","1392075070","1392075076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ed0c46b4a0d2fb6005daf67c2a9a7051.jpg","text":"TemporaryFile(/tmp/multipartBody3518336717039022263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181502780,"filename":"image_03112025_08_53_16_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/3/61ca484667007eb3cb19d1be580d17c3.jpg","text":"TemporaryFile(/tmp/multipartBody2519587875403983016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181502780,"filename":"image_03112025_08_53_13_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/3/462ea51d7d70db1d85f9a42ee9ded66a.jpg","text":"TemporaryFile(/tmp/multipartBody5090827622258304869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181502780,"filename":"image_03112025_08_53_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/3/88f82437a7f6cbaa10e475a5a02d704b.jpg","text":"TemporaryFile(/tmp/multipartBody4500609250728046489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181502780,"filename":"image_03112025_08_53_25_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/3/06b680bd1ba07238ccff1423201deb7e.jpg","text":"TemporaryFile(/tmp/multipartBody4528408152797473637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181502780,"filename":"image_03112025_08_53_22_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/3/f98959b6f50aa4032fa2547f7ecf3a70.jpg","text":"TemporaryFile(/tmp/multipartBody5743452962009301064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181502780,"filename":"image_03112025_08_53_19_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075015","file1":"1392074978","file0":"1392074942","file4":"1392075070","file5":"1392075076","file3":"1392075057"},"map_files_photo_id_array":[{"photo_id":"1392075076","filename":"file5"},{"photo_id":"1392075015","filename":"file2"},{"photo_id":"1392075070","filename":"file4"},{"photo_id":"1392074978","filename":"file1"},{"photo_id":"1392074942","filename":"file0"},{"photo_id":"1392075057","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075015":["hashtag1","hashtag2"]},{"1392074978":["hashtag1","hashtag2"]},{"1392074942":["hashtag1","hashtag2"]},{"1392075076":["hashtag1","hashtag2"]},{"1392075070":["hashtag1","hashtag2"]},{"1392075057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075015, 1392074978, 1392074942, 1392075076, 1392075070, 1392075057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98411297798157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:51:22.215935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_28_2634.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_31_3591.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_34_2517.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_37_3535.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_40_2662.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_43_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_28_2634.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_31_3591.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_34_2517.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_37_3535.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_40_2662.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_43_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075122","1392075116","1392075107","1392075142","1392075126","1392075111"],"photo_ids_order":["1392075107","1392075111","1392075116","1392075122","1392075126","1392075142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9b8e43461560a19097117c15fb106374.jpg","text":"TemporaryFile(/tmp/multipartBody1454159571483892471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181544847,"filename":"image_03112025_08_53_37_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/3/00bfa2619fc266246afe2dfb9e990af2.jpg","text":"TemporaryFile(/tmp/multipartBody3899302216793158886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181544847,"filename":"image_03112025_08_53_34_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/3/2e13065a45b21b64d3dd8e654de2d580.jpg","text":"TemporaryFile(/tmp/multipartBody1455180525282899307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181544847,"filename":"image_03112025_08_53_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/3/2b2e979ddcf6e048862d78b98585a165.jpg","text":"TemporaryFile(/tmp/multipartBody438895118527079500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181544847,"filename":"image_03112025_08_53_43_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/3/a4489a541d0fe0beb829c3b916c9c45c.jpg","text":"TemporaryFile(/tmp/multipartBody6286999064074194566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181544847,"filename":"image_03112025_08_53_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/3/80c2c7008ea82d4db5a2d014934b2ab6.jpg","text":"TemporaryFile(/tmp/multipartBody7991461580931693272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181544847,"filename":"image_03112025_08_53_31_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075116","file1":"1392075111","file0":"1392075107","file4":"1392075126","file5":"1392075142","file3":"1392075122"},"map_files_photo_id_array":[{"photo_id":"1392075142","filename":"file5"},{"photo_id":"1392075116","filename":"file2"},{"photo_id":"1392075126","filename":"file4"},{"photo_id":"1392075111","filename":"file1"},{"photo_id":"1392075107","filename":"file0"},{"photo_id":"1392075122","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075122":["hashtag1","hashtag2"]},{"1392075116":["hashtag1","hashtag2"]},{"1392075107":["hashtag1","hashtag2"]},{"1392075142":["hashtag1","hashtag2"]},{"1392075126":["hashtag1","hashtag2"]},{"1392075111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075122, 1392075116, 1392075107, 1392075142, 1392075126, 1392075111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.713335037231445 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-03 15:52:23.553340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_46_3556.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_49_2608.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_52_3596.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_55_2734.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_58_2652.jpg', '/home/pi/Desktop/images/03112025/08/53/image_03112025_08_54_00_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_46_3556.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_49_2608.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_52_3596.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_55_2734.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_53_58_2652.jpg
/home/pi/Desktop/images/03112025/08/53/image_03112025_08_54_00_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075254","1392075257","1392075259","1392075244","1392075267","1392075249"],"photo_ids_order":["1392075244","1392075249","1392075254","1392075257","1392075259","1392075267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f15cd798955e8bbf1d5ffcb398f4b375.jpg","text":"TemporaryFile(/tmp/multipartBody3332497168090739598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181604341,"filename":"image_03112025_08_53_52_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/3/18965d5b5eb995f7741376ae0d5d46f4.jpg","text":"TemporaryFile(/tmp/multipartBody2498482699400601885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181604341,"filename":"image_03112025_08_53_55_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/3/e1560984e15e82743913a201b2807b1b.jpg","text":"TemporaryFile(/tmp/multipartBody5110920752423323085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181604341,"filename":"image_03112025_08_53_58_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/309cd505e602a3867549374082719831.jpg","text":"TemporaryFile(/tmp/multipartBody5453217767874379188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181604341,"filename":"image_03112025_08_53_46_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bbac49b09f1c9f887b6a76de75131430.jpg","text":"TemporaryFile(/tmp/multipartBody232811231879785209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181604341,"filename":"image_03112025_08_54_00_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/3/716a67d59b86a6b02256a8662a561b54.jpg","text":"TemporaryFile(/tmp/multipartBody908110728450632629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181604341,"filename":"image_03112025_08_53_49_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075254","file1":"1392075249","file0":"1392075244","file4":"1392075259","file5":"1392075267","file3":"1392075257"},"map_files_photo_id_array":[{"photo_id":"1392075267","filename":"file5"},{"photo_id":"1392075254","filename":"file2"},{"photo_id":"1392075259","filename":"file4"},{"photo_id":"1392075249","filename":"file1"},{"photo_id":"1392075244","filename":"file0"},{"photo_id":"1392075257","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075254":["hashtag1","hashtag2"]},{"1392075257":["hashtag1","hashtag2"]},{"1392075259":["hashtag1","hashtag2"]},{"1392075244":["hashtag1","hashtag2"]},{"1392075267":["hashtag1","hashtag2"]},{"1392075249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075254, 1392075257, 1392075259, 1392075244, 1392075267, 1392075249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71090579032898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:53:03.465151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_04_3659.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_07_2721.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_09_2616.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_13_3606.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_16_2811.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_18_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_04_3659.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_07_2721.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_09_2616.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_13_3606.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_16_2811.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_18_2559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075296","1392075292","1392075280","1392075277","1392075301","1392075282"],"photo_ids_order":["1392075277","1392075280","1392075282","1392075292","1392075296","1392075301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d0954ec040f2312bcdb8acbf9f32c2e6.jpg","text":"TemporaryFile(/tmp/multipartBody126530944303868907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181644377,"filename":"image_03112025_08_54_16_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/3/f53a1fb18548f8e7e1a71758fa2c9b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8483625099945925845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181644377,"filename":"image_03112025_08_54_13_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/3/7234495837226dae508ec5a87b5734e8.jpg","text":"TemporaryFile(/tmp/multipartBody7842852338217831279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181644377,"filename":"image_03112025_08_54_07_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/3/00de5e082f1c0b1abd30f0c72245662a.jpg","text":"TemporaryFile(/tmp/multipartBody2485566632588596906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181644377,"filename":"image_03112025_08_54_04_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/3/9477b5b896161df5f45091735e59d337.jpg","text":"TemporaryFile(/tmp/multipartBody2758669964212925264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181644377,"filename":"image_03112025_08_54_18_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/3/cf8c66e9795c8389a9c3936ec5690c83.jpg","text":"TemporaryFile(/tmp/multipartBody6916429906837348915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181644377,"filename":"image_03112025_08_54_09_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075282","file1":"1392075280","file0":"1392075277","file4":"1392075296","file5":"1392075301","file3":"1392075292"},"map_files_photo_id_array":[{"photo_id":"1392075301","filename":"file5"},{"photo_id":"1392075282","filename":"file2"},{"photo_id":"1392075296","filename":"file4"},{"photo_id":"1392075280","filename":"file1"},{"photo_id":"1392075277","filename":"file0"},{"photo_id":"1392075292","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075296":["hashtag1","hashtag2"]},{"1392075292":["hashtag1","hashtag2"]},{"1392075280":["hashtag1","hashtag2"]},{"1392075277":["hashtag1","hashtag2"]},{"1392075301":["hashtag1","hashtag2"]},{"1392075282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075296, 1392075292, 1392075280, 1392075277, 1392075301, 1392075282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21274757385254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:53:42.784510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_22_3633.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_25_2725.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_28_2822.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_30_2799.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_34_3682.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_37_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_22_3633.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_25_2725.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_28_2822.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_30_2799.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_34_3682.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_37_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075314","1392075331","1392075333","1392075336","1392075339","1392075324"],"photo_ids_order":["1392075314","1392075324","1392075331","1392075333","1392075336","1392075339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/feecf9cf5361baffa310005f0b7dcc2a.jpg","text":"TemporaryFile(/tmp/multipartBody5862753506693946483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181683847,"filename":"image_03112025_08_54_22_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/3/531c10c79878c686f2f53cc4fa0040e3.jpg","text":"TemporaryFile(/tmp/multipartBody6974736026479838321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181683847,"filename":"image_03112025_08_54_28_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/3/83a0dfbf16db770b38bee0a02988a7ac.jpg","text":"TemporaryFile(/tmp/multipartBody8504751871041808641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181683847,"filename":"image_03112025_08_54_30_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/3/ad3d2d3b473d33837eb96b9d34073d85.jpg","text":"TemporaryFile(/tmp/multipartBody2261427739461024824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181683847,"filename":"image_03112025_08_54_34_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/23e2b7d5408c5b7002df54914a075207.jpg","text":"TemporaryFile(/tmp/multipartBody7571512015388048427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181683847,"filename":"image_03112025_08_54_37_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/3/9ecbbf242d62d26d4cf94c12efa06386.jpg","text":"TemporaryFile(/tmp/multipartBody1713709933622719958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181683847,"filename":"image_03112025_08_54_25_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075331","file1":"1392075324","file0":"1392075314","file4":"1392075336","file5":"1392075339","file3":"1392075333"},"map_files_photo_id_array":[{"photo_id":"1392075339","filename":"file5"},{"photo_id":"1392075331","filename":"file2"},{"photo_id":"1392075336","filename":"file4"},{"photo_id":"1392075324","filename":"file1"},{"photo_id":"1392075314","filename":"file0"},{"photo_id":"1392075333","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075314":["hashtag1","hashtag2"]},{"1392075331":["hashtag1","hashtag2"]},{"1392075333":["hashtag1","hashtag2"]},{"1392075336":["hashtag1","hashtag2"]},{"1392075339":["hashtag1","hashtag2"]},{"1392075324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075314, 1392075331, 1392075333, 1392075336, 1392075339, 1392075324)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.37975788116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:54:42.035240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_39_2553.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_43_3784.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_46_2693.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_48_2557.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_52_3642.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_55_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_39_2553.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_43_3784.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_46_2693.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_48_2557.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_52_3642.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_55_2824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075383","1392075377","1392075373","1392075376","1392075379","1392075381"],"photo_ids_order":["1392075373","1392075376","1392075377","1392075379","1392075381","1392075383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f08cb0d5b4ca3e4f98fcd3345b81a03d.jpg","text":"TemporaryFile(/tmp/multipartBody69772949457689838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181742932,"filename":"image_03112025_08_54_55_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/3/c63ad7c9c7efcba9d2181ead75e56325.jpg","text":"TemporaryFile(/tmp/multipartBody4675083769223417541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181742932,"filename":"image_03112025_08_54_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/3/aec4fed5eda58cd79fe37cba21efb0b7.jpg","text":"TemporaryFile(/tmp/multipartBody2543465629071186273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181742932,"filename":"image_03112025_08_54_39_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/3/ff6418417a0a50f0f28090bcf1f46359.jpg","text":"TemporaryFile(/tmp/multipartBody3732061229785280526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181742932,"filename":"image_03112025_08_54_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/3/55556c9267c3c2b387f1964f83643ba5.jpg","text":"TemporaryFile(/tmp/multipartBody664553224928149006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181742932,"filename":"image_03112025_08_54_48_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/3/6e8e49182e5db0cec7ea7d3122bd0547.jpg","text":"TemporaryFile(/tmp/multipartBody7223264629539677172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181742932,"filename":"image_03112025_08_54_52_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075377","file1":"1392075376","file0":"1392075373","file4":"1392075381","file5":"1392075383","file3":"1392075379"},"map_files_photo_id_array":[{"photo_id":"1392075383","filename":"file5"},{"photo_id":"1392075377","filename":"file2"},{"photo_id":"1392075381","filename":"file4"},{"photo_id":"1392075376","filename":"file1"},{"photo_id":"1392075373","filename":"file0"},{"photo_id":"1392075379","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075383":["hashtag1","hashtag2"]},{"1392075377":["hashtag1","hashtag2"]},{"1392075373":["hashtag1","hashtag2"]},{"1392075376":["hashtag1","hashtag2"]},{"1392075379":["hashtag1","hashtag2"]},{"1392075381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075383, 1392075377, 1392075373, 1392075376, 1392075379, 1392075381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85808062553406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:55:22.169000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_57_2618.jpg', '/home/pi/Desktop/images/03112025/08/54/image_03112025_08_55_01_3603.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_04_3138.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_07_2800.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_09_2567.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_13_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_54_57_2618.jpg
/home/pi/Desktop/images/03112025/08/54/image_03112025_08_55_01_3603.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_04_3138.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_07_2800.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_09_2567.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_13_3609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075557","1392075626","1392075658","1392075511","1392075648","1392075462"],"photo_ids_order":["1392075462","1392075511","1392075557","1392075626","1392075648","1392075658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2c9ec802060790841724b02f96d0c42b.jpg","text":"TemporaryFile(/tmp/multipartBody8245732059984773219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181783291,"filename":"image_03112025_08_55_04_3138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/adf1d191b8b634adf4c7ff16af17d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody528361500611441010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181783291,"filename":"image_03112025_08_55_07_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/3/b58763bc8b90342e259c847946568198.jpg","text":"TemporaryFile(/tmp/multipartBody8253829800444965213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181783291,"filename":"image_03112025_08_55_13_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/3/ec42683667ffb5990779a18008bb7bed.jpg","text":"TemporaryFile(/tmp/multipartBody4416028525453852312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181783291,"filename":"image_03112025_08_55_01_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/3/b59d9646d89e002186d67da6aa1c4927.jpg","text":"TemporaryFile(/tmp/multipartBody254332259606772565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181783291,"filename":"image_03112025_08_55_09_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/3/e79c207c77047b0939736d481ca07e73.jpg","text":"TemporaryFile(/tmp/multipartBody6858330072520588876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181783291,"filename":"image_03112025_08_54_57_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075557","file1":"1392075511","file0":"1392075462","file4":"1392075648","file5":"1392075658","file3":"1392075626"},"map_files_photo_id_array":[{"photo_id":"1392075658","filename":"file5"},{"photo_id":"1392075557","filename":"file2"},{"photo_id":"1392075648","filename":"file4"},{"photo_id":"1392075511","filename":"file1"},{"photo_id":"1392075462","filename":"file0"},{"photo_id":"1392075626","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075557":["hashtag1","hashtag2"]},{"1392075626":["hashtag1","hashtag2"]},{"1392075658":["hashtag1","hashtag2"]},{"1392075511":["hashtag1","hashtag2"]},{"1392075648":["hashtag1","hashtag2"]},{"1392075462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075557, 1392075626, 1392075658, 1392075511, 1392075648, 1392075462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61329674720764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:56:02.794486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_16_2829.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_18_2540.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_22_3696.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_25_2707.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_28_2657.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_31_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_16_2829.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_18_2540.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_22_3696.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_25_2707.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_28_2657.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_31_3549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075702","1392075821","1392075803","1392075709","1392075840","1392075747"],"photo_ids_order":["1392075702","1392075709","1392075747","1392075803","1392075821","1392075840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2b30d32860dca22fd536361111c6d2df.jpg","text":"TemporaryFile(/tmp/multipartBody3599587546954733563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181823652,"filename":"image_03112025_08_55_16_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93818db3b4cbbbd01900aaf284fafcab.jpg","text":"TemporaryFile(/tmp/multipartBody3093871831952710851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181823652,"filename":"image_03112025_08_55_28_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/3/56cf809d8d9b067034b7199b73b16997.jpg","text":"TemporaryFile(/tmp/multipartBody1336861167474992380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181823652,"filename":"image_03112025_08_55_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/3/663cde2c250712b6cfca38f09ecc715c.jpg","text":"TemporaryFile(/tmp/multipartBody8387941892400062583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181823652,"filename":"image_03112025_08_55_18_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/3/772b7eb4949b2b4fced624c278817daa.jpg","text":"TemporaryFile(/tmp/multipartBody7755966281441347539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181823652,"filename":"image_03112025_08_55_31_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/3/c705552d559cb45e5ca1a19e3cdd461b.jpg","text":"TemporaryFile(/tmp/multipartBody4088233362763166784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181823652,"filename":"image_03112025_08_55_22_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075747","file1":"1392075709","file0":"1392075702","file4":"1392075821","file5":"1392075840","file3":"1392075803"},"map_files_photo_id_array":[{"photo_id":"1392075840","filename":"file5"},{"photo_id":"1392075747","filename":"file2"},{"photo_id":"1392075821","filename":"file4"},{"photo_id":"1392075709","filename":"file1"},{"photo_id":"1392075702","filename":"file0"},{"photo_id":"1392075803","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075702":["hashtag1","hashtag2"]},{"1392075821":["hashtag1","hashtag2"]},{"1392075803":["hashtag1","hashtag2"]},{"1392075709":["hashtag1","hashtag2"]},{"1392075840":["hashtag1","hashtag2"]},{"1392075747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075702, 1392075821, 1392075803, 1392075709, 1392075840, 1392075747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7096893787384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 15:56:42.460623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_34_2597.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_36_2574.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_40_3888.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_43_2782.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_46_2645.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_49_3552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_34_2597.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_36_2574.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_40_3888.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_43_2782.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_46_2645.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_49_3552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075915","1392075887","1392075917","1392075883","1392075919","1392075912"],"photo_ids_order":["1392075883","1392075887","1392075912","1392075915","1392075917","1392075919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/680e3602985d4189f5fbf76a16b94e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3815274782999727388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181863290,"filename":"image_03112025_08_55_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/3/aab6a9b93d131f38d3cb8c050265036c.jpg","text":"TemporaryFile(/tmp/multipartBody4179714462438874806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181863290,"filename":"image_03112025_08_55_36_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/3/c547eee17437b11d284ba17e279cd728.jpg","text":"TemporaryFile(/tmp/multipartBody6585748756830734156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181863290,"filename":"image_03112025_08_55_46_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1d8b4ecc8df0a8713df7bafca0ae066e.jpg","text":"TemporaryFile(/tmp/multipartBody544545525253216201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181863290,"filename":"image_03112025_08_55_34_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/3/71d7a42949da8877148dc45da2d1d275.jpg","text":"TemporaryFile(/tmp/multipartBody4393133119858061441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181863290,"filename":"image_03112025_08_55_49_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/3/33b76750986434abb9aecad476e1ec8b.jpg","text":"TemporaryFile(/tmp/multipartBody2123960762084218331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181863290,"filename":"image_03112025_08_55_40_3888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075912","file1":"1392075887","file0":"1392075883","file4":"1392075917","file5":"1392075919","file3":"1392075915"},"map_files_photo_id_array":[{"photo_id":"1392075919","filename":"file5"},{"photo_id":"1392075912","filename":"file2"},{"photo_id":"1392075917","filename":"file4"},{"photo_id":"1392075887","filename":"file1"},{"photo_id":"1392075883","filename":"file0"},{"photo_id":"1392075915","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075915":["hashtag1","hashtag2"]},{"1392075887":["hashtag1","hashtag2"]},{"1392075917":["hashtag1","hashtag2"]},{"1392075883":["hashtag1","hashtag2"]},{"1392075919":["hashtag1","hashtag2"]},{"1392075912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075915, 1392075887, 1392075917, 1392075883, 1392075919, 1392075912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308730363845825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 15:57:22.564226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_52_2730.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_55_3078.jpg', '/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_58_2814.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_01_3101.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_03_2630.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_06_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_52_2730.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_55_3078.jpg
/home/pi/Desktop/images/03112025/08/55/image_03112025_08_55_58_2814.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_01_3101.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_03_2630.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_06_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392075932","1392075943","1392075928","1392075948","1392075936","1392075939"],"photo_ids_order":["1392075928","1392075932","1392075936","1392075939","1392075943","1392075948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e0b915f06ad299341d7c3776ec4bc65f.jpg","text":"TemporaryFile(/tmp/multipartBody4104638995286148644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181903374,"filename":"image_03112025_08_55_55_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/3/e145637fd2c8d3d0e46da39133e6d13a.jpg","text":"TemporaryFile(/tmp/multipartBody7146751761084285554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181903374,"filename":"image_03112025_08_56_03_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/64f53eb3459f5c4bc69409f09e2046e0.jpg","text":"TemporaryFile(/tmp/multipartBody6004140336298387800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181903374,"filename":"image_03112025_08_55_52_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/3/579a1a7da8fb0d1efac4123309056f24.jpg","text":"TemporaryFile(/tmp/multipartBody7714947868683861664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181903374,"filename":"image_03112025_08_56_06_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/3/bd012bb1183487e561dfed0f1cbb2f98.jpg","text":"TemporaryFile(/tmp/multipartBody1162011328960775576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181903374,"filename":"image_03112025_08_55_58_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/3/f7f310bab8ab970daec5502de5e79083.jpg","text":"TemporaryFile(/tmp/multipartBody463597170128827216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762181903374,"filename":"image_03112025_08_56_01_3101.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392075936","file1":"1392075932","file0":"1392075928","file4":"1392075943","file5":"1392075948","file3":"1392075939"},"map_files_photo_id_array":[{"photo_id":"1392075948","filename":"file5"},{"photo_id":"1392075936","filename":"file2"},{"photo_id":"1392075943","filename":"file4"},{"photo_id":"1392075932","filename":"file1"},{"photo_id":"1392075928","filename":"file0"},{"photo_id":"1392075939","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392075932":["hashtag1","hashtag2"]},{"1392075943":["hashtag1","hashtag2"]},{"1392075928":["hashtag1","hashtag2"]},{"1392075948":["hashtag1","hashtag2"]},{"1392075936":["hashtag1","hashtag2"]},{"1392075939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392075932, 1392075943, 1392075928, 1392075948, 1392075936, 1392075939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59379291534424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 15:59:03.752949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_10_3554.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_12_2581.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_16_3716.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_19_2626.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_21_2623.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_25_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_10_3554.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_12_2581.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_16_3716.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_19_2626.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_21_2623.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_25_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":["1392076115","1392076103","1392076126","1392076108","1392076092","1392076140"],"photo_ids_order":["1392076092","1392076103","1392076108","1392076115","1392076126","1392076140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/368dcd3a769728181e92c3a37c9e3722.jpg","text":"TemporaryFile(/tmp/multipartBody1110351514272245654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182004688,"filename":"image_03112025_08_56_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/3/b085826fd8fb629eda0e7276d53921c2.jpg","text":"TemporaryFile(/tmp/multipartBody5968543570003001337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182004688,"filename":"image_03112025_08_56_12_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/3/068cee110a7f73aa168409b4598d9e74.jpg","text":"TemporaryFile(/tmp/multipartBody2310169932237692076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182004688,"filename":"image_03112025_08_56_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/3/a2254eb6b99ff7d875aedcb6e139a2c0.jpg","text":"TemporaryFile(/tmp/multipartBody5927759877422770431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182004688,"filename":"image_03112025_08_56_16_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/3/11445cee755c0c4368cf37c54c4c34b4.jpg","text":"TemporaryFile(/tmp/multipartBody6474058683499843601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182004688,"filename":"image_03112025_08_56_10_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/3/623e23c2d8cc7960e53c3a0143795fa1.jpg","text":"TemporaryFile(/tmp/multipartBody488547158614120742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182004688,"filename":"image_03112025_08_56_25_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392076108","file1":"1392076103","file0":"1392076092","file4":"1392076126","file5":"1392076140","file3":"1392076115"},"map_files_photo_id_array":[{"photo_id":"1392076140","filename":"file5"},{"photo_id":"1392076108","filename":"file2"},{"photo_id":"1392076126","filename":"file4"},{"photo_id":"1392076103","filename":"file1"},{"photo_id":"1392076092","filename":"file0"},{"photo_id":"1392076115","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392076115":["hashtag1","hashtag2"]},{"1392076103":["hashtag1","hashtag2"]},{"1392076126":["hashtag1","hashtag2"]},{"1392076108":["hashtag1","hashtag2"]},{"1392076092":["hashtag1","hashtag2"]},{"1392076140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392076115, 1392076103, 1392076126, 1392076108, 1392076092, 1392076140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.567859172821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:00:02.437430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_28_2648.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_30_2533.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_34_3600.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_36_2596.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_40_3652.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_42_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_28_2648.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_30_2533.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_34_3600.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_36_2596.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_40_3652.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_42_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":["1392076430","1392076471","1392076372","1392076555","1392076600","1392076510"],"photo_ids_order":["1392076372","1392076430","1392076471","1392076510","1392076555","1392076600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3e4f2677c75fd02b19bec64b91e624c4.jpg","text":"TemporaryFile(/tmp/multipartBody4410608634316177881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182063329,"filename":"image_03112025_08_56_30_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/3/b2896b452c1dcb971d2ddfd998475d12.jpg","text":"TemporaryFile(/tmp/multipartBody6805545506202075003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182063329,"filename":"image_03112025_08_56_34_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7e653d589675b73899530203c1383ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8025518934684882176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182063329,"filename":"image_03112025_08_56_28_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/3/40dabce22adc9275c0e4b7eced78169d.jpg","text":"TemporaryFile(/tmp/multipartBody4878083791459895811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182063329,"filename":"image_03112025_08_56_40_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/3/191cf64ff4406945a3ff6c7491fe9e20.jpg","text":"TemporaryFile(/tmp/multipartBody3475497188356162328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182063329,"filename":"image_03112025_08_56_42_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/3/a8d0384ac5f6027e5d6b58354ed71de4.jpg","text":"TemporaryFile(/tmp/multipartBody8044131102971886107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182063329,"filename":"image_03112025_08_56_36_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392076471","file1":"1392076430","file0":"1392076372","file4":"1392076555","file5":"1392076600","file3":"1392076510"},"map_files_photo_id_array":[{"photo_id":"1392076600","filename":"file5"},{"photo_id":"1392076471","filename":"file2"},{"photo_id":"1392076555","filename":"file4"},{"photo_id":"1392076430","filename":"file1"},{"photo_id":"1392076372","filename":"file0"},{"photo_id":"1392076510","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392076430":["hashtag1","hashtag2"]},{"1392076471":["hashtag1","hashtag2"]},{"1392076372":["hashtag1","hashtag2"]},{"1392076555":["hashtag1","hashtag2"]},{"1392076600":["hashtag1","hashtag2"]},{"1392076510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392076430, 1392076471, 1392076372, 1392076555, 1392076600, 1392076510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6102876663208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:01:02.973947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_45_2604.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_48_3284.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_51_2684.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_55_3642.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_57_2553.jpg', '/home/pi/Desktop/images/03112025/08/56/image_03112025_08_57_00_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_45_2604.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_48_3284.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_51_2684.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_55_3642.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_56_57_2553.jpg
/home/pi/Desktop/images/03112025/08/56/image_03112025_08_57_00_2823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392076984","1392076989","1392076932","1392076895","1392076979","1392076970"],"photo_ids_order":["1392076895","1392076932","1392076970","1392076979","1392076984","1392076989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/929415b2f69e8f2f2a5d3a40801ad15c.jpg","text":"TemporaryFile(/tmp/multipartBody5237477455322416936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182123983,"filename":"image_03112025_08_56_57_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/3/08fb60f57e7b270b15f469d4facb1083.jpg","text":"TemporaryFile(/tmp/multipartBody6827451608119625279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182123983,"filename":"image_03112025_08_57_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/3/77f09bb5822a0c961a193b87c5843553.jpg","text":"TemporaryFile(/tmp/multipartBody6646596959134950316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182123983,"filename":"image_03112025_08_56_48_3284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1eeb4366ae9f1262dcead765e15c54cc.jpg","text":"TemporaryFile(/tmp/multipartBody3565026155559076416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182123983,"filename":"image_03112025_08_56_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/3/93ea66167abdb0e6c67d9a8f25884454.jpg","text":"TemporaryFile(/tmp/multipartBody962902228729787873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182123983,"filename":"image_03112025_08_56_55_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/3/af80f55929cd885c40b4010a05764629.jpg","text":"TemporaryFile(/tmp/multipartBody2714229714261494022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182123983,"filename":"image_03112025_08_56_51_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392076970","file1":"1392076932","file0":"1392076895","file4":"1392076984","file5":"1392076989","file3":"1392076979"},"map_files_photo_id_array":[{"photo_id":"1392076989","filename":"file5"},{"photo_id":"1392076970","filename":"file2"},{"photo_id":"1392076984","filename":"file4"},{"photo_id":"1392076932","filename":"file1"},{"photo_id":"1392076895","filename":"file0"},{"photo_id":"1392076979","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392076984":["hashtag1","hashtag2"]},{"1392076989":["hashtag1","hashtag2"]},{"1392076932":["hashtag1","hashtag2"]},{"1392076895":["hashtag1","hashtag2"]},{"1392076979":["hashtag1","hashtag2"]},{"1392076970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392076984, 1392076989, 1392076932, 1392076895, 1392076979, 1392076970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72981834411621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:01:42.212427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_04_3676.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_06_2604.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_09_2684.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_13_3555.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_15_2608.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_19_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_04_3676.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_06_2604.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_09_2684.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_13_3555.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_15_2608.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_19_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":["1392077671","1392077306","1392077383","1392077493","1392077594","1392077222"],"photo_ids_order":["1392077222","1392077306","1392077383","1392077493","1392077594","1392077671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa8b865771f2f55ef9e9aae0c04e4207.jpg","text":"TemporaryFile(/tmp/multipartBody2635647585939706894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182165435,"filename":"image_03112025_08_57_19_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/3/aec95b4d4f8f78f7587f03812a3116ac.jpg","text":"TemporaryFile(/tmp/multipartBody3068186961184440383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182165435,"filename":"image_03112025_08_57_06_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3132e4ac5092cfb0cf37ecaa53235f70.jpg","text":"TemporaryFile(/tmp/multipartBody4488618118776233361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182165435,"filename":"image_03112025_08_57_09_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d3b01faa86e0f7a0375262dad364033.jpg","text":"TemporaryFile(/tmp/multipartBody5094057606476172978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182165435,"filename":"image_03112025_08_57_13_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/3/2cff9fba4bd467c0afdee20625beb35b.jpg","text":"TemporaryFile(/tmp/multipartBody4735466563246970292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182165435,"filename":"image_03112025_08_57_15_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/3/ccb8410501e09676e0eb009f7919345f.jpg","text":"TemporaryFile(/tmp/multipartBody2434277986580801193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182165435,"filename":"image_03112025_08_57_04_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392077383","file1":"1392077306","file0":"1392077222","file4":"1392077594","file5":"1392077671","file3":"1392077493"},"map_files_photo_id_array":[{"photo_id":"1392077671","filename":"file5"},{"photo_id":"1392077383","filename":"file2"},{"photo_id":"1392077594","filename":"file4"},{"photo_id":"1392077306","filename":"file1"},{"photo_id":"1392077222","filename":"file0"},{"photo_id":"1392077493","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392077671":["hashtag1","hashtag2"]},{"1392077306":["hashtag1","hashtag2"]},{"1392077383":["hashtag1","hashtag2"]},{"1392077493":["hashtag1","hashtag2"]},{"1392077594":["hashtag1","hashtag2"]},{"1392077222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392077671, 1392077306, 1392077383, 1392077493, 1392077594, 1392077222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.651437520980835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:02:42.468728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_22_2745.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_24_2675.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_28_3577.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_31_2751.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_33_2804.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_36_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_22_2745.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_24_2675.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_28_3577.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_31_2751.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_33_2804.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_36_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392078526","1392078279","1392078372","1392078572","1392078473","1392078635"],"photo_ids_order":["1392078279","1392078372","1392078473","1392078526","1392078572","1392078635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c55177d4daf4210001131daa14effb7d.jpg","text":"TemporaryFile(/tmp/multipartBody7960021088336748358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182223392,"filename":"image_03112025_08_57_31_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/3/715873809e0c8490480638c113c19d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5698069176054599747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182223392,"filename":"image_03112025_08_57_22_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/3/438e789ee47fc068cc70b395e1e91088.jpg","text":"TemporaryFile(/tmp/multipartBody870347731839818595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182223392,"filename":"image_03112025_08_57_24_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/3/995e84ada1190e1175c98330321b4137.jpg","text":"TemporaryFile(/tmp/multipartBody6694240450431770459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182223392,"filename":"image_03112025_08_57_33_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/3/859accd11551bdec8c4b90d5465a5c45.jpg","text":"TemporaryFile(/tmp/multipartBody6905935629833327490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182223392,"filename":"image_03112025_08_57_28_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/3/de26543fdc44802d1f45a489a73767de.jpg","text":"TemporaryFile(/tmp/multipartBody2779353913687045299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182223392,"filename":"image_03112025_08_57_36_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392078473","file1":"1392078372","file0":"1392078279","file4":"1392078572","file5":"1392078635","file3":"1392078526"},"map_files_photo_id_array":[{"photo_id":"1392078635","filename":"file5"},{"photo_id":"1392078473","filename":"file2"},{"photo_id":"1392078572","filename":"file4"},{"photo_id":"1392078372","filename":"file1"},{"photo_id":"1392078279","filename":"file0"},{"photo_id":"1392078526","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392078526":["hashtag1","hashtag2"]},{"1392078279":["hashtag1","hashtag2"]},{"1392078372":["hashtag1","hashtag2"]},{"1392078572":["hashtag1","hashtag2"]},{"1392078473":["hashtag1","hashtag2"]},{"1392078635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392078526, 1392078279, 1392078372, 1392078572, 1392078473, 1392078635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60237741470337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:03:22.600627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_40_3670.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_43_2750.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_45_2630.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_49_3545.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_51_2606.jpg', '/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_54_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_40_3670.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_43_2750.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_45_2630.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_49_3545.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_51_2606.jpg
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_54_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392078709","1392078703","1392078805","1392078706","1392078714","1392078701"],"photo_ids_order":["1392078701","1392078703","1392078706","1392078709","1392078714","1392078805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e33d57f1d311f19ee554c39246c591df.jpg","text":"TemporaryFile(/tmp/multipartBody1340062156455640323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182263419,"filename":"image_03112025_08_57_49_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/3/218afc90d145ffc231316a190574ccb9.jpg","text":"TemporaryFile(/tmp/multipartBody3121616706150214909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182263419,"filename":"image_03112025_08_57_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/3/8fdb6b11bcbb28cdd7d86a3e031f817f.jpg","text":"TemporaryFile(/tmp/multipartBody4892525217629075221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182263419,"filename":"image_03112025_08_57_54_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/3/db3d87599a62b909eba9060452e98c49.jpg","text":"TemporaryFile(/tmp/multipartBody830234031149624174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182263419,"filename":"image_03112025_08_57_45_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/3/30f1c17f762e50fbed404751490e20fe.jpg","text":"TemporaryFile(/tmp/multipartBody1436374931381988927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182263419,"filename":"image_03112025_08_57_51_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e1478f8e9e82aa500c00c61ae4fd3093.jpg","text":"TemporaryFile(/tmp/multipartBody3193495757478025798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182263419,"filename":"image_03112025_08_57_40_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392078706","file1":"1392078703","file0":"1392078701","file4":"1392078714","file5":"1392078805","file3":"1392078709"},"map_files_photo_id_array":[{"photo_id":"1392078805","filename":"file5"},{"photo_id":"1392078706","filename":"file2"},{"photo_id":"1392078714","filename":"file4"},{"photo_id":"1392078703","filename":"file1"},{"photo_id":"1392078701","filename":"file0"},{"photo_id":"1392078709","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392078709":["hashtag1","hashtag2"]},{"1392078703":["hashtag1","hashtag2"]},{"1392078805":["hashtag1","hashtag2"]},{"1392078706":["hashtag1","hashtag2"]},{"1392078714":["hashtag1","hashtag2"]},{"1392078701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392078709, 1392078703, 1392078805, 1392078706, 1392078714, 1392078701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21935725212097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:04:02.587317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_58_3732.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_01_2702.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_03_2618.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_07_3501.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_09_2545.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_13_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/57/image_03112025_08_57_58_3732.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_01_2702.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_03_2618.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_07_3501.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_09_2545.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_13_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392079207","1392078987","1392079143","1392079031","1392079100","1392078941"],"photo_ids_order":["1392078941","1392078987","1392079031","1392079100","1392079143","1392079207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/19dab45fe587976d9fd2c93d6e854c8b.jpg","text":"TemporaryFile(/tmp/multipartBody8386070343240114630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182303487,"filename":"image_03112025_08_58_13_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/3/ced11d2c76b1624acfa4684ce919db44.jpg","text":"TemporaryFile(/tmp/multipartBody70263405826891964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182303487,"filename":"image_03112025_08_58_01_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ce14098c891add37775429bec3636f95.jpg","text":"TemporaryFile(/tmp/multipartBody34347310653209633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182303487,"filename":"image_03112025_08_58_09_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/3/c1ca28cdb597dd2941157cad742950fb.jpg","text":"TemporaryFile(/tmp/multipartBody8296350347977312135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182303487,"filename":"image_03112025_08_58_03_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/3/9435abfe7df02bb733893a12fbaf1f43.jpg","text":"TemporaryFile(/tmp/multipartBody2017963990289029631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182303487,"filename":"image_03112025_08_58_07_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ffabc7aa68ecaee8f6807110d8ba0a82.jpg","text":"TemporaryFile(/tmp/multipartBody2375657483914590466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182303487,"filename":"image_03112025_08_57_58_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079031","file1":"1392078987","file0":"1392078941","file4":"1392079143","file5":"1392079207","file3":"1392079100"},"map_files_photo_id_array":[{"photo_id":"1392079207","filename":"file5"},{"photo_id":"1392079031","filename":"file2"},{"photo_id":"1392079143","filename":"file4"},{"photo_id":"1392078987","filename":"file1"},{"photo_id":"1392078941","filename":"file0"},{"photo_id":"1392079100","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079207":["hashtag1","hashtag2"]},{"1392078987":["hashtag1","hashtag2"]},{"1392079143":["hashtag1","hashtag2"]},{"1392079031":["hashtag1","hashtag2"]},{"1392079100":["hashtag1","hashtag2"]},{"1392078941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079207, 1392078987, 1392079143, 1392079031, 1392079100, 1392078941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73766279220581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:04:41.884199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_15_2599.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_18_2526.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_22_3781.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_24_2721.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_28_3370.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_31_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_15_2599.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_18_2526.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_22_3781.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_24_2721.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_28_3370.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_31_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392079312","1392079335","1392079317","1392079381","1392079384","1392079372"],"photo_ids_order":["1392079312","1392079317","1392079335","1392079372","1392079381","1392079384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c200a611a95158ec1244e66e7aa7b461.jpg","text":"TemporaryFile(/tmp/multipartBody1855770841162662414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182342721,"filename":"image_03112025_08_58_15_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/3/cbf2b93fbea17b65e25775a7b04c7b03.jpg","text":"TemporaryFile(/tmp/multipartBody7759613793455229899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182342721,"filename":"image_03112025_08_58_22_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/3/50be833fd32fad745d6c450d049b664a.jpg","text":"TemporaryFile(/tmp/multipartBody8743636042727071961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182342721,"filename":"image_03112025_08_58_18_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/3/732d0f645a72e9011d8650feb75a3c27.jpg","text":"TemporaryFile(/tmp/multipartBody1186493993983903127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182342721,"filename":"image_03112025_08_58_28_3370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8021a47b85aca90da05bbdb2d671f8cc.jpg","text":"TemporaryFile(/tmp/multipartBody3878860542119025551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182342721,"filename":"image_03112025_08_58_31_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/3/2274e3caf45ba7a36056c08dccc2012d.jpg","text":"TemporaryFile(/tmp/multipartBody837170312122922628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182342721,"filename":"image_03112025_08_58_24_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079335","file1":"1392079317","file0":"1392079312","file4":"1392079381","file5":"1392079384","file3":"1392079372"},"map_files_photo_id_array":[{"photo_id":"1392079384","filename":"file5"},{"photo_id":"1392079335","filename":"file2"},{"photo_id":"1392079381","filename":"file4"},{"photo_id":"1392079317","filename":"file1"},{"photo_id":"1392079312","filename":"file0"},{"photo_id":"1392079372","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079312":["hashtag1","hashtag2"]},{"1392079335":["hashtag1","hashtag2"]},{"1392079317":["hashtag1","hashtag2"]},{"1392079381":["hashtag1","hashtag2"]},{"1392079384":["hashtag1","hashtag2"]},{"1392079372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079312, 1392079335, 1392079317, 1392079381, 1392079384, 1392079372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.888126373291016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:05:22.042242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_33_2648.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_36_2745.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_40_3779.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_42_2742.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_45_2662.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_49_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_33_2648.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_36_2745.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_40_3779.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_42_2742.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_45_2662.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_49_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392079479","1392079472","1392079481","1392079475","1392079469","1392079477"],"photo_ids_order":["1392079469","1392079472","1392079475","1392079477","1392079479","1392079481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8068ec5cdb9ac11d3ac5bd3500bd2c32.jpg","text":"TemporaryFile(/tmp/multipartBody7620972174809441205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182382831,"filename":"image_03112025_08_58_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/3/30e8b9e322a908b94dbdcccd38b7a4be.jpg","text":"TemporaryFile(/tmp/multipartBody8590048725553511881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182382831,"filename":"image_03112025_08_58_36_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/3/69aa0f991b720b01a8ebea9740b3d3c6.jpg","text":"TemporaryFile(/tmp/multipartBody9161974950461366827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182382831,"filename":"image_03112025_08_58_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/3/360193b1227ab37bcc66d399e7476102.jpg","text":"TemporaryFile(/tmp/multipartBody3727113313557464393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182382831,"filename":"image_03112025_08_58_40_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/3/0b27c6f0ee30bc564c7024f8d2d1a125.jpg","text":"TemporaryFile(/tmp/multipartBody1521624316414434647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182382831,"filename":"image_03112025_08_58_33_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/3/763ad9fd3abf71ce90ebbe911408a2a8.jpg","text":"TemporaryFile(/tmp/multipartBody8377573102499096605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182382831,"filename":"image_03112025_08_58_42_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079475","file1":"1392079472","file0":"1392079469","file4":"1392079479","file5":"1392079481","file3":"1392079477"},"map_files_photo_id_array":[{"photo_id":"1392079481","filename":"file5"},{"photo_id":"1392079475","filename":"file2"},{"photo_id":"1392079479","filename":"file4"},{"photo_id":"1392079472","filename":"file1"},{"photo_id":"1392079469","filename":"file0"},{"photo_id":"1392079477","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079479":["hashtag1","hashtag2"]},{"1392079472":["hashtag1","hashtag2"]},{"1392079481":["hashtag1","hashtag2"]},{"1392079475":["hashtag1","hashtag2"]},{"1392079469":["hashtag1","hashtag2"]},{"1392079477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079479, 1392079472, 1392079481, 1392079475, 1392079469, 1392079477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.573829889297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:06:02.677079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_52_2713.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_54_2530.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_58_3724.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_59_00_2628.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_03_2642.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_07_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_52_2713.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_54_2530.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_58_3724.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_59_00_2628.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_03_2642.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_07_3610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7692656517028809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:06:22.186673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_52_2713.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_54_2530.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_58_3724.jpg', '/home/pi/Desktop/images/03112025/08/58/image_03112025_08_59_00_2628.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_03_2642.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_07_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_52_2713.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_54_2530.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_58_58_3724.jpg
/home/pi/Desktop/images/03112025/08/58/image_03112025_08_59_00_2628.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_03_2642.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_07_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392079536","1392079562","1392079582","1392079564","1392079567","1392079552"],"photo_ids_order":["1392079536","1392079552","1392079562","1392079564","1392079567","1392079582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/53c81ec2ca01fd90de36a2b03841de43.jpg","text":"TemporaryFile(/tmp/multipartBody3137171449826759555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182442831,"filename":"image_03112025_08_58_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/3/c7cb31b4dc07886b1c2bd1b5ad613620.jpg","text":"TemporaryFile(/tmp/multipartBody703134872693035682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182442831,"filename":"image_03112025_08_58_58_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/3/18bb12297e031158414a42bb27d0fd99.jpg","text":"TemporaryFile(/tmp/multipartBody7151001541358195780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182442831,"filename":"image_03112025_08_59_07_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/3/14bb55250cd1e3e1d70a4c919e7a340d.jpg","text":"TemporaryFile(/tmp/multipartBody2364230714896668970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182442831,"filename":"image_03112025_08_59_00_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/3/c64ac5b5eda88f8995f05ed8ef9cddb1.jpg","text":"TemporaryFile(/tmp/multipartBody5572755367531733605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182442831,"filename":"image_03112025_08_59_03_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/3/109a0d4a5eeabb3b1ee42d4e4ff71cb6.jpg","text":"TemporaryFile(/tmp/multipartBody2536158496466593905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182442831,"filename":"image_03112025_08_58_54_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079562","file1":"1392079552","file0":"1392079536","file4":"1392079567","file5":"1392079582","file3":"1392079564"},"map_files_photo_id_array":[{"photo_id":"1392079582","filename":"file5"},{"photo_id":"1392079562","filename":"file2"},{"photo_id":"1392079567","filename":"file4"},{"photo_id":"1392079552","filename":"file1"},{"photo_id":"1392079536","filename":"file0"},{"photo_id":"1392079564","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079536":["hashtag1","hashtag2"]},{"1392079562":["hashtag1","hashtag2"]},{"1392079582":["hashtag1","hashtag2"]},{"1392079564":["hashtag1","hashtag2"]},{"1392079567":["hashtag1","hashtag2"]},{"1392079552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079536, 1392079562, 1392079582, 1392079564, 1392079567, 1392079552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51865887641907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:07:02.986532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_09_2720.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_12_2672.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_16_3643.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_18_2675.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_21_2624.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_24_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_09_2720.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_12_2672.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_16_3643.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_18_2675.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_21_2624.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_24_2890.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":["1392079626","1392079605","1392079664","1392079654","1392079607","1392079639"],"photo_ids_order":["1392079605","1392079607","1392079626","1392079639","1392079654","1392079664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8ec9c592e5c7f5d7919d10d2e30a37f9.jpg","text":"TemporaryFile(/tmp/multipartBody7295766563524387513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182483956,"filename":"image_03112025_08_59_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/3/b3c5e8bbe22de71f1c741c86df10ca2b.jpg","text":"TemporaryFile(/tmp/multipartBody8266409786495755362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182483956,"filename":"image_03112025_08_59_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/3/d1865596f26c0e744cd90ac97d06cbe6.jpg","text":"TemporaryFile(/tmp/multipartBody4147801496716095451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182483956,"filename":"image_03112025_08_59_24_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/3/0a99292c309a83fdde783b6eb2e87d0c.jpg","text":"TemporaryFile(/tmp/multipartBody6781994808949381417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182483956,"filename":"image_03112025_08_59_21_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/3/fb3c73533a0807db2ac59fe645de8a25.jpg","text":"TemporaryFile(/tmp/multipartBody2772714208068062629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182483956,"filename":"image_03112025_08_59_12_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/3/27df7f971b2f9c48834fae06f4452420.jpg","text":"TemporaryFile(/tmp/multipartBody7892338888470099781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182483956,"filename":"image_03112025_08_59_18_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079626","file1":"1392079607","file0":"1392079605","file4":"1392079654","file5":"1392079664","file3":"1392079639"},"map_files_photo_id_array":[{"photo_id":"1392079664","filename":"file5"},{"photo_id":"1392079626","filename":"file2"},{"photo_id":"1392079654","filename":"file4"},{"photo_id":"1392079607","filename":"file1"},{"photo_id":"1392079605","filename":"file0"},{"photo_id":"1392079639","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079626":["hashtag1","hashtag2"]},{"1392079605":["hashtag1","hashtag2"]},{"1392079664":["hashtag1","hashtag2"]},{"1392079654":["hashtag1","hashtag2"]},{"1392079607":["hashtag1","hashtag2"]},{"1392079639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079626, 1392079605, 1392079664, 1392079654, 1392079607, 1392079639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.800660848617554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:08:02.280896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_27_3447.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_30_2699.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_33_2755.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_36_3632.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_39_2598.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_42_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_27_3447.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_30_2699.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_33_2755.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_36_3632.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_39_2598.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_42_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392079845","1392079824","1392079850","1392079838","1392079841","1392079855"],"photo_ids_order":["1392079824","1392079838","1392079841","1392079845","1392079850","1392079855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c446179d8a863797df5491ec3e338f81.jpg","text":"TemporaryFile(/tmp/multipartBody7434316461656589426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182543130,"filename":"image_03112025_08_59_36_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/3/c4cbf49cf66ad6a2a9f2ac4d9c199f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5357948598238649572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182543130,"filename":"image_03112025_08_59_27_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/3/36a5bd7b17e9255ed41ab0bb922dd821.jpg","text":"TemporaryFile(/tmp/multipartBody4287857152666150312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182543130,"filename":"image_03112025_08_59_39_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/3/12f63fc3f24f92799ea10673ee1d2f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3659633973806682305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182543130,"filename":"image_03112025_08_59_30_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/3/880e79f2f715d8b8fbf3da0e79e04b70.jpg","text":"TemporaryFile(/tmp/multipartBody7860994413476205870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182543130,"filename":"image_03112025_08_59_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/3/bf7c0675efaa3d9ff1f34c23cb8f77c6.jpg","text":"TemporaryFile(/tmp/multipartBody7344394449265625994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182543130,"filename":"image_03112025_08_59_42_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079841","file1":"1392079838","file0":"1392079824","file4":"1392079850","file5":"1392079855","file3":"1392079845"},"map_files_photo_id_array":[{"photo_id":"1392079855","filename":"file5"},{"photo_id":"1392079841","filename":"file2"},{"photo_id":"1392079850","filename":"file4"},{"photo_id":"1392079838","filename":"file1"},{"photo_id":"1392079824","filename":"file0"},{"photo_id":"1392079845","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079845":["hashtag1","hashtag2"]},{"1392079824":["hashtag1","hashtag2"]},{"1392079850":["hashtag1","hashtag2"]},{"1392079838":["hashtag1","hashtag2"]},{"1392079841":["hashtag1","hashtag2"]},{"1392079855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079845, 1392079824, 1392079850, 1392079838, 1392079841, 1392079855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.789748668670654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:09:02.976195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_45_3686.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_48_2626.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_51_2732.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_54_3630.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_57_3015.jpg', '/home/pi/Desktop/images/03112025/08/59/image_03112025_09_00_00_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_45_3686.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_48_2626.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_51_2732.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_54_3630.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_08_59_57_3015.jpg
/home/pi/Desktop/images/03112025/08/59/image_03112025_09_00_00_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392079887","1392079883","1392079885","1392079879","1392079876","1392079881"],"photo_ids_order":["1392079876","1392079879","1392079881","1392079883","1392079885","1392079887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/47ed2b12b00d315f9d3db31574593fee.jpg","text":"TemporaryFile(/tmp/multipartBody1376964546036186905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182603923,"filename":"image_03112025_09_00_00_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/3/7171546de343ea3c56e2084690cb9f07.jpg","text":"TemporaryFile(/tmp/multipartBody1291513791348316284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182603923,"filename":"image_03112025_08_59_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/3/6a2c79b73450cd87b06859d3d2d3137b.jpg","text":"TemporaryFile(/tmp/multipartBody5627176512769957737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182603923,"filename":"image_03112025_08_59_57_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/3/29249f15a300f804ea9069683e876a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7954251594110006729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182603923,"filename":"image_03112025_08_59_48_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c95b17603143dbe0fb8c5a78a3f67986.jpg","text":"TemporaryFile(/tmp/multipartBody6371740021453654424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182603923,"filename":"image_03112025_08_59_45_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/3/347940f1ed0190cd2fc0849fd5691579.jpg","text":"TemporaryFile(/tmp/multipartBody2755071477458967613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182603923,"filename":"image_03112025_08_59_51_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079881","file1":"1392079879","file0":"1392079876","file4":"1392079885","file5":"1392079887","file3":"1392079883"},"map_files_photo_id_array":[{"photo_id":"1392079887","filename":"file5"},{"photo_id":"1392079881","filename":"file2"},{"photo_id":"1392079885","filename":"file4"},{"photo_id":"1392079879","filename":"file1"},{"photo_id":"1392079876","filename":"file0"},{"photo_id":"1392079883","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079887":["hashtag1","hashtag2"]},{"1392079883":["hashtag1","hashtag2"]},{"1392079885":["hashtag1","hashtag2"]},{"1392079879":["hashtag1","hashtag2"]},{"1392079876":["hashtag1","hashtag2"]},{"1392079881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079887, 1392079883, 1392079885, 1392079879, 1392079876, 1392079881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40056395530701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:09:42.117956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_08_3011.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_11_3729.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_14_2682.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_17_2827.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_20_3613.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_23_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_08_3011.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_11_3729.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_14_2682.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_17_2827.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_20_3613.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_23_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392079914","1392079902","1392079910","1392079907","1392079916","1392079915"],"photo_ids_order":["1392079902","1392079907","1392079910","1392079914","1392079915","1392079916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4919b5ea4547c9a154307e023dd73ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5059795448158213018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182642961,"filename":"image_03112025_09_00_17_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c68a7acf81a64bfd86f10c2858945196.jpg","text":"TemporaryFile(/tmp/multipartBody4624900693932421094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182642961,"filename":"image_03112025_09_00_08_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/3/1cfc7b5f683e8c7dfe428ed8bb92d2af.jpg","text":"TemporaryFile(/tmp/multipartBody1264658664373368371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182642961,"filename":"image_03112025_09_00_14_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/3/564bdf8f9c562ef62dc0259d92feda15.jpg","text":"TemporaryFile(/tmp/multipartBody6458436877304079664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182642961,"filename":"image_03112025_09_00_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/3/66490f899b04830d91758c51ea2f95f2.jpg","text":"TemporaryFile(/tmp/multipartBody5052097840306244309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182642961,"filename":"image_03112025_09_00_23_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/3/7b7b7f5bc4daba5416993a4954ce8e23.jpg","text":"TemporaryFile(/tmp/multipartBody6334423895767359053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182642961,"filename":"image_03112025_09_00_20_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079910","file1":"1392079907","file0":"1392079902","file4":"1392079915","file5":"1392079916","file3":"1392079914"},"map_files_photo_id_array":[{"photo_id":"1392079916","filename":"file5"},{"photo_id":"1392079910","filename":"file2"},{"photo_id":"1392079915","filename":"file4"},{"photo_id":"1392079907","filename":"file1"},{"photo_id":"1392079902","filename":"file0"},{"photo_id":"1392079914","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079914":["hashtag1","hashtag2"]},{"1392079902":["hashtag1","hashtag2"]},{"1392079910":["hashtag1","hashtag2"]},{"1392079907":["hashtag1","hashtag2"]},{"1392079916":["hashtag1","hashtag2"]},{"1392079915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079914, 1392079902, 1392079910, 1392079907, 1392079916, 1392079915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59687066078186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:10:22.198563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_26_2652.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_29_2777.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_32_3612.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_35_2822.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_38_2681.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_41_2904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_26_2652.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_29_2777.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_32_3612.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_35_2822.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_38_2681.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_41_2904.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392079935","1392079958","1392079931","1392079954","1392079945","1392079939"],"photo_ids_order":["1392079931","1392079935","1392079939","1392079945","1392079954","1392079958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/861192875a99d8be6268e94d060970b0.jpg","text":"TemporaryFile(/tmp/multipartBody8704283582874488697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182683007,"filename":"image_03112025_09_00_29_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/3/77a32898a3fa72960c1389766939d9b9.jpg","text":"TemporaryFile(/tmp/multipartBody7110063066310611484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182683007,"filename":"image_03112025_09_00_41_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/3/8302b67601e535ee355299fcc92fc505.jpg","text":"TemporaryFile(/tmp/multipartBody1227263472208998275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182683007,"filename":"image_03112025_09_00_26_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/3/92182bd74ed30624c0efd0f3a2af4125.jpg","text":"TemporaryFile(/tmp/multipartBody1393746502224240180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182683007,"filename":"image_03112025_09_00_38_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/3/4e7166b81d158068a0aeed23196bccb5.jpg","text":"TemporaryFile(/tmp/multipartBody1717409220954122553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182683007,"filename":"image_03112025_09_00_35_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/3/c51b1f86b5ab7367e85ca2d341f00e78.jpg","text":"TemporaryFile(/tmp/multipartBody7632208156153624383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182683007,"filename":"image_03112025_09_00_32_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079939","file1":"1392079935","file0":"1392079931","file4":"1392079954","file5":"1392079958","file3":"1392079945"},"map_files_photo_id_array":[{"photo_id":"1392079958","filename":"file5"},{"photo_id":"1392079939","filename":"file2"},{"photo_id":"1392079954","filename":"file4"},{"photo_id":"1392079935","filename":"file1"},{"photo_id":"1392079931","filename":"file0"},{"photo_id":"1392079945","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079935":["hashtag1","hashtag2"]},{"1392079958":["hashtag1","hashtag2"]},{"1392079931":["hashtag1","hashtag2"]},{"1392079954":["hashtag1","hashtag2"]},{"1392079945":["hashtag1","hashtag2"]},{"1392079939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079935, 1392079958, 1392079931, 1392079954, 1392079945, 1392079939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47058606147766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:11:03.166314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_44_3719.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_47_2764.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_53_5439.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_54_1629.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_56_1609.jpg', '/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_59_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_44_3719.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_47_2764.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_53_5439.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_54_1629.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_56_1609.jpg
/home/pi/Desktop/images/03112025/09/00/image_03112025_09_00_59_3703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392079962","1392080050","1392079968","1392080093","1392080010","1392079972"],"photo_ids_order":["1392079962","1392079968","1392079972","1392080010","1392080050","1392080093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e09aff6ddb5c46859e6991f4d8c0a555.jpg","text":"TemporaryFile(/tmp/multipartBody1730042677151823010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182724053,"filename":"image_03112025_09_00_44_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/3/0b63ba6acf6dd4ad3da26d48b2b6b0c6.jpg","text":"TemporaryFile(/tmp/multipartBody2785640361271490724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182724053,"filename":"image_03112025_09_00_56_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/3/457649c28924e650df60f4a5848b8598.jpg","text":"TemporaryFile(/tmp/multipartBody2285839711207279212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182724053,"filename":"image_03112025_09_00_47_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/3/89d4b9c8886032f62a4aaa3d48e76c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3816866444738158316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182724053,"filename":"image_03112025_09_00_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/3/610c2c095c40101ad4c43c892df652db.jpg","text":"TemporaryFile(/tmp/multipartBody6516697285771425860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182724053,"filename":"image_03112025_09_00_54_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/3/c4c984b0154037b07b51a95517b7e87f.jpg","text":"TemporaryFile(/tmp/multipartBody4737470711849443421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182724053,"filename":"image_03112025_09_00_53_5439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392079972","file1":"1392079968","file0":"1392079962","file4":"1392080050","file5":"1392080093","file3":"1392080010"},"map_files_photo_id_array":[{"photo_id":"1392080093","filename":"file5"},{"photo_id":"1392079972","filename":"file2"},{"photo_id":"1392080050","filename":"file4"},{"photo_id":"1392079968","filename":"file1"},{"photo_id":"1392079962","filename":"file0"},{"photo_id":"1392080010","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392079962":["hashtag1","hashtag2"]},{"1392080050":["hashtag1","hashtag2"]},{"1392079968":["hashtag1","hashtag2"]},{"1392080093":["hashtag1","hashtag2"]},{"1392080010":["hashtag1","hashtag2"]},{"1392079972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392079962, 1392080050, 1392079968, 1392080093, 1392080010, 1392079972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06869912147522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:11:42.450028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_02_2674.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_05_2669.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_08_3553.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_11_2703.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_14_2628.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_17_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_02_2674.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_05_2669.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_08_3553.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_11_2703.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_14_2628.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_17_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080209","1392080175","1392080166","1392080150","1392080191","1392080188"],"photo_ids_order":["1392080150","1392080166","1392080175","1392080188","1392080191","1392080209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c831656db8ff7efea89a4a03fc6a2f57.jpg","text":"TemporaryFile(/tmp/multipartBody534107706494909115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182763291,"filename":"image_03112025_09_01_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/3/328fcee927b44c629a86bb62e690a4c0.jpg","text":"TemporaryFile(/tmp/multipartBody1071554147923410510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182763291,"filename":"image_03112025_09_01_08_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/3/4ffeac7c88a8d059b745d7ead4eef00d.jpg","text":"TemporaryFile(/tmp/multipartBody54793259501050360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182763291,"filename":"image_03112025_09_01_05_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/3/220284ef4b01ad159dff63a15cefbc4a.jpg","text":"TemporaryFile(/tmp/multipartBody600693406195294317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182763291,"filename":"image_03112025_09_01_02_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/3/08e2fcdc80549a7a48e2cc2e09cf2d63.jpg","text":"TemporaryFile(/tmp/multipartBody8804769823163148581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182763291,"filename":"image_03112025_09_01_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/3/9283374a927600e53cf348d7f733fece.jpg","text":"TemporaryFile(/tmp/multipartBody693104838924746208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182763291,"filename":"image_03112025_09_01_11_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080175","file1":"1392080166","file0":"1392080150","file4":"1392080191","file5":"1392080209","file3":"1392080188"},"map_files_photo_id_array":[{"photo_id":"1392080209","filename":"file5"},{"photo_id":"1392080175","filename":"file2"},{"photo_id":"1392080191","filename":"file4"},{"photo_id":"1392080166","filename":"file1"},{"photo_id":"1392080150","filename":"file0"},{"photo_id":"1392080188","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080209":["hashtag1","hashtag2"]},{"1392080175":["hashtag1","hashtag2"]},{"1392080166":["hashtag1","hashtag2"]},{"1392080150":["hashtag1","hashtag2"]},{"1392080191":["hashtag1","hashtag2"]},{"1392080188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080209, 1392080175, 1392080166, 1392080150, 1392080191, 1392080188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80141496658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:12:22.553397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_20_2699.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_23_2833.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_26_2781.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_28_2794.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_32_3704.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_35_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_20_2699.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_23_2833.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_26_2781.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_28_2794.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_32_3704.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_35_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080236","1392080230","1392080226","1392080217","1392080222","1392080219"],"photo_ids_order":["1392080217","1392080219","1392080222","1392080226","1392080230","1392080236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3316847b795f885e3340f78f8491a483.jpg","text":"TemporaryFile(/tmp/multipartBody6831540178195633677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182803354,"filename":"image_03112025_09_01_35_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2b9d90101957272e5ee893edf7a9198c.jpg","text":"TemporaryFile(/tmp/multipartBody4950230662147175931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182803354,"filename":"image_03112025_09_01_32_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9c6cc21c86867c8b62ba7821a32a679d.jpg","text":"TemporaryFile(/tmp/multipartBody9037683987038017285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182803354,"filename":"image_03112025_09_01_28_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/3/324f380fcefe0bcf920f644c3e358f19.jpg","text":"TemporaryFile(/tmp/multipartBody5190462636407588774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182803354,"filename":"image_03112025_09_01_20_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/da987a4a907cca29797380c481eddc92.jpg","text":"TemporaryFile(/tmp/multipartBody4465912269329623257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182803354,"filename":"image_03112025_09_01_26_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/3/a97e6eaa2644fed15fb049108203a047.jpg","text":"TemporaryFile(/tmp/multipartBody5738683161191244856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182803354,"filename":"image_03112025_09_01_23_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080222","file1":"1392080219","file0":"1392080217","file4":"1392080230","file5":"1392080236","file3":"1392080226"},"map_files_photo_id_array":[{"photo_id":"1392080236","filename":"file5"},{"photo_id":"1392080222","filename":"file2"},{"photo_id":"1392080230","filename":"file4"},{"photo_id":"1392080219","filename":"file1"},{"photo_id":"1392080217","filename":"file0"},{"photo_id":"1392080226","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080236":["hashtag1","hashtag2"]},{"1392080230":["hashtag1","hashtag2"]},{"1392080226":["hashtag1","hashtag2"]},{"1392080217":["hashtag1","hashtag2"]},{"1392080222":["hashtag1","hashtag2"]},{"1392080219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080236, 1392080230, 1392080226, 1392080217, 1392080222, 1392080219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2190957069397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:13:03.507495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_38_3538.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_41_2635.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_44_2657.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_47_3698.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_50_2641.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_53_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_38_3538.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_41_2635.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_44_2657.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_47_3698.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_50_2641.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_53_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080271","1392080250","1392080253","1392080247","1392080275","1392080257"],"photo_ids_order":["1392080247","1392080250","1392080253","1392080257","1392080271","1392080275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf62c26dbe88db4677e239f6ac9ec76e.jpg","text":"TemporaryFile(/tmp/multipartBody519766033777899307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182844584,"filename":"image_03112025_09_01_50_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73e6501f1e574e07714170f02f5ce5b8.jpg","text":"TemporaryFile(/tmp/multipartBody1281188660197146426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182844584,"filename":"image_03112025_09_01_41_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/3/6cc3c446f81abd6d5bfe4d43391d2273.jpg","text":"TemporaryFile(/tmp/multipartBody8132725837621635709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182844584,"filename":"image_03112025_09_01_44_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4eef04f286bb2a30aadd6b26ac57305a.jpg","text":"TemporaryFile(/tmp/multipartBody5004544606456271252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182844584,"filename":"image_03112025_09_01_38_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/3/9bb777263d9e910dcee41a9424037092.jpg","text":"TemporaryFile(/tmp/multipartBody1282128954064030695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182844584,"filename":"image_03112025_09_01_53_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/3/c244f07814e61605a546ddbba4d48bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2231662726486551283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182844584,"filename":"image_03112025_09_01_47_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080253","file1":"1392080250","file0":"1392080247","file4":"1392080271","file5":"1392080275","file3":"1392080257"},"map_files_photo_id_array":[{"photo_id":"1392080275","filename":"file5"},{"photo_id":"1392080253","filename":"file2"},{"photo_id":"1392080271","filename":"file4"},{"photo_id":"1392080250","filename":"file1"},{"photo_id":"1392080247","filename":"file0"},{"photo_id":"1392080257","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080271":["hashtag1","hashtag2"]},{"1392080250":["hashtag1","hashtag2"]},{"1392080253":["hashtag1","hashtag2"]},{"1392080247":["hashtag1","hashtag2"]},{"1392080275":["hashtag1","hashtag2"]},{"1392080257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080271, 1392080250, 1392080253, 1392080247, 1392080275, 1392080257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08246350288391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:13:42.837082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_56_3636.jpg', '/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_59_2646.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_02_2709.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_05_3649.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_08_2697.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_11_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_56_3636.jpg
/home/pi/Desktop/images/03112025/09/01/image_03112025_09_01_59_2646.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_02_2709.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_05_3649.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_08_2697.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_11_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080289","1392080298","1392080301","1392080291","1392080294","1392080287"],"photo_ids_order":["1392080287","1392080289","1392080291","1392080294","1392080298","1392080301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b8ac6250c64e1596709918f031fdb9c.jpg","text":"TemporaryFile(/tmp/multipartBody8759041466272960490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182883750,"filename":"image_03112025_09_01_59_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/3/b0cee4969a6d01c0119e843fa9005100.jpg","text":"TemporaryFile(/tmp/multipartBody3421766301515092502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182883750,"filename":"image_03112025_09_02_08_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/3/8e1e4ef57806bc1a0a275b575d1fd2e0.jpg","text":"TemporaryFile(/tmp/multipartBody8673291688034112764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182883750,"filename":"image_03112025_09_02_11_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/3/05df5f8841c6e712a8c62d2a26641ec6.jpg","text":"TemporaryFile(/tmp/multipartBody2169168306000939002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182883750,"filename":"image_03112025_09_02_02_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/3/e3296382fcf91f857e16e06ead1a3db0.jpg","text":"TemporaryFile(/tmp/multipartBody6753898839068291482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182883750,"filename":"image_03112025_09_02_05_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/3/7753ce9e73ccb5641ccd54d4c530be13.jpg","text":"TemporaryFile(/tmp/multipartBody4692180510961686911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182883750,"filename":"image_03112025_09_01_56_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080291","file1":"1392080289","file0":"1392080287","file4":"1392080298","file5":"1392080301","file3":"1392080294"},"map_files_photo_id_array":[{"photo_id":"1392080301","filename":"file5"},{"photo_id":"1392080291","filename":"file2"},{"photo_id":"1392080298","filename":"file4"},{"photo_id":"1392080289","filename":"file1"},{"photo_id":"1392080287","filename":"file0"},{"photo_id":"1392080294","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080289":["hashtag1","hashtag2"]},{"1392080298":["hashtag1","hashtag2"]},{"1392080301":["hashtag1","hashtag2"]},{"1392080291":["hashtag1","hashtag2"]},{"1392080294":["hashtag1","hashtag2"]},{"1392080287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080289, 1392080298, 1392080301, 1392080291, 1392080294, 1392080287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31895136833191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:14:22.007116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_14_3604.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_17_2672.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_20_2671.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_23_3573.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_26_2532.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_28_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_14_3604.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_17_2672.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_20_2671.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_23_3573.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_26_2532.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_28_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":["1392080326","1392080320","1392080323","1392080316","1392080318","1392080312"],"photo_ids_order":["1392080312","1392080316","1392080318","1392080320","1392080323","1392080326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f629d6d66c3c0db34a368c53b3b19a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7470168194852455806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182925674,"filename":"image_03112025_09_02_28_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d7a97fea6fd7d8327127752ea20dfb02.jpg","text":"TemporaryFile(/tmp/multipartBody1798112132066888974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182925674,"filename":"image_03112025_09_02_23_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/3/394124549a68f01d3a51c464cee5fe02.jpg","text":"TemporaryFile(/tmp/multipartBody1116320785941041880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182925674,"filename":"image_03112025_09_02_26_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/3/8f223bb686e84db63964ee26c935ac9a.jpg","text":"TemporaryFile(/tmp/multipartBody2550369149772310102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182925674,"filename":"image_03112025_09_02_17_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/75457482131ecb162f8062d4b52b407a.jpg","text":"TemporaryFile(/tmp/multipartBody4685006191817004834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182925674,"filename":"image_03112025_09_02_20_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/3/8d00828442f44f5a411698b7820071c7.jpg","text":"TemporaryFile(/tmp/multipartBody3271034634314873679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182925674,"filename":"image_03112025_09_02_14_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080318","file1":"1392080316","file0":"1392080312","file4":"1392080323","file5":"1392080326","file3":"1392080320"},"map_files_photo_id_array":[{"photo_id":"1392080326","filename":"file5"},{"photo_id":"1392080318","filename":"file2"},{"photo_id":"1392080323","filename":"file4"},{"photo_id":"1392080316","filename":"file1"},{"photo_id":"1392080312","filename":"file0"},{"photo_id":"1392080320","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080326":["hashtag1","hashtag2"]},{"1392080320":["hashtag1","hashtag2"]},{"1392080323":["hashtag1","hashtag2"]},{"1392080316":["hashtag1","hashtag2"]},{"1392080318":["hashtag1","hashtag2"]},{"1392080312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080326, 1392080320, 1392080323, 1392080316, 1392080318, 1392080312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8347065448761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:15:22.120357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_32_3707.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_35_2751.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_37_2600.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_41_3704.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_44_2884.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_47_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_32_3707.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_35_2751.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_37_2600.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_41_3704.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_44_2884.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_47_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080341","1392080343","1392080360","1392080363","1392080357","1392080371"],"photo_ids_order":["1392080341","1392080343","1392080357","1392080360","1392080363","1392080371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4c233bb0ab20a64a9570ba3b8a028b90.jpg","text":"TemporaryFile(/tmp/multipartBody6200250946133689005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182982938,"filename":"image_03112025_09_02_32_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/3/667f51eacb61ed591626d0ae82084e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4661505059860824759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182982938,"filename":"image_03112025_09_02_35_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/3/13e9246f177d33f3a3209fcb82724993.jpg","text":"TemporaryFile(/tmp/multipartBody1967812400043790855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182982938,"filename":"image_03112025_09_02_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/3/5419dc95047fd0e1806d1b081c390a16.jpg","text":"TemporaryFile(/tmp/multipartBody6542730978487927597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182982938,"filename":"image_03112025_09_02_44_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/3/c6240acf5d154eab01d2d1a958c73f5e.jpg","text":"TemporaryFile(/tmp/multipartBody1885213982639033225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182982938,"filename":"image_03112025_09_02_37_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/3/d31cef90a17b243c265f0ef9cc2ca2a4.jpg","text":"TemporaryFile(/tmp/multipartBody9097275078055213423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762182982938,"filename":"image_03112025_09_02_47_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080357","file1":"1392080343","file0":"1392080341","file4":"1392080363","file5":"1392080371","file3":"1392080360"},"map_files_photo_id_array":[{"photo_id":"1392080371","filename":"file5"},{"photo_id":"1392080357","filename":"file2"},{"photo_id":"1392080363","filename":"file4"},{"photo_id":"1392080343","filename":"file1"},{"photo_id":"1392080341","filename":"file0"},{"photo_id":"1392080360","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080341":["hashtag1","hashtag2"]},{"1392080343":["hashtag1","hashtag2"]},{"1392080360":["hashtag1","hashtag2"]},{"1392080363":["hashtag1","hashtag2"]},{"1392080357":["hashtag1","hashtag2"]},{"1392080371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080341, 1392080343, 1392080360, 1392080363, 1392080357, 1392080371)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.193071365356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:16:22.368124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_50_3571.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_53_2853.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_56_2745.jpg', '/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_59_2821.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_01_2724.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_05_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_50_3571.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_53_2853.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_56_2745.jpg
/home/pi/Desktop/images/03112025/09/02/image_03112025_09_02_59_2821.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_01_2724.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_05_3705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080503","1392080472","1392080454","1392080489","1392080508","1392080459"],"photo_ids_order":["1392080454","1392080459","1392080472","1392080489","1392080503","1392080508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9433fa5cf496cb29b220800c13c9eb34.jpg","text":"TemporaryFile(/tmp/multipartBody48694516582257480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183043123,"filename":"image_03112025_09_03_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/3/7fd3d1e94520d6acef4679d90879b124.jpg","text":"TemporaryFile(/tmp/multipartBody1632266143339776391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183043123,"filename":"image_03112025_09_02_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/3/f99e42971e66f43a0e851f3539991821.jpg","text":"TemporaryFile(/tmp/multipartBody1859243512777486331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183043123,"filename":"image_03112025_09_02_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/3/2a26a643afd49f4c321ec2540f0a9f49.jpg","text":"TemporaryFile(/tmp/multipartBody4395077651775266801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183043123,"filename":"image_03112025_09_02_59_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/3/3220c4a24444fe359372c2cf1537b411.jpg","text":"TemporaryFile(/tmp/multipartBody4002269204444518094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183043123,"filename":"image_03112025_09_03_05_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/3/cdffc99cc7ae12db11c316a7639f5066.jpg","text":"TemporaryFile(/tmp/multipartBody3446274611344456268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183043123,"filename":"image_03112025_09_02_53_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080472","file1":"1392080459","file0":"1392080454","file4":"1392080503","file5":"1392080508","file3":"1392080489"},"map_files_photo_id_array":[{"photo_id":"1392080508","filename":"file5"},{"photo_id":"1392080472","filename":"file2"},{"photo_id":"1392080503","filename":"file4"},{"photo_id":"1392080459","filename":"file1"},{"photo_id":"1392080454","filename":"file0"},{"photo_id":"1392080489","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080503":["hashtag1","hashtag2"]},{"1392080472":["hashtag1","hashtag2"]},{"1392080454":["hashtag1","hashtag2"]},{"1392080489":["hashtag1","hashtag2"]},{"1392080508":["hashtag1","hashtag2"]},{"1392080459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080503, 1392080472, 1392080454, 1392080489, 1392080508, 1392080459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08784198760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:17:22.499106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_08_2625.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_10_2681.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_14_3602.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_17_2596.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_19_2704.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_23_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_08_2625.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_10_2681.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_14_3602.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_17_2596.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_19_2704.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_23_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080539","1392080550","1392080538","1392080546","1392080534","1392080542"],"photo_ids_order":["1392080534","1392080538","1392080539","1392080542","1392080546","1392080550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b17cbcde27d081c94cba1570a5531a45.jpg","text":"TemporaryFile(/tmp/multipartBody1358863254536712745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183103239,"filename":"image_03112025_09_03_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/3/9e7ffb2f24f2a5ba2030f80a51e2e3e5.jpg","text":"TemporaryFile(/tmp/multipartBody4512056311282876792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183103239,"filename":"image_03112025_09_03_23_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/3/8acc3b11f0bd9088d292da9a1708d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody5625823352138626683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183103239,"filename":"image_03112025_09_03_10_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/413330389ff1d5cfe2186d06e5ba5a11.jpg","text":"TemporaryFile(/tmp/multipartBody5686746742960693411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183103239,"filename":"image_03112025_09_03_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/3/b9dbc079b54b69b059b167daac1101cf.jpg","text":"TemporaryFile(/tmp/multipartBody838560326112835570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183103239,"filename":"image_03112025_09_03_08_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/3/cf155dca35704d41a5806207ce36fa8d.jpg","text":"TemporaryFile(/tmp/multipartBody3410391079990034355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183103239,"filename":"image_03112025_09_03_17_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080539","file1":"1392080538","file0":"1392080534","file4":"1392080546","file5":"1392080550","file3":"1392080542"},"map_files_photo_id_array":[{"photo_id":"1392080550","filename":"file5"},{"photo_id":"1392080539","filename":"file2"},{"photo_id":"1392080546","filename":"file4"},{"photo_id":"1392080538","filename":"file1"},{"photo_id":"1392080534","filename":"file0"},{"photo_id":"1392080542","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080539":["hashtag1","hashtag2"]},{"1392080550":["hashtag1","hashtag2"]},{"1392080538":["hashtag1","hashtag2"]},{"1392080546":["hashtag1","hashtag2"]},{"1392080534":["hashtag1","hashtag2"]},{"1392080542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080539, 1392080550, 1392080538, 1392080546, 1392080534, 1392080542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.328012466430664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:18:03.096693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_26_2677.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_28_2657.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_32_3580.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_35_2653.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_37_2745.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_41_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_26_2677.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_28_2657.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_32_3580.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_35_2653.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_37_2745.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_41_3713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080583","1392080602","1392080631","1392080619","1392080604","1392080593"],"photo_ids_order":["1392080583","1392080593","1392080602","1392080604","1392080619","1392080631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b150e07acb61a4f24c06ff67b2d93058.jpg","text":"TemporaryFile(/tmp/multipartBody7436407349025240180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183143967,"filename":"image_03112025_09_03_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/3/26575d6acc4c4c6cbea4665c2b889a3c.jpg","text":"TemporaryFile(/tmp/multipartBody1213287869771192189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183143967,"filename":"image_03112025_09_03_32_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/3/5002302464ac4bf0ee78e7cbdfdcc570.jpg","text":"TemporaryFile(/tmp/multipartBody8320612599515616596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183143967,"filename":"image_03112025_09_03_41_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5681cca5459860ded95ea0c8dfeeade5.jpg","text":"TemporaryFile(/tmp/multipartBody5854349245855083241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183143967,"filename":"image_03112025_09_03_37_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/3/75087f280d06804b6cb9d1c950e994bd.jpg","text":"TemporaryFile(/tmp/multipartBody7292978404712448609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183143967,"filename":"image_03112025_09_03_35_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/3/7b71cbe6d651e2e068e59fecc0500f89.jpg","text":"TemporaryFile(/tmp/multipartBody5962139398630664472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183143967,"filename":"image_03112025_09_03_28_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080602","file1":"1392080593","file0":"1392080583","file4":"1392080619","file5":"1392080631","file3":"1392080604"},"map_files_photo_id_array":[{"photo_id":"1392080631","filename":"file5"},{"photo_id":"1392080602","filename":"file2"},{"photo_id":"1392080619","filename":"file4"},{"photo_id":"1392080593","filename":"file1"},{"photo_id":"1392080583","filename":"file0"},{"photo_id":"1392080604","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080583":["hashtag1","hashtag2"]},{"1392080602":["hashtag1","hashtag2"]},{"1392080631":["hashtag1","hashtag2"]},{"1392080619":["hashtag1","hashtag2"]},{"1392080604":["hashtag1","hashtag2"]},{"1392080593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080583, 1392080602, 1392080631, 1392080619, 1392080604, 1392080593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81161427497864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:18:42.702478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_44_2589.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_46_2674.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_50_3751.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_53_2615.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_55_2643.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_59_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_44_2589.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_46_2674.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_50_3751.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_53_2615.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_55_2643.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_59_3753.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3697166442871094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:19:02.704795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_44_2589.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_46_2674.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_50_3751.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_53_2615.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_55_2643.jpg', '/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_59_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_44_2589.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_46_2674.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_50_3751.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_53_2615.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_55_2643.jpg
/home/pi/Desktop/images/03112025/09/03/image_03112025_09_03_59_3753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080751","1392080736","1392080756","1392080750","1392080753","1392080735"],"photo_ids_order":["1392080735","1392080736","1392080750","1392080751","1392080753","1392080756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bd907d5f34798e39aabdf0ff60c5e7e0.jpg","text":"TemporaryFile(/tmp/multipartBody3958913987866286520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183203480,"filename":"image_03112025_09_03_53_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/85b9e12a9dc9a1bf65a82e0d7165e4b2.jpg","text":"TemporaryFile(/tmp/multipartBody3904922406993881002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183203480,"filename":"image_03112025_09_03_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/3/b9cb18d1def68ba64085baf56bc57603.jpg","text":"TemporaryFile(/tmp/multipartBody6706506564143191013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183203480,"filename":"image_03112025_09_03_59_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/3/190fabccdeda9cffc5560e04d3443f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5596322352989811606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183203480,"filename":"image_03112025_09_03_50_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/3/517444217162f5da3b71f203b9cc4ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4429530760896695425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183203480,"filename":"image_03112025_09_03_55_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/3/d4dbb8f1527aa8d2f9e5466288260df0.jpg","text":"TemporaryFile(/tmp/multipartBody7292108512760507944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183203480,"filename":"image_03112025_09_03_44_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080750","file1":"1392080736","file0":"1392080735","file4":"1392080753","file5":"1392080756","file3":"1392080751"},"map_files_photo_id_array":[{"photo_id":"1392080756","filename":"file5"},{"photo_id":"1392080750","filename":"file2"},{"photo_id":"1392080753","filename":"file4"},{"photo_id":"1392080736","filename":"file1"},{"photo_id":"1392080735","filename":"file0"},{"photo_id":"1392080751","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080751":["hashtag1","hashtag2"]},{"1392080736":["hashtag1","hashtag2"]},{"1392080756":["hashtag1","hashtag2"]},{"1392080750":["hashtag1","hashtag2"]},{"1392080753":["hashtag1","hashtag2"]},{"1392080735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080751, 1392080736, 1392080756, 1392080750, 1392080753, 1392080735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.434388160705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:19:41.859658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_02_2662.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_04_2662.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_07_2923.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_11_3629.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_14_2652.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_16_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_02_2662.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_04_2662.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_07_2923.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_11_3629.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_14_2652.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_16_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080836","1392080829","1392080843","1392080834","1392080848","1392080833"],"photo_ids_order":["1392080829","1392080833","1392080834","1392080836","1392080843","1392080848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0eafee419d5354405855d5e58cbe198a.jpg","text":"TemporaryFile(/tmp/multipartBody2595177081104326381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183242700,"filename":"image_03112025_09_04_11_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/3/eaaa77e893f2419b49baf4bd44412fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4597921444940787426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183242700,"filename":"image_03112025_09_04_02_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f25762ba3f0dac04491aeeca4060e7a1.jpg","text":"TemporaryFile(/tmp/multipartBody4365887972321056985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183242700,"filename":"image_03112025_09_04_14_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/3/c0e5b7d393a73e156c089b4b29ddc3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5565110180678828927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183242700,"filename":"image_03112025_09_04_07_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/3/cb25f02e2682fd17de74d79166ac5e16.jpg","text":"TemporaryFile(/tmp/multipartBody3543857525216258784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183242700,"filename":"image_03112025_09_04_16_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/3/0f10bc5016a9b8c20341e52524262606.jpg","text":"TemporaryFile(/tmp/multipartBody6356014049040418729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183242700,"filename":"image_03112025_09_04_04_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080834","file1":"1392080833","file0":"1392080829","file4":"1392080843","file5":"1392080848","file3":"1392080836"},"map_files_photo_id_array":[{"photo_id":"1392080848","filename":"file5"},{"photo_id":"1392080834","filename":"file2"},{"photo_id":"1392080843","filename":"file4"},{"photo_id":"1392080833","filename":"file1"},{"photo_id":"1392080829","filename":"file0"},{"photo_id":"1392080836","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080836":["hashtag1","hashtag2"]},{"1392080829":["hashtag1","hashtag2"]},{"1392080843":["hashtag1","hashtag2"]},{"1392080834":["hashtag1","hashtag2"]},{"1392080848":["hashtag1","hashtag2"]},{"1392080833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080836, 1392080829, 1392080843, 1392080834, 1392080848, 1392080833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32231688499451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:20:22.026125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_20_3582.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_22_2543.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_26_3570.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_29_2706.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_31_2557.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_35_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_20_3582.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_22_2543.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_26_3570.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_29_2706.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_31_2557.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_35_3713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392080879","1392080873","1392080864","1392080881","1392080915","1392080869"],"photo_ids_order":["1392080864","1392080869","1392080873","1392080879","1392080881","1392080915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b2d5d8a66a7abdaffae1046b459885c.jpg","text":"TemporaryFile(/tmp/multipartBody8098331341536646371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183282818,"filename":"image_03112025_09_04_29_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/3/20e95165fb5f25e0f46591a228aca864.jpg","text":"TemporaryFile(/tmp/multipartBody9855656274579044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183282818,"filename":"image_03112025_09_04_26_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/3/85e573cacccb7e2d30b183532b34640d.jpg","text":"TemporaryFile(/tmp/multipartBody7857961950248169144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183282818,"filename":"image_03112025_09_04_20_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/3/189f791e156c33a894be17e22d130cb0.jpg","text":"TemporaryFile(/tmp/multipartBody7910481936719293247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183282818,"filename":"image_03112025_09_04_31_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/3/3c1a51ccd53a33b5ca7073892635dfd4.jpg","text":"TemporaryFile(/tmp/multipartBody5308697509278181800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183282818,"filename":"image_03112025_09_04_35_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/3/c007c53ff0e06fb0889d40bbe610bd2b.jpg","text":"TemporaryFile(/tmp/multipartBody7951915393757257096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183282818,"filename":"image_03112025_09_04_22_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392080873","file1":"1392080869","file0":"1392080864","file4":"1392080881","file5":"1392080915","file3":"1392080879"},"map_files_photo_id_array":[{"photo_id":"1392080915","filename":"file5"},{"photo_id":"1392080873","filename":"file2"},{"photo_id":"1392080881","filename":"file4"},{"photo_id":"1392080869","filename":"file1"},{"photo_id":"1392080864","filename":"file0"},{"photo_id":"1392080879","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392080879":["hashtag1","hashtag2"]},{"1392080873":["hashtag1","hashtag2"]},{"1392080864":["hashtag1","hashtag2"]},{"1392080881":["hashtag1","hashtag2"]},{"1392080915":["hashtag1","hashtag2"]},{"1392080869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392080879, 1392080873, 1392080864, 1392080881, 1392080915, 1392080869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14064860343933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:21:02.814252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_38_2617.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_40_2558.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_44_3761.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_47_2624.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_49_2755.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_53_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_38_2617.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_40_2558.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_44_3761.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_47_2624.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_49_2755.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_53_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392081095","1392081065","1392081082","1392081067","1392081055","1392081099"],"photo_ids_order":["1392081055","1392081065","1392081067","1392081082","1392081095","1392081099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73aefd71092f047468a1b2b56921ae4b.jpg","text":"TemporaryFile(/tmp/multipartBody7633092217761259420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183323737,"filename":"image_03112025_09_04_49_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/3/f148d7233f2e10bb981e2338aba442d7.jpg","text":"TemporaryFile(/tmp/multipartBody1034771243997024897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183323737,"filename":"image_03112025_09_04_40_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/3/8e4ba369c4b2acb97d24f9a5983aea0e.jpg","text":"TemporaryFile(/tmp/multipartBody6354083832062040770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183323737,"filename":"image_03112025_09_04_47_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/3/6c716b6750e424f662864afebad59a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6068308620501430312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183323737,"filename":"image_03112025_09_04_44_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/3/86b873ec3c095d87ae6c60f2c8ed2c20.jpg","text":"TemporaryFile(/tmp/multipartBody331741110146392277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183323737,"filename":"image_03112025_09_04_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/3/15eb7b639fae55710d74434e7a97ab35.jpg","text":"TemporaryFile(/tmp/multipartBody1209113538458670212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183323737,"filename":"image_03112025_09_04_53_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392081067","file1":"1392081065","file0":"1392081055","file4":"1392081095","file5":"1392081099","file3":"1392081082"},"map_files_photo_id_array":[{"photo_id":"1392081099","filename":"file5"},{"photo_id":"1392081067","filename":"file2"},{"photo_id":"1392081095","filename":"file4"},{"photo_id":"1392081065","filename":"file1"},{"photo_id":"1392081055","filename":"file0"},{"photo_id":"1392081082","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392081095":["hashtag1","hashtag2"]},{"1392081065":["hashtag1","hashtag2"]},{"1392081082":["hashtag1","hashtag2"]},{"1392081067":["hashtag1","hashtag2"]},{"1392081055":["hashtag1","hashtag2"]},{"1392081099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392081095, 1392081065, 1392081082, 1392081067, 1392081055, 1392081099)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.7712299823761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:22:02.837900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_56_2611.jpg', '/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_58_2651.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_02_3571.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_04_2757.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_07_2746.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_11_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_56_2611.jpg
/home/pi/Desktop/images/03112025/09/04/image_03112025_09_04_58_2651.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_02_3571.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_04_2757.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_07_2746.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_11_3748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392081118","1392081114","1392081122","1392081125","1392081130","1392081127"],"photo_ids_order":["1392081114","1392081118","1392081122","1392081125","1392081127","1392081130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12385a87c258163421d28bbc4547874f.jpg","text":"TemporaryFile(/tmp/multipartBody5186995301424749436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183383692,"filename":"image_03112025_09_04_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/3/02c0defab6cfb33b0ab2476a6c5f893d.jpg","text":"TemporaryFile(/tmp/multipartBody5916239569176664743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183383692,"filename":"image_03112025_09_04_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/3/4ed35b5e001a9813174cdc1a64c53117.jpg","text":"TemporaryFile(/tmp/multipartBody8256978909826908706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183383692,"filename":"image_03112025_09_05_02_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/3/5f3c9bcf881d4172877c107968aded7f.jpg","text":"TemporaryFile(/tmp/multipartBody5358700750653491003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183383692,"filename":"image_03112025_09_05_04_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/3/a0ce19bb20b9bb1f6165ff11c96f3323.jpg","text":"TemporaryFile(/tmp/multipartBody7344599873941929811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183383692,"filename":"image_03112025_09_05_11_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/3/3eb4fa30801e25d478960793c9cc649b.jpg","text":"TemporaryFile(/tmp/multipartBody465270521458789716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183383692,"filename":"image_03112025_09_05_07_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392081122","file1":"1392081118","file0":"1392081114","file4":"1392081127","file5":"1392081130","file3":"1392081125"},"map_files_photo_id_array":[{"photo_id":"1392081130","filename":"file5"},{"photo_id":"1392081122","filename":"file2"},{"photo_id":"1392081127","filename":"file4"},{"photo_id":"1392081118","filename":"file1"},{"photo_id":"1392081114","filename":"file0"},{"photo_id":"1392081125","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392081118":["hashtag1","hashtag2"]},{"1392081114":["hashtag1","hashtag2"]},{"1392081122":["hashtag1","hashtag2"]},{"1392081125":["hashtag1","hashtag2"]},{"1392081130":["hashtag1","hashtag2"]},{"1392081127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392081118, 1392081114, 1392081122, 1392081125, 1392081130, 1392081127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90260553359985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:22:42.337534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_14_2571.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_16_2589.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_20_3555.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_23_2866.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_25_2693.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_29_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_14_2571.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_16_2589.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_20_3555.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_23_2866.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_25_2693.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_29_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392081141","1392081150","1392081147","1392081146","1392081149","1392081143"],"photo_ids_order":["1392081141","1392081143","1392081146","1392081147","1392081149","1392081150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d34fee22366b79b372727d0bccea725.jpg","text":"TemporaryFile(/tmp/multipartBody4383685650062681177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183427513,"filename":"image_03112025_09_05_14_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/3/9385564f4f2fac78a92e380415d2d8ad.jpg","text":"TemporaryFile(/tmp/multipartBody8363261981265213032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183427513,"filename":"image_03112025_09_05_29_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bccfc6434e2e56de8508d8dc742a75db.jpg","text":"TemporaryFile(/tmp/multipartBody3010107877368506639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183427513,"filename":"image_03112025_09_05_23_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/69788717af3223915afa6714052ba20f.jpg","text":"TemporaryFile(/tmp/multipartBody2471883150146078137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183427513,"filename":"image_03112025_09_05_20_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/3/296b2b7eb1ee8f4285282d0c45dd51bc.jpg","text":"TemporaryFile(/tmp/multipartBody6275208677878443879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183427513,"filename":"image_03112025_09_05_25_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/3/7d68173a4ed037fc6098e019933ff3ba.jpg","text":"TemporaryFile(/tmp/multipartBody3851927955580963773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183427513,"filename":"image_03112025_09_05_16_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392081146","file1":"1392081143","file0":"1392081141","file4":"1392081149","file5":"1392081150","file3":"1392081147"},"map_files_photo_id_array":[{"photo_id":"1392081150","filename":"file5"},{"photo_id":"1392081146","filename":"file2"},{"photo_id":"1392081149","filename":"file4"},{"photo_id":"1392081143","filename":"file1"},{"photo_id":"1392081141","filename":"file0"},{"photo_id":"1392081147","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392081141":["hashtag1","hashtag2"]},{"1392081150":["hashtag1","hashtag2"]},{"1392081147":["hashtag1","hashtag2"]},{"1392081146":["hashtag1","hashtag2"]},{"1392081149":["hashtag1","hashtag2"]},{"1392081143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392081141, 1392081150, 1392081147, 1392081146, 1392081149, 1392081143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16915822029114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:23:42.478740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_32_2921.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_34_2545.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_38_3577.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_41_2684.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_43_2629.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_47_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_32_2921.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_34_2545.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_38_3577.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_41_2684.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_43_2629.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_47_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392081171","1392081180","1392081177","1392081170","1392081178","1392081172"],"photo_ids_order":["1392081170","1392081171","1392081172","1392081177","1392081178","1392081180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5249cf477d6c44f9cacddbc1ce3b55ad.jpg","text":"TemporaryFile(/tmp/multipartBody1606869799834491432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183483312,"filename":"image_03112025_09_05_34_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/3/57c56ff652a0cf5b992001f91733f859.jpg","text":"TemporaryFile(/tmp/multipartBody2154874656592000570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183483312,"filename":"image_03112025_09_05_47_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/3/ebe1b79d0100b613f5e04e916d49ca29.jpg","text":"TemporaryFile(/tmp/multipartBody1148448720376407206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183483312,"filename":"image_03112025_09_05_41_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/3/50fc7d2d5c74c5026f5522e53cd81265.jpg","text":"TemporaryFile(/tmp/multipartBody484812246282307128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183483312,"filename":"image_03112025_09_05_32_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/3/79e5252d39d7138b070d41c765f75580.jpg","text":"TemporaryFile(/tmp/multipartBody5911507822591008602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183483312,"filename":"image_03112025_09_05_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/3/133e8562188a7d9b3549e71d01b71b78.jpg","text":"TemporaryFile(/tmp/multipartBody4352933298713008304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183483312,"filename":"image_03112025_09_05_38_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392081172","file1":"1392081171","file0":"1392081170","file4":"1392081178","file5":"1392081180","file3":"1392081177"},"map_files_photo_id_array":[{"photo_id":"1392081180","filename":"file5"},{"photo_id":"1392081172","filename":"file2"},{"photo_id":"1392081178","filename":"file4"},{"photo_id":"1392081171","filename":"file1"},{"photo_id":"1392081170","filename":"file0"},{"photo_id":"1392081177","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392081171":["hashtag1","hashtag2"]},{"1392081180":["hashtag1","hashtag2"]},{"1392081177":["hashtag1","hashtag2"]},{"1392081170":["hashtag1","hashtag2"]},{"1392081178":["hashtag1","hashtag2"]},{"1392081172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392081171, 1392081180, 1392081177, 1392081170, 1392081178, 1392081172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45063900947571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:24:22.625207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_50_2583.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_52_2625.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_56_3545.jpg', '/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_59_2790.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_01_2680.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_05_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_50_2583.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_52_2625.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_56_3545.jpg
/home/pi/Desktop/images/03112025/09/05/image_03112025_09_05_59_2790.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_01_2680.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_05_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392081192","1392081195","1392081197","1392081188","1392081200","1392081203"],"photo_ids_order":["1392081188","1392081192","1392081195","1392081197","1392081200","1392081203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d24999c377581f5791a19e65f5a76b94.jpg","text":"TemporaryFile(/tmp/multipartBody3939333157718399670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183523444,"filename":"image_03112025_09_05_52_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/3/2a3b353dcf2374804f1537ac634b6383.jpg","text":"TemporaryFile(/tmp/multipartBody5785894641213232098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183523444,"filename":"image_03112025_09_05_56_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/3/51aa976619865128c292d8d084ebd7f4.jpg","text":"TemporaryFile(/tmp/multipartBody860183800039123370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183523444,"filename":"image_03112025_09_05_59_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fdb28019f5899b21dd1895abee468233.jpg","text":"TemporaryFile(/tmp/multipartBody8271498762715476451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183523444,"filename":"image_03112025_09_05_50_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/3/3f70d37e098226e2971800ee64c0c2ca.jpg","text":"TemporaryFile(/tmp/multipartBody822760909180828582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183523444,"filename":"image_03112025_09_06_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/3/faf59dad48cdd776c6418f900d3206e3.jpg","text":"TemporaryFile(/tmp/multipartBody7285160357922223985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183523444,"filename":"image_03112025_09_06_05_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392081195","file1":"1392081192","file0":"1392081188","file4":"1392081200","file5":"1392081203","file3":"1392081197"},"map_files_photo_id_array":[{"photo_id":"1392081203","filename":"file5"},{"photo_id":"1392081195","filename":"file2"},{"photo_id":"1392081200","filename":"file4"},{"photo_id":"1392081192","filename":"file1"},{"photo_id":"1392081188","filename":"file0"},{"photo_id":"1392081197","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392081192":["hashtag1","hashtag2"]},{"1392081195":["hashtag1","hashtag2"]},{"1392081197":["hashtag1","hashtag2"]},{"1392081188":["hashtag1","hashtag2"]},{"1392081200":["hashtag1","hashtag2"]},{"1392081203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392081192, 1392081195, 1392081197, 1392081188, 1392081200, 1392081203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4467339515686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:25:02.687722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_07_2602.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_11_3565.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_14_2786.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_16_2595.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_19_2680.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_23_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_07_2602.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_11_3565.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_14_2786.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_16_2595.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_19_2680.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_23_3761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392081217","1392081222","1392081219","1392081210","1392081212","1392081214"],"photo_ids_order":["1392081210","1392081212","1392081214","1392081217","1392081219","1392081222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1354d9356e04658134981033852121fa.jpg","text":"TemporaryFile(/tmp/multipartBody3313738725119944595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183563649,"filename":"image_03112025_09_06_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/3/3370866e6e16f4edcab23ee0966d8358.jpg","text":"TemporaryFile(/tmp/multipartBody3896633039307298576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183563649,"filename":"image_03112025_09_06_23_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e24a22d211e7a54c8bce9afea753b48c.jpg","text":"TemporaryFile(/tmp/multipartBody724296147728051251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183563649,"filename":"image_03112025_09_06_19_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be373037fb7bd6ab08d096d681d02e61.jpg","text":"TemporaryFile(/tmp/multipartBody5606540701722630056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183563649,"filename":"image_03112025_09_06_07_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2e5c5eeecdcc78f5d572af936eda2349.jpg","text":"TemporaryFile(/tmp/multipartBody4363880208037502859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183563649,"filename":"image_03112025_09_06_11_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/3/8c61d0fc39607d428c81a3c665e5843f.jpg","text":"TemporaryFile(/tmp/multipartBody865634529236800937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183563649,"filename":"image_03112025_09_06_14_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392081214","file1":"1392081212","file0":"1392081210","file4":"1392081219","file5":"1392081222","file3":"1392081217"},"map_files_photo_id_array":[{"photo_id":"1392081222","filename":"file5"},{"photo_id":"1392081214","filename":"file2"},{"photo_id":"1392081219","filename":"file4"},{"photo_id":"1392081212","filename":"file1"},{"photo_id":"1392081210","filename":"file0"},{"photo_id":"1392081217","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392081217":["hashtag1","hashtag2"]},{"1392081222":["hashtag1","hashtag2"]},{"1392081219":["hashtag1","hashtag2"]},{"1392081210":["hashtag1","hashtag2"]},{"1392081212":["hashtag1","hashtag2"]},{"1392081214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392081217, 1392081222, 1392081219, 1392081210, 1392081212, 1392081214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.817885637283325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:25:42.008283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_25_2573.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_28_2711.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_32_3778.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_34_2582.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_37_2910.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_40_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_25_2573.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_28_2711.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_32_3778.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_34_2582.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_37_2910.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_40_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392081417","1392081395","1392081485","1392081353","1392081434","1392081428"],"photo_ids_order":["1392081353","1392081395","1392081417","1392081428","1392081434","1392081485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/25ed0a02ac9007679025ade298c470ff.jpg","text":"TemporaryFile(/tmp/multipartBody975756991910527526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183603322,"filename":"image_03112025_09_06_32_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/3/1ffb9048b1fd4b51cb9916362355e0c1.jpg","text":"TemporaryFile(/tmp/multipartBody3731992069755400332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183603322,"filename":"image_03112025_09_06_28_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d79327a98116413e237f65d256b2e359.jpg","text":"TemporaryFile(/tmp/multipartBody3922727383594653674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183603322,"filename":"image_03112025_09_06_40_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/3/6dc3ad5b58323d4358728689c0499370.jpg","text":"TemporaryFile(/tmp/multipartBody3202687480828967593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183603322,"filename":"image_03112025_09_06_25_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/487883e3ba54823edf33c23e2114c6f3.jpg","text":"TemporaryFile(/tmp/multipartBody5411886404486313579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183603322,"filename":"image_03112025_09_06_37_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/3/83208ad024ea435c487b153e3a9ecd2a.jpg","text":"TemporaryFile(/tmp/multipartBody7285162575482141135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183603322,"filename":"image_03112025_09_06_34_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392081417","file1":"1392081395","file0":"1392081353","file4":"1392081434","file5":"1392081485","file3":"1392081428"},"map_files_photo_id_array":[{"photo_id":"1392081485","filename":"file5"},{"photo_id":"1392081417","filename":"file2"},{"photo_id":"1392081434","filename":"file4"},{"photo_id":"1392081395","filename":"file1"},{"photo_id":"1392081353","filename":"file0"},{"photo_id":"1392081428","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392081417":["hashtag1","hashtag2"]},{"1392081395":["hashtag1","hashtag2"]},{"1392081485":["hashtag1","hashtag2"]},{"1392081353":["hashtag1","hashtag2"]},{"1392081434":["hashtag1","hashtag2"]},{"1392081428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392081417, 1392081395, 1392081485, 1392081353, 1392081434, 1392081428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60530138015747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:26:22.131672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_44_3579.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_46_2518.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_50_3661.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_52_2613.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_55_2569.jpg', '/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_59_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_44_3579.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_46_2518.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_50_3661.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_52_2613.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_55_2569.jpg
/home/pi/Desktop/images/03112025/09/06/image_03112025_09_06_59_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392081684","1392081603","1392081617","1392081595","1392081608","1392081646"],"photo_ids_order":["1392081595","1392081603","1392081608","1392081617","1392081646","1392081684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3a6d5bcc130ba1390f3f6bb1a5757c61.jpg","text":"TemporaryFile(/tmp/multipartBody5782380878656347665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183642924,"filename":"image_03112025_09_06_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/3/cb36ea5226342b309cf3a2f0cdb74141.jpg","text":"TemporaryFile(/tmp/multipartBody6565512031952090936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183642924,"filename":"image_03112025_09_06_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/3/947950982091de88b3dffe3f54f22df4.jpg","text":"TemporaryFile(/tmp/multipartBody6595541442608928737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183642924,"filename":"image_03112025_09_06_52_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/217d00d1f9d4d111da737477c030e093.jpg","text":"TemporaryFile(/tmp/multipartBody7509847584492358437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183642924,"filename":"image_03112025_09_06_44_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/3/17ef8695adc882824711ca56f9cc5115.jpg","text":"TemporaryFile(/tmp/multipartBody5791988347036110290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183642924,"filename":"image_03112025_09_06_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/3/7f8fa3bdf6a6d36490f0bcc241305585.jpg","text":"TemporaryFile(/tmp/multipartBody3109493560066604369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183642924,"filename":"image_03112025_09_06_55_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392081608","file1":"1392081603","file0":"1392081595","file4":"1392081646","file5":"1392081684","file3":"1392081617"},"map_files_photo_id_array":[{"photo_id":"1392081684","filename":"file5"},{"photo_id":"1392081608","filename":"file2"},{"photo_id":"1392081646","filename":"file4"},{"photo_id":"1392081603","filename":"file1"},{"photo_id":"1392081595","filename":"file0"},{"photo_id":"1392081617","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392081684":["hashtag1","hashtag2"]},{"1392081603":["hashtag1","hashtag2"]},{"1392081617":["hashtag1","hashtag2"]},{"1392081595":["hashtag1","hashtag2"]},{"1392081608":["hashtag1","hashtag2"]},{"1392081646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392081684, 1392081603, 1392081617, 1392081595, 1392081608, 1392081646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40463089942932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:27:02.988213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_01_2695.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_04_2597.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_08_3774.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_11_2708.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_13_2665.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_16_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_01_2695.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_04_2597.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_08_3774.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_11_2708.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_13_2665.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_16_2697.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8470702171325684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:27:22.304615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_01_2695.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_04_2597.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_08_3774.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_11_2708.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_13_2665.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_16_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_01_2695.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_04_2597.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_08_3774.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_11_2708.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_13_2665.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_16_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392081972","1392081930","1392081852","1392081770","1392081893","1392081814"],"photo_ids_order":["1392081770","1392081814","1392081852","1392081893","1392081930","1392081972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe01078ceffdcbba11c32f5e2125ea56.jpg","text":"TemporaryFile(/tmp/multipartBody312145248070041989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183703023,"filename":"image_03112025_09_07_16_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3efbe04a62144326a1a3f8a5be33369f.jpg","text":"TemporaryFile(/tmp/multipartBody181567318877794959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183703023,"filename":"image_03112025_09_07_13_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/3/67ea0f45e9ef1829ab2489874e4b9182.jpg","text":"TemporaryFile(/tmp/multipartBody2429356438906054330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183703023,"filename":"image_03112025_09_07_08_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/3/dde397b6876528141bb53680d52efab4.jpg","text":"TemporaryFile(/tmp/multipartBody2175585549364104398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183703023,"filename":"image_03112025_09_07_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/3/95f621f95f71eebed53dc1e12628f5be.jpg","text":"TemporaryFile(/tmp/multipartBody6590375214131109512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183703023,"filename":"image_03112025_09_07_11_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/3/f0f85b5999388993322041a5eddcaea5.jpg","text":"TemporaryFile(/tmp/multipartBody539535502942267170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183703023,"filename":"image_03112025_09_07_04_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392081852","file1":"1392081814","file0":"1392081770","file4":"1392081930","file5":"1392081972","file3":"1392081893"},"map_files_photo_id_array":[{"photo_id":"1392081972","filename":"file5"},{"photo_id":"1392081852","filename":"file2"},{"photo_id":"1392081930","filename":"file4"},{"photo_id":"1392081814","filename":"file1"},{"photo_id":"1392081770","filename":"file0"},{"photo_id":"1392081893","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392081972":["hashtag1","hashtag2"]},{"1392081930":["hashtag1","hashtag2"]},{"1392081852":["hashtag1","hashtag2"]},{"1392081770":["hashtag1","hashtag2"]},{"1392081893":["hashtag1","hashtag2"]},{"1392081814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392081972, 1392081930, 1392081852, 1392081770, 1392081893, 1392081814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02838587760925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:28:02.926281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_20_3833.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_23_2768.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_25_2627.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_29_3656.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_31_2693.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_34_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_20_3833.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_23_2768.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_25_2627.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_29_3656.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_31_2693.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_34_2537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392082116","1392082181","1392082226","1392082261","1392082048","1392082239"],"photo_ids_order":["1392082048","1392082116","1392082181","1392082226","1392082239","1392082261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/276685b1d2e6ccc72aabb48e0a742c2f.jpg","text":"TemporaryFile(/tmp/multipartBody1975202458717533777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183743775,"filename":"image_03112025_09_07_23_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/3/47f59bd4ef0d36daba87838c02dc7f54.jpg","text":"TemporaryFile(/tmp/multipartBody3929340188594832308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183743775,"filename":"image_03112025_09_07_25_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/3/c53d462db3aefb35e629248bec7df12d.jpg","text":"TemporaryFile(/tmp/multipartBody5916009305527730429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183743775,"filename":"image_03112025_09_07_29_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/3/5a065d367573c1c91fe60fedb0ba7be9.jpg","text":"TemporaryFile(/tmp/multipartBody3782933531665488888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183743775,"filename":"image_03112025_09_07_34_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/614071672f8591644e67e6c733932e82.jpg","text":"TemporaryFile(/tmp/multipartBody3887199956145748240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183743775,"filename":"image_03112025_09_07_20_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/3/b11e7d77bf3a4a6c5fec65c00dd3e775.jpg","text":"TemporaryFile(/tmp/multipartBody5255173688787993233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183743775,"filename":"image_03112025_09_07_31_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392082181","file1":"1392082116","file0":"1392082048","file4":"1392082239","file5":"1392082261","file3":"1392082226"},"map_files_photo_id_array":[{"photo_id":"1392082261","filename":"file5"},{"photo_id":"1392082181","filename":"file2"},{"photo_id":"1392082239","filename":"file4"},{"photo_id":"1392082116","filename":"file1"},{"photo_id":"1392082048","filename":"file0"},{"photo_id":"1392082226","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392082116":["hashtag1","hashtag2"]},{"1392082181":["hashtag1","hashtag2"]},{"1392082226":["hashtag1","hashtag2"]},{"1392082261":["hashtag1","hashtag2"]},{"1392082048":["hashtag1","hashtag2"]},{"1392082239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392082116, 1392082181, 1392082226, 1392082261, 1392082048, 1392082239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08089232444763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:28:42.503998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_38_3703.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_40_2641.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_43_2724.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_46_3326.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_49_2774.jpg', '/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_52_3088.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_38_3703.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_40_2641.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_43_2724.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_46_3326.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_49_2774.jpg
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_52_3088.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392082425","1392082410","1392082413","1392082401","1392082432","1392082441"],"photo_ids_order":["1392082401","1392082410","1392082413","1392082425","1392082432","1392082441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/91807b6778c819eacdb7cf40ad1327de.jpg","text":"TemporaryFile(/tmp/multipartBody1940728147155049562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183783326,"filename":"image_03112025_09_07_46_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/3/6e6a55d9eeaca332863673abd089e568.jpg","text":"TemporaryFile(/tmp/multipartBody4360554033845629737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183783326,"filename":"image_03112025_09_07_40_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/3/334adb9c6d5571a3d7952438b097e445.jpg","text":"TemporaryFile(/tmp/multipartBody3268419314799562263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183783326,"filename":"image_03112025_09_07_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/3/51ebb346a842d310c21482633ea488cc.jpg","text":"TemporaryFile(/tmp/multipartBody2377461041036519826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183783326,"filename":"image_03112025_09_07_38_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/3/13f9ef14db20d93bc6020afd70b7c5a2.jpg","text":"TemporaryFile(/tmp/multipartBody3477972245789341072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183783326,"filename":"image_03112025_09_07_49_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/3/2e05efe27bc5812130fc947092fe418e.jpg","text":"TemporaryFile(/tmp/multipartBody1078576755752665137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183783326,"filename":"image_03112025_09_07_52_3088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392082413","file1":"1392082410","file0":"1392082401","file4":"1392082432","file5":"1392082441","file3":"1392082425"},"map_files_photo_id_array":[{"photo_id":"1392082441","filename":"file5"},{"photo_id":"1392082413","filename":"file2"},{"photo_id":"1392082432","filename":"file4"},{"photo_id":"1392082410","filename":"file1"},{"photo_id":"1392082401","filename":"file0"},{"photo_id":"1392082425","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392082425":["hashtag1","hashtag2"]},{"1392082410":["hashtag1","hashtag2"]},{"1392082413":["hashtag1","hashtag2"]},{"1392082401":["hashtag1","hashtag2"]},{"1392082432":["hashtag1","hashtag2"]},{"1392082441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392082425, 1392082410, 1392082413, 1392082401, 1392082432, 1392082441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.248021841049194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:29:22.725048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_59_4331.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_01_1533.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_05_3782.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_07_2635.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_10_2692.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_13_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/07/image_03112025_09_07_59_4331.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_01_1533.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_05_3782.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_07_2635.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_10_2692.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_13_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392082466","1392082451","1392082469","1392082460","1392082463","1392082455"],"photo_ids_order":["1392082451","1392082455","1392082460","1392082463","1392082466","1392082469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/92c7e3bf3a541677ed8d017ebd0f2121.jpg","text":"TemporaryFile(/tmp/multipartBody1396032422877632494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183823539,"filename":"image_03112025_09_08_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/3/07e9dd413b15d3c6e6b92f178c83f135.jpg","text":"TemporaryFile(/tmp/multipartBody4680115154996994766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183823539,"filename":"image_03112025_09_07_59_4331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/28ae1001a426fc7dec86dabf161c9f6b.jpg","text":"TemporaryFile(/tmp/multipartBody2780773904309478818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183823539,"filename":"image_03112025_09_08_13_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/3/04ba9e57eb46b5188b1c30cb356bb940.jpg","text":"TemporaryFile(/tmp/multipartBody4563552407311854601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183823539,"filename":"image_03112025_09_08_05_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/3/011e62210921a6a8dd4351ac34c1abb6.jpg","text":"TemporaryFile(/tmp/multipartBody594275559863954090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183823539,"filename":"image_03112025_09_08_07_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/3/442d6f0506802e093a4fb92e951434ab.jpg","text":"TemporaryFile(/tmp/multipartBody4407270168554889922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183823539,"filename":"image_03112025_09_08_01_1533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392082460","file1":"1392082455","file0":"1392082451","file4":"1392082466","file5":"1392082469","file3":"1392082463"},"map_files_photo_id_array":[{"photo_id":"1392082469","filename":"file5"},{"photo_id":"1392082460","filename":"file2"},{"photo_id":"1392082466","filename":"file4"},{"photo_id":"1392082455","filename":"file1"},{"photo_id":"1392082451","filename":"file0"},{"photo_id":"1392082463","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392082466":["hashtag1","hashtag2"]},{"1392082451":["hashtag1","hashtag2"]},{"1392082469":["hashtag1","hashtag2"]},{"1392082460":["hashtag1","hashtag2"]},{"1392082463":["hashtag1","hashtag2"]},{"1392082455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392082466, 1392082451, 1392082469, 1392082460, 1392082463, 1392082455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24628472328186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:30:02.282264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_17_3804.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_19_2816.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_24_4198.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_25_1760.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_28_2535.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_32_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_17_3804.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_19_2816.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_24_4198.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_25_1760.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_28_2535.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_32_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392082496","1392082500","1392082487","1392082489","1392082492","1392082476"],"photo_ids_order":["1392082476","1392082487","1392082489","1392082492","1392082496","1392082500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9e3443338b2988930a7983a7590629a4.jpg","text":"TemporaryFile(/tmp/multipartBody8553750252428314098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183863113,"filename":"image_03112025_09_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/3/5e77905fbc73ab839d4076803a8a674a.jpg","text":"TemporaryFile(/tmp/multipartBody5697759178509967224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183863113,"filename":"image_03112025_09_08_32_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf84efb26956118a789e87e2df40c5cf.jpg","text":"TemporaryFile(/tmp/multipartBody4384305056054159612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183863113,"filename":"image_03112025_09_08_19_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/3/0ea2610f136142a06476f22060bad28a.jpg","text":"TemporaryFile(/tmp/multipartBody5121826875236963701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183863113,"filename":"image_03112025_09_08_24_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/3/1e5da5463672acd5b321f79e8e669c78.jpg","text":"TemporaryFile(/tmp/multipartBody116458234442881995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183863113,"filename":"image_03112025_09_08_25_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3748f211b7a70279839ce714ba648c92.jpg","text":"TemporaryFile(/tmp/multipartBody3697995225586869855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183863113,"filename":"image_03112025_09_08_17_3804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392082489","file1":"1392082487","file0":"1392082476","file4":"1392082496","file5":"1392082500","file3":"1392082492"},"map_files_photo_id_array":[{"photo_id":"1392082500","filename":"file5"},{"photo_id":"1392082489","filename":"file2"},{"photo_id":"1392082496","filename":"file4"},{"photo_id":"1392082487","filename":"file1"},{"photo_id":"1392082476","filename":"file0"},{"photo_id":"1392082492","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392082496":["hashtag1","hashtag2"]},{"1392082500":["hashtag1","hashtag2"]},{"1392082487":["hashtag1","hashtag2"]},{"1392082489":["hashtag1","hashtag2"]},{"1392082492":["hashtag1","hashtag2"]},{"1392082476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392082496, 1392082500, 1392082487, 1392082489, 1392082492, 1392082476)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.44647026062012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:31:02.900862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:31:22.128787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_37_2700.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_41_3607.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_43_2654.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_47_3497.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_49_2605.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_52_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_37_2700.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_41_3607.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_43_2654.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_47_3497.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_49_2605.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_52_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392082687","1392082706","1392082690","1392082684","1392082648","1392082612"],"photo_ids_order":["1392082612","1392082648","1392082684","1392082687","1392082690","1392082706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a492d95229f0ccf80d48ebd917a291c7.jpg","text":"TemporaryFile(/tmp/multipartBody1362232339864354416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183942953,"filename":"image_03112025_09_08_47_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/3/4c76d39160db7ca49fea37c857b113e9.jpg","text":"TemporaryFile(/tmp/multipartBody8909648196759210953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183942953,"filename":"image_03112025_09_08_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/3/fd848a5c1b4bf57359d54a8ddb87b882.jpg","text":"TemporaryFile(/tmp/multipartBody1922801990599184397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183942953,"filename":"image_03112025_09_08_49_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/3/621cd7ed0fec02b598066755e5245c6d.jpg","text":"TemporaryFile(/tmp/multipartBody7006848579564144972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183942953,"filename":"image_03112025_09_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/3/ffa9fbd09aa79c7ac03d2d655f132d00.jpg","text":"TemporaryFile(/tmp/multipartBody2073855381761041482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183942953,"filename":"image_03112025_09_08_41_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/3/8695fa5e9f3c252fa43beeca1d2d3576.jpg","text":"TemporaryFile(/tmp/multipartBody6496804128389374247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762183942953,"filename":"image_03112025_09_08_37_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392082684","file1":"1392082648","file0":"1392082612","file4":"1392082690","file5":"1392082706","file3":"1392082687"},"map_files_photo_id_array":[{"photo_id":"1392082706","filename":"file5"},{"photo_id":"1392082684","filename":"file2"},{"photo_id":"1392082690","filename":"file4"},{"photo_id":"1392082648","filename":"file1"},{"photo_id":"1392082612","filename":"file0"},{"photo_id":"1392082687","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392082687":["hashtag1","hashtag2"]},{"1392082706":["hashtag1","hashtag2"]},{"1392082690":["hashtag1","hashtag2"]},{"1392082684":["hashtag1","hashtag2"]},{"1392082648":["hashtag1","hashtag2"]},{"1392082612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392082687, 1392082706, 1392082690, 1392082684, 1392082648, 1392082612)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.25762701034546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:32:31.648258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_56_3607.jpg', '/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_58_2634.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_01_2695.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_05_3689.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_10_2674.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_13_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_56_3607.jpg
/home/pi/Desktop/images/03112025/09/08/image_03112025_09_08_58_2634.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_01_2695.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_05_3689.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_10_2674.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_13_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392082914","1392082910","1392082940","1392082975","1392082876","1392082918"],"photo_ids_order":["1392082876","1392082910","1392082914","1392082918","1392082940","1392082975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d557d355c32ca9db02cc2054bd94a68.jpg","text":"TemporaryFile(/tmp/multipartBody6706657176549457213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184012377,"filename":"image_03112025_09_09_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/3/856f43845eddbe5f38a678775b3a97c4.jpg","text":"TemporaryFile(/tmp/multipartBody8498380204383095205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184012377,"filename":"image_03112025_09_08_58_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/3/6b3a1d5699a55e80b3a8f925acd9da36.jpg","text":"TemporaryFile(/tmp/multipartBody4313268106643996977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184012377,"filename":"image_03112025_09_09_10_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/3/4ac26d0edc1ffcd609be6f05f8cca903.jpg","text":"TemporaryFile(/tmp/multipartBody7468889788155838738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184012377,"filename":"image_03112025_09_09_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/3/fd880126aa10e2a9aa384ea649dd8e88.jpg","text":"TemporaryFile(/tmp/multipartBody7596313191633502563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184012377,"filename":"image_03112025_09_08_56_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/3/ff365bebe3d23297aded32f6fcf13406.jpg","text":"TemporaryFile(/tmp/multipartBody6824323642361322479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184012377,"filename":"image_03112025_09_09_05_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392082914","file1":"1392082910","file0":"1392082876","file4":"1392082940","file5":"1392082975","file3":"1392082918"},"map_files_photo_id_array":[{"photo_id":"1392082975","filename":"file5"},{"photo_id":"1392082914","filename":"file2"},{"photo_id":"1392082940","filename":"file4"},{"photo_id":"1392082910","filename":"file1"},{"photo_id":"1392082876","filename":"file0"},{"photo_id":"1392082918","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392082914":["hashtag1","hashtag2"]},{"1392082910":["hashtag1","hashtag2"]},{"1392082940":["hashtag1","hashtag2"]},{"1392082975":["hashtag1","hashtag2"]},{"1392082876":["hashtag1","hashtag2"]},{"1392082918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392082914, 1392082910, 1392082940, 1392082975, 1392082876, 1392082918)","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.7289822101593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:33:47.568250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_16_3669.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_19_2558.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_23_3650.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_33_7596.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_35_1623.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_36_1550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_16_3669.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_19_2558.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_23_3650.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_33_7596.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_35_1623.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_36_1550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392083036","1392083032","1392083029","1392083020","1392083026","1392083022"],"photo_ids_order":["1392083020","1392083022","1392083026","1392083029","1392083032","1392083036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d4b98199c9ae27a29107345517c95162.jpg","text":"TemporaryFile(/tmp/multipartBody5688388029239659769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184088335,"filename":"image_03112025_09_09_36_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/3/367ee5870ff4dd5fba3d124ba98ab1ad.jpg","text":"TemporaryFile(/tmp/multipartBody348356451384544747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184088335,"filename":"image_03112025_09_09_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/3/679ec09694f66dee452395cb9d66e27d.jpg","text":"TemporaryFile(/tmp/multipartBody5144908972442882776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184088335,"filename":"image_03112025_09_09_33_7596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/87b51ab252e777a063f433a9d7faece3.jpg","text":"TemporaryFile(/tmp/multipartBody1116733808645476846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184088335,"filename":"image_03112025_09_09_16_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/3/216a4f26699aa2e46d9455d2478cbb89.jpg","text":"TemporaryFile(/tmp/multipartBody5854431650513892974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184088335,"filename":"image_03112025_09_09_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/3/5c5ade7eb6e1b16b577f756d70ddffc2.jpg","text":"TemporaryFile(/tmp/multipartBody4066291550579583460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184088335,"filename":"image_03112025_09_09_19_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392083026","file1":"1392083022","file0":"1392083020","file4":"1392083032","file5":"1392083036","file3":"1392083029"},"map_files_photo_id_array":[{"photo_id":"1392083036","filename":"file5"},{"photo_id":"1392083026","filename":"file2"},{"photo_id":"1392083032","filename":"file4"},{"photo_id":"1392083022","filename":"file1"},{"photo_id":"1392083020","filename":"file0"},{"photo_id":"1392083029","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392083036":["hashtag1","hashtag2"]},{"1392083032":["hashtag1","hashtag2"]},{"1392083029":["hashtag1","hashtag2"]},{"1392083020":["hashtag1","hashtag2"]},{"1392083026":["hashtag1","hashtag2"]},{"1392083022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392083036, 1392083032, 1392083029, 1392083020, 1392083026, 1392083022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.665406465530396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:34:42.897897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_38_1595.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_41_2641.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_43_2666.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_46_2679.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_49_2780.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_52_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_38_1595.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_41_2641.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_43_2666.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_46_2679.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_49_2780.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_52_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 [200]>
b'{"photo_ids":["1392083081","1392083083","1392083191","1392083227","1392083143","1392083109"],"photo_ids_order":["1392083081","1392083083","1392083109","1392083143","1392083191","1392083227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/440fad453590b81ba7ac8507eda54a24.jpg","text":"TemporaryFile(/tmp/multipartBody1686103572338847388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184154692,"filename":"image_03112025_09_09_38_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/3/0773d0a5fb952e09a7704d9c83491f92.jpg","text":"TemporaryFile(/tmp/multipartBody3807337360885274676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184154692,"filename":"image_03112025_09_09_41_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/3/a702b39a63b95f7763d11b709868eef8.jpg","text":"TemporaryFile(/tmp/multipartBody2316445913055274074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184154692,"filename":"image_03112025_09_09_49_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/3/76217782228e740f6805cf03e4d8e9aa.jpg","text":"TemporaryFile(/tmp/multipartBody6515152323891690496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184154692,"filename":"image_03112025_09_09_52_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/3/9153d3bf9ca67d8b24579418744e8a83.jpg","text":"TemporaryFile(/tmp/multipartBody6988900491970688668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184154692,"filename":"image_03112025_09_09_46_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/703db90b5668debdacc3806bb77f12f3.jpg","text":"TemporaryFile(/tmp/multipartBody756792015375279708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184154692,"filename":"image_03112025_09_09_43_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392083109","file1":"1392083083","file0":"1392083081","file4":"1392083191","file5":"1392083227","file3":"1392083143"},"map_files_photo_id_array":[{"photo_id":"1392083227","filename":"file5"},{"photo_id":"1392083109","filename":"file2"},{"photo_id":"1392083191","filename":"file4"},{"photo_id":"1392083083","filename":"file1"},{"photo_id":"1392083081","filename":"file0"},{"photo_id":"1392083143","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392083081":["hashtag1","hashtag2"]},{"1392083083":["hashtag1","hashtag2"]},{"1392083191":["hashtag1","hashtag2"]},{"1392083227":["hashtag1","hashtag2"]},{"1392083143":["hashtag1","hashtag2"]},{"1392083109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392083081, 1392083083, 1392083191, 1392083227, 1392083143, 1392083109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.80504655838013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:35:51.138405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_55_2700.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_58_2642.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_01_3730.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_04_2647.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_08_3810.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_10_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_55_2700.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_58_2642.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_01_3730.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_04_2647.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_08_3810.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_10_1749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392083665","1392083662","1392083682","1392083658","1392083655","1392083634"],"photo_ids_order":["1392083634","1392083655","1392083658","1392083662","1392083665","1392083682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d761c86e3b68dd0eab47475be97ec8d0.jpg","text":"TemporaryFile(/tmp/multipartBody1024984753872894216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184223399,"filename":"image_03112025_09_10_08_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/3/2f5fa93d1713cec01a6576129f5b68dc.jpg","text":"TemporaryFile(/tmp/multipartBody5550436145664737810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184223399,"filename":"image_03112025_09_10_04_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c1e3911fc3f6c2fdac7aeb8679b6065e.jpg","text":"TemporaryFile(/tmp/multipartBody6432992278568007092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184223399,"filename":"image_03112025_09_10_10_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/3/cb22f55a75d7367be9c6c92eab47d4ad.jpg","text":"TemporaryFile(/tmp/multipartBody9180827450476853788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184223399,"filename":"image_03112025_09_10_01_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/3/a85236e17601c230dd97db865de7acb6.jpg","text":"TemporaryFile(/tmp/multipartBody3491803724649566145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184223399,"filename":"image_03112025_09_09_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/3/5a6a6a4f19174d9f1f4eeaf21f9393ff.jpg","text":"TemporaryFile(/tmp/multipartBody3084404645168881847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184223399,"filename":"image_03112025_09_09_55_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392083658","file1":"1392083655","file0":"1392083634","file4":"1392083665","file5":"1392083682","file3":"1392083662"},"map_files_photo_id_array":[{"photo_id":"1392083682","filename":"file5"},{"photo_id":"1392083658","filename":"file2"},{"photo_id":"1392083665","filename":"file4"},{"photo_id":"1392083655","filename":"file1"},{"photo_id":"1392083634","filename":"file0"},{"photo_id":"1392083662","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392083665":["hashtag1","hashtag2"]},{"1392083662":["hashtag1","hashtag2"]},{"1392083682":["hashtag1","hashtag2"]},{"1392083658":["hashtag1","hashtag2"]},{"1392083655":["hashtag1","hashtag2"]},{"1392083634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392083665, 1392083662, 1392083682, 1392083658, 1392083655, 1392083634)","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 = 1392083658 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_01_3730.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392083658 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_01_3730.jpg";
uploaded 6 photos
time to upload: 75.7658679485321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:37:22.529977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:37:52.205432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:38:02.836542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:38:22.363719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:38:42.276170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:39:03.271586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:39:42.534230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:40:03.212993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:40:22.785457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_55_2700.jpg', '/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_58_2642.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_01_3730.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_04_2647.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_08_3810.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_10_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_55_2700.jpg
/home/pi/Desktop/images/03112025/09/09/image_03112025_09_09_58_2642.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_01_3730.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_04_2647.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_08_3810.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_10_1749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392084544","1392084489","1392084396","1392084621","1392084581","1392084440"],"photo_ids_order":["1392084396","1392084440","1392084489","1392084544","1392084581","1392084621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d95d1e3d7c87048ee32ae9829378c8a.jpg","text":"TemporaryFile(/tmp/multipartBody3559204489220472640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184483463,"filename":"image_03112025_09_10_04_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/acef743757181b41298169ea095995b9.jpg","text":"TemporaryFile(/tmp/multipartBody6795957534642698578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184483463,"filename":"image_03112025_09_10_01_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/3/f6ed4c85ffefaa996887e25d74c4ceed.jpg","text":"TemporaryFile(/tmp/multipartBody6206261061557947532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184483463,"filename":"image_03112025_09_09_55_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/3/080be69e13cbabe7adc2e4bc092faa2f.jpg","text":"TemporaryFile(/tmp/multipartBody1457846785158580408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184483463,"filename":"image_03112025_09_10_10_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/3/0722dba67e7fa8a734501f428650a665.jpg","text":"TemporaryFile(/tmp/multipartBody8069069749840179188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184483463,"filename":"image_03112025_09_10_08_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/3/b2178b18d288299dc21bd68ef3fd98b7.jpg","text":"TemporaryFile(/tmp/multipartBody7088412139922502949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184483463,"filename":"image_03112025_09_09_58_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392084489","file1":"1392084440","file0":"1392084396","file4":"1392084581","file5":"1392084621","file3":"1392084544"},"map_files_photo_id_array":[{"photo_id":"1392084621","filename":"file5"},{"photo_id":"1392084489","filename":"file2"},{"photo_id":"1392084581","filename":"file4"},{"photo_id":"1392084440","filename":"file1"},{"photo_id":"1392084396","filename":"file0"},{"photo_id":"1392084544","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392084544":["hashtag1","hashtag2"]},{"1392084489":["hashtag1","hashtag2"]},{"1392084396":["hashtag1","hashtag2"]},{"1392084621":["hashtag1","hashtag2"]},{"1392084581":["hashtag1","hashtag2"]},{"1392084440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392084544, 1392084489, 1392084396, 1392084621, 1392084581, 1392084440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82711410522461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:41:03.404557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_13_3709.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_16_2611.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_22_2809.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_25_2701.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_28_2698.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_31_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_13_3709.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_16_2611.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_22_2809.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_25_2701.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_28_2698.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_31_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392084697","1392084700","1392084705","1392084692","1392084695","1392084689"],"photo_ids_order":["1392084689","1392084692","1392084695","1392084697","1392084700","1392084705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bcd687a7fe121395eab2104fa0a2ecee.jpg","text":"TemporaryFile(/tmp/multipartBody52124789544450963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184524368,"filename":"image_03112025_09_10_25_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/3/2f74e5365bd3717ef206462a67becd25.jpg","text":"TemporaryFile(/tmp/multipartBody7436584054810471013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184524368,"filename":"image_03112025_09_10_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/3/c1fec7c188dfd4147daab1a922a1387c.jpg","text":"TemporaryFile(/tmp/multipartBody5643985403809620804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184524368,"filename":"image_03112025_09_10_31_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/3/5ac41b203445f1174217c4c304e6f4ce.jpg","text":"TemporaryFile(/tmp/multipartBody7909318626885436028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184524368,"filename":"image_03112025_09_10_16_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c3f5ff020dc002eafb423078b3af5a3c.jpg","text":"TemporaryFile(/tmp/multipartBody3899884493988153539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184524368,"filename":"image_03112025_09_10_22_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/3/61ce05955e321c27735269cb364adf63.jpg","text":"TemporaryFile(/tmp/multipartBody5672650158344612047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184524368,"filename":"image_03112025_09_10_13_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392084695","file1":"1392084692","file0":"1392084689","file4":"1392084700","file5":"1392084705","file3":"1392084697"},"map_files_photo_id_array":[{"photo_id":"1392084705","filename":"file5"},{"photo_id":"1392084695","filename":"file2"},{"photo_id":"1392084700","filename":"file4"},{"photo_id":"1392084692","filename":"file1"},{"photo_id":"1392084689","filename":"file0"},{"photo_id":"1392084697","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392084697":["hashtag1","hashtag2"]},{"1392084700":["hashtag1","hashtag2"]},{"1392084705":["hashtag1","hashtag2"]},{"1392084692":["hashtag1","hashtag2"]},{"1392084695":["hashtag1","hashtag2"]},{"1392084689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392084697, 1392084700, 1392084705, 1392084692, 1392084695, 1392084689)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.51512098312378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:42:08.798846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_34_2742.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_37_2789.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_40_2739.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_49_2687.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_52_3059.jpg', '/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_55_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_34_2742.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_37_2789.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_40_2739.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_49_2687.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_52_3059.jpg
/home/pi/Desktop/images/03112025/09/10/image_03112025_09_10_55_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392084982","1392084987","1392084972","1392084977","1392085049","1392085001"],"photo_ids_order":["1392084972","1392084977","1392084982","1392084987","1392085001","1392085049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a2b785d8ce7e437ae43a7ff48a7705b.jpg","text":"TemporaryFile(/tmp/multipartBody3752014011326028462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184589647,"filename":"image_03112025_09_10_40_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/3/1d2e77199c88452e616d6e135e3e425b.jpg","text":"TemporaryFile(/tmp/multipartBody7326571847508752023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184589647,"filename":"image_03112025_09_10_49_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2426ae35c86ba5a95ffab3aea6db329f.jpg","text":"TemporaryFile(/tmp/multipartBody5417253544314973984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184589647,"filename":"image_03112025_09_10_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/3/31b9c2ab56187b2b45fa335043647330.jpg","text":"TemporaryFile(/tmp/multipartBody31035121475075931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184589647,"filename":"image_03112025_09_10_37_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/3/2421237f900c4d9b78f7bbe2d11b7739.jpg","text":"TemporaryFile(/tmp/multipartBody7079654274174346219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184589647,"filename":"image_03112025_09_10_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/3/7c1df4d187793613d61e4adeac6b0ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6024079244038380012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184589647,"filename":"image_03112025_09_10_52_3059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392084982","file1":"1392084977","file0":"1392084972","file4":"1392085001","file5":"1392085049","file3":"1392084987"},"map_files_photo_id_array":[{"photo_id":"1392085049","filename":"file5"},{"photo_id":"1392084982","filename":"file2"},{"photo_id":"1392085001","filename":"file4"},{"photo_id":"1392084977","filename":"file1"},{"photo_id":"1392084972","filename":"file0"},{"photo_id":"1392084987","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392084982":["hashtag1","hashtag2"]},{"1392084987":["hashtag1","hashtag2"]},{"1392084972":["hashtag1","hashtag2"]},{"1392084977":["hashtag1","hashtag2"]},{"1392085049":["hashtag1","hashtag2"]},{"1392085001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392084982, 1392084987, 1392084972, 1392084977, 1392085049, 1392085001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87042212486267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:43:03.998639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 16:43:22.155940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_04_3579.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_07_2746.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_09_2576.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_13_3592.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_16_2694.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_19_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_04_3579.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_07_2746.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_09_2576.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_13_3592.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_16_2694.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_19_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392085456","1392085279","1392085273","1392085324","1392085405","1392085362"],"photo_ids_order":["1392085273","1392085279","1392085324","1392085362","1392085405","1392085456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd04346086180a2cb1775f82eeedf012.jpg","text":"TemporaryFile(/tmp/multipartBody782049404606516520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184662967,"filename":"image_03112025_09_11_19_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/3/94ea3f7149bb6a3104ca7cc05148054c.jpg","text":"TemporaryFile(/tmp/multipartBody2300514653007231476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184662967,"filename":"image_03112025_09_11_07_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/3/bab296ddb4c1bc68160f6196549cc8fb.jpg","text":"TemporaryFile(/tmp/multipartBody8057850147429433057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184662967,"filename":"image_03112025_09_11_04_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/3/4231ca5c3d49dca83d01a6fcf9d2ae2b.jpg","text":"TemporaryFile(/tmp/multipartBody4792250834171886096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184662967,"filename":"image_03112025_09_11_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/3/c30064bf521ebc9cc296763502cf9d76.jpg","text":"TemporaryFile(/tmp/multipartBody6256824447142538935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184662967,"filename":"image_03112025_09_11_16_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/3/44a75a8bbd37c66c28c3dcbec7e26789.jpg","text":"TemporaryFile(/tmp/multipartBody2508879941339791882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184662967,"filename":"image_03112025_09_11_13_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392085324","file1":"1392085279","file0":"1392085273","file4":"1392085405","file5":"1392085456","file3":"1392085362"},"map_files_photo_id_array":[{"photo_id":"1392085456","filename":"file5"},{"photo_id":"1392085324","filename":"file2"},{"photo_id":"1392085405","filename":"file4"},{"photo_id":"1392085279","filename":"file1"},{"photo_id":"1392085273","filename":"file0"},{"photo_id":"1392085362","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392085456":["hashtag1","hashtag2"]},{"1392085279":["hashtag1","hashtag2"]},{"1392085273":["hashtag1","hashtag2"]},{"1392085324":["hashtag1","hashtag2"]},{"1392085405":["hashtag1","hashtag2"]},{"1392085362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392085456, 1392085279, 1392085273, 1392085324, 1392085405, 1392085362)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.94134831428528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:44:22.474771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_22_2768.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_28_2748.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_31_3660.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_34_2780.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_37_2640.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_40_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_22_2768.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_28_2748.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_31_3660.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_34_2780.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_37_2640.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_40_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392085620","1392085638","1392085617","1392085626","1392085631","1392085634"],"photo_ids_order":["1392085617","1392085620","1392085626","1392085631","1392085634","1392085638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eae248a8159bc67684b0bb8092567fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4867502207968079446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184723567,"filename":"image_03112025_09_11_28_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/3/4ae233dff467179bf5c6687c81e5e699.jpg","text":"TemporaryFile(/tmp/multipartBody6244062508249474600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184723567,"filename":"image_03112025_09_11_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/3/d9ad17240aea5b4f75a1ff0ebb4e2009.jpg","text":"TemporaryFile(/tmp/multipartBody741272444905512748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184723567,"filename":"image_03112025_09_11_22_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/570ccca66f3a0cbba2e4a97ab0dab94a.jpg","text":"TemporaryFile(/tmp/multipartBody4132967145748296677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184723567,"filename":"image_03112025_09_11_31_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/3/88a8172e1b715a47093e7137b03e04e5.jpg","text":"TemporaryFile(/tmp/multipartBody6016433411976699243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184723567,"filename":"image_03112025_09_11_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/3/307a6b3f98890479043b0d0f03ebba49.jpg","text":"TemporaryFile(/tmp/multipartBody7350709273937767251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184723567,"filename":"image_03112025_09_11_37_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392085626","file1":"1392085620","file0":"1392085617","file4":"1392085634","file5":"1392085638","file3":"1392085631"},"map_files_photo_id_array":[{"photo_id":"1392085638","filename":"file5"},{"photo_id":"1392085626","filename":"file2"},{"photo_id":"1392085634","filename":"file4"},{"photo_id":"1392085620","filename":"file1"},{"photo_id":"1392085617","filename":"file0"},{"photo_id":"1392085631","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392085620":["hashtag1","hashtag2"]},{"1392085638":["hashtag1","hashtag2"]},{"1392085617":["hashtag1","hashtag2"]},{"1392085626":["hashtag1","hashtag2"]},{"1392085631":["hashtag1","hashtag2"]},{"1392085634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392085620, 1392085638, 1392085617, 1392085626, 1392085631, 1392085634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92836117744446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:45:03.023615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_43_2807.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_46_2593.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_49_3583.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_52_2546.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_55_2951.jpg', '/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_57_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_43_2807.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_46_2593.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_49_3583.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_52_2546.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_55_2951.jpg
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_11_57_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392085657","1392085648","1392085653","1392085650","1392085644","1392085646"],"photo_ids_order":["1392085644","1392085646","1392085648","1392085650","1392085653","1392085657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb264ad7bc0a473ca0fd20f37f2f436f.jpg","text":"TemporaryFile(/tmp/multipartBody489016472984719292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184763962,"filename":"image_03112025_09_11_57_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/3/c81698cc4eb02501fc0b4fc8a45e6d69.jpg","text":"TemporaryFile(/tmp/multipartBody2759337143161239793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184763962,"filename":"image_03112025_09_11_49_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0fef20e82f676c1db523f7606db7ed06.jpg","text":"TemporaryFile(/tmp/multipartBody751911192035778051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184763962,"filename":"image_03112025_09_11_55_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/3/f85d1eb4dc49d0cb91ef3f463e43a8f0.jpg","text":"TemporaryFile(/tmp/multipartBody6298932159852828999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184763962,"filename":"image_03112025_09_11_52_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/3/35fda610817e4a9c7c72b9019257bcc4.jpg","text":"TemporaryFile(/tmp/multipartBody5678892373865232457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184763962,"filename":"image_03112025_09_11_43_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/3/48fea7b333cc60b5af1917a6f6e050ca.jpg","text":"TemporaryFile(/tmp/multipartBody5950660780119680053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184763962,"filename":"image_03112025_09_11_46_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392085648","file1":"1392085646","file0":"1392085644","file4":"1392085653","file5":"1392085657","file3":"1392085650"},"map_files_photo_id_array":[{"photo_id":"1392085657","filename":"file5"},{"photo_id":"1392085648","filename":"file2"},{"photo_id":"1392085653","filename":"file4"},{"photo_id":"1392085646","filename":"file1"},{"photo_id":"1392085644","filename":"file0"},{"photo_id":"1392085650","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392085657":["hashtag1","hashtag2"]},{"1392085648":["hashtag1","hashtag2"]},{"1392085653":["hashtag1","hashtag2"]},{"1392085650":["hashtag1","hashtag2"]},{"1392085644":["hashtag1","hashtag2"]},{"1392085646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392085657, 1392085648, 1392085653, 1392085650, 1392085644, 1392085646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45916509628296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:45:42.467359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/11/image_03112025_09_12_01_3844.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_04_2643.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_06_2524.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_10_3673.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_13_2618.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_15_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_12_01_3844.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_04_2643.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_06_2524.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_10_3673.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_13_2618.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_15_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392085677","1392085680","1392085674","1392085670","1392085667","1392085672"],"photo_ids_order":["1392085667","1392085670","1392085672","1392085674","1392085677","1392085680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf0d5a6171b81f93d1fbba2e431f2d02.jpg","text":"TemporaryFile(/tmp/multipartBody5159798583422147677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184803295,"filename":"image_03112025_09_12_13_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/3/b8a067b74cd729dacb8b0f817b290016.jpg","text":"TemporaryFile(/tmp/multipartBody6252822970858968540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184803295,"filename":"image_03112025_09_12_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/3/9c9d9fb27ab8551159afb294b60a1d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4724108474475175440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184803295,"filename":"image_03112025_09_12_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/3/00b95ed314a293afeb6afbc3195adc4a.jpg","text":"TemporaryFile(/tmp/multipartBody817189459226923753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184803295,"filename":"image_03112025_09_12_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/3/5e872d55eb7b3499fb94c698fa8ead91.jpg","text":"TemporaryFile(/tmp/multipartBody6507328800854492038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184803295,"filename":"image_03112025_09_12_01_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/3/50ba3b0cef96ae0f14672ff2c6caf457.jpg","text":"TemporaryFile(/tmp/multipartBody7996617006573348067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184803295,"filename":"image_03112025_09_12_06_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392085672","file1":"1392085670","file0":"1392085667","file4":"1392085677","file5":"1392085680","file3":"1392085674"},"map_files_photo_id_array":[{"photo_id":"1392085680","filename":"file5"},{"photo_id":"1392085672","filename":"file2"},{"photo_id":"1392085677","filename":"file4"},{"photo_id":"1392085670","filename":"file1"},{"photo_id":"1392085667","filename":"file0"},{"photo_id":"1392085674","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392085677":["hashtag1","hashtag2"]},{"1392085680":["hashtag1","hashtag2"]},{"1392085674":["hashtag1","hashtag2"]},{"1392085670":["hashtag1","hashtag2"]},{"1392085667":["hashtag1","hashtag2"]},{"1392085672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392085677, 1392085680, 1392085674, 1392085670, 1392085667, 1392085672)","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 = 1392085672 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_06_2524.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392085672 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_06_2524.jpg";
uploaded 6 photos
time to upload: 62.10682129859924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:47:02.841343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/11/image_03112025_09_12_01_3844.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_04_2643.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_06_2524.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_10_3673.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_13_2618.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_15_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/11/image_03112025_09_12_01_3844.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_04_2643.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_06_2524.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_10_3673.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_13_2618.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_15_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392085779","1392085737","1392085877","1392085850","1392085739","1392085814"],"photo_ids_order":["1392085737","1392085739","1392085779","1392085814","1392085850","1392085877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/14ff126d46983ad8a23f9b4ae58766ca.jpg","text":"TemporaryFile(/tmp/multipartBody8234492938545176887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184885369,"filename":"image_03112025_09_12_06_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/3/3d78489d82ae333ce7f4f03517edaefd.jpg","text":"TemporaryFile(/tmp/multipartBody6718293542620474320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184885369,"filename":"image_03112025_09_12_01_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/3/2aca46361992c81789ef8c3f981d6077.jpg","text":"TemporaryFile(/tmp/multipartBody6107433532012015494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184885369,"filename":"image_03112025_09_12_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/3/f2609f45f5d685551f7a1088b8981cdf.jpg","text":"TemporaryFile(/tmp/multipartBody8353923637902348049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184885369,"filename":"image_03112025_09_12_13_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/3/db77960684fa26a0fb044c7d83478dcd.jpg","text":"TemporaryFile(/tmp/multipartBody5799121139692376589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184885369,"filename":"image_03112025_09_12_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/3/8076a8cdeb5702bc4747c2fce5243ee4.jpg","text":"TemporaryFile(/tmp/multipartBody6997595475101095360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184885369,"filename":"image_03112025_09_12_10_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392085779","file1":"1392085739","file0":"1392085737","file4":"1392085850","file5":"1392085877","file3":"1392085814"},"map_files_photo_id_array":[{"photo_id":"1392085877","filename":"file5"},{"photo_id":"1392085779","filename":"file2"},{"photo_id":"1392085850","filename":"file4"},{"photo_id":"1392085739","filename":"file1"},{"photo_id":"1392085737","filename":"file0"},{"photo_id":"1392085814","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392085779":["hashtag1","hashtag2"]},{"1392085737":["hashtag1","hashtag2"]},{"1392085877":["hashtag1","hashtag2"]},{"1392085850":["hashtag1","hashtag2"]},{"1392085739":["hashtag1","hashtag2"]},{"1392085814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392085779, 1392085737, 1392085877, 1392085850, 1392085739, 1392085814)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 57.99585175514221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:48:02.828545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_19_3609.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_22_2702.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_24_2708.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_28_3724.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_31_2777.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_34_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_19_3609.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_22_2702.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_24_2708.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_28_3724.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_31_2777.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_34_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392085945","1392085965","1392085968","1392085973","1392085943","1392085963"],"photo_ids_order":["1392085943","1392085945","1392085963","1392085965","1392085968","1392085973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7a1ab4a5e5dd3dbad295f1acbe5a1295.jpg","text":"TemporaryFile(/tmp/multipartBody9071741942248664901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184943721,"filename":"image_03112025_09_12_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/3/9cbf42386288e66bb488034409fe127d.jpg","text":"TemporaryFile(/tmp/multipartBody1755903605949560342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184943721,"filename":"image_03112025_09_12_28_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/3/9f043f21812df8cb1aae0f81b89b61c7.jpg","text":"TemporaryFile(/tmp/multipartBody1750477570370429671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184943721,"filename":"image_03112025_09_12_31_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fac8f9d7c0c47f6850630ebfa02b99e1.jpg","text":"TemporaryFile(/tmp/multipartBody2020574150885784892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184943721,"filename":"image_03112025_09_12_34_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/3/fbcd0638fa06a680afba8859302f5017.jpg","text":"TemporaryFile(/tmp/multipartBody3873344121146167949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184943721,"filename":"image_03112025_09_12_19_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/3/1c01e07389ad4e9834be218b308abfef.jpg","text":"TemporaryFile(/tmp/multipartBody6902533431411833631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184943721,"filename":"image_03112025_09_12_24_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392085963","file1":"1392085945","file0":"1392085943","file4":"1392085968","file5":"1392085973","file3":"1392085965"},"map_files_photo_id_array":[{"photo_id":"1392085973","filename":"file5"},{"photo_id":"1392085963","filename":"file2"},{"photo_id":"1392085968","filename":"file4"},{"photo_id":"1392085945","filename":"file1"},{"photo_id":"1392085943","filename":"file0"},{"photo_id":"1392085965","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392085945":["hashtag1","hashtag2"]},{"1392085965":["hashtag1","hashtag2"]},{"1392085968":["hashtag1","hashtag2"]},{"1392085973":["hashtag1","hashtag2"]},{"1392085943":["hashtag1","hashtag2"]},{"1392085963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392085945, 1392085965, 1392085968, 1392085973, 1392085943, 1392085963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.635958671569824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:48:42.401950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_37_3648.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_40_2600.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_43_2708.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_46_3574.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_49_2653.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_52_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_37_3648.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_40_2600.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_43_2708.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_46_3574.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_49_2653.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_52_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392085987","1392085989","1392085986","1392085991","1392085994","1392085982"],"photo_ids_order":["1392085982","1392085986","1392085987","1392085989","1392085991","1392085994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0dbc147262d4207cf97798059c1baf3e.jpg","text":"TemporaryFile(/tmp/multipartBody8593942708873098675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184983271,"filename":"image_03112025_09_12_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/3/484c72b1e0f67057e2ccac2e4bb26bc4.jpg","text":"TemporaryFile(/tmp/multipartBody8892085639869467292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184983271,"filename":"image_03112025_09_12_46_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/3/8bee639b1b323b3aeae0435b12d2e88a.jpg","text":"TemporaryFile(/tmp/multipartBody7351930465111927949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184983271,"filename":"image_03112025_09_12_40_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e88a1ab8474c34c9e6d8ab01f5fb6ab7.jpg","text":"TemporaryFile(/tmp/multipartBody4118709533422019794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184983271,"filename":"image_03112025_09_12_49_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/3/7b654abc6516f55cd8dd1ded715ec4db.jpg","text":"TemporaryFile(/tmp/multipartBody1822997265774787477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184983271,"filename":"image_03112025_09_12_52_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/3/4680de4bab8a6e051c20e3a295e34d82.jpg","text":"TemporaryFile(/tmp/multipartBody946147192409549519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762184983271,"filename":"image_03112025_09_12_37_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392085987","file1":"1392085986","file0":"1392085982","file4":"1392085991","file5":"1392085994","file3":"1392085989"},"map_files_photo_id_array":[{"photo_id":"1392085994","filename":"file5"},{"photo_id":"1392085987","filename":"file2"},{"photo_id":"1392085991","filename":"file4"},{"photo_id":"1392085986","filename":"file1"},{"photo_id":"1392085982","filename":"file0"},{"photo_id":"1392085989","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392085987":["hashtag1","hashtag2"]},{"1392085989":["hashtag1","hashtag2"]},{"1392085986":["hashtag1","hashtag2"]},{"1392085991":["hashtag1","hashtag2"]},{"1392085994":["hashtag1","hashtag2"]},{"1392085982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392085987, 1392085989, 1392085986, 1392085991, 1392085994, 1392085982)","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 = 1392085987 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_43_2708.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 69.7201292514801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:50:03.333812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_54_2863.jpg', '/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_58_3677.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_01_2690.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_03_2681.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_07_3653.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_10_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_54_2863.jpg
/home/pi/Desktop/images/03112025/09/12/image_03112025_09_12_58_3677.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_01_2690.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_03_2681.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_07_3653.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_10_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392086416","1392086451","1392086616","1392086538","1392086333","1392086371"],"photo_ids_order":["1392086333","1392086371","1392086416","1392086451","1392086538","1392086616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb6a25eee90063ef6c1117c8be6c702b.jpg","text":"TemporaryFile(/tmp/multipartBody3831903120914997344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185064203,"filename":"image_03112025_09_13_01_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/3/7e21bdfb2361bfd3cc8fe84100a18682.jpg","text":"TemporaryFile(/tmp/multipartBody6024996539224399835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185064203,"filename":"image_03112025_09_13_03_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/3/a034566ded218f49d586757f133d8424.jpg","text":"TemporaryFile(/tmp/multipartBody6236502872563010391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185064203,"filename":"image_03112025_09_13_10_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4ca62e784cb8782e3ad3e0a101b60f3a.jpg","text":"TemporaryFile(/tmp/multipartBody4550154696342132095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185064203,"filename":"image_03112025_09_13_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/3/bd9024391b1595a2be93aac7a8170765.jpg","text":"TemporaryFile(/tmp/multipartBody4184618815415660766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185064203,"filename":"image_03112025_09_12_54_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/3/e7c38e70df24b196faef6e62e0392bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5542172470517837798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185064203,"filename":"image_03112025_09_12_58_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392086416","file1":"1392086371","file0":"1392086333","file4":"1392086538","file5":"1392086616","file3":"1392086451"},"map_files_photo_id_array":[{"photo_id":"1392086616","filename":"file5"},{"photo_id":"1392086416","filename":"file2"},{"photo_id":"1392086538","filename":"file4"},{"photo_id":"1392086371","filename":"file1"},{"photo_id":"1392086333","filename":"file0"},{"photo_id":"1392086451","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392086416":["hashtag1","hashtag2"]},{"1392086451":["hashtag1","hashtag2"]},{"1392086616":["hashtag1","hashtag2"]},{"1392086538":["hashtag1","hashtag2"]},{"1392086333":["hashtag1","hashtag2"]},{"1392086371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392086416, 1392086451, 1392086616, 1392086538, 1392086333, 1392086371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07605028152466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:50:42.873862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_13_2910.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_16_2826.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_18_2697.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_22_3790.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_25_2613.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_27_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_13_2910.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_16_2826.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_18_2697.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_22_3790.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_25_2613.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_27_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392087144","1392087146","1392087142","1392087136","1392087139","1392087133"],"photo_ids_order":["1392087133","1392087136","1392087139","1392087142","1392087144","1392087146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5ca363838f93af1f73ac5dee529447da.jpg","text":"TemporaryFile(/tmp/multipartBody4751643641849661213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185151832,"filename":"image_03112025_09_13_25_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/3/17f0b405229f1631dda27649cc9ffd20.jpg","text":"TemporaryFile(/tmp/multipartBody1488980852912057016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185151832,"filename":"image_03112025_09_13_27_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/3/ac1fffc0a2e4278dc891dcbf61453824.jpg","text":"TemporaryFile(/tmp/multipartBody4233249322835923995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185151832,"filename":"image_03112025_09_13_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/3/1a468e4d6cdb5c536f9c05adca86febc.jpg","text":"TemporaryFile(/tmp/multipartBody6990509669207532523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185151832,"filename":"image_03112025_09_13_16_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/3/15dbef9cdbc7e9e3332365c9b9a59252.jpg","text":"TemporaryFile(/tmp/multipartBody7720684785143895978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185151832,"filename":"image_03112025_09_13_18_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/3/ccc0c954a7a8145b11193fa0029d6000.jpg","text":"TemporaryFile(/tmp/multipartBody519715078894334089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185151832,"filename":"image_03112025_09_13_13_2910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392087139","file1":"1392087136","file0":"1392087133","file4":"1392087144","file5":"1392087146","file3":"1392087142"},"map_files_photo_id_array":[{"photo_id":"1392087146","filename":"file5"},{"photo_id":"1392087139","filename":"file2"},{"photo_id":"1392087144","filename":"file4"},{"photo_id":"1392087136","filename":"file1"},{"photo_id":"1392087133","filename":"file0"},{"photo_id":"1392087142","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392087144":["hashtag1","hashtag2"]},{"1392087146":["hashtag1","hashtag2"]},{"1392087142":["hashtag1","hashtag2"]},{"1392087136":["hashtag1","hashtag2"]},{"1392087139":["hashtag1","hashtag2"]},{"1392087133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392087144, 1392087146, 1392087142, 1392087136, 1392087139, 1392087133)","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 = 1392087142 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_22_3790.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392087142 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_22_3790.jpg";
uploaded 6 photos
time to upload: 123.39863419532776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:52:47.433839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_13_2910.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_16_2826.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_18_2697.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_22_3790.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_25_2613.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_27_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_13_2910.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_16_2826.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_18_2697.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_22_3790.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_25_2613.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_27_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":["1392087795","1392087780","1392087615","1392087653","1392087742","1392087699"],"photo_ids_order":["1392087615","1392087653","1392087699","1392087742","1392087780","1392087795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2d79c811db3bbb42d926982197bb92c3.jpg","text":"TemporaryFile(/tmp/multipartBody8109449392070860750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185228187,"filename":"image_03112025_09_13_27_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/3/6d93fb12893fe62753f88907754fcc31.jpg","text":"TemporaryFile(/tmp/multipartBody4176669111495362926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185228187,"filename":"image_03112025_09_13_25_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/3/cdbb72ffc01462257f5e8f719d8e1390.jpg","text":"TemporaryFile(/tmp/multipartBody1670711622768554201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185228187,"filename":"image_03112025_09_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/3/2a372c0cf0459c8e034455c078aa8890.jpg","text":"TemporaryFile(/tmp/multipartBody3393986205865585800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185228187,"filename":"image_03112025_09_13_16_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/3/8a8f47e93bef2e16cb0f79e75ccdf027.jpg","text":"TemporaryFile(/tmp/multipartBody2217376209906759074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185228187,"filename":"image_03112025_09_13_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/3/f0995028000c191ca51fdc049de4043d.jpg","text":"TemporaryFile(/tmp/multipartBody390668602620662412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185228187,"filename":"image_03112025_09_13_18_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392087699","file1":"1392087653","file0":"1392087615","file4":"1392087780","file5":"1392087795","file3":"1392087742"},"map_files_photo_id_array":[{"photo_id":"1392087795","filename":"file5"},{"photo_id":"1392087699","filename":"file2"},{"photo_id":"1392087780","filename":"file4"},{"photo_id":"1392087653","filename":"file1"},{"photo_id":"1392087615","filename":"file0"},{"photo_id":"1392087742","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392087795":["hashtag1","hashtag2"]},{"1392087780":["hashtag1","hashtag2"]},{"1392087615":["hashtag1","hashtag2"]},{"1392087653":["hashtag1","hashtag2"]},{"1392087742":["hashtag1","hashtag2"]},{"1392087699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392087795, 1392087780, 1392087615, 1392087653, 1392087742, 1392087699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63400101661682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:53:42.623990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_31_3580.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_34_2815.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_37_2866.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_39_2563.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_43_3691.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_46_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_31_3580.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_34_2815.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_37_2866.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_39_2563.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_43_3691.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_46_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392087966","1392087994","1392087982","1392087996","1392087990","1392087984"],"photo_ids_order":["1392087966","1392087982","1392087984","1392087990","1392087994","1392087996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5dd9d2272353529888fb4e6675d93001.jpg","text":"TemporaryFile(/tmp/multipartBody1228523564588064790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185283459,"filename":"image_03112025_09_13_31_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/3/758a5159fa1864e47c9af48147ba43cf.jpg","text":"TemporaryFile(/tmp/multipartBody4203882174372557071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185283459,"filename":"image_03112025_09_13_43_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/3/9b450f50313bbca6229e0953f7c86a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8934812907884902462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185283459,"filename":"image_03112025_09_13_34_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/3/e5cd6cabeed69fda95acea24afa5e006.jpg","text":"TemporaryFile(/tmp/multipartBody4608822049352895598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185283459,"filename":"image_03112025_09_13_46_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0407fbea535cecf6b1954742d6c12895.jpg","text":"TemporaryFile(/tmp/multipartBody3100246214236706133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185283459,"filename":"image_03112025_09_13_39_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/3/51ca4f30602444502ec14ac7eafb2d56.jpg","text":"TemporaryFile(/tmp/multipartBody3234920419351275589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185283459,"filename":"image_03112025_09_13_37_2866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392087984","file1":"1392087982","file0":"1392087966","file4":"1392087994","file5":"1392087996","file3":"1392087990"},"map_files_photo_id_array":[{"photo_id":"1392087996","filename":"file5"},{"photo_id":"1392087984","filename":"file2"},{"photo_id":"1392087994","filename":"file4"},{"photo_id":"1392087982","filename":"file1"},{"photo_id":"1392087966","filename":"file0"},{"photo_id":"1392087990","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392087966":["hashtag1","hashtag2"]},{"1392087994":["hashtag1","hashtag2"]},{"1392087982":["hashtag1","hashtag2"]},{"1392087996":["hashtag1","hashtag2"]},{"1392087990":["hashtag1","hashtag2"]},{"1392087984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392087966, 1392087994, 1392087982, 1392087996, 1392087990, 1392087984)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.98258948326111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:54:42.805388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_48_2638.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_52_3633.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_54_2581.jpg', '/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_58_3570.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_01_2576.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_03_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_48_2638.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_52_3633.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_54_2581.jpg
/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_58_3570.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_01_2576.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_03_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392088137","1392088088","1392088217","1392088051","1392088012","1392088179"],"photo_ids_order":["1392088012","1392088051","1392088088","1392088137","1392088179","1392088217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/86969d5599481e349b6d643999ad1acf.jpg","text":"TemporaryFile(/tmp/multipartBody9150919595462854387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185343637,"filename":"image_03112025_09_13_58_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/3/86d659756bd94938e77e7901eb7233cf.jpg","text":"TemporaryFile(/tmp/multipartBody1408752611783534838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185343637,"filename":"image_03112025_09_13_54_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/3/634688f72c36e1b31eeb0b6e1da8dff0.jpg","text":"TemporaryFile(/tmp/multipartBody1936071191749236300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185343637,"filename":"image_03112025_09_14_03_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/3/f55b66c115130acb74e21df4c3393691.jpg","text":"TemporaryFile(/tmp/multipartBody7297265347186191274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185343637,"filename":"image_03112025_09_13_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/3/08ff3823ace7b461ac9cf8b7d67429e7.jpg","text":"TemporaryFile(/tmp/multipartBody8263398146848584285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185343637,"filename":"image_03112025_09_13_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/3/1ea17c15112393d46bb2c855f673c3b4.jpg","text":"TemporaryFile(/tmp/multipartBody3926183058734397384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185343637,"filename":"image_03112025_09_14_01_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392088088","file1":"1392088051","file0":"1392088012","file4":"1392088179","file5":"1392088217","file3":"1392088137"},"map_files_photo_id_array":[{"photo_id":"1392088217","filename":"file5"},{"photo_id":"1392088088","filename":"file2"},{"photo_id":"1392088179","filename":"file4"},{"photo_id":"1392088051","filename":"file1"},{"photo_id":"1392088012","filename":"file0"},{"photo_id":"1392088137","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392088137":["hashtag1","hashtag2"]},{"1392088088":["hashtag1","hashtag2"]},{"1392088217":["hashtag1","hashtag2"]},{"1392088051":["hashtag1","hashtag2"]},{"1392088012":["hashtag1","hashtag2"]},{"1392088179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392088137, 1392088088, 1392088217, 1392088051, 1392088012, 1392088179)","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 = 1392088088 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/13/image_03112025_09_13_54_2581.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.29266381263733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:56:03.262730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_07_3520.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_09_2637.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_13_3685.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_16_2633.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_18_2665.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_21_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_07_3520.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_09_2637.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_13_3685.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_16_2633.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_18_2665.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_21_2808.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8542952537536621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 16:56:22.766149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_07_3520.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_09_2637.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_13_3685.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_16_2633.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_18_2665.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_21_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_07_3520.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_09_2637.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_13_3685.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_16_2633.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_18_2665.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_21_2808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392088688","1392088775","1392088754","1392088742","1392088766","1392088779"],"photo_ids_order":["1392088688","1392088742","1392088754","1392088766","1392088775","1392088779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c43152147f8b9066c4dd4d5a9ab2b8e3.jpg","text":"TemporaryFile(/tmp/multipartBody3255537162194199742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185443484,"filename":"image_03112025_09_14_07_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/3/919d6cc6490ac598ccdb530e6bd47bca.jpg","text":"TemporaryFile(/tmp/multipartBody185854745397217967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185443484,"filename":"image_03112025_09_14_18_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/3/ab17e8ad01c325729bde1772bb78bace.jpg","text":"TemporaryFile(/tmp/multipartBody2303244498269433825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185443484,"filename":"image_03112025_09_14_13_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2e3b3697af98a775f49e90fd724de9c7.jpg","text":"TemporaryFile(/tmp/multipartBody588289752596590706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185443484,"filename":"image_03112025_09_14_09_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d14996e7b99bc123f469a36fceff71e7.jpg","text":"TemporaryFile(/tmp/multipartBody963928276086167808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185443484,"filename":"image_03112025_09_14_16_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/3/b3a0a5ff64aae747311eb78ef06cdc8b.jpg","text":"TemporaryFile(/tmp/multipartBody6105024174571118494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185443484,"filename":"image_03112025_09_14_21_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392088754","file1":"1392088742","file0":"1392088688","file4":"1392088775","file5":"1392088779","file3":"1392088766"},"map_files_photo_id_array":[{"photo_id":"1392088779","filename":"file5"},{"photo_id":"1392088754","filename":"file2"},{"photo_id":"1392088775","filename":"file4"},{"photo_id":"1392088742","filename":"file1"},{"photo_id":"1392088688","filename":"file0"},{"photo_id":"1392088766","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392088688":["hashtag1","hashtag2"]},{"1392088775":["hashtag1","hashtag2"]},{"1392088754":["hashtag1","hashtag2"]},{"1392088742":["hashtag1","hashtag2"]},{"1392088766":["hashtag1","hashtag2"]},{"1392088779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392088688, 1392088775, 1392088754, 1392088742, 1392088766, 1392088779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31579852104187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:57:02.815449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_25_3632.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_27_2613.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_31_3593.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_34_2622.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_36_2552.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_40_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_25_3632.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_27_2613.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_31_3593.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_34_2622.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_36_2552.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_40_3756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392088883","1392088963","1392088927","1392088843","1392088992","1392088995"],"photo_ids_order":["1392088843","1392088883","1392088927","1392088963","1392088992","1392088995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/37854cb390bc733aca0a21b485eba76e.jpg","text":"TemporaryFile(/tmp/multipartBody8094110739012224474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185483809,"filename":"image_03112025_09_14_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/3/e358c9bea3cebe98648c07fcbf694c57.jpg","text":"TemporaryFile(/tmp/multipartBody6924856616587303130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185483809,"filename":"image_03112025_09_14_34_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/3/dd2d89372c9a9e9e36c524ee6d9bc220.jpg","text":"TemporaryFile(/tmp/multipartBody3428632433129196251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185483809,"filename":"image_03112025_09_14_31_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/3/56989e0c7630743d48e0338c888a98b9.jpg","text":"TemporaryFile(/tmp/multipartBody8852160656145492413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185483809,"filename":"image_03112025_09_14_25_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/3/c7214f70dc7171d65e750f6d4f9f0c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2443368875353697615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185483809,"filename":"image_03112025_09_14_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/3/b5b5ad214b5160eb90b108a00f797ced.jpg","text":"TemporaryFile(/tmp/multipartBody5047296884357187607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185483809,"filename":"image_03112025_09_14_40_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392088927","file1":"1392088883","file0":"1392088843","file4":"1392088992","file5":"1392088995","file3":"1392088963"},"map_files_photo_id_array":[{"photo_id":"1392088995","filename":"file5"},{"photo_id":"1392088927","filename":"file2"},{"photo_id":"1392088992","filename":"file4"},{"photo_id":"1392088883","filename":"file1"},{"photo_id":"1392088843","filename":"file0"},{"photo_id":"1392088963","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392088883":["hashtag1","hashtag2"]},{"1392088963":["hashtag1","hashtag2"]},{"1392088927":["hashtag1","hashtag2"]},{"1392088843":["hashtag1","hashtag2"]},{"1392088992":["hashtag1","hashtag2"]},{"1392088995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392088883, 1392088963, 1392088927, 1392088843, 1392088992, 1392088995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65618276596069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 16:57:42.102870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_43_2597.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_45_2619.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_49_3695.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_52_2710.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_54_2751.jpg', '/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_58_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_43_2597.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_45_2619.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_49_3695.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_52_2710.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_54_2751.jpg
/home/pi/Desktop/images/03112025/09/14/image_03112025_09_14_58_3620.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392089135","1392089123","1392089027","1392089065","1392089107","1392089031"],"photo_ids_order":["1392089027","1392089031","1392089065","1392089107","1392089123","1392089135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/288a33c5431fbdaeae68e68ca572d36a.jpg","text":"TemporaryFile(/tmp/multipartBody8215600959862366495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185522937,"filename":"image_03112025_09_14_58_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/3/0bb76bb97e886554846ff4d16bb42fbc.jpg","text":"TemporaryFile(/tmp/multipartBody7117083303274640506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185522937,"filename":"image_03112025_09_14_54_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/3/e9a4f633c84fb771b94b0ba177fd0c35.jpg","text":"TemporaryFile(/tmp/multipartBody3875266687730225061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185522937,"filename":"image_03112025_09_14_43_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/3/d192065279be48b84d3f0dd08da81bbe.jpg","text":"TemporaryFile(/tmp/multipartBody2046916317101503250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185522937,"filename":"image_03112025_09_14_49_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/3/61ecc10c0465c4d261efa111b6f45ad9.jpg","text":"TemporaryFile(/tmp/multipartBody5160599634112509972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185522937,"filename":"image_03112025_09_14_52_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b31a12aaad079590e873c9afa107a5bc.jpg","text":"TemporaryFile(/tmp/multipartBody6720740298500277451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185522937,"filename":"image_03112025_09_14_45_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392089065","file1":"1392089031","file0":"1392089027","file4":"1392089123","file5":"1392089135","file3":"1392089107"},"map_files_photo_id_array":[{"photo_id":"1392089135","filename":"file5"},{"photo_id":"1392089065","filename":"file2"},{"photo_id":"1392089123","filename":"file4"},{"photo_id":"1392089031","filename":"file1"},{"photo_id":"1392089027","filename":"file0"},{"photo_id":"1392089107","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392089135":["hashtag1","hashtag2"]},{"1392089123":["hashtag1","hashtag2"]},{"1392089027":["hashtag1","hashtag2"]},{"1392089065":["hashtag1","hashtag2"]},{"1392089107":["hashtag1","hashtag2"]},{"1392089031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392089135, 1392089123, 1392089027, 1392089065, 1392089107, 1392089031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83868455886841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 16:59:03.325826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_01_2571.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_03_2663.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_06_2970.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_10_3659.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_12_2544.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_15_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_01_2571.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_03_2663.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_06_2970.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_10_3659.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_12_2544.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_15_2815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392089246","1392089283","1392089271","1392089280","1392089274","1392089277"],"photo_ids_order":["1392089246","1392089271","1392089274","1392089277","1392089280","1392089283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/80abd46927e54d51e729d3d4978803f1.jpg","text":"TemporaryFile(/tmp/multipartBody7442227867934632098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185607228,"filename":"image_03112025_09_15_01_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/3/98752b5badd0275f7215eb4b25cf352e.jpg","text":"TemporaryFile(/tmp/multipartBody1793522148987757207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185607228,"filename":"image_03112025_09_15_15_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/3/63a280540466c4bf7385d83e41141c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6662470967676157643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185607228,"filename":"image_03112025_09_15_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/3/123bf2ada171f3dba0b0743041690920.jpg","text":"TemporaryFile(/tmp/multipartBody463660850077551422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185607228,"filename":"image_03112025_09_15_12_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/3/b0efb889153b151d985989024e019682.jpg","text":"TemporaryFile(/tmp/multipartBody4231662045887044346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185607228,"filename":"image_03112025_09_15_06_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/3/322784aa6760abc32571017c737abe39.jpg","text":"TemporaryFile(/tmp/multipartBody256549188822131664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185607228,"filename":"image_03112025_09_15_10_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392089274","file1":"1392089271","file0":"1392089246","file4":"1392089280","file5":"1392089283","file3":"1392089277"},"map_files_photo_id_array":[{"photo_id":"1392089283","filename":"file5"},{"photo_id":"1392089274","filename":"file2"},{"photo_id":"1392089280","filename":"file4"},{"photo_id":"1392089271","filename":"file1"},{"photo_id":"1392089246","filename":"file0"},{"photo_id":"1392089277","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392089246":["hashtag1","hashtag2"]},{"1392089283":["hashtag1","hashtag2"]},{"1392089271":["hashtag1","hashtag2"]},{"1392089280":["hashtag1","hashtag2"]},{"1392089274":["hashtag1","hashtag2"]},{"1392089277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392089246, 1392089283, 1392089271, 1392089280, 1392089274, 1392089277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.40718483924866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:00:11.356063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 17:00:40.139417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_19_3611.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_21_2619.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_25_3647.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_28_2520.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_30_2599.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_34_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_19_3611.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_21_2619.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_25_3647.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_28_2520.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_30_2599.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_34_3744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392089669","1392089744","1392089624","1392089583","1392089798","1392089709"],"photo_ids_order":["1392089583","1392089624","1392089669","1392089709","1392089744","1392089798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73e6b7ae0de6be70f870238a0b0d19c6.jpg","text":"TemporaryFile(/tmp/multipartBody8247430557794947992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185700969,"filename":"image_03112025_09_15_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/3/1fb7b814bd18cdb889cba3aa8a71b6ba.jpg","text":"TemporaryFile(/tmp/multipartBody5655985985340827667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185700969,"filename":"image_03112025_09_15_30_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/3/6b5ccba479a9485bf3c7aaa8c3ac89e2.jpg","text":"TemporaryFile(/tmp/multipartBody5619275957260396344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185700969,"filename":"image_03112025_09_15_21_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/3/678a0f2c4f90d6fafbefba27ca84b1c8.jpg","text":"TemporaryFile(/tmp/multipartBody5653392934862407588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185700969,"filename":"image_03112025_09_15_19_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/3/3cea5f3cc54f8de241fc65a4c90f224d.jpg","text":"TemporaryFile(/tmp/multipartBody7741017462573626284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185700969,"filename":"image_03112025_09_15_34_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/3/6401a64831a18d08d9a3780433f2d23c.jpg","text":"TemporaryFile(/tmp/multipartBody706190593876505364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185700969,"filename":"image_03112025_09_15_28_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392089669","file1":"1392089624","file0":"1392089583","file4":"1392089744","file5":"1392089798","file3":"1392089709"},"map_files_photo_id_array":[{"photo_id":"1392089798","filename":"file5"},{"photo_id":"1392089669","filename":"file2"},{"photo_id":"1392089744","filename":"file4"},{"photo_id":"1392089624","filename":"file1"},{"photo_id":"1392089583","filename":"file0"},{"photo_id":"1392089709","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392089669":["hashtag1","hashtag2"]},{"1392089744":["hashtag1","hashtag2"]},{"1392089624":["hashtag1","hashtag2"]},{"1392089583":["hashtag1","hashtag2"]},{"1392089798":["hashtag1","hashtag2"]},{"1392089709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392089669, 1392089744, 1392089624, 1392089583, 1392089798, 1392089709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95110845565796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:01:21.886514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_36_2489.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_39_2861.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_43_3564.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_45_2563.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_48_2670.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_52_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_36_2489.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_39_2861.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_43_3564.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_45_2563.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_48_2670.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_52_3530.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392089995","1392090002","1392089997","1392089952","1392089993","1392089999"],"photo_ids_order":["1392089952","1392089993","1392089995","1392089997","1392089999","1392090002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/29c8c33de3916cb7e6e15dfafc91742e.jpg","text":"TemporaryFile(/tmp/multipartBody8265901607795053891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185742768,"filename":"image_03112025_09_15_43_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/3/a71857905d6431e85279fa52a7fa3e41.jpg","text":"TemporaryFile(/tmp/multipartBody3965477177582075733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185742768,"filename":"image_03112025_09_15_52_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/216d949f1a4d9b42076ae65f324b4d30.jpg","text":"TemporaryFile(/tmp/multipartBody5442593226102278379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185742768,"filename":"image_03112025_09_15_45_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/3/f0d1b24b0c1d7c62d417c1d9fd310325.jpg","text":"TemporaryFile(/tmp/multipartBody370400841657725831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185742768,"filename":"image_03112025_09_15_36_2489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36e32a0d8810d009e57424f388ed925d.jpg","text":"TemporaryFile(/tmp/multipartBody1691171875719714875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185742768,"filename":"image_03112025_09_15_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/3/2c79461090a2a842cb40da24a2ed671f.jpg","text":"TemporaryFile(/tmp/multipartBody2048610639501335075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185742768,"filename":"image_03112025_09_15_48_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392089995","file1":"1392089993","file0":"1392089952","file4":"1392089999","file5":"1392090002","file3":"1392089997"},"map_files_photo_id_array":[{"photo_id":"1392090002","filename":"file5"},{"photo_id":"1392089995","filename":"file2"},{"photo_id":"1392089999","filename":"file4"},{"photo_id":"1392089993","filename":"file1"},{"photo_id":"1392089952","filename":"file0"},{"photo_id":"1392089997","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392089995":["hashtag1","hashtag2"]},{"1392090002":["hashtag1","hashtag2"]},{"1392089997":["hashtag1","hashtag2"]},{"1392089952":["hashtag1","hashtag2"]},{"1392089993":["hashtag1","hashtag2"]},{"1392089999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392089995, 1392090002, 1392089997, 1392089952, 1392089993, 1392089999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40016746520996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:02:02.611245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_54_2658.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_57_2791.jpg', '/home/pi/Desktop/images/03112025/09/15/image_03112025_09_16_01_3708.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_04_2758.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_06_2673.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_13_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_54_2658.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_15_57_2791.jpg
/home/pi/Desktop/images/03112025/09/15/image_03112025_09_16_01_3708.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_04_2758.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_06_2673.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_13_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392090225","1392090062","1392090215","1392090101","1392090139","1392090177"],"photo_ids_order":["1392090062","1392090101","1392090139","1392090177","1392090215","1392090225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c8a6b75ada0f95f90c1167cdc163426d.jpg","text":"TemporaryFile(/tmp/multipartBody4740669210440524995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185783472,"filename":"image_03112025_09_16_13_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/3/d96d9e01c03c823d1d4d684ad1bf1031.jpg","text":"TemporaryFile(/tmp/multipartBody5067874098613916613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185783472,"filename":"image_03112025_09_15_54_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/3/2fc03f1dce8d82e15b4ccf5eec89118b.jpg","text":"TemporaryFile(/tmp/multipartBody4479840654048465796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185783472,"filename":"image_03112025_09_16_06_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc9a2807a18e4cc546ea0ecf8a54473e.jpg","text":"TemporaryFile(/tmp/multipartBody8586641003723881210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185783472,"filename":"image_03112025_09_15_57_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b8f211a406fa04a417903cf5c381d06.jpg","text":"TemporaryFile(/tmp/multipartBody6622664408942385733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185783472,"filename":"image_03112025_09_16_01_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/3/b34794ce136d29265fd619655437f2fc.jpg","text":"TemporaryFile(/tmp/multipartBody824135408423249102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185783472,"filename":"image_03112025_09_16_04_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392090139","file1":"1392090101","file0":"1392090062","file4":"1392090215","file5":"1392090225","file3":"1392090177"},"map_files_photo_id_array":[{"photo_id":"1392090225","filename":"file5"},{"photo_id":"1392090139","filename":"file2"},{"photo_id":"1392090215","filename":"file4"},{"photo_id":"1392090101","filename":"file1"},{"photo_id":"1392090062","filename":"file0"},{"photo_id":"1392090177","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392090225":["hashtag1","hashtag2"]},{"1392090062":["hashtag1","hashtag2"]},{"1392090215":["hashtag1","hashtag2"]},{"1392090101":["hashtag1","hashtag2"]},{"1392090139":["hashtag1","hashtag2"]},{"1392090177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392090225, 1392090062, 1392090215, 1392090101, 1392090139, 1392090177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17526817321777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:02:42.149548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_15_2790.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_18_2848.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_22_3722.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_24_2597.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_27_2626.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_33_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_15_2790.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_18_2848.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_22_3722.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_24_2597.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_27_2626.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_33_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392090336","1392090300","1392090455","1392090319","1392090357","1392090348"],"photo_ids_order":["1392090300","1392090319","1392090336","1392090348","1392090357","1392090455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae04b709d6b2728cbef363e9de54ee81.jpg","text":"TemporaryFile(/tmp/multipartBody8513357183457462313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185822996,"filename":"image_03112025_09_16_22_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/3/578164cf8a1fc1188baac99f4ad4de2f.jpg","text":"TemporaryFile(/tmp/multipartBody5789765988881601615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185822996,"filename":"image_03112025_09_16_15_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36b09d466cce758f7386b0b597124be2.jpg","text":"TemporaryFile(/tmp/multipartBody892701655744561782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185822996,"filename":"image_03112025_09_16_33_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5ccef5bddaf4a9023667313556c07c24.jpg","text":"TemporaryFile(/tmp/multipartBody1928808319979303685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185822996,"filename":"image_03112025_09_16_18_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/3/b32d8e6d3f936a9756de3398c959de38.jpg","text":"TemporaryFile(/tmp/multipartBody5839238568981805594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185822996,"filename":"image_03112025_09_16_27_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/3/27f0b9cbd581964f904049ce029afaac.jpg","text":"TemporaryFile(/tmp/multipartBody178817420173425427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185822996,"filename":"image_03112025_09_16_24_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392090336","file1":"1392090319","file0":"1392090300","file4":"1392090357","file5":"1392090455","file3":"1392090348"},"map_files_photo_id_array":[{"photo_id":"1392090455","filename":"file5"},{"photo_id":"1392090336","filename":"file2"},{"photo_id":"1392090357","filename":"file4"},{"photo_id":"1392090319","filename":"file1"},{"photo_id":"1392090300","filename":"file0"},{"photo_id":"1392090348","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392090336":["hashtag1","hashtag2"]},{"1392090300":["hashtag1","hashtag2"]},{"1392090455":["hashtag1","hashtag2"]},{"1392090319":["hashtag1","hashtag2"]},{"1392090357":["hashtag1","hashtag2"]},{"1392090348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392090336, 1392090300, 1392090455, 1392090319, 1392090357, 1392090348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88371562957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:03:22.257129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_36_2574.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_40_3650.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_42_2612.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_46_3704.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_54_2757.jpg', '/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_58_3882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_36_2574.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_40_3650.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_42_2612.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_46_3704.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_54_2757.jpg
/home/pi/Desktop/images/03112025/09/16/image_03112025_09_16_58_3882.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392090612","1392090662","1392090626","1392090672","1392090636","1392090651"],"photo_ids_order":["1392090612","1392090626","1392090636","1392090651","1392090662","1392090672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/74c20a46b0ec5ddcfd7970cf0ca66094.jpg","text":"TemporaryFile(/tmp/multipartBody3337342475198452336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185863058,"filename":"image_03112025_09_16_36_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/3/5ad33cefe7fe95b3d611df83bf488d44.jpg","text":"TemporaryFile(/tmp/multipartBody7998520781553057858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185863058,"filename":"image_03112025_09_16_54_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/3/c697d539305c4ca511575bf9836d0bdd.jpg","text":"TemporaryFile(/tmp/multipartBody6004333699409435915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185863058,"filename":"image_03112025_09_16_40_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/3/52bd3a9e2ad7696bfe3c530870acfbe8.jpg","text":"TemporaryFile(/tmp/multipartBody7707290816712898423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185863058,"filename":"image_03112025_09_16_58_3882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36861bc28ef5194fbf846392ac797fcf.jpg","text":"TemporaryFile(/tmp/multipartBody2408459138654309815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185863058,"filename":"image_03112025_09_16_42_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/3/e49253fd6baa9d6a8d2650eaf96feeeb.jpg","text":"TemporaryFile(/tmp/multipartBody1207707932513750798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185863058,"filename":"image_03112025_09_16_46_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392090636","file1":"1392090626","file0":"1392090612","file4":"1392090662","file5":"1392090672","file3":"1392090651"},"map_files_photo_id_array":[{"photo_id":"1392090672","filename":"file5"},{"photo_id":"1392090636","filename":"file2"},{"photo_id":"1392090662","filename":"file4"},{"photo_id":"1392090626","filename":"file1"},{"photo_id":"1392090612","filename":"file0"},{"photo_id":"1392090651","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392090612":["hashtag1","hashtag2"]},{"1392090662":["hashtag1","hashtag2"]},{"1392090626":["hashtag1","hashtag2"]},{"1392090672":["hashtag1","hashtag2"]},{"1392090636":["hashtag1","hashtag2"]},{"1392090651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392090612, 1392090662, 1392090626, 1392090672, 1392090636, 1392090651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88307309150696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:04:02.978015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_01_2621.jpg', '/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_03_2689.jpg', '/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_06_2737.jpg', '/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_12_2633.jpg', '/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_16_3608.jpg', '/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_30_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_01_2621.jpg
/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_03_2689.jpg
/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_06_2737.jpg
/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_12_2633.jpg
/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_16_3608.jpg
/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_30_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392090705","1392090702","1392090680","1392090694","1392090676","1392090699"],"photo_ids_order":["1392090676","1392090680","1392090694","1392090699","1392090702","1392090705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4e0abddf1079e8ae56d47e90da78baaa.jpg","text":"TemporaryFile(/tmp/multipartBody1982848985834885931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185903831,"filename":"image_03112025_09_17_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/3/1f3bc02e7f1a3fa562dcb444fd402dee.jpg","text":"TemporaryFile(/tmp/multipartBody5104561907910498195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185903831,"filename":"image_03112025_09_17_16_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/3/2af47255ecf9a8f4f04745b7172c9648.jpg","text":"TemporaryFile(/tmp/multipartBody236921250304016749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185903831,"filename":"image_03112025_09_17_03_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/3/88360d10eaa54f5b0fbe0e98824771ee.jpg","text":"TemporaryFile(/tmp/multipartBody2520778997774301495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185903831,"filename":"image_03112025_09_17_06_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/3/b31123d35464f76ea77f7004d1cdcf5a.jpg","text":"TemporaryFile(/tmp/multipartBody8932004774686818010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185903831,"filename":"image_03112025_09_17_01_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/3/180d7fcb1e9050394d75c8970cb33480.jpg","text":"TemporaryFile(/tmp/multipartBody8120212092609260543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185903831,"filename":"image_03112025_09_17_12_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392090694","file1":"1392090680","file0":"1392090676","file4":"1392090702","file5":"1392090705","file3":"1392090699"},"map_files_photo_id_array":[{"photo_id":"1392090705","filename":"file5"},{"photo_id":"1392090694","filename":"file2"},{"photo_id":"1392090702","filename":"file4"},{"photo_id":"1392090680","filename":"file1"},{"photo_id":"1392090676","filename":"file0"},{"photo_id":"1392090699","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392090705":["hashtag1","hashtag2"]},{"1392090702":["hashtag1","hashtag2"]},{"1392090680":["hashtag1","hashtag2"]},{"1392090694":["hashtag1","hashtag2"]},{"1392090676":["hashtag1","hashtag2"]},{"1392090699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392090705, 1392090702, 1392090680, 1392090694, 1392090676, 1392090699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74863004684448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:04:42.483312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_34_3770.jpg', '/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_51_2831.jpg', '/home/pi/Desktop/images/03112025/09/18/image_03112025_09_18_03_2565.jpg', '/home/pi/Desktop/images/03112025/09/18/image_03112025_09_18_45_2637.jpg', '/home/pi/Desktop/images/03112025/09/18/image_03112025_09_18_57_2831.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_12_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_34_3770.jpg
/home/pi/Desktop/images/03112025/09/17/image_03112025_09_17_51_2831.jpg
/home/pi/Desktop/images/03112025/09/18/image_03112025_09_18_03_2565.jpg
/home/pi/Desktop/images/03112025/09/18/image_03112025_09_18_45_2637.jpg
/home/pi/Desktop/images/03112025/09/18/image_03112025_09_18_57_2831.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_12_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392090831","1392090912","1392090845","1392090886","1392090826","1392090829"],"photo_ids_order":["1392090826","1392090829","1392090831","1392090845","1392090886","1392090912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73f4fa7b9daee6fe64118a20f351970f.jpg","text":"TemporaryFile(/tmp/multipartBody6579191469133427538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185943353,"filename":"image_03112025_09_18_03_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/3/8f91b255bab91552eeaa3ae0751a60b6.jpg","text":"TemporaryFile(/tmp/multipartBody4095550433016849599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185943353,"filename":"image_03112025_09_19_12_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc749c5fc9f0aee2c93bb2a5ba3fea4b.jpg","text":"TemporaryFile(/tmp/multipartBody402624955043746317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185943353,"filename":"image_03112025_09_18_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/3/95d96e4d226a983f5362406102eadb90.jpg","text":"TemporaryFile(/tmp/multipartBody3270116815200936676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185943353,"filename":"image_03112025_09_18_57_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6aa15fc5d48c1754cd66a5adcfbcaa7f.jpg","text":"TemporaryFile(/tmp/multipartBody6601778684249866095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185943353,"filename":"image_03112025_09_17_34_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/3/e75ecb83be1ce92fcdbefa22bc950df6.jpg","text":"TemporaryFile(/tmp/multipartBody5949365140326531098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762185943353,"filename":"image_03112025_09_17_51_2831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392090831","file1":"1392090829","file0":"1392090826","file4":"1392090886","file5":"1392090912","file3":"1392090845"},"map_files_photo_id_array":[{"photo_id":"1392090912","filename":"file5"},{"photo_id":"1392090831","filename":"file2"},{"photo_id":"1392090886","filename":"file4"},{"photo_id":"1392090829","filename":"file1"},{"photo_id":"1392090826","filename":"file0"},{"photo_id":"1392090845","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392090831":["hashtag1","hashtag2"]},{"1392090912":["hashtag1","hashtag2"]},{"1392090845":["hashtag1","hashtag2"]},{"1392090886":["hashtag1","hashtag2"]},{"1392090826":["hashtag1","hashtag2"]},{"1392090829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392090831, 1392090912, 1392090845, 1392090886, 1392090826, 1392090829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.400370597839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:05:22.597390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_19_3680.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_21_2622.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_27_3659.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_36_3612.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_45_3637.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_54_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_19_3680.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_21_2622.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_27_3659.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_36_3612.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_45_3637.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_54_3772.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2588791847229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:05:42.763440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_19_3680.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_21_2622.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_27_3659.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_36_3612.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_45_3637.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_54_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_19_3680.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_21_2622.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_27_3659.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_36_3612.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_45_3637.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_54_3772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392091019","1392091016","1392091021","1392091059","1392091023","1392091011"],"photo_ids_order":["1392091011","1392091016","1392091019","1392091021","1392091023","1392091059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26178fa134c7f29efdede6693058b321.jpg","text":"TemporaryFile(/tmp/multipartBody1800807602815336125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186003486,"filename":"image_03112025_09_19_27_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/3/a7028022723d12ad255a9f1f2da30691.jpg","text":"TemporaryFile(/tmp/multipartBody1227562202712080589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186003486,"filename":"image_03112025_09_19_21_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/3/c9cf54843e64037db0c74bd3bbf8d83a.jpg","text":"TemporaryFile(/tmp/multipartBody6394873755490367032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186003486,"filename":"image_03112025_09_19_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/3/43aede05a64ac649262005d71ae7ce72.jpg","text":"TemporaryFile(/tmp/multipartBody7334386147361400765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186003486,"filename":"image_03112025_09_19_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/3/1c4f92f4194845d5036d2abc9306e035.jpg","text":"TemporaryFile(/tmp/multipartBody438196655255945308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186003486,"filename":"image_03112025_09_19_45_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/3/eaa97fe0718b618caa45c36dd68fe9e1.jpg","text":"TemporaryFile(/tmp/multipartBody5071959975468559297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186003486,"filename":"image_03112025_09_19_19_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392091019","file1":"1392091016","file0":"1392091011","file4":"1392091023","file5":"1392091059","file3":"1392091021"},"map_files_photo_id_array":[{"photo_id":"1392091059","filename":"file5"},{"photo_id":"1392091019","filename":"file2"},{"photo_id":"1392091023","filename":"file4"},{"photo_id":"1392091016","filename":"file1"},{"photo_id":"1392091011","filename":"file0"},{"photo_id":"1392091021","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392091019":["hashtag1","hashtag2"]},{"1392091016":["hashtag1","hashtag2"]},{"1392091021":["hashtag1","hashtag2"]},{"1392091059":["hashtag1","hashtag2"]},{"1392091023":["hashtag1","hashtag2"]},{"1392091011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392091019, 1392091016, 1392091021, 1392091059, 1392091023, 1392091011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23018503189087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:06:21.881790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_57_2684.jpg', '/home/pi/Desktop/images/03112025/09/19/image_03112025_09_20_00_2796.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_06_2992.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_15_2685.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_18_3733.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_21_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_19_57_2684.jpg
/home/pi/Desktop/images/03112025/09/19/image_03112025_09_20_00_2796.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_06_2992.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_15_2685.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_18_3733.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_21_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392091139","1392091132","1392091135","1392091129","1392091149","1392091187"],"photo_ids_order":["1392091129","1392091132","1392091135","1392091139","1392091149","1392091187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5d31bf7fad8f37c0a730d5bc4c15d850.jpg","text":"TemporaryFile(/tmp/multipartBody5003968289623464569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186042718,"filename":"image_03112025_09_20_15_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0bf5785bd1fac8b8c615f34d002f3ce0.jpg","text":"TemporaryFile(/tmp/multipartBody1234368155628211723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186042718,"filename":"image_03112025_09_20_00_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/3/610417364f9edeb2c708a60dc3c6ec72.jpg","text":"TemporaryFile(/tmp/multipartBody5185384225371218109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186042718,"filename":"image_03112025_09_20_06_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/3/78732e24675384549ba7b5d2096cd70f.jpg","text":"TemporaryFile(/tmp/multipartBody620537329932782313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186042718,"filename":"image_03112025_09_19_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/3/a58684e2c59fb0b1d12bc693adc8fe5c.jpg","text":"TemporaryFile(/tmp/multipartBody2019269783011144821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186042718,"filename":"image_03112025_09_20_18_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/3/08668034b4fe7f2878d6e9160270d6c2.jpg","text":"TemporaryFile(/tmp/multipartBody3559317194697006510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186042718,"filename":"image_03112025_09_20_21_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392091135","file1":"1392091132","file0":"1392091129","file4":"1392091149","file5":"1392091187","file3":"1392091139"},"map_files_photo_id_array":[{"photo_id":"1392091187","filename":"file5"},{"photo_id":"1392091135","filename":"file2"},{"photo_id":"1392091149","filename":"file4"},{"photo_id":"1392091132","filename":"file1"},{"photo_id":"1392091129","filename":"file0"},{"photo_id":"1392091139","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392091139":["hashtag1","hashtag2"]},{"1392091132":["hashtag1","hashtag2"]},{"1392091135":["hashtag1","hashtag2"]},{"1392091129":["hashtag1","hashtag2"]},{"1392091149":["hashtag1","hashtag2"]},{"1392091187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392091139, 1392091132, 1392091135, 1392091129, 1392091149, 1392091187)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.23078179359436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:07:22.052948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_27_3627.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_30_2702.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_33_2764.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_36_2700.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_39_3662.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_42_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_27_3627.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_30_2702.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_33_2764.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_36_2700.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_39_3662.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_42_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392091330","1392091417","1392091368","1392091290","1392091413","1392091407"],"photo_ids_order":["1392091290","1392091330","1392091368","1392091407","1392091413","1392091417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f167a74f58063305ac8572a66f8c0308.jpg","text":"TemporaryFile(/tmp/multipartBody1004150722008457695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186102872,"filename":"image_03112025_09_20_30_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/3/9474784367a412c4dcb20c9deeb23e6f.jpg","text":"TemporaryFile(/tmp/multipartBody8850039229981451923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186102872,"filename":"image_03112025_09_20_42_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/3/dec45e65ab0a80d290ab0f3d37a7cf9d.jpg","text":"TemporaryFile(/tmp/multipartBody5520610872556605980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186102872,"filename":"image_03112025_09_20_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/3/b4b0a3c02aca5c162dc58981a2b8ca62.jpg","text":"TemporaryFile(/tmp/multipartBody1419822193440499892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186102872,"filename":"image_03112025_09_20_27_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/3/ed7b20a2b7057560c3c6cf19de4c381a.jpg","text":"TemporaryFile(/tmp/multipartBody177906667022933933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186102872,"filename":"image_03112025_09_20_39_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/3/2a7be4b5cc6071718d023cad55fa7eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5362985606900298482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186102872,"filename":"image_03112025_09_20_36_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392091368","file1":"1392091330","file0":"1392091290","file4":"1392091413","file5":"1392091417","file3":"1392091407"},"map_files_photo_id_array":[{"photo_id":"1392091417","filename":"file5"},{"photo_id":"1392091368","filename":"file2"},{"photo_id":"1392091413","filename":"file4"},{"photo_id":"1392091330","filename":"file1"},{"photo_id":"1392091290","filename":"file0"},{"photo_id":"1392091407","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392091330":["hashtag1","hashtag2"]},{"1392091417":["hashtag1","hashtag2"]},{"1392091368":["hashtag1","hashtag2"]},{"1392091290":["hashtag1","hashtag2"]},{"1392091413":["hashtag1","hashtag2"]},{"1392091407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392091330, 1392091417, 1392091368, 1392091290, 1392091413, 1392091407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.814236640930176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:08:03.198269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_45_2650.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_48_3642.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_51_2579.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_57_2789.jpg', '/home/pi/Desktop/images/03112025/09/20/image_03112025_09_21_00_2942.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_06_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_45_2650.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_48_3642.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_51_2579.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_20_57_2789.jpg
/home/pi/Desktop/images/03112025/09/20/image_03112025_09_21_00_2942.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_06_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":["1392091529","1392091573","1392091570","1392091513","1392091497","1392091509"],"photo_ids_order":["1392091497","1392091509","1392091513","1392091529","1392091570","1392091573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/815619dd2efddeb1b7a88d1a0d3ae68c.jpg","text":"TemporaryFile(/tmp/multipartBody1518423717976620448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186146762,"filename":"image_03112025_09_20_57_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/3/46c7286de45f6e21c99c655d70bde8dd.jpg","text":"TemporaryFile(/tmp/multipartBody4835467909434032880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186146762,"filename":"image_03112025_09_21_06_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/3/1c0c11dbd2e4059669b213c2a8b91123.jpg","text":"TemporaryFile(/tmp/multipartBody190539404726667386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186146762,"filename":"image_03112025_09_21_00_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be245f5cbb6095c0ddda4a8af35b3893.jpg","text":"TemporaryFile(/tmp/multipartBody8610148974627508267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186146762,"filename":"image_03112025_09_20_51_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b0be2e2c45d544e890937a942337ba83.jpg","text":"TemporaryFile(/tmp/multipartBody3507819793112005951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186146762,"filename":"image_03112025_09_20_45_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71987be2731d8dda152cd25b683e049f.jpg","text":"TemporaryFile(/tmp/multipartBody514369649011429429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186146762,"filename":"image_03112025_09_20_48_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392091513","file1":"1392091509","file0":"1392091497","file4":"1392091570","file5":"1392091573","file3":"1392091529"},"map_files_photo_id_array":[{"photo_id":"1392091573","filename":"file5"},{"photo_id":"1392091513","filename":"file2"},{"photo_id":"1392091570","filename":"file4"},{"photo_id":"1392091509","filename":"file1"},{"photo_id":"1392091497","filename":"file0"},{"photo_id":"1392091529","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392091529":["hashtag1","hashtag2"]},{"1392091573":["hashtag1","hashtag2"]},{"1392091570":["hashtag1","hashtag2"]},{"1392091513":["hashtag1","hashtag2"]},{"1392091497":["hashtag1","hashtag2"]},{"1392091509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392091529, 1392091573, 1392091570, 1392091513, 1392091497, 1392091509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.72352576255798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:09:09.024052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 17:09:31.672003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 17:09:48.540800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_09_3789.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_18_3647.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_21_2572.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_24_2867.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_33_3610.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_36_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_09_3789.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_18_3647.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_21_2572.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_24_2867.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_33_3610.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_36_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392091664","1392091637","1392091639","1392091671","1392091641","1392091644"],"photo_ids_order":["1392091637","1392091639","1392091641","1392091644","1392091664","1392091671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f3bee5ca869a6c20b12ac458dbf8c1ea.jpg","text":"TemporaryFile(/tmp/multipartBody8793437102338782176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186249401,"filename":"image_03112025_09_21_33_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/3/c57f5eeddf53a1286fbfbc101b26a73b.jpg","text":"TemporaryFile(/tmp/multipartBody4737604281000673737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186249401,"filename":"image_03112025_09_21_09_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/3/5193ce05aa93f5fdb850da5b1fbdc283.jpg","text":"TemporaryFile(/tmp/multipartBody3700912787997261606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186249401,"filename":"image_03112025_09_21_18_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/3/35c8a7711b1ed7657567067005051a9b.jpg","text":"TemporaryFile(/tmp/multipartBody1968218560378717143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186249401,"filename":"image_03112025_09_21_36_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a8ba5a6b9a4b114c999ac213730c7ed.jpg","text":"TemporaryFile(/tmp/multipartBody3350065022466001476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186249401,"filename":"image_03112025_09_21_21_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/3/1400cc87369f721cd4bb6a8c01878957.jpg","text":"TemporaryFile(/tmp/multipartBody4707902075982348557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186249401,"filename":"image_03112025_09_21_24_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392091641","file1":"1392091639","file0":"1392091637","file4":"1392091664","file5":"1392091671","file3":"1392091644"},"map_files_photo_id_array":[{"photo_id":"1392091671","filename":"file5"},{"photo_id":"1392091641","filename":"file2"},{"photo_id":"1392091664","filename":"file4"},{"photo_id":"1392091639","filename":"file1"},{"photo_id":"1392091637","filename":"file0"},{"photo_id":"1392091644","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392091664":["hashtag1","hashtag2"]},{"1392091637":["hashtag1","hashtag2"]},{"1392091639":["hashtag1","hashtag2"]},{"1392091671":["hashtag1","hashtag2"]},{"1392091641":["hashtag1","hashtag2"]},{"1392091644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392091664, 1392091637, 1392091639, 1392091671, 1392091641, 1392091644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24213242530823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:10:42.927379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_39_3681.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_42_2647.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_45_2675.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_47_2675.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_51_3881.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_54_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_39_3681.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_42_2647.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_45_2675.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_47_2675.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_51_3881.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_54_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392091727","1392091712","1392091729","1392091723","1392091722","1392091725"],"photo_ids_order":["1392091712","1392091722","1392091723","1392091725","1392091727","1392091729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/beb514988dbf8cd0b57a9fcc3d6590b1.jpg","text":"TemporaryFile(/tmp/multipartBody2233248851349583733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186303814,"filename":"image_03112025_09_21_51_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/3/389d6e64cd2f1496479c9b317164e912.jpg","text":"TemporaryFile(/tmp/multipartBody4431494624490796101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186303814,"filename":"image_03112025_09_21_39_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1fd5006e53452cd84f0492ea2ca7f6bc.jpg","text":"TemporaryFile(/tmp/multipartBody5083145790535773208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186303814,"filename":"image_03112025_09_21_54_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a8e806e638dae0b28fde8271d9e0ce8a.jpg","text":"TemporaryFile(/tmp/multipartBody8297807030556501818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186303814,"filename":"image_03112025_09_21_45_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/3/6d61cc936d2b3376738d1d44ea5c91f5.jpg","text":"TemporaryFile(/tmp/multipartBody8320858035530067764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186303814,"filename":"image_03112025_09_21_42_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/798f23af36575e3789e0a3a1d2059987.jpg","text":"TemporaryFile(/tmp/multipartBody5028354839044509414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186303814,"filename":"image_03112025_09_21_47_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392091723","file1":"1392091722","file0":"1392091712","file4":"1392091727","file5":"1392091729","file3":"1392091725"},"map_files_photo_id_array":[{"photo_id":"1392091729","filename":"file5"},{"photo_id":"1392091723","filename":"file2"},{"photo_id":"1392091727","filename":"file4"},{"photo_id":"1392091722","filename":"file1"},{"photo_id":"1392091712","filename":"file0"},{"photo_id":"1392091725","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392091727":["hashtag1","hashtag2"]},{"1392091712":["hashtag1","hashtag2"]},{"1392091729":["hashtag1","hashtag2"]},{"1392091723":["hashtag1","hashtag2"]},{"1392091722":["hashtag1","hashtag2"]},{"1392091725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392091727, 1392091712, 1392091729, 1392091723, 1392091722, 1392091725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22117757797241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:11:22.077999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_57_2568.jpg', '/home/pi/Desktop/images/03112025/09/21/image_03112025_09_22_00_3640.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_03_2635.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_06_2722.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_09_3697.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_12_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_21_57_2568.jpg
/home/pi/Desktop/images/03112025/09/21/image_03112025_09_22_00_3640.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_03_2635.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_06_2722.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_09_3697.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_12_2566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392091795","1392091797","1392091779","1392091800","1392091790","1392091793"],"photo_ids_order":["1392091779","1392091790","1392091793","1392091795","1392091797","1392091800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/70682eb966e2292741e050527c18a04c.jpg","text":"TemporaryFile(/tmp/multipartBody3239815555091643346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186342920,"filename":"image_03112025_09_22_06_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/3/be13f15e290ae472d79546edf92259a1.jpg","text":"TemporaryFile(/tmp/multipartBody1621109397220203533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186342920,"filename":"image_03112025_09_22_09_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/3/f20f117f46a1275791f3c7f4654d1fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8238881900761033654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186342920,"filename":"image_03112025_09_21_57_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/3/ba10511b9ca2deb27794c0fda65d1058.jpg","text":"TemporaryFile(/tmp/multipartBody6705592880366982210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186342920,"filename":"image_03112025_09_22_12_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/3/148932a7402e2ba30fba5116cf58ab42.jpg","text":"TemporaryFile(/tmp/multipartBody1491137001670064614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186342920,"filename":"image_03112025_09_22_00_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5cda38e7acf253cc0b40fdd0502b4247.jpg","text":"TemporaryFile(/tmp/multipartBody2008755935709807152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186342920,"filename":"image_03112025_09_22_03_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392091793","file1":"1392091790","file0":"1392091779","file4":"1392091797","file5":"1392091800","file3":"1392091795"},"map_files_photo_id_array":[{"photo_id":"1392091800","filename":"file5"},{"photo_id":"1392091793","filename":"file2"},{"photo_id":"1392091797","filename":"file4"},{"photo_id":"1392091790","filename":"file1"},{"photo_id":"1392091779","filename":"file0"},{"photo_id":"1392091795","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392091795":["hashtag1","hashtag2"]},{"1392091797":["hashtag1","hashtag2"]},{"1392091779":["hashtag1","hashtag2"]},{"1392091800":["hashtag1","hashtag2"]},{"1392091790":["hashtag1","hashtag2"]},{"1392091793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392091795, 1392091797, 1392091779, 1392091800, 1392091790, 1392091793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56130003929138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:12:02.869908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_15_2688.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_18_3824.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_21_2593.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_24_2797.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_26_2643.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_30_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_15_2688.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_18_3824.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_21_2593.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_24_2797.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_26_2643.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_30_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392091883","1392091904","1392091819","1392091890","1392091886","1392091880"],"photo_ids_order":["1392091819","1392091880","1392091883","1392091886","1392091890","1392091904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f09c3f0ce3e32f8cf374717623db5ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2210123901016017396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186383788,"filename":"image_03112025_09_22_21_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/3/fe01aa56e68df311e7f614311bcadf3e.jpg","text":"TemporaryFile(/tmp/multipartBody3643267299882313237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186383788,"filename":"image_03112025_09_22_30_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/3/693d4c60da81cc848440572e1572199a.jpg","text":"TemporaryFile(/tmp/multipartBody129214655869907794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186383788,"filename":"image_03112025_09_22_15_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7d5c612dc397bcdbec2075a65e83d353.jpg","text":"TemporaryFile(/tmp/multipartBody8578334472994248065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186383788,"filename":"image_03112025_09_22_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/3/51d2543e3b4db2f002939168b73250cc.jpg","text":"TemporaryFile(/tmp/multipartBody7980243050548570381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186383788,"filename":"image_03112025_09_22_24_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/3/8706cc8e8431c1e1fa509655765d1e80.jpg","text":"TemporaryFile(/tmp/multipartBody6637544532033353338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186383788,"filename":"image_03112025_09_22_18_3824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392091883","file1":"1392091880","file0":"1392091819","file4":"1392091890","file5":"1392091904","file3":"1392091886"},"map_files_photo_id_array":[{"photo_id":"1392091904","filename":"file5"},{"photo_id":"1392091883","filename":"file2"},{"photo_id":"1392091890","filename":"file4"},{"photo_id":"1392091880","filename":"file1"},{"photo_id":"1392091819","filename":"file0"},{"photo_id":"1392091886","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392091883":["hashtag1","hashtag2"]},{"1392091904":["hashtag1","hashtag2"]},{"1392091819":["hashtag1","hashtag2"]},{"1392091890":["hashtag1","hashtag2"]},{"1392091886":["hashtag1","hashtag2"]},{"1392091880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392091883, 1392091904, 1392091819, 1392091890, 1392091886, 1392091880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.533148527145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:12:42.401394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_33_2581.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_36_3202.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_38_2586.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_42_3847.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_45_2661.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_48_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_33_2581.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_36_3202.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_38_2586.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_42_3847.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_45_2661.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_48_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392091964","1392091990","1392091954","1392091957","1392091962","1392091959"],"photo_ids_order":["1392091954","1392091957","1392091959","1392091962","1392091964","1392091990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8942e8fc0941a7f04d4964122276cbc3.jpg","text":"TemporaryFile(/tmp/multipartBody3767543667440620314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186423328,"filename":"image_03112025_09_22_45_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/3/33817368d3a9456e5624c924ad1853be.jpg","text":"TemporaryFile(/tmp/multipartBody7514659109205289808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186423328,"filename":"image_03112025_09_22_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/3/82c41dae9b2f2cfb9f0b25c45c56c5a3.jpg","text":"TemporaryFile(/tmp/multipartBody319427258039188567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186423328,"filename":"image_03112025_09_22_33_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/3/ec66cfff33c166015d58db06d4d98550.jpg","text":"TemporaryFile(/tmp/multipartBody6126699490918638284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186423328,"filename":"image_03112025_09_22_36_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/3/03122e3894274cc0a3a809c25fa5b72f.jpg","text":"TemporaryFile(/tmp/multipartBody7820491685593671909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186423328,"filename":"image_03112025_09_22_42_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6859d483901f5b3ac9f49c0b44c382b3.jpg","text":"TemporaryFile(/tmp/multipartBody4488615571112548853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186423328,"filename":"image_03112025_09_22_38_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392091959","file1":"1392091957","file0":"1392091954","file4":"1392091964","file5":"1392091990","file3":"1392091962"},"map_files_photo_id_array":[{"photo_id":"1392091990","filename":"file5"},{"photo_id":"1392091959","filename":"file2"},{"photo_id":"1392091964","filename":"file4"},{"photo_id":"1392091957","filename":"file1"},{"photo_id":"1392091954","filename":"file0"},{"photo_id":"1392091962","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392091964":["hashtag1","hashtag2"]},{"1392091990":["hashtag1","hashtag2"]},{"1392091954":["hashtag1","hashtag2"]},{"1392091957":["hashtag1","hashtag2"]},{"1392091962":["hashtag1","hashtag2"]},{"1392091959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392091964, 1392091990, 1392091954, 1392091957, 1392091962, 1392091959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56727886199951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:13:22.496370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_51_2860.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_54_3616.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_57_2672.jpg', '/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_59_2599.jpg', '/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_06_2842.jpg', '/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_09_2847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_51_2860.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_54_3616.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_57_2672.jpg
/home/pi/Desktop/images/03112025/09/22/image_03112025_09_22_59_2599.jpg
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_06_2842.jpg
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_09_2847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392092089","1392092170","1392092038","1392092023","1392092208","1392092132"],"photo_ids_order":["1392092023","1392092038","1392092089","1392092132","1392092170","1392092208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db3d76592d6e188d927b6a9c1ddc8f1a.jpg","text":"TemporaryFile(/tmp/multipartBody4251881899792415666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186463353,"filename":"image_03112025_09_22_57_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/3/b7302ffe3b53a254f10a52039129dcad.jpg","text":"TemporaryFile(/tmp/multipartBody8761930541050536482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186463353,"filename":"image_03112025_09_23_06_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/3/5a6b1e2c1a49c16cce45bfc4d8924b44.jpg","text":"TemporaryFile(/tmp/multipartBody733079109091519395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186463353,"filename":"image_03112025_09_22_54_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/3/695557fa020d58df2f599ffe63e386ca.jpg","text":"TemporaryFile(/tmp/multipartBody1692550346441758363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186463353,"filename":"image_03112025_09_22_51_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/3/e1eca7d64da3f506f1fb1d00b2178909.jpg","text":"TemporaryFile(/tmp/multipartBody8170657694909594971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186463353,"filename":"image_03112025_09_23_09_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/3/0e01be7d7d06b8d1af92564d9e2eebbd.jpg","text":"TemporaryFile(/tmp/multipartBody2071457450962079282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186463353,"filename":"image_03112025_09_22_59_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392092089","file1":"1392092038","file0":"1392092023","file4":"1392092170","file5":"1392092208","file3":"1392092132"},"map_files_photo_id_array":[{"photo_id":"1392092208","filename":"file5"},{"photo_id":"1392092089","filename":"file2"},{"photo_id":"1392092170","filename":"file4"},{"photo_id":"1392092038","filename":"file1"},{"photo_id":"1392092023","filename":"file0"},{"photo_id":"1392092132","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392092089":["hashtag1","hashtag2"]},{"1392092170":["hashtag1","hashtag2"]},{"1392092038":["hashtag1","hashtag2"]},{"1392092023":["hashtag1","hashtag2"]},{"1392092208":["hashtag1","hashtag2"]},{"1392092132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392092089, 1392092170, 1392092038, 1392092023, 1392092208, 1392092132)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.69813513755798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:14:22.806095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_12_2716.jpg', '/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_15_3699.jpg', '/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_23_2709.jpg', '/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_32_2803.jpg', '/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_36_3726.jpg', '/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_39_2414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_12_2716.jpg
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_15_3699.jpg
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_23_2709.jpg
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_32_2803.jpg
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_36_3726.jpg
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_39_2414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392092441","1392092408","1392092437","1392092376","1392092421","1392092439"],"photo_ids_order":["1392092376","1392092408","1392092421","1392092437","1392092439","1392092441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f060154c146b47f30a849ebaebfe253d.jpg","text":"TemporaryFile(/tmp/multipartBody7038107126277991106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186524989,"filename":"image_03112025_09_23_39_2414.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/49d3f93f09da8720c27845022ad7f540.jpg","text":"TemporaryFile(/tmp/multipartBody989575149867415186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186524989,"filename":"image_03112025_09_23_15_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/3/9279f910b7073898d266ce6aadb93a11.jpg","text":"TemporaryFile(/tmp/multipartBody2526738162749118059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186524989,"filename":"image_03112025_09_23_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/3/22e00241734e2b6c881f79f4e8929364.jpg","text":"TemporaryFile(/tmp/multipartBody4729015431423932694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186524989,"filename":"image_03112025_09_23_12_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/3/abf1779027550c16764d069a24b6a3e3.jpg","text":"TemporaryFile(/tmp/multipartBody3262379056231899096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186524989,"filename":"image_03112025_09_23_23_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/3/b779f4cfaa55e22443307a3459dfd3f3.jpg","text":"TemporaryFile(/tmp/multipartBody1699367140403080944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186524989,"filename":"image_03112025_09_23_36_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392092421","file1":"1392092408","file0":"1392092376","file4":"1392092439","file5":"1392092441","file3":"1392092437"},"map_files_photo_id_array":[{"photo_id":"1392092441","filename":"file5"},{"photo_id":"1392092421","filename":"file2"},{"photo_id":"1392092439","filename":"file4"},{"photo_id":"1392092408","filename":"file1"},{"photo_id":"1392092376","filename":"file0"},{"photo_id":"1392092437","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392092441":["hashtag1","hashtag2"]},{"1392092408":["hashtag1","hashtag2"]},{"1392092437":["hashtag1","hashtag2"]},{"1392092376":["hashtag1","hashtag2"]},{"1392092421":["hashtag1","hashtag2"]},{"1392092439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392092441, 1392092408, 1392092437, 1392092376, 1392092421, 1392092439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04214406013489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:15:23.126695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_41_2652.jpg', '/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_45_3642.jpg', '/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_57_2621.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_02_5079.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_11_2710.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_15_3884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_41_2652.jpg
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_45_3642.jpg
/home/pi/Desktop/images/03112025/09/23/image_03112025_09_23_57_2621.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_02_5079.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_11_2710.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_15_3884.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392092559","1392092544","1392092547","1392092541","1392092555","1392092564"],"photo_ids_order":["1392092541","1392092544","1392092547","1392092555","1392092559","1392092564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8dc828cdf7e4daa0759cd4a48c1e0c87.jpg","text":"TemporaryFile(/tmp/multipartBody8320627760486366756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186584003,"filename":"image_03112025_09_24_11_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/3/9ac0dd17a3b8633b17289a6c8383644a.jpg","text":"TemporaryFile(/tmp/multipartBody1128737405453609386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186584003,"filename":"image_03112025_09_23_45_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/3/f162b927864c886f32e5aa30131f6542.jpg","text":"TemporaryFile(/tmp/multipartBody5637895544896954612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186584003,"filename":"image_03112025_09_23_57_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/3/fd1d41893ff4a5ee71d31c9d4997500b.jpg","text":"TemporaryFile(/tmp/multipartBody7246191911800072983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186584003,"filename":"image_03112025_09_23_41_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/3/6f8bacf6a312fbbd9ca2304f3db4c4b8.jpg","text":"TemporaryFile(/tmp/multipartBody7098185043689075369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186584003,"filename":"image_03112025_09_24_02_5079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9330dc1701854970b714df73b0fb945d.jpg","text":"TemporaryFile(/tmp/multipartBody2407126995158322898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186584003,"filename":"image_03112025_09_24_15_3884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392092547","file1":"1392092544","file0":"1392092541","file4":"1392092559","file5":"1392092564","file3":"1392092555"},"map_files_photo_id_array":[{"photo_id":"1392092564","filename":"file5"},{"photo_id":"1392092547","filename":"file2"},{"photo_id":"1392092559","filename":"file4"},{"photo_id":"1392092544","filename":"file1"},{"photo_id":"1392092541","filename":"file0"},{"photo_id":"1392092555","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392092559":["hashtag1","hashtag2"]},{"1392092544":["hashtag1","hashtag2"]},{"1392092547":["hashtag1","hashtag2"]},{"1392092541":["hashtag1","hashtag2"]},{"1392092555":["hashtag1","hashtag2"]},{"1392092564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392092559, 1392092544, 1392092547, 1392092541, 1392092555, 1392092564)","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.91991376876831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:16:42.228357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_18_2485.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_20_2786.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_24_3817.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_27_2666.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_29_2667.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_32_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_18_2485.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_20_2786.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_24_3817.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_27_2666.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_29_2667.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_32_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392092647","1392092635","1392092658","1392092699","1392092702","1392092645"],"photo_ids_order":["1392092635","1392092645","1392092647","1392092658","1392092699","1392092702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2de550df2e668c422b1dc63841bbee00.jpg","text":"TemporaryFile(/tmp/multipartBody1365912775046668170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186663085,"filename":"image_03112025_09_24_24_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c87eefe595f2958f114cf24fe692442c.jpg","text":"TemporaryFile(/tmp/multipartBody3953949369082191997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186663085,"filename":"image_03112025_09_24_18_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/3/faaae4b4a92ed340fa674a3972b90352.jpg","text":"TemporaryFile(/tmp/multipartBody1121485720179086087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186663085,"filename":"image_03112025_09_24_27_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1150df028b10a805578884115ae1d728.jpg","text":"TemporaryFile(/tmp/multipartBody5941737379623109781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186663085,"filename":"image_03112025_09_24_29_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/3/b6313ac785e2dbfe0e5108eabfbdf5b4.jpg","text":"TemporaryFile(/tmp/multipartBody8737218819402994133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186663085,"filename":"image_03112025_09_24_32_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5d93829f7ada8947df2a60c54050b5e4.jpg","text":"TemporaryFile(/tmp/multipartBody477841862192649667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186663085,"filename":"image_03112025_09_24_20_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392092647","file1":"1392092645","file0":"1392092635","file4":"1392092699","file5":"1392092702","file3":"1392092658"},"map_files_photo_id_array":[{"photo_id":"1392092702","filename":"file5"},{"photo_id":"1392092647","filename":"file2"},{"photo_id":"1392092699","filename":"file4"},{"photo_id":"1392092645","filename":"file1"},{"photo_id":"1392092635","filename":"file0"},{"photo_id":"1392092658","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392092647":["hashtag1","hashtag2"]},{"1392092635":["hashtag1","hashtag2"]},{"1392092658":["hashtag1","hashtag2"]},{"1392092699":["hashtag1","hashtag2"]},{"1392092702":["hashtag1","hashtag2"]},{"1392092645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392092647, 1392092635, 1392092658, 1392092699, 1392092702, 1392092645)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.321306467056274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:17:44.116314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_36_3601.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_45_3689.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_47_2514.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_54_3565.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_56_2679.jpg', '/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_59_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_36_3601.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_45_3689.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_47_2514.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_54_3565.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_56_2679.jpg
/home/pi/Desktop/images/03112025/09/24/image_03112025_09_24_59_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392093061","1392092986","1392092902","1392092862","1392093027","1392092948"],"photo_ids_order":["1392092862","1392092902","1392092948","1392092986","1392093027","1392093061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2902fb51c0e986b48980c8592a04f3dc.jpg","text":"TemporaryFile(/tmp/multipartBody2839834155984976131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186732103,"filename":"image_03112025_09_24_59_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/3/f4ea5c6f4d0732f35d0dec32f724bc55.jpg","text":"TemporaryFile(/tmp/multipartBody6162541045764336599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186732103,"filename":"image_03112025_09_24_54_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/3/17c87cef92569c115c990b19832d1dd3.jpg","text":"TemporaryFile(/tmp/multipartBody157827732402235669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186732103,"filename":"image_03112025_09_24_45_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/22b8e43b2b226addbed257c8003a58ff.jpg","text":"TemporaryFile(/tmp/multipartBody5826718724212851055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186732103,"filename":"image_03112025_09_24_36_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/3/cbad0c529ec9d77c04a034b6e4e23198.jpg","text":"TemporaryFile(/tmp/multipartBody608951800747230446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186732103,"filename":"image_03112025_09_24_56_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ab14aa41c960179bd5cebd0b538c398.jpg","text":"TemporaryFile(/tmp/multipartBody2092163197085401402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186732103,"filename":"image_03112025_09_24_47_2514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392092948","file1":"1392092902","file0":"1392092862","file4":"1392093027","file5":"1392093061","file3":"1392092986"},"map_files_photo_id_array":[{"photo_id":"1392093061","filename":"file5"},{"photo_id":"1392092948","filename":"file2"},{"photo_id":"1392093027","filename":"file4"},{"photo_id":"1392092902","filename":"file1"},{"photo_id":"1392092862","filename":"file0"},{"photo_id":"1392092986","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392093061":["hashtag1","hashtag2"]},{"1392092986":["hashtag1","hashtag2"]},{"1392092902":["hashtag1","hashtag2"]},{"1392092862":["hashtag1","hashtag2"]},{"1392093027":["hashtag1","hashtag2"]},{"1392092948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392093061, 1392092986, 1392092902, 1392092862, 1392093027, 1392092948)","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: 109.02280139923096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:19:44.916139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_03_3734.jpg', '/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_06_2820.jpg', '/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_08_2631.jpg', '/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_11_2720.jpg', '/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_15_3643.jpg', '/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_24_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_03_3734.jpg
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_06_2820.jpg
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_08_2631.jpg
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_11_2720.jpg
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_15_3643.jpg
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_24_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392093643","1392093604","1392093888","1392093564","1392093578","1392093734"],"photo_ids_order":["1392093564","1392093578","1392093604","1392093643","1392093734","1392093888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/674a95cdcffa5eb9273a338ad2b5a165.jpg","text":"TemporaryFile(/tmp/multipartBody7561539208361845691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186845796,"filename":"image_03112025_09_25_11_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c1e63980e03c1a5bf021d99491adde1c.jpg","text":"TemporaryFile(/tmp/multipartBody1053802391056996787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186845796,"filename":"image_03112025_09_25_08_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/3/4bcd55611bed754f944b65d905f9cc63.jpg","text":"TemporaryFile(/tmp/multipartBody6622579856948677378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186845796,"filename":"image_03112025_09_25_24_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/3/82062f619432090df5d9bf8728922bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6950303673156943141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186845796,"filename":"image_03112025_09_25_03_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/3/89a98e93cf7dd78147bb7634142782a9.jpg","text":"TemporaryFile(/tmp/multipartBody5138041572058777444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186845796,"filename":"image_03112025_09_25_06_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/3/8954528b934a6e324eadbf6ea66ccc7b.jpg","text":"TemporaryFile(/tmp/multipartBody1622976104530452810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186845796,"filename":"image_03112025_09_25_15_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392093604","file1":"1392093578","file0":"1392093564","file4":"1392093734","file5":"1392093888","file3":"1392093643"},"map_files_photo_id_array":[{"photo_id":"1392093888","filename":"file5"},{"photo_id":"1392093604","filename":"file2"},{"photo_id":"1392093734","filename":"file4"},{"photo_id":"1392093578","filename":"file1"},{"photo_id":"1392093564","filename":"file0"},{"photo_id":"1392093643","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392093643":["hashtag1","hashtag2"]},{"1392093604":["hashtag1","hashtag2"]},{"1392093888":["hashtag1","hashtag2"]},{"1392093564":["hashtag1","hashtag2"]},{"1392093578":["hashtag1","hashtag2"]},{"1392093734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392093643, 1392093604, 1392093888, 1392093564, 1392093578, 1392093734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.14080262184143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:20:53.284492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_26_2812.jpg', '/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_33_3656.jpg', '/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_35_2643.jpg', '/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_39_3655.jpg', '/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_51_2659.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_05_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_26_2812.jpg
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_33_3656.jpg
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_35_2643.jpg
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_39_3655.jpg
/home/pi/Desktop/images/03112025/09/25/image_03112025_09_25_51_2659.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_05_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392094302","1392094195","1392094273","1392094246","1392094231","1392094249"],"photo_ids_order":["1392094195","1392094231","1392094246","1392094249","1392094273","1392094302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4370eacb98a08209c34a6fb04a09eac8.jpg","text":"TemporaryFile(/tmp/multipartBody8502292086026856894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186914148,"filename":"image_03112025_09_26_05_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/3/f730ca93269f89bebf81bb79b8d4b419.jpg","text":"TemporaryFile(/tmp/multipartBody6837803499134559942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186914148,"filename":"image_03112025_09_25_26_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/3/99e86230980332b64b0e4824b041285c.jpg","text":"TemporaryFile(/tmp/multipartBody2849506119591187255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186914148,"filename":"image_03112025_09_25_51_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/3/3f94ff6531f71cc6b2a0082681db3963.jpg","text":"TemporaryFile(/tmp/multipartBody8351869576984809765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186914148,"filename":"image_03112025_09_25_35_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/3/c610cc7629839545c10eb1a9fe03d4de.jpg","text":"TemporaryFile(/tmp/multipartBody7294235047740478495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186914148,"filename":"image_03112025_09_25_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/3/c0e0d9224f235b69872b4350285f577e.jpg","text":"TemporaryFile(/tmp/multipartBody2655369547764348361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186914148,"filename":"image_03112025_09_25_39_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392094246","file1":"1392094231","file0":"1392094195","file4":"1392094273","file5":"1392094302","file3":"1392094249"},"map_files_photo_id_array":[{"photo_id":"1392094302","filename":"file5"},{"photo_id":"1392094246","filename":"file2"},{"photo_id":"1392094273","filename":"file4"},{"photo_id":"1392094231","filename":"file1"},{"photo_id":"1392094195","filename":"file0"},{"photo_id":"1392094249","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392094302":["hashtag1","hashtag2"]},{"1392094195":["hashtag1","hashtag2"]},{"1392094273":["hashtag1","hashtag2"]},{"1392094246":["hashtag1","hashtag2"]},{"1392094231":["hashtag1","hashtag2"]},{"1392094249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392094302, 1392094195, 1392094273, 1392094246, 1392094231, 1392094249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.302414894104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:21:42.515441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_09_3738.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_12_2626.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_14_2653.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_18_3724.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_23_2710.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_26_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_09_3738.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_12_2626.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_14_2653.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_18_3724.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_23_2710.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_26_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1392094408","1392094422","1392094404","1392094436","1392094400","1392094390"],"photo_ids_order":["1392094390","1392094400","1392094404","1392094408","1392094422","1392094436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d0089078bc174b4b3bcc7e4b60b7d92f.jpg","text":"TemporaryFile(/tmp/multipartBody3791344359388253431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186963380,"filename":"image_03112025_09_26_18_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/3/33474f7689404076c6f5d6a7da92e5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1122673901206519826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186963380,"filename":"image_03112025_09_26_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/3/11a6d1163ab9192a85e805ba67a9468e.jpg","text":"TemporaryFile(/tmp/multipartBody5000060367110769496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186963380,"filename":"image_03112025_09_26_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/3/2edc23ec4ac6b860ea4dcc50c37595d9.jpg","text":"TemporaryFile(/tmp/multipartBody7090186857514535382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186963380,"filename":"image_03112025_09_26_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/3/66bc13069e0dfb580fddb15f6bde5a27.jpg","text":"TemporaryFile(/tmp/multipartBody6324640946759048794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186963380,"filename":"image_03112025_09_26_12_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/3/968c739eeb4dc8aae71c623ce6062f46.jpg","text":"TemporaryFile(/tmp/multipartBody4945915817303711753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762186963380,"filename":"image_03112025_09_26_09_3738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392094404","file1":"1392094400","file0":"1392094390","file4":"1392094422","file5":"1392094436","file3":"1392094408"},"map_files_photo_id_array":[{"photo_id":"1392094436","filename":"file5"},{"photo_id":"1392094404","filename":"file2"},{"photo_id":"1392094422","filename":"file4"},{"photo_id":"1392094400","filename":"file1"},{"photo_id":"1392094390","filename":"file0"},{"photo_id":"1392094408","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392094408":["hashtag1","hashtag2"]},{"1392094422":["hashtag1","hashtag2"]},{"1392094404":["hashtag1","hashtag2"]},{"1392094436":["hashtag1","hashtag2"]},{"1392094400":["hashtag1","hashtag2"]},{"1392094390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392094408, 1392094422, 1392094404, 1392094436, 1392094400, 1392094390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.69365739822388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:23:02.609305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 17:23:23.724675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 17:23:42.052392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_30_3676.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_32_2632.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_35_2674.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_39_3546.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_41_2801.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_45_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_30_3676.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_32_2632.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_35_2674.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_39_3546.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_41_2801.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_45_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392094804","1392094800","1392094796","1392094897","1392094849","1392094801"],"photo_ids_order":["1392094796","1392094800","1392094801","1392094804","1392094849","1392094897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b1193e0628157bfe56a981840990293.jpg","text":"TemporaryFile(/tmp/multipartBody559327159920854070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187082921,"filename":"image_03112025_09_26_39_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/3/bd8739450ac368320b8b59ff23ed61d0.jpg","text":"TemporaryFile(/tmp/multipartBody5236065888780349165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187082921,"filename":"image_03112025_09_26_32_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/3/29145152dee56390f1f796e73559f32f.jpg","text":"TemporaryFile(/tmp/multipartBody1778786206122175527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187082921,"filename":"image_03112025_09_26_30_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/3/426229efa899e89e38f9898c80561cea.jpg","text":"TemporaryFile(/tmp/multipartBody6292476875530679660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187082921,"filename":"image_03112025_09_26_45_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/3/75c9ae6e8c3695474452aaa05b6d1d71.jpg","text":"TemporaryFile(/tmp/multipartBody8300202216530645595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187082921,"filename":"image_03112025_09_26_41_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/3/82473b45605a7f9268fabb99478d8723.jpg","text":"TemporaryFile(/tmp/multipartBody6758428412120790701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187082921,"filename":"image_03112025_09_26_35_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392094801","file1":"1392094800","file0":"1392094796","file4":"1392094849","file5":"1392094897","file3":"1392094804"},"map_files_photo_id_array":[{"photo_id":"1392094897","filename":"file5"},{"photo_id":"1392094801","filename":"file2"},{"photo_id":"1392094849","filename":"file4"},{"photo_id":"1392094800","filename":"file1"},{"photo_id":"1392094796","filename":"file0"},{"photo_id":"1392094804","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392094804":["hashtag1","hashtag2"]},{"1392094800":["hashtag1","hashtag2"]},{"1392094796":["hashtag1","hashtag2"]},{"1392094897":["hashtag1","hashtag2"]},{"1392094849":["hashtag1","hashtag2"]},{"1392094801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392094804, 1392094800, 1392094796, 1392094897, 1392094849, 1392094801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.386287450790405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:24:24.618722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_47_2519.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_50_2590.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_54_3682.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_56_2684.jpg', '/home/pi/Desktop/images/03112025/09/26/image_03112025_09_27_00_3379.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_03_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_47_2519.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_50_2590.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_54_3682.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_26_56_2684.jpg
/home/pi/Desktop/images/03112025/09/26/image_03112025_09_27_00_3379.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_03_2830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392095043","1392095153","1392095042","1392095062","1392095026","1392095107"],"photo_ids_order":["1392095026","1392095042","1392095043","1392095062","1392095107","1392095153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2560f209e83d1998ccb85df7d07f9535.jpg","text":"TemporaryFile(/tmp/multipartBody3304770185538924243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187125459,"filename":"image_03112025_09_26_54_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/3/744dbf85ac64fdd0d158f537e2ab7aea.jpg","text":"TemporaryFile(/tmp/multipartBody4626600889016576988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187125459,"filename":"image_03112025_09_27_03_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/3/bd0b3f590de858bdaac3d8419dcfeaee.jpg","text":"TemporaryFile(/tmp/multipartBody8507898130950950619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187125459,"filename":"image_03112025_09_26_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/3/04b248c33d62064d8b41d5b1f8b7838b.jpg","text":"TemporaryFile(/tmp/multipartBody3661179272414536065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187125459,"filename":"image_03112025_09_26_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/3/fdb003a7bba62589eb582318fe5597dd.jpg","text":"TemporaryFile(/tmp/multipartBody4075602878000490611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187125459,"filename":"image_03112025_09_26_47_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/50891fb74ac8b0a2335a90f031f4072f.jpg","text":"TemporaryFile(/tmp/multipartBody6607405767954329652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187125459,"filename":"image_03112025_09_27_00_3379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392095043","file1":"1392095042","file0":"1392095026","file4":"1392095107","file5":"1392095153","file3":"1392095062"},"map_files_photo_id_array":[{"photo_id":"1392095153","filename":"file5"},{"photo_id":"1392095043","filename":"file2"},{"photo_id":"1392095107","filename":"file4"},{"photo_id":"1392095042","filename":"file1"},{"photo_id":"1392095026","filename":"file0"},{"photo_id":"1392095062","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392095043":["hashtag1","hashtag2"]},{"1392095153":["hashtag1","hashtag2"]},{"1392095042":["hashtag1","hashtag2"]},{"1392095062":["hashtag1","hashtag2"]},{"1392095026":["hashtag1","hashtag2"]},{"1392095107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392095043, 1392095153, 1392095042, 1392095062, 1392095026, 1392095107)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.86741542816162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:25:29.384316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_05_2697.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_15_2854.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_24_3562.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_26_2637.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_29_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_05_2697.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_15_2854.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_24_3562.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_26_2637.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_29_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392095381","1392095399","1392095444","1392095488","1392095425","1392095419"],"photo_ids_order":["1392095381","1392095399","1392095419","1392095425","1392095444","1392095488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b25be03e0cc37b70a1ffb1b3051bfb8.jpg","text":"TemporaryFile(/tmp/multipartBody694139820929751312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187190280,"filename":"image_03112025_09_27_05_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/3/2f1ae2ce2927034d5b3613b6b8408b77.jpg","text":"TemporaryFile(/tmp/multipartBody392192315491732663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187190280,"filename":"image_03112025_09_27_15_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/3/8bc34c3fdfd7a0f5128e07d6f20aa1ee.jpg","text":"TemporaryFile(/tmp/multipartBody6625775096185665502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187190280,"filename":"image_03112025_09_27_26_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/3/f3df3b05373ecd9e389f306e0360b1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5522099691547698699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187190280,"filename":"image_03112025_09_27_29_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1bfa0e34d879d610be868d3d94a20f1a.jpg","text":"TemporaryFile(/tmp/multipartBody1302798723730515384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187190280,"filename":"image_03112025_09_27_24_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/3/d7c4c1f7cf1613e9e0aae41ad778c74d.jpg","text":"TemporaryFile(/tmp/multipartBody105580698596533522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187190280,"filename":"image_03112025_09_27_17_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392095419","file1":"1392095399","file0":"1392095381","file4":"1392095444","file5":"1392095488","file3":"1392095425"},"map_files_photo_id_array":[{"photo_id":"1392095488","filename":"file5"},{"photo_id":"1392095419","filename":"file2"},{"photo_id":"1392095444","filename":"file4"},{"photo_id":"1392095399","filename":"file1"},{"photo_id":"1392095381","filename":"file0"},{"photo_id":"1392095425","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392095381":["hashtag1","hashtag2"]},{"1392095399":["hashtag1","hashtag2"]},{"1392095444":["hashtag1","hashtag2"]},{"1392095488":["hashtag1","hashtag2"]},{"1392095425":["hashtag1","hashtag2"]},{"1392095419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392095381, 1392095399, 1392095444, 1392095488, 1392095425, 1392095419)","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 = 1392095419 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392095419 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg";
uploaded 6 photos
time to upload: 80.44311428070068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:27:03.924669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_05_2697.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_15_2854.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_24_3562.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_26_2637.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_29_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_05_2697.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_15_2854.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_24_3562.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_26_2637.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_29_2562.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":["1392095565","1392095563","1392095560","1392095592","1392095595","1392095589"],"photo_ids_order":["1392095560","1392095563","1392095565","1392095589","1392095592","1392095595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f7d6b94ba6b948666394f973ccea7a06.jpg","text":"TemporaryFile(/tmp/multipartBody8439194111793727304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187284705,"filename":"image_03112025_09_27_17_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/09c6f2af214c861c22ffa3260e9f246c.jpg","text":"TemporaryFile(/tmp/multipartBody6770259676428121354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187284705,"filename":"image_03112025_09_27_15_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/3/6ae0f17b4d3cedc76b5fd0a30dc591c0.jpg","text":"TemporaryFile(/tmp/multipartBody1277407248337108195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187284705,"filename":"image_03112025_09_27_05_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/3/7730d06698f6a6e43f6c1ba6c328677f.jpg","text":"TemporaryFile(/tmp/multipartBody3577967119558595644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187284705,"filename":"image_03112025_09_27_26_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/3/89692fc8d2506b0ee2eb74f892d3ffd2.jpg","text":"TemporaryFile(/tmp/multipartBody3801765485140581608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187284705,"filename":"image_03112025_09_27_29_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/815cf2a3f80957de56cf9af69c266f86.jpg","text":"TemporaryFile(/tmp/multipartBody6390838972546239421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187284705,"filename":"image_03112025_09_27_24_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392095565","file1":"1392095563","file0":"1392095560","file4":"1392095592","file5":"1392095595","file3":"1392095589"},"map_files_photo_id_array":[{"photo_id":"1392095595","filename":"file5"},{"photo_id":"1392095565","filename":"file2"},{"photo_id":"1392095592","filename":"file4"},{"photo_id":"1392095563","filename":"file1"},{"photo_id":"1392095560","filename":"file0"},{"photo_id":"1392095589","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392095565":["hashtag1","hashtag2"]},{"1392095563":["hashtag1","hashtag2"]},{"1392095560":["hashtag1","hashtag2"]},{"1392095592":["hashtag1","hashtag2"]},{"1392095595":["hashtag1","hashtag2"]},{"1392095589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392095565, 1392095563, 1392095560, 1392095592, 1392095595, 1392095589)","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 = 1392095565 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392095565 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg";
uploaded 6 photos
time to upload: 69.56040024757385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:28:32.639714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 17:28:52.435522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_05_2697.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_15_2854.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_24_3562.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_26_2637.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_29_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_05_2697.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_15_2854.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_17_2686.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_24_3562.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_26_2637.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_29_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392096039","1392096050","1392096020","1392095947","1392096054","1392095985"],"photo_ids_order":["1392095947","1392095985","1392096020","1392096039","1392096050","1392096054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/62f9862b200c5d564e2000c6844e0787.jpg","text":"TemporaryFile(/tmp/multipartBody5109945328662170852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187393229,"filename":"image_03112025_09_27_24_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/3/79b54afb712605ada2c757fab46a2805.jpg","text":"TemporaryFile(/tmp/multipartBody1241165911636788091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187393229,"filename":"image_03112025_09_27_26_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/3/af555d3d0bfb1a53caeb841e45bd78a4.jpg","text":"TemporaryFile(/tmp/multipartBody7394907877930939392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187393229,"filename":"image_03112025_09_27_17_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b7ae2d74375877d310bdf1c9380caca.jpg","text":"TemporaryFile(/tmp/multipartBody3767447955124188497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187393229,"filename":"image_03112025_09_27_05_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/3/2e772b542ae9124b4da44c67dd7957d9.jpg","text":"TemporaryFile(/tmp/multipartBody4239024739514201037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187393229,"filename":"image_03112025_09_27_29_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e7b3e1222a417679945dcc8ef408bcb9.jpg","text":"TemporaryFile(/tmp/multipartBody1868423072929417544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187393229,"filename":"image_03112025_09_27_15_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392096020","file1":"1392095985","file0":"1392095947","file4":"1392096050","file5":"1392096054","file3":"1392096039"},"map_files_photo_id_array":[{"photo_id":"1392096054","filename":"file5"},{"photo_id":"1392096020","filename":"file2"},{"photo_id":"1392096050","filename":"file4"},{"photo_id":"1392095985","filename":"file1"},{"photo_id":"1392095947","filename":"file0"},{"photo_id":"1392096039","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392096039":["hashtag1","hashtag2"]},{"1392096050":["hashtag1","hashtag2"]},{"1392096020":["hashtag1","hashtag2"]},{"1392095947":["hashtag1","hashtag2"]},{"1392096054":["hashtag1","hashtag2"]},{"1392095985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392096039, 1392096050, 1392096020, 1392095947, 1392096054, 1392095985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27283978462219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:29:44.091633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_33_3604.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_35_2840.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_38_2574.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_42_3551.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_44_2639.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_51_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_33_3604.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_35_2840.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_38_2574.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_42_3551.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_44_2639.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_51_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392096287","1392096178","1392096289","1392096262","1392096177","1392096207"],"photo_ids_order":["1392096177","1392096178","1392096207","1392096262","1392096287","1392096289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8eeab3c7a5b442cc6121b785db25b335.jpg","text":"TemporaryFile(/tmp/multipartBody8782534393522533449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187447045,"filename":"image_03112025_09_27_44_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/3/97bf084683f1c7928b691039c01b4db3.jpg","text":"TemporaryFile(/tmp/multipartBody2983636474883089704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187447045,"filename":"image_03112025_09_27_35_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/3/0cd58923e6940af24126278e97c21666.jpg","text":"TemporaryFile(/tmp/multipartBody701181717654756988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187447045,"filename":"image_03112025_09_27_51_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/3/756a71af415817f9c8218471f8bf9214.jpg","text":"TemporaryFile(/tmp/multipartBody4890047927505849486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187447045,"filename":"image_03112025_09_27_42_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/3/d62a5a36e6ed19b4fd55b13a3175f82e.jpg","text":"TemporaryFile(/tmp/multipartBody2635967482292810719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187447045,"filename":"image_03112025_09_27_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/3/f87bc4673db93dcdc1c32fd109c78657.jpg","text":"TemporaryFile(/tmp/multipartBody2051202067389826603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187447045,"filename":"image_03112025_09_27_38_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392096207","file1":"1392096178","file0":"1392096177","file4":"1392096287","file5":"1392096289","file3":"1392096262"},"map_files_photo_id_array":[{"photo_id":"1392096289","filename":"file5"},{"photo_id":"1392096207","filename":"file2"},{"photo_id":"1392096287","filename":"file4"},{"photo_id":"1392096178","filename":"file1"},{"photo_id":"1392096177","filename":"file0"},{"photo_id":"1392096262","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392096287":["hashtag1","hashtag2"]},{"1392096178":["hashtag1","hashtag2"]},{"1392096289":["hashtag1","hashtag2"]},{"1392096262":["hashtag1","hashtag2"]},{"1392096177":["hashtag1","hashtag2"]},{"1392096207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392096287, 1392096178, 1392096289, 1392096262, 1392096177, 1392096207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.123499631881714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:30:42.665054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_53_2605.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_56_2774.jpg', '/home/pi/Desktop/images/03112025/09/27/image_03112025_09_28_00_3588.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_02_2595.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_05_2718.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_09_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_53_2605.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_27_56_2774.jpg
/home/pi/Desktop/images/03112025/09/27/image_03112025_09_28_00_3588.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_02_2595.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_05_2718.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_09_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":["1392096321","1392096318","1392096317","1392096314","1392096319","1392096312"],"photo_ids_order":["1392096312","1392096314","1392096317","1392096318","1392096319","1392096321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/60dc7aa9224b372cd45655f28cab034b.jpg","text":"TemporaryFile(/tmp/multipartBody2636055624626370874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187520730,"filename":"image_03112025_09_28_09_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/de754cc6ce46948f68fbce465ae6d863.jpg","text":"TemporaryFile(/tmp/multipartBody1796789041434976873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187520730,"filename":"image_03112025_09_28_02_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/3/d9e7623638c20d363cd495840c8c1627.jpg","text":"TemporaryFile(/tmp/multipartBody1552940045530619759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187520730,"filename":"image_03112025_09_28_00_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/3/d6247327f0221f5957d8935f3e0c31c6.jpg","text":"TemporaryFile(/tmp/multipartBody3758885317054225390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187520730,"filename":"image_03112025_09_27_56_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/3/ed2b86362d0b60e00ef64b474add3cb5.jpg","text":"TemporaryFile(/tmp/multipartBody2718975520066048341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187520730,"filename":"image_03112025_09_28_05_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1cb9574515871984cc9871d3377ae3d.jpg","text":"TemporaryFile(/tmp/multipartBody2645084163520974405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187520730,"filename":"image_03112025_09_27_53_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392096317","file1":"1392096314","file0":"1392096312","file4":"1392096319","file5":"1392096321","file3":"1392096318"},"map_files_photo_id_array":[{"photo_id":"1392096321","filename":"file5"},{"photo_id":"1392096317","filename":"file2"},{"photo_id":"1392096319","filename":"file4"},{"photo_id":"1392096314","filename":"file1"},{"photo_id":"1392096312","filename":"file0"},{"photo_id":"1392096318","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392096321":["hashtag1","hashtag2"]},{"1392096318":["hashtag1","hashtag2"]},{"1392096317":["hashtag1","hashtag2"]},{"1392096314":["hashtag1","hashtag2"]},{"1392096319":["hashtag1","hashtag2"]},{"1392096312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392096321, 1392096318, 1392096317, 1392096314, 1392096319, 1392096312)","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: 97.84360408782959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:32:22.209461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_11_2657.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_14_2686.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_18_3692.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_23_2677.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_27_3657.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_30_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_11_2657.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_14_2686.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_18_3692.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_23_2677.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_27_3657.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_30_2868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392096398","1392096397","1392096391","1392096399","1392096393","1392096396"],"photo_ids_order":["1392096391","1392096393","1392096396","1392096397","1392096398","1392096399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eb7061cff494b21a23abdf233a4ed486.jpg","text":"TemporaryFile(/tmp/multipartBody4958787946255255204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187618475,"filename":"image_03112025_09_28_27_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/3/05c87a6b86c883672d022490c682724d.jpg","text":"TemporaryFile(/tmp/multipartBody8673861359278675197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187618475,"filename":"image_03112025_09_28_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/3/1f460b6d79e664535d46830c5566bd46.jpg","text":"TemporaryFile(/tmp/multipartBody9216257950779023330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187618475,"filename":"image_03112025_09_28_11_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/3/250f7c4836d889ab2013eef259c3c944.jpg","text":"TemporaryFile(/tmp/multipartBody5876497789054944608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187618475,"filename":"image_03112025_09_28_30_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/3/3a25e80abf65524e1645a81107c183e6.jpg","text":"TemporaryFile(/tmp/multipartBody6165180999949457172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187618475,"filename":"image_03112025_09_28_14_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/3/10b3f5e109caa89080dd6dc9a994440e.jpg","text":"TemporaryFile(/tmp/multipartBody8943663709760528505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187618475,"filename":"image_03112025_09_28_18_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392096396","file1":"1392096393","file0":"1392096391","file4":"1392096398","file5":"1392096399","file3":"1392096397"},"map_files_photo_id_array":[{"photo_id":"1392096399","filename":"file5"},{"photo_id":"1392096396","filename":"file2"},{"photo_id":"1392096398","filename":"file4"},{"photo_id":"1392096393","filename":"file1"},{"photo_id":"1392096391","filename":"file0"},{"photo_id":"1392096397","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392096398":["hashtag1","hashtag2"]},{"1392096397":["hashtag1","hashtag2"]},{"1392096391":["hashtag1","hashtag2"]},{"1392096399":["hashtag1","hashtag2"]},{"1392096393":["hashtag1","hashtag2"]},{"1392096396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392096398, 1392096397, 1392096391, 1392096399, 1392096393, 1392096396)","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 = 1392096396 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_18_3692.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392096396 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_18_3692.jpg";
uploaded 6 photos
time to upload: 76.91100764274597 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-03 17:34:05.491924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_11_2657.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_14_2686.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_18_3692.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_23_2677.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_27_3657.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_30_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_11_2657.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_14_2686.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_18_3692.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_23_2677.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_27_3657.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_30_2868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392096528","1392096491","1392096455","1392096419","1392096421","1392096552"],"photo_ids_order":["1392096419","1392096421","1392096455","1392096491","1392096528","1392096552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5c9dfba6527ee47953b667501745103d.jpg","text":"TemporaryFile(/tmp/multipartBody9064531755347248615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187708514,"filename":"image_03112025_09_28_27_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/3/3c1e106f924599afe9f4a20bd54f5408.jpg","text":"TemporaryFile(/tmp/multipartBody9075019800112252765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187708514,"filename":"image_03112025_09_28_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/3/cebabe57af23f21c8eec75325f32d9c2.jpg","text":"TemporaryFile(/tmp/multipartBody2483062080970605088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187708514,"filename":"image_03112025_09_28_18_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/3/44dd2193445d8777aa8257f7642e18b9.jpg","text":"TemporaryFile(/tmp/multipartBody6262950398908239094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187708514,"filename":"image_03112025_09_28_11_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/3/8781fa41e3917817c33bdff18d7d211e.jpg","text":"TemporaryFile(/tmp/multipartBody2149898867642513120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187708514,"filename":"image_03112025_09_28_14_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/3/bcdb47ffeb09a942f66bc98250073142.jpg","text":"TemporaryFile(/tmp/multipartBody2177392969972396307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187708514,"filename":"image_03112025_09_28_30_2868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392096455","file1":"1392096421","file0":"1392096419","file4":"1392096528","file5":"1392096552","file3":"1392096491"},"map_files_photo_id_array":[{"photo_id":"1392096552","filename":"file5"},{"photo_id":"1392096455","filename":"file2"},{"photo_id":"1392096528","filename":"file4"},{"photo_id":"1392096421","filename":"file1"},{"photo_id":"1392096419","filename":"file0"},{"photo_id":"1392096491","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392096528":["hashtag1","hashtag2"]},{"1392096491":["hashtag1","hashtag2"]},{"1392096455":["hashtag1","hashtag2"]},{"1392096419":["hashtag1","hashtag2"]},{"1392096421":["hashtag1","hashtag2"]},{"1392096552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392096528, 1392096491, 1392096455, 1392096419, 1392096421, 1392096552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.142784118652344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:35:03.252665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_32_2827.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_35_2681.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_39_3631.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_41_2727.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_44_2550.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_48_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_32_2827.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_35_2681.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_39_3631.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_41_2727.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_44_2550.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_48_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392096708","1392096641","1392096704","1392096676","1392096706","1392096702"],"photo_ids_order":["1392096641","1392096676","1392096702","1392096704","1392096706","1392096708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9503569bace8714dccf82fc83ce7c981.jpg","text":"TemporaryFile(/tmp/multipartBody6582621911267891169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187764210,"filename":"image_03112025_09_28_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/3/bfcd6d07090eca3aeb91566317944a8e.jpg","text":"TemporaryFile(/tmp/multipartBody2714973879559815454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187764210,"filename":"image_03112025_09_28_32_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/3/7123cb67d248970f7b50ef5e0ec737da.jpg","text":"TemporaryFile(/tmp/multipartBody988352463847273515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187764210,"filename":"image_03112025_09_28_41_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/3/4f90f8159cf77ce17cb03557f884976e.jpg","text":"TemporaryFile(/tmp/multipartBody7236329480031894904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187764210,"filename":"image_03112025_09_28_35_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f1a0d10fd465f91b9aa00c9c8c3fc92f.jpg","text":"TemporaryFile(/tmp/multipartBody7438946160578501782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187764210,"filename":"image_03112025_09_28_44_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/3/4dad26c8b44f22d2f429a8f672714786.jpg","text":"TemporaryFile(/tmp/multipartBody6233538112963425250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187764210,"filename":"image_03112025_09_28_39_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392096702","file1":"1392096676","file0":"1392096641","file4":"1392096706","file5":"1392096708","file3":"1392096704"},"map_files_photo_id_array":[{"photo_id":"1392096708","filename":"file5"},{"photo_id":"1392096702","filename":"file2"},{"photo_id":"1392096706","filename":"file4"},{"photo_id":"1392096676","filename":"file1"},{"photo_id":"1392096641","filename":"file0"},{"photo_id":"1392096704","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392096708":["hashtag1","hashtag2"]},{"1392096641":["hashtag1","hashtag2"]},{"1392096704":["hashtag1","hashtag2"]},{"1392096676":["hashtag1","hashtag2"]},{"1392096706":["hashtag1","hashtag2"]},{"1392096702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392096708, 1392096641, 1392096704, 1392096676, 1392096706, 1392096702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.38945960998535 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-03 17:36:22.257869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_50_2567.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_53_2598.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_57_3764.jpg', '/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_59_2878.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_02_2532.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_06_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_50_2567.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_53_2598.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_57_3764.jpg
/home/pi/Desktop/images/03112025/09/28/image_03112025_09_28_59_2878.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_02_2532.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_06_3596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392096829","1392096876","1392096870","1392096864","1392096873","1392096867"],"photo_ids_order":["1392096829","1392096864","1392096867","1392096870","1392096873","1392096876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d6029f4927703086b004fbe8d5b497c3.jpg","text":"TemporaryFile(/tmp/multipartBody3279280136173422555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187843287,"filename":"image_03112025_09_28_50_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/3/0ea19177492232cf0f7f9e27dcb724ae.jpg","text":"TemporaryFile(/tmp/multipartBody1077507260288844525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187843287,"filename":"image_03112025_09_29_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/3/7aba7736fe4a157edd62decf7924eb2d.jpg","text":"TemporaryFile(/tmp/multipartBody3812654632396004815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187843287,"filename":"image_03112025_09_28_59_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/3/b470e6a9360943f18ed9fd5e2fb63c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6156475639188663689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187843287,"filename":"image_03112025_09_28_53_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/3/5493492d38a01871d636e9c8c188d115.jpg","text":"TemporaryFile(/tmp/multipartBody2647110134713866495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187843287,"filename":"image_03112025_09_29_02_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6c5de0b9f264b277baf2bbe4c71366ca.jpg","text":"TemporaryFile(/tmp/multipartBody722966716827953620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187843287,"filename":"image_03112025_09_28_57_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392096867","file1":"1392096864","file0":"1392096829","file4":"1392096873","file5":"1392096876","file3":"1392096870"},"map_files_photo_id_array":[{"photo_id":"1392096876","filename":"file5"},{"photo_id":"1392096867","filename":"file2"},{"photo_id":"1392096873","filename":"file4"},{"photo_id":"1392096864","filename":"file1"},{"photo_id":"1392096829","filename":"file0"},{"photo_id":"1392096870","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392096829":["hashtag1","hashtag2"]},{"1392096876":["hashtag1","hashtag2"]},{"1392096870":["hashtag1","hashtag2"]},{"1392096864":["hashtag1","hashtag2"]},{"1392096873":["hashtag1","hashtag2"]},{"1392096867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392096829, 1392096876, 1392096870, 1392096864, 1392096873, 1392096867)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.720866203308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:37:33.214167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_08_2790.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_11_2754.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_14_2767.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_17_3635.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_20_2710.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_23_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_08_2790.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_11_2754.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_14_2767.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_17_3635.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_20_2710.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_23_2703.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7721335887908936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:37:45.933367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_08_2790.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_11_2754.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_14_2767.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_17_3635.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_20_2710.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_23_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_08_2790.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_11_2754.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_14_2767.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_17_3635.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_20_2710.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_23_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392097148","1392097177","1392097171","1392097159","1392097179","1392097137"],"photo_ids_order":["1392097137","1392097148","1392097159","1392097171","1392097177","1392097179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b6d35e4069a9b151fbff39b3d7b3d309.jpg","text":"TemporaryFile(/tmp/multipartBody7335625607824764368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187926666,"filename":"image_03112025_09_29_11_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/3/00b73c437489b02afa6a7867b423d9d9.jpg","text":"TemporaryFile(/tmp/multipartBody8484854895727371092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187926666,"filename":"image_03112025_09_29_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/3/4c93bbb5c749cda1c57ea195d978b4be.jpg","text":"TemporaryFile(/tmp/multipartBody3113660675821813068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187926666,"filename":"image_03112025_09_29_17_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/3/d50f6dda3c8f9cd84af648bc18d7fa25.jpg","text":"TemporaryFile(/tmp/multipartBody8614123772955695861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187926666,"filename":"image_03112025_09_29_14_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/3/9770ae4826a5a1faadef6ebce09cc12e.jpg","text":"TemporaryFile(/tmp/multipartBody74492409016538298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187926666,"filename":"image_03112025_09_29_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/3/ce48337d173291a3d10d10f5a08b7c5a.jpg","text":"TemporaryFile(/tmp/multipartBody7533768083630470535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762187926666,"filename":"image_03112025_09_29_08_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392097159","file1":"1392097148","file0":"1392097137","file4":"1392097177","file5":"1392097179","file3":"1392097171"},"map_files_photo_id_array":[{"photo_id":"1392097179","filename":"file5"},{"photo_id":"1392097159","filename":"file2"},{"photo_id":"1392097177","filename":"file4"},{"photo_id":"1392097148","filename":"file1"},{"photo_id":"1392097137","filename":"file0"},{"photo_id":"1392097171","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392097148":["hashtag1","hashtag2"]},{"1392097177":["hashtag1","hashtag2"]},{"1392097171":["hashtag1","hashtag2"]},{"1392097159":["hashtag1","hashtag2"]},{"1392097179":["hashtag1","hashtag2"]},{"1392097137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392097148, 1392097177, 1392097171, 1392097159, 1392097179, 1392097137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4945170879364 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-03 17:38:42.043872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_26_3564.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_29_2690.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_32_2687.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_35_3633.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_38_2701.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_41_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_26_3564.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_29_2690.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_32_2687.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_35_3633.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_38_2701.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_41_2600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392097232","1392097214","1392097208","1392097225","1392097230","1392097206"],"photo_ids_order":["1392097206","1392097208","1392097214","1392097225","1392097230","1392097232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/131a4a2385c07f1fa99a1ef2c6aa974d.jpg","text":"TemporaryFile(/tmp/multipartBody8974320163117356549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188014461,"filename":"image_03112025_09_29_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/3/aab1ee55552089187b432c9223d48ae9.jpg","text":"TemporaryFile(/tmp/multipartBody8156482067964515836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188014461,"filename":"image_03112025_09_29_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/3/2072926002a0481d9560263433a09113.jpg","text":"TemporaryFile(/tmp/multipartBody4755771477359277580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188014461,"filename":"image_03112025_09_29_29_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c0f8b9c0038bec9e2a0ee02f10bc2b2d.jpg","text":"TemporaryFile(/tmp/multipartBody3454317228340425902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188014461,"filename":"image_03112025_09_29_35_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7d88cd09922c752006e16d06d6e60708.jpg","text":"TemporaryFile(/tmp/multipartBody3464653212381184541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188014461,"filename":"image_03112025_09_29_38_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/3/c30cf7813358b05b4561b72c166a669a.jpg","text":"TemporaryFile(/tmp/multipartBody5753545849412960793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188014461,"filename":"image_03112025_09_29_26_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392097214","file1":"1392097208","file0":"1392097206","file4":"1392097230","file5":"1392097232","file3":"1392097225"},"map_files_photo_id_array":[{"photo_id":"1392097232","filename":"file5"},{"photo_id":"1392097214","filename":"file2"},{"photo_id":"1392097230","filename":"file4"},{"photo_id":"1392097208","filename":"file1"},{"photo_id":"1392097206","filename":"file0"},{"photo_id":"1392097225","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392097232":["hashtag1","hashtag2"]},{"1392097214":["hashtag1","hashtag2"]},{"1392097208":["hashtag1","hashtag2"]},{"1392097225":["hashtag1","hashtag2"]},{"1392097230":["hashtag1","hashtag2"]},{"1392097206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392097232, 1392097214, 1392097208, 1392097225, 1392097230, 1392097206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.46002173423767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:40:02.821235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_44_3616.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_47_2515.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_51_3647.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_53_2596.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_56_2556.jpg', '/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_59_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_44_3616.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_47_2515.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_51_3647.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_53_2596.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_56_2556.jpg
/home/pi/Desktop/images/03112025/09/29/image_03112025_09_29_59_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392097280","1392097253","1392097256","1392097282","1392097279","1392097258"],"photo_ids_order":["1392097253","1392097256","1392097258","1392097279","1392097280","1392097282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ec392162e7de9d9290427f3a2d1fba7d.jpg","text":"TemporaryFile(/tmp/multipartBody7349372094275850012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188063692,"filename":"image_03112025_09_29_56_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/3/23a92a1979bbd647620a9ec0724d998e.jpg","text":"TemporaryFile(/tmp/multipartBody5846722551255561722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188063692,"filename":"image_03112025_09_29_44_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/3/2016f809e3539092f9e2bc73e84b7234.jpg","text":"TemporaryFile(/tmp/multipartBody1052155592033005341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188063692,"filename":"image_03112025_09_29_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/3/8c09620090d03fb2d645c39ba15eb200.jpg","text":"TemporaryFile(/tmp/multipartBody3870915232479322898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188063692,"filename":"image_03112025_09_29_59_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/3/b1e8832bba7b859223fdea47c25e68b6.jpg","text":"TemporaryFile(/tmp/multipartBody1893093180794073361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188063692,"filename":"image_03112025_09_29_53_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1cafbc6d25a36512184df932a6986237.jpg","text":"TemporaryFile(/tmp/multipartBody6206837655207031570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188063692,"filename":"image_03112025_09_29_51_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392097258","file1":"1392097256","file0":"1392097253","file4":"1392097280","file5":"1392097282","file3":"1392097279"},"map_files_photo_id_array":[{"photo_id":"1392097282","filename":"file5"},{"photo_id":"1392097258","filename":"file2"},{"photo_id":"1392097280","filename":"file4"},{"photo_id":"1392097256","filename":"file1"},{"photo_id":"1392097253","filename":"file0"},{"photo_id":"1392097279","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392097280":["hashtag1","hashtag2"]},{"1392097253":["hashtag1","hashtag2"]},{"1392097256":["hashtag1","hashtag2"]},{"1392097282":["hashtag1","hashtag2"]},{"1392097279":["hashtag1","hashtag2"]},{"1392097258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392097280, 1392097253, 1392097256, 1392097282, 1392097279, 1392097258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17242074012756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:40:42.357055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_07_3016.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_11_3545.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_13_2612.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_17_3746.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_20_2574.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_22_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_07_3016.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_11_3545.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_13_2612.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_17_3746.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_20_2574.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_22_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392097451","1392097439","1392097480","1392097501","1392097476","1392097413"],"photo_ids_order":["1392097413","1392097439","1392097451","1392097476","1392097480","1392097501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ca1d5806753a6b3399cb03951ae9c6a4.jpg","text":"TemporaryFile(/tmp/multipartBody3826532764387463619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188103270,"filename":"image_03112025_09_30_13_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/3/df34a7eb804dd7e0a39141a835e42974.jpg","text":"TemporaryFile(/tmp/multipartBody3840471731129519803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188103270,"filename":"image_03112025_09_30_11_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/3/16adb92dd0e85b57732d4fd1246f5ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2118553389110254255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188103270,"filename":"image_03112025_09_30_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/3/6e21f495532872fb11ba2cfb6c2e34d9.jpg","text":"TemporaryFile(/tmp/multipartBody4993561409636596717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188103270,"filename":"image_03112025_09_30_22_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d5689c9dc08fed40e247b498342100e.jpg","text":"TemporaryFile(/tmp/multipartBody2371482686668606401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188103270,"filename":"image_03112025_09_30_17_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/3/5b1887ee078505d8b16cdf69a8a1019a.jpg","text":"TemporaryFile(/tmp/multipartBody4761578681895793454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188103270,"filename":"image_03112025_09_30_07_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392097451","file1":"1392097439","file0":"1392097413","file4":"1392097480","file5":"1392097501","file3":"1392097476"},"map_files_photo_id_array":[{"photo_id":"1392097501","filename":"file5"},{"photo_id":"1392097451","filename":"file2"},{"photo_id":"1392097480","filename":"file4"},{"photo_id":"1392097439","filename":"file1"},{"photo_id":"1392097413","filename":"file0"},{"photo_id":"1392097476","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392097451":["hashtag1","hashtag2"]},{"1392097439":["hashtag1","hashtag2"]},{"1392097480":["hashtag1","hashtag2"]},{"1392097501":["hashtag1","hashtag2"]},{"1392097476":["hashtag1","hashtag2"]},{"1392097413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392097451, 1392097439, 1392097480, 1392097501, 1392097476, 1392097413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97156524658203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:41:22.493945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_25_2798.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_29_3821.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_32_2607.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_34_2617.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_38_3732.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_41_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_25_2798.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_29_3821.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_32_2607.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_34_2617.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_38_3732.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_41_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392097619","1392097588","1392097564","1392097606","1392097584","1392097566"],"photo_ids_order":["1392097564","1392097566","1392097584","1392097588","1392097606","1392097619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f7a9b478fdcf4accf9c5bfe861c28981.jpg","text":"TemporaryFile(/tmp/multipartBody6993334832187003155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188143319,"filename":"image_03112025_09_30_41_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/3/f696bec410312a0d307dd8b87d8ad7b1.jpg","text":"TemporaryFile(/tmp/multipartBody6949920075908506781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188143319,"filename":"image_03112025_09_30_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/3/33f0bca24f7e9d9c7c532ffd8024fc94.jpg","text":"TemporaryFile(/tmp/multipartBody5458392231224964570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188143319,"filename":"image_03112025_09_30_25_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/3/ae76922c682fddba8401884f201ddf57.jpg","text":"TemporaryFile(/tmp/multipartBody5008349409713559673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188143319,"filename":"image_03112025_09_30_38_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/3/d0bfdb032fd018cfd95210a4828e93de.jpg","text":"TemporaryFile(/tmp/multipartBody217270103806456703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188143319,"filename":"image_03112025_09_30_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/3/771eac19ffdcccaa51eeee0c70a2dbe1.jpg","text":"TemporaryFile(/tmp/multipartBody2762697941131863575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188143319,"filename":"image_03112025_09_30_29_3821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392097584","file1":"1392097566","file0":"1392097564","file4":"1392097606","file5":"1392097619","file3":"1392097588"},"map_files_photo_id_array":[{"photo_id":"1392097619","filename":"file5"},{"photo_id":"1392097584","filename":"file2"},{"photo_id":"1392097606","filename":"file4"},{"photo_id":"1392097566","filename":"file1"},{"photo_id":"1392097564","filename":"file0"},{"photo_id":"1392097588","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392097619":["hashtag1","hashtag2"]},{"1392097588":["hashtag1","hashtag2"]},{"1392097564":["hashtag1","hashtag2"]},{"1392097606":["hashtag1","hashtag2"]},{"1392097584":["hashtag1","hashtag2"]},{"1392097566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392097619, 1392097588, 1392097564, 1392097606, 1392097584, 1392097566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46445560455322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:42:02.787135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_43_2665.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_47_3643.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_50_2675.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_52_2584.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_56_3815.jpg', '/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_59_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_43_2665.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_47_3643.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_50_2675.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_52_2584.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_56_3815.jpg
/home/pi/Desktop/images/03112025/09/30/image_03112025_09_30_59_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392097652","1392097636","1392097659","1392097650","1392097629","1392097655"],"photo_ids_order":["1392097629","1392097636","1392097650","1392097652","1392097655","1392097659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1c78d1b9619dfad28d807e2938f1fe66.jpg","text":"TemporaryFile(/tmp/multipartBody6815053024986944154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188183769,"filename":"image_03112025_09_30_52_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/3/7d1354f31156259dc666023b97e93eda.jpg","text":"TemporaryFile(/tmp/multipartBody898235500422037263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188183769,"filename":"image_03112025_09_30_47_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/3/be4f305dc7a5b317657625a46e148f5d.jpg","text":"TemporaryFile(/tmp/multipartBody5009265719792160767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188183769,"filename":"image_03112025_09_30_59_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/3/99b963c1a0a2867bc1bfb869ddcf1ffd.jpg","text":"TemporaryFile(/tmp/multipartBody3352084465446522245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188183769,"filename":"image_03112025_09_30_50_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0a3e062a7e913e7f445c261892471e97.jpg","text":"TemporaryFile(/tmp/multipartBody273069533864050522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188183769,"filename":"image_03112025_09_30_43_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d87909aeef268ceff8bb73c83d216382.jpg","text":"TemporaryFile(/tmp/multipartBody1250771166820409412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188183769,"filename":"image_03112025_09_30_56_3815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392097650","file1":"1392097636","file0":"1392097629","file4":"1392097655","file5":"1392097659","file3":"1392097652"},"map_files_photo_id_array":[{"photo_id":"1392097659","filename":"file5"},{"photo_id":"1392097650","filename":"file2"},{"photo_id":"1392097655","filename":"file4"},{"photo_id":"1392097636","filename":"file1"},{"photo_id":"1392097629","filename":"file0"},{"photo_id":"1392097652","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392097652":["hashtag1","hashtag2"]},{"1392097636":["hashtag1","hashtag2"]},{"1392097659":["hashtag1","hashtag2"]},{"1392097650":["hashtag1","hashtag2"]},{"1392097629":["hashtag1","hashtag2"]},{"1392097655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392097652, 1392097636, 1392097659, 1392097650, 1392097629, 1392097655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.158686876297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:42:42.243772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_01_2705.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_04_2748.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_08_3803.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_11_2553.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_13_2789.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_17_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_01_2705.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_04_2748.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_08_3803.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_11_2553.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_13_2789.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_17_3644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392097672","1392097669","1392097683","1392097677","1392097671","1392097676"],"photo_ids_order":["1392097669","1392097671","1392097672","1392097676","1392097677","1392097683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/69fc0160dd7eaca2052f5978b01ba396.jpg","text":"TemporaryFile(/tmp/multipartBody1965967415474917836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188223764,"filename":"image_03112025_09_31_08_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/3/dd2ef35478d8fb61905405e325aaa021.jpg","text":"TemporaryFile(/tmp/multipartBody1798497496965858653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188223764,"filename":"image_03112025_09_31_01_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/3/638ff9e47412d84ef48f8858921c06c8.jpg","text":"TemporaryFile(/tmp/multipartBody7629634350418504277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188223764,"filename":"image_03112025_09_31_17_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/3/e6d3f286735687eb2da90d5b0a2eee98.jpg","text":"TemporaryFile(/tmp/multipartBody9007024621976820479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188223764,"filename":"image_03112025_09_31_13_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5c07f37fcf72f26a2bed9a28f280050f.jpg","text":"TemporaryFile(/tmp/multipartBody4579495051916014129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188223764,"filename":"image_03112025_09_31_04_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/3/3ea87e7fbd377d8f213a7bdd68964602.jpg","text":"TemporaryFile(/tmp/multipartBody1782808891327673441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188223764,"filename":"image_03112025_09_31_11_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392097672","file1":"1392097671","file0":"1392097669","file4":"1392097677","file5":"1392097683","file3":"1392097676"},"map_files_photo_id_array":[{"photo_id":"1392097683","filename":"file5"},{"photo_id":"1392097672","filename":"file2"},{"photo_id":"1392097677","filename":"file4"},{"photo_id":"1392097671","filename":"file1"},{"photo_id":"1392097669","filename":"file0"},{"photo_id":"1392097676","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392097672":["hashtag1","hashtag2"]},{"1392097669":["hashtag1","hashtag2"]},{"1392097683":["hashtag1","hashtag2"]},{"1392097677":["hashtag1","hashtag2"]},{"1392097671":["hashtag1","hashtag2"]},{"1392097676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392097672, 1392097669, 1392097683, 1392097677, 1392097671, 1392097676)","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.871774196624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:44:03.441712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_20_2823.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_22_2662.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_25_2648.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_29_3826.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_32_2614.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_34_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_20_2823.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_22_2662.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_25_2648.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_29_3826.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_32_2614.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_34_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392097996","1392097999","1392097998","1392097992","1392098001","1392097997"],"photo_ids_order":["1392097992","1392097996","1392097997","1392097998","1392097999","1392098001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a4c4fc215404e1614793b02468afeb43.jpg","text":"TemporaryFile(/tmp/multipartBody6490225603405206246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188304360,"filename":"image_03112025_09_31_22_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/3/d0ffd1cd36b76b6949ea7ce425026857.jpg","text":"TemporaryFile(/tmp/multipartBody46555982087129137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188304360,"filename":"image_03112025_09_31_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/3/5bba5b4f0dea918c901035e5a43a7106.jpg","text":"TemporaryFile(/tmp/multipartBody9144456954426545484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188304360,"filename":"image_03112025_09_31_29_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/3/24486308a368c36193d551d70b37d923.jpg","text":"TemporaryFile(/tmp/multipartBody6032369409024901911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188304360,"filename":"image_03112025_09_31_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/3/aafe06b15333fdfe9ff7fa98203a5b43.jpg","text":"TemporaryFile(/tmp/multipartBody2395555903567629683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188304360,"filename":"image_03112025_09_31_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/3/f7738b5046140fd6d8d6bfa272de4889.jpg","text":"TemporaryFile(/tmp/multipartBody2068253621520101454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188304360,"filename":"image_03112025_09_31_25_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392097997","file1":"1392097996","file0":"1392097992","file4":"1392097999","file5":"1392098001","file3":"1392097998"},"map_files_photo_id_array":[{"photo_id":"1392098001","filename":"file5"},{"photo_id":"1392097997","filename":"file2"},{"photo_id":"1392097999","filename":"file4"},{"photo_id":"1392097996","filename":"file1"},{"photo_id":"1392097992","filename":"file0"},{"photo_id":"1392097998","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392097996":["hashtag1","hashtag2"]},{"1392097999":["hashtag1","hashtag2"]},{"1392097998":["hashtag1","hashtag2"]},{"1392097992":["hashtag1","hashtag2"]},{"1392098001":["hashtag1","hashtag2"]},{"1392097997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392097996, 1392097999, 1392097998, 1392097992, 1392098001, 1392097997)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.130332231521606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:45:02.741882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_38_3666.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_41_2677.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_43_2643.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_46_2886.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_50_3726.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_52_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_38_3666.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_41_2677.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_43_2643.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_46_2886.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_50_3726.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_52_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392098050","1392098032","1392098034","1392098054","1392098033","1392098027"],"photo_ids_order":["1392098027","1392098032","1392098033","1392098034","1392098050","1392098054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/364ec88fec7da725fdb77934193fcf3a.jpg","text":"TemporaryFile(/tmp/multipartBody6998319133076606102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188363764,"filename":"image_03112025_09_31_50_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/3/c1230005db5a6a3d5d3e2ff1fee8e06f.jpg","text":"TemporaryFile(/tmp/multipartBody4255287412166364240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188363764,"filename":"image_03112025_09_31_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/3/255c6d8bb1ab7ab196c78855758b5d72.jpg","text":"TemporaryFile(/tmp/multipartBody6890303105353919151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188363764,"filename":"image_03112025_09_31_46_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/3/75c62ec6d223886a9fff47a1c38d2c14.jpg","text":"TemporaryFile(/tmp/multipartBody2080572872113323984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188363764,"filename":"image_03112025_09_31_52_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/3/302bc6cdbc996551210fb26298b61f3f.jpg","text":"TemporaryFile(/tmp/multipartBody1993973190835170805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188363764,"filename":"image_03112025_09_31_43_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/3/429d8c913bf74970149bf42b08035a09.jpg","text":"TemporaryFile(/tmp/multipartBody1937358360158523997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188363764,"filename":"image_03112025_09_31_38_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392098033","file1":"1392098032","file0":"1392098027","file4":"1392098050","file5":"1392098054","file3":"1392098034"},"map_files_photo_id_array":[{"photo_id":"1392098054","filename":"file5"},{"photo_id":"1392098033","filename":"file2"},{"photo_id":"1392098050","filename":"file4"},{"photo_id":"1392098032","filename":"file1"},{"photo_id":"1392098027","filename":"file0"},{"photo_id":"1392098034","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392098050":["hashtag1","hashtag2"]},{"1392098032":["hashtag1","hashtag2"]},{"1392098034":["hashtag1","hashtag2"]},{"1392098054":["hashtag1","hashtag2"]},{"1392098033":["hashtag1","hashtag2"]},{"1392098027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392098050, 1392098032, 1392098034, 1392098054, 1392098033, 1392098027)","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 = 1392098033 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_43_2643.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.405994176864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:46:22.583613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_55_2645.jpg', '/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_59_3710.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_02_2807.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_04_2660.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_08_3513.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_10_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_55_2645.jpg
/home/pi/Desktop/images/03112025/09/31/image_03112025_09_31_59_3710.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_02_2807.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_04_2660.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_08_3513.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_10_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392098290","1392098272","1392098269","1392098324","1392098327","1392098306"],"photo_ids_order":["1392098269","1392098272","1392098290","1392098306","1392098324","1392098327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/362c4ad4da57bcfe3e3c0fa4ed66957d.jpg","text":"TemporaryFile(/tmp/multipartBody8707764597365046795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188443427,"filename":"image_03112025_09_32_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/3/69ab7fff7dc08cae5d1072c6d9f01e3e.jpg","text":"TemporaryFile(/tmp/multipartBody1046184963799847464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188443427,"filename":"image_03112025_09_31_59_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/3/0895fdbecce98be97015852893342ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2059585056017240865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188443427,"filename":"image_03112025_09_31_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/3/ea669bf2b1be5e95986b114520e21493.jpg","text":"TemporaryFile(/tmp/multipartBody2376816866565307780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188443427,"filename":"image_03112025_09_32_08_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f7c64a84d4a39cc1cde8a131f703a20.jpg","text":"TemporaryFile(/tmp/multipartBody7614511014727761621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188443427,"filename":"image_03112025_09_32_10_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/3/32040a93a93d0a916bca335aab9ba15e.jpg","text":"TemporaryFile(/tmp/multipartBody7905704664929105100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188443427,"filename":"image_03112025_09_32_04_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392098290","file1":"1392098272","file0":"1392098269","file4":"1392098324","file5":"1392098327","file3":"1392098306"},"map_files_photo_id_array":[{"photo_id":"1392098327","filename":"file5"},{"photo_id":"1392098290","filename":"file2"},{"photo_id":"1392098324","filename":"file4"},{"photo_id":"1392098272","filename":"file1"},{"photo_id":"1392098269","filename":"file0"},{"photo_id":"1392098306","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392098290":["hashtag1","hashtag2"]},{"1392098272":["hashtag1","hashtag2"]},{"1392098269":["hashtag1","hashtag2"]},{"1392098324":["hashtag1","hashtag2"]},{"1392098327":["hashtag1","hashtag2"]},{"1392098306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392098290, 1392098272, 1392098269, 1392098324, 1392098327, 1392098306)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.75237059593201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:47:29.529524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_13_2599.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_17_3656.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_20_2832.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_22_2590.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_25_2749.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_29_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_13_2599.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_17_3656.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_20_2832.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_22_2590.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_25_2749.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_29_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":["1392098606","1392098625","1392098619","1392098585","1392098594","1392098567"],"photo_ids_order":["1392098567","1392098585","1392098594","1392098606","1392098619","1392098625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8dfa72111196d669aa53dad6e2bfb7ac.jpg","text":"TemporaryFile(/tmp/multipartBody8117910637564733849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188510369,"filename":"image_03112025_09_32_22_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/3/3c6d23db8e42a35c4bc8da034d9fd56e.jpg","text":"TemporaryFile(/tmp/multipartBody8810447472171105252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188510369,"filename":"image_03112025_09_32_29_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/3/2faaf62ec121db63ab5ea024ff813c12.jpg","text":"TemporaryFile(/tmp/multipartBody8729360987038939498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188510369,"filename":"image_03112025_09_32_25_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/45b5ccfa54886e64751bd60af8a6e79a.jpg","text":"TemporaryFile(/tmp/multipartBody5253550087252195577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188510369,"filename":"image_03112025_09_32_17_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/3/d3f367daa23b3b9e8939f30e924687bf.jpg","text":"TemporaryFile(/tmp/multipartBody3370670494530150979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188510369,"filename":"image_03112025_09_32_20_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/3/c9fb2e163269aed5aee59147c8d9cb13.jpg","text":"TemporaryFile(/tmp/multipartBody3125157660113504038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188510369,"filename":"image_03112025_09_32_13_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392098594","file1":"1392098585","file0":"1392098567","file4":"1392098619","file5":"1392098625","file3":"1392098606"},"map_files_photo_id_array":[{"photo_id":"1392098625","filename":"file5"},{"photo_id":"1392098594","filename":"file2"},{"photo_id":"1392098619","filename":"file4"},{"photo_id":"1392098585","filename":"file1"},{"photo_id":"1392098567","filename":"file0"},{"photo_id":"1392098606","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392098606":["hashtag1","hashtag2"]},{"1392098625":["hashtag1","hashtag2"]},{"1392098619":["hashtag1","hashtag2"]},{"1392098585":["hashtag1","hashtag2"]},{"1392098594":["hashtag1","hashtag2"]},{"1392098567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392098606, 1392098625, 1392098619, 1392098585, 1392098594, 1392098567)","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 = 1392098594 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_20_2832.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.63354849815369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:48:43.389035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_40_2700.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_43_2746.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_47_3739.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_50_2659.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_52_2692.jpg', '/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_55_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_40_2700.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_43_2746.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_47_3739.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_50_2659.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_52_2692.jpg
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_55_2810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392098671","1392098668","1392098673","1392098670","1392098672","1392098675"],"photo_ids_order":["1392098668","1392098670","1392098671","1392098672","1392098673","1392098675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/93754d7ee65a0d08642ccca03d18dd31.jpg","text":"TemporaryFile(/tmp/multipartBody7114075382860927295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188584224,"filename":"image_03112025_09_32_47_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/3/23fac206e0870c821b74f5e97e64f120.jpg","text":"TemporaryFile(/tmp/multipartBody137722021222011533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188584224,"filename":"image_03112025_09_32_40_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/3/949b97b5beafc2fb09d79278deafe717.jpg","text":"TemporaryFile(/tmp/multipartBody4964873611874230655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188584224,"filename":"image_03112025_09_32_52_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/3/5f8c09383c3be7769442a6fcc6e14eda.jpg","text":"TemporaryFile(/tmp/multipartBody8021708098944030185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188584224,"filename":"image_03112025_09_32_43_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/3/15ad18772f1d714922ccc35033f24135.jpg","text":"TemporaryFile(/tmp/multipartBody4569423282544637763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188584224,"filename":"image_03112025_09_32_50_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/3/8a0955e0094e7e26cc950d78d2cd0f53.jpg","text":"TemporaryFile(/tmp/multipartBody1447239128394006484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188584224,"filename":"image_03112025_09_32_55_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392098671","file1":"1392098670","file0":"1392098668","file4":"1392098673","file5":"1392098675","file3":"1392098672"},"map_files_photo_id_array":[{"photo_id":"1392098675","filename":"file5"},{"photo_id":"1392098671","filename":"file2"},{"photo_id":"1392098673","filename":"file4"},{"photo_id":"1392098670","filename":"file1"},{"photo_id":"1392098668","filename":"file0"},{"photo_id":"1392098672","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392098671":["hashtag1","hashtag2"]},{"1392098668":["hashtag1","hashtag2"]},{"1392098673":["hashtag1","hashtag2"]},{"1392098670":["hashtag1","hashtag2"]},{"1392098672":["hashtag1","hashtag2"]},{"1392098675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392098671, 1392098668, 1392098673, 1392098670, 1392098672, 1392098675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01065278053284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:49:24.826308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_58_2839.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_02_3711.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_04_2744.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_07_2535.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_11_3646.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_13_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/32/image_03112025_09_32_58_2839.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_02_3711.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_04_2744.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_07_2535.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_11_3646.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_13_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392098689","1392098797","1392098805","1392098768","1392098807","1392098729"],"photo_ids_order":["1392098689","1392098729","1392098768","1392098797","1392098805","1392098807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b870aaa629689a068e0e38510e98bf9.jpg","text":"TemporaryFile(/tmp/multipartBody6215817355004461981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188625819,"filename":"image_03112025_09_32_58_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/3/874624ca88b78a10f4dae901af6bb472.jpg","text":"TemporaryFile(/tmp/multipartBody5120034430780763739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188625819,"filename":"image_03112025_09_33_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/3/bdad7755f036de3cae9dd895c187d96c.jpg","text":"TemporaryFile(/tmp/multipartBody882092884143962027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188625819,"filename":"image_03112025_09_33_11_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d823253927df5777464969c852b100ca.jpg","text":"TemporaryFile(/tmp/multipartBody7494425756831325374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188625819,"filename":"image_03112025_09_33_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/3/4c87dcad3982f79abfce008e408189fe.jpg","text":"TemporaryFile(/tmp/multipartBody8211220038709693751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188625819,"filename":"image_03112025_09_33_13_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f487f0e65da476f123f6ba835e0e2b4.jpg","text":"TemporaryFile(/tmp/multipartBody6528395872856908080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188625819,"filename":"image_03112025_09_33_02_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392098768","file1":"1392098729","file0":"1392098689","file4":"1392098805","file5":"1392098807","file3":"1392098797"},"map_files_photo_id_array":[{"photo_id":"1392098807","filename":"file5"},{"photo_id":"1392098768","filename":"file2"},{"photo_id":"1392098805","filename":"file4"},{"photo_id":"1392098729","filename":"file1"},{"photo_id":"1392098689","filename":"file0"},{"photo_id":"1392098797","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392098689":["hashtag1","hashtag2"]},{"1392098797":["hashtag1","hashtag2"]},{"1392098805":["hashtag1","hashtag2"]},{"1392098768":["hashtag1","hashtag2"]},{"1392098807":["hashtag1","hashtag2"]},{"1392098729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392098689, 1392098797, 1392098805, 1392098768, 1392098807, 1392098729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08639860153198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:50:22.022916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_16_2703.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_20_3803.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_22_2605.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_25_2661.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_28_2850.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_31_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_16_2703.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_20_3803.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_22_2605.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_25_2661.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_28_2850.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_31_3530.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392098962","1392098985","1392098964","1392099009","1392099005","1392099002"],"photo_ids_order":["1392098962","1392098964","1392098985","1392099002","1392099005","1392099009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2794f496bf9bb05fa6e1f3938b9007c6.jpg","text":"TemporaryFile(/tmp/multipartBody4657785674736860812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188682828,"filename":"image_03112025_09_33_16_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/098393a60112e413b02ba90b9dac8831.jpg","text":"TemporaryFile(/tmp/multipartBody2841404612731411227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188682828,"filename":"image_03112025_09_33_22_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/3/a0c552c7ab4c3d07184a674362d125ee.jpg","text":"TemporaryFile(/tmp/multipartBody8148519005326267669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188682828,"filename":"image_03112025_09_33_20_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/3/785b1a9d748f416b770a357644a47dcf.jpg","text":"TemporaryFile(/tmp/multipartBody3783830398665709430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188682828,"filename":"image_03112025_09_33_31_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8105416a47c6cd66541b6a7f565a9061.jpg","text":"TemporaryFile(/tmp/multipartBody6292852578292311828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188682828,"filename":"image_03112025_09_33_28_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/3/2b44698711f38c8115d36183b655c2a7.jpg","text":"TemporaryFile(/tmp/multipartBody3401494988078805507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188682828,"filename":"image_03112025_09_33_25_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392098985","file1":"1392098964","file0":"1392098962","file4":"1392099005","file5":"1392099009","file3":"1392099002"},"map_files_photo_id_array":[{"photo_id":"1392099009","filename":"file5"},{"photo_id":"1392098985","filename":"file2"},{"photo_id":"1392099005","filename":"file4"},{"photo_id":"1392098964","filename":"file1"},{"photo_id":"1392098962","filename":"file0"},{"photo_id":"1392099002","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392098962":["hashtag1","hashtag2"]},{"1392098985":["hashtag1","hashtag2"]},{"1392098964":["hashtag1","hashtag2"]},{"1392099009":["hashtag1","hashtag2"]},{"1392099005":["hashtag1","hashtag2"]},{"1392099002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392098962, 1392098985, 1392098964, 1392099009, 1392099005, 1392099002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25264382362366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:51:03.023330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_34_2894.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_37_2690.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_41_3616.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_43_2723.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_46_2704.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_50_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_34_2894.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_37_2690.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_41_3616.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_43_2723.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_46_2704.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_50_3588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392099136","1392099205","1392099174","1392099084","1392099086","1392099097"],"photo_ids_order":["1392099084","1392099086","1392099097","1392099136","1392099174","1392099205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3b02dd760adcfcea487c7230f17534c.jpg","text":"TemporaryFile(/tmp/multipartBody6536162680350437525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188724020,"filename":"image_03112025_09_33_43_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/3/6b1d6993e7dc7ac580ee038a780959e7.jpg","text":"TemporaryFile(/tmp/multipartBody7005154608941558421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188724020,"filename":"image_03112025_09_33_50_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/103449adf1fab28a5282f0b3ffeea34a.jpg","text":"TemporaryFile(/tmp/multipartBody5584132922155821103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188724020,"filename":"image_03112025_09_33_46_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/92f90588a62f7cea58151d4ac21d2da1.jpg","text":"TemporaryFile(/tmp/multipartBody5317436591513399102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188724020,"filename":"image_03112025_09_33_34_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/3/503690f982aca3ab549402c6f50c0958.jpg","text":"TemporaryFile(/tmp/multipartBody716827690864905162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188724020,"filename":"image_03112025_09_33_37_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/3/1585fb42752443d7b7243f541d69cedc.jpg","text":"TemporaryFile(/tmp/multipartBody6121809587576330878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188724020,"filename":"image_03112025_09_33_41_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392099097","file1":"1392099086","file0":"1392099084","file4":"1392099174","file5":"1392099205","file3":"1392099136"},"map_files_photo_id_array":[{"photo_id":"1392099205","filename":"file5"},{"photo_id":"1392099097","filename":"file2"},{"photo_id":"1392099174","filename":"file4"},{"photo_id":"1392099086","filename":"file1"},{"photo_id":"1392099084","filename":"file0"},{"photo_id":"1392099136","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392099136":["hashtag1","hashtag2"]},{"1392099205":["hashtag1","hashtag2"]},{"1392099174":["hashtag1","hashtag2"]},{"1392099084":["hashtag1","hashtag2"]},{"1392099086":["hashtag1","hashtag2"]},{"1392099097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392099136, 1392099205, 1392099174, 1392099084, 1392099086, 1392099097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6747944355011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:51:42.196972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_52_2689.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_55_2712.jpg', '/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_59_3618.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_01_2596.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_05_3545.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_07_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_52_2689.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_55_2712.jpg
/home/pi/Desktop/images/03112025/09/33/image_03112025_09_33_59_3618.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_01_2596.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_05_3545.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_07_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392099282","1392099285","1392099281","1392099254","1392099257","1392099283"],"photo_ids_order":["1392099254","1392099257","1392099281","1392099282","1392099283","1392099285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf76cc3f7a10b7052c038b53af72b92f.jpg","text":"TemporaryFile(/tmp/multipartBody8559632355937276876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188763054,"filename":"image_03112025_09_34_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/3/0c671bb6e142bc2aa04646e745809c15.jpg","text":"TemporaryFile(/tmp/multipartBody3500790661963976681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188763054,"filename":"image_03112025_09_34_07_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/3/da888a7318a02ad3b30af4ac83968ba5.jpg","text":"TemporaryFile(/tmp/multipartBody4086847361214697779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188763054,"filename":"image_03112025_09_33_59_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dacb495dc15968e0aaf02417acf56525.jpg","text":"TemporaryFile(/tmp/multipartBody8457615802250778712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188763054,"filename":"image_03112025_09_33_52_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/3/a75e315a7cec81bdb2ac7dc97267242f.jpg","text":"TemporaryFile(/tmp/multipartBody8155779722723254869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188763054,"filename":"image_03112025_09_33_55_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/3/b27542a205c7c5c7a1bd66a1d577d8ca.jpg","text":"TemporaryFile(/tmp/multipartBody4210154988082937934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188763054,"filename":"image_03112025_09_34_05_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392099281","file1":"1392099257","file0":"1392099254","file4":"1392099283","file5":"1392099285","file3":"1392099282"},"map_files_photo_id_array":[{"photo_id":"1392099285","filename":"file5"},{"photo_id":"1392099281","filename":"file2"},{"photo_id":"1392099283","filename":"file4"},{"photo_id":"1392099257","filename":"file1"},{"photo_id":"1392099254","filename":"file0"},{"photo_id":"1392099282","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392099282":["hashtag1","hashtag2"]},{"1392099285":["hashtag1","hashtag2"]},{"1392099281":["hashtag1","hashtag2"]},{"1392099254":["hashtag1","hashtag2"]},{"1392099257":["hashtag1","hashtag2"]},{"1392099283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392099282, 1392099285, 1392099281, 1392099254, 1392099257, 1392099283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8017213344574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 17:52:22.292299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_10_2663.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_13_2798.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_16_3556.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_19_2616.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_22_2702.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_25_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_10_2663.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_13_2798.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_16_3556.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_19_2616.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_22_2702.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_25_3537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392099439","1392099400","1392099383","1392099347","1392099434","1392099379"],"photo_ids_order":["1392099347","1392099379","1392099383","1392099400","1392099434","1392099439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8c9fb3041f0a8c7137b6fcbc2c9d1290.jpg","text":"TemporaryFile(/tmp/multipartBody2361565001263924730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188803178,"filename":"image_03112025_09_34_25_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/3/1836af0d652f4ea8cf77de91b8170f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8810544551967947653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188803178,"filename":"image_03112025_09_34_19_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a2fa80c9ddbca2025986b0622571fb34.jpg","text":"TemporaryFile(/tmp/multipartBody1235439139337184949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188803178,"filename":"image_03112025_09_34_16_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/3/987427137b648f8e819b2f7b42ceb1c1.jpg","text":"TemporaryFile(/tmp/multipartBody5838779171318576252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188803178,"filename":"image_03112025_09_34_10_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/3/7c958bff4075ca148722d73d9144e257.jpg","text":"TemporaryFile(/tmp/multipartBody6866765471427347148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188803178,"filename":"image_03112025_09_34_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/3/f9b4c28819f34b7f1bf3445cec6c6fec.jpg","text":"TemporaryFile(/tmp/multipartBody1475221495531690524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188803178,"filename":"image_03112025_09_34_13_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392099383","file1":"1392099379","file0":"1392099347","file4":"1392099434","file5":"1392099439","file3":"1392099400"},"map_files_photo_id_array":[{"photo_id":"1392099439","filename":"file5"},{"photo_id":"1392099383","filename":"file2"},{"photo_id":"1392099434","filename":"file4"},{"photo_id":"1392099379","filename":"file1"},{"photo_id":"1392099347","filename":"file0"},{"photo_id":"1392099400","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392099439":["hashtag1","hashtag2"]},{"1392099400":["hashtag1","hashtag2"]},{"1392099383":["hashtag1","hashtag2"]},{"1392099347":["hashtag1","hashtag2"]},{"1392099434":["hashtag1","hashtag2"]},{"1392099379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392099439, 1392099400, 1392099383, 1392099347, 1392099434, 1392099379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.700682163238525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:53:16.587256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_28_2704.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_32_3626.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_34_2584.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_41_3623.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_43_2630.jpg', '/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_56_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_28_2704.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_32_3626.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_34_2584.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_41_3623.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_43_2630.jpg
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_56_3533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392099538","1392099523","1392099532","1392099535","1392099528","1392099541"],"photo_ids_order":["1392099523","1392099528","1392099532","1392099535","1392099538","1392099541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/89817c98c3351f034817af2c62253bdb.jpg","text":"TemporaryFile(/tmp/multipartBody1827733814234501037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188857546,"filename":"image_03112025_09_34_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/3/92a345a6eb5aea1cf5e19cfaead8a20f.jpg","text":"TemporaryFile(/tmp/multipartBody4803937668910447917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188857546,"filename":"image_03112025_09_34_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/3/9f0496478fff4c42b1230f3b8e9d11d8.jpg","text":"TemporaryFile(/tmp/multipartBody5747122913381199740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188857546,"filename":"image_03112025_09_34_34_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2f942d1967ccb8e133b4f4646e176a22.jpg","text":"TemporaryFile(/tmp/multipartBody7039060918567258800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188857546,"filename":"image_03112025_09_34_41_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/3/c4d3a6d7fd1c38c95a888a9d0d7fbe3a.jpg","text":"TemporaryFile(/tmp/multipartBody2897759767423043481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188857546,"filename":"image_03112025_09_34_32_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/3/66d48d1c272f23a226c47f6a2f4dca46.jpg","text":"TemporaryFile(/tmp/multipartBody2089761732810087912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188857546,"filename":"image_03112025_09_34_56_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392099532","file1":"1392099528","file0":"1392099523","file4":"1392099538","file5":"1392099541","file3":"1392099535"},"map_files_photo_id_array":[{"photo_id":"1392099541","filename":"file5"},{"photo_id":"1392099532","filename":"file2"},{"photo_id":"1392099538","filename":"file4"},{"photo_id":"1392099528","filename":"file1"},{"photo_id":"1392099523","filename":"file0"},{"photo_id":"1392099535","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392099538":["hashtag1","hashtag2"]},{"1392099523":["hashtag1","hashtag2"]},{"1392099532":["hashtag1","hashtag2"]},{"1392099535":["hashtag1","hashtag2"]},{"1392099528":["hashtag1","hashtag2"]},{"1392099541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392099538, 1392099523, 1392099532, 1392099535, 1392099528, 1392099541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4553439617157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:54:02.830079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_58_2782.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_01_2706.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_04_3142.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_07_2714.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_10_3583.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_13_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/34/image_03112025_09_34_58_2782.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_01_2706.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_04_3142.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_07_2714.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_10_3583.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_13_2851.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":["1392099565","1392099553","1392099573","1392099575","1392099551","1392099568"],"photo_ids_order":["1392099551","1392099553","1392099565","1392099568","1392099573","1392099575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf6d3becda4edd94ba527a5c70fcf617.jpg","text":"TemporaryFile(/tmp/multipartBody303036534121443709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188903968,"filename":"image_03112025_09_35_04_3142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/21f614bfcae7ea00f680da83dbe44f05.jpg","text":"TemporaryFile(/tmp/multipartBody5291396127561068663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188903968,"filename":"image_03112025_09_35_01_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ef310d0be2fb23e021f5fd08e1e0aff.jpg","text":"TemporaryFile(/tmp/multipartBody3589048558691980206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188903968,"filename":"image_03112025_09_35_10_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/3/6af5a9bd8610382ff4c1ce9404ef5038.jpg","text":"TemporaryFile(/tmp/multipartBody2467035480078100460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188903968,"filename":"image_03112025_09_35_13_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/3/41a512602cfd5b0f5b7d2fca5d051cec.jpg","text":"TemporaryFile(/tmp/multipartBody5639509534905886523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188903968,"filename":"image_03112025_09_34_58_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/3/8510ff6a2ba1b0f43931f09f1286ba99.jpg","text":"TemporaryFile(/tmp/multipartBody2822054946569453320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188903968,"filename":"image_03112025_09_35_07_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392099565","file1":"1392099553","file0":"1392099551","file4":"1392099573","file5":"1392099575","file3":"1392099568"},"map_files_photo_id_array":[{"photo_id":"1392099575","filename":"file5"},{"photo_id":"1392099565","filename":"file2"},{"photo_id":"1392099573","filename":"file4"},{"photo_id":"1392099553","filename":"file1"},{"photo_id":"1392099551","filename":"file0"},{"photo_id":"1392099568","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392099565":["hashtag1","hashtag2"]},{"1392099553":["hashtag1","hashtag2"]},{"1392099573":["hashtag1","hashtag2"]},{"1392099575":["hashtag1","hashtag2"]},{"1392099551":["hashtag1","hashtag2"]},{"1392099568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392099565, 1392099553, 1392099573, 1392099575, 1392099551, 1392099568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.33564305305481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:55:03.333372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_16_2856.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_19_2613.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_22_3699.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_25_2774.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_28_2649.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_31_2945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_16_2856.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_19_2613.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_22_3699.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_25_2774.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_28_2649.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_31_2945.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392099882","1392099753","1392099834","1392099773","1392099764","1392099898"],"photo_ids_order":["1392099753","1392099764","1392099773","1392099834","1392099882","1392099898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/937a9890a3fdbc5bc00ce31bb02eabb5.jpg","text":"TemporaryFile(/tmp/multipartBody8455999715544354573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188965876,"filename":"image_03112025_09_35_28_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/261afe76670a5093b86b7898375ef69d.jpg","text":"TemporaryFile(/tmp/multipartBody7623109046082171464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188965876,"filename":"image_03112025_09_35_16_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/3/901b87ac2e127d4d4f320c62f93ba50d.jpg","text":"TemporaryFile(/tmp/multipartBody6669205942731807425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188965876,"filename":"image_03112025_09_35_25_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/3/6554dfc5aff213bbb0cb109c308ec7db.jpg","text":"TemporaryFile(/tmp/multipartBody3108720969808540866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188965876,"filename":"image_03112025_09_35_22_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/3/130e0a4f01bf56db65d0aefb6fd2bf41.jpg","text":"TemporaryFile(/tmp/multipartBody5508010936287403201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188965876,"filename":"image_03112025_09_35_19_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/3/161f4b5b6091de72cd6512d8edaf5dfa.jpg","text":"TemporaryFile(/tmp/multipartBody5779166683493854020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762188965876,"filename":"image_03112025_09_35_31_2945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392099773","file1":"1392099764","file0":"1392099753","file4":"1392099882","file5":"1392099898","file3":"1392099834"},"map_files_photo_id_array":[{"photo_id":"1392099898","filename":"file5"},{"photo_id":"1392099773","filename":"file2"},{"photo_id":"1392099882","filename":"file4"},{"photo_id":"1392099764","filename":"file1"},{"photo_id":"1392099753","filename":"file0"},{"photo_id":"1392099834","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392099882":["hashtag1","hashtag2"]},{"1392099753":["hashtag1","hashtag2"]},{"1392099834":["hashtag1","hashtag2"]},{"1392099773":["hashtag1","hashtag2"]},{"1392099764":["hashtag1","hashtag2"]},{"1392099898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392099882, 1392099753, 1392099834, 1392099773, 1392099764, 1392099898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.31739544868469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:56:02.289438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_35_3685.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_37_2712.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_40_2623.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_44_3654.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_46_2787.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_49_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_35_3685.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_37_2712.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_40_2623.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_44_3654.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_46_2787.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_49_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392100035","1392100029","1392100032","1392100039","1392100027","1392100021"],"photo_ids_order":["1392100021","1392100027","1392100029","1392100032","1392100035","1392100039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/34ec00889cdffdf4f6dce62023891207.jpg","text":"TemporaryFile(/tmp/multipartBody6223415282583743105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189023269,"filename":"image_03112025_09_35_46_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/3/37d6fdfb11b5cb7f5993798a4d23804b.jpg","text":"TemporaryFile(/tmp/multipartBody7520350816032788537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189023269,"filename":"image_03112025_09_35_40_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/3/03b1f88ff6de9bc2849a4d789aae796e.jpg","text":"TemporaryFile(/tmp/multipartBody7948053321403162859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189023269,"filename":"image_03112025_09_35_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/3/e84964bec62367f8bb20e03fa71a1eb3.jpg","text":"TemporaryFile(/tmp/multipartBody2938294179818241833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189023269,"filename":"image_03112025_09_35_49_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f076cce3cb0ce08266c69649c019e676.jpg","text":"TemporaryFile(/tmp/multipartBody3501116959865681134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189023269,"filename":"image_03112025_09_35_37_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/3/3bb6a127185e8fb66f15824c1362600d.jpg","text":"TemporaryFile(/tmp/multipartBody2567565233039159795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189023269,"filename":"image_03112025_09_35_35_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392100029","file1":"1392100027","file0":"1392100021","file4":"1392100035","file5":"1392100039","file3":"1392100032"},"map_files_photo_id_array":[{"photo_id":"1392100039","filename":"file5"},{"photo_id":"1392100029","filename":"file2"},{"photo_id":"1392100035","filename":"file4"},{"photo_id":"1392100027","filename":"file1"},{"photo_id":"1392100021","filename":"file0"},{"photo_id":"1392100032","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392100035":["hashtag1","hashtag2"]},{"1392100029":["hashtag1","hashtag2"]},{"1392100032":["hashtag1","hashtag2"]},{"1392100039":["hashtag1","hashtag2"]},{"1392100027":["hashtag1","hashtag2"]},{"1392100021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392100035, 1392100029, 1392100032, 1392100039, 1392100027, 1392100021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58529019355774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:56:41.870723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_53_3683.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_55_2692.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_58_2570.jpg', '/home/pi/Desktop/images/03112025/09/35/image_03112025_09_36_01_3649.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_04_2831.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_07_2502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_53_3683.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_55_2692.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_35_58_2570.jpg
/home/pi/Desktop/images/03112025/09/35/image_03112025_09_36_01_3649.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_04_2831.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_07_2502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392100053","1392100056","1392100059","1392100061","1392100051","1392100048"],"photo_ids_order":["1392100048","1392100051","1392100053","1392100056","1392100059","1392100061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eecf46e2e7dbb5712a3f8ec076b9669c.jpg","text":"TemporaryFile(/tmp/multipartBody3514682916041425848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189066270,"filename":"image_03112025_09_35_58_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/3/556ee42f19923b7b698144cdff7c1971.jpg","text":"TemporaryFile(/tmp/multipartBody6361931268924032783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189066270,"filename":"image_03112025_09_36_01_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fca93c5c24c09a3f12a4602ba69768fc.jpg","text":"TemporaryFile(/tmp/multipartBody4383753657677607499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189066270,"filename":"image_03112025_09_36_04_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/3/2d4e854e220f7b9fd3198d55af467450.jpg","text":"TemporaryFile(/tmp/multipartBody5425087552289336501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189066270,"filename":"image_03112025_09_36_07_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/3/29e2f915c68280ef20024b9184e253fa.jpg","text":"TemporaryFile(/tmp/multipartBody7671896233891415631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189066270,"filename":"image_03112025_09_35_55_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/3/07b0f78f5d163d761944cd576157c885.jpg","text":"TemporaryFile(/tmp/multipartBody7869204066123165537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189066270,"filename":"image_03112025_09_35_53_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392100053","file1":"1392100051","file0":"1392100048","file4":"1392100059","file5":"1392100061","file3":"1392100056"},"map_files_photo_id_array":[{"photo_id":"1392100061","filename":"file5"},{"photo_id":"1392100053","filename":"file2"},{"photo_id":"1392100059","filename":"file4"},{"photo_id":"1392100051","filename":"file1"},{"photo_id":"1392100048","filename":"file0"},{"photo_id":"1392100056","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392100053":["hashtag1","hashtag2"]},{"1392100056":["hashtag1","hashtag2"]},{"1392100059":["hashtag1","hashtag2"]},{"1392100061":["hashtag1","hashtag2"]},{"1392100051":["hashtag1","hashtag2"]},{"1392100048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392100053, 1392100056, 1392100059, 1392100061, 1392100051, 1392100048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.374942779541016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 17:57:43.399303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_10_3683.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_13_2685.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_16_2594.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_19_2772.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_22_3598.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_25_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_10_3683.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_13_2685.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_16_2594.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_19_2772.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_22_3598.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_25_2806.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7546038627624512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 17:59:03.777449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_10_3683.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_13_2685.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_16_2594.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_19_2772.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_22_3598.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_25_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_10_3683.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_13_2685.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_16_2594.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_19_2772.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_22_3598.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_25_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392100530","1392100652","1392100568","1392100489","1392100607","1392100438"],"photo_ids_order":["1392100438","1392100489","1392100530","1392100568","1392100607","1392100652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/049fae06118116c778999a5e281519e0.jpg","text":"TemporaryFile(/tmp/multipartBody3040480343403450036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189204705,"filename":"image_03112025_09_36_16_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/3/18ac4fb69e502484b7acdbf7c5c7428c.jpg","text":"TemporaryFile(/tmp/multipartBody309427457237760778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189204705,"filename":"image_03112025_09_36_25_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/3/02e79b4d761acad5183a496df76cba40.jpg","text":"TemporaryFile(/tmp/multipartBody8765379354883935099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189204705,"filename":"image_03112025_09_36_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/3/e7f8466f64b2647841b3a427babaac5c.jpg","text":"TemporaryFile(/tmp/multipartBody3828689847599942363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189204705,"filename":"image_03112025_09_36_13_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f87b6fe79b01263394e6350c96faead.jpg","text":"TemporaryFile(/tmp/multipartBody6893103897523322842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189204705,"filename":"image_03112025_09_36_22_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/3/c295837afb032b0f8afbc4e6a49f660e.jpg","text":"TemporaryFile(/tmp/multipartBody7366704530477130784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189204705,"filename":"image_03112025_09_36_10_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392100530","file1":"1392100489","file0":"1392100438","file4":"1392100607","file5":"1392100652","file3":"1392100568"},"map_files_photo_id_array":[{"photo_id":"1392100652","filename":"file5"},{"photo_id":"1392100530","filename":"file2"},{"photo_id":"1392100607","filename":"file4"},{"photo_id":"1392100489","filename":"file1"},{"photo_id":"1392100438","filename":"file0"},{"photo_id":"1392100568","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392100530":["hashtag1","hashtag2"]},{"1392100652":["hashtag1","hashtag2"]},{"1392100568":["hashtag1","hashtag2"]},{"1392100489":["hashtag1","hashtag2"]},{"1392100607":["hashtag1","hashtag2"]},{"1392100438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392100530, 1392100652, 1392100568, 1392100489, 1392100607, 1392100438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.527528285980225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:00:04.649617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_28_2665.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_31_3686.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_34_2924.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_37_2739.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_40_2753.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_43_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_28_2665.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_31_3686.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_34_2924.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_37_2739.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_40_2753.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_43_2816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392101186","1392101103","1392101278","1392101368","1392100987","1392101032"],"photo_ids_order":["1392100987","1392101032","1392101103","1392101186","1392101278","1392101368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe7a1b6effa462c8d19e7db23fe5aa62.jpg","text":"TemporaryFile(/tmp/multipartBody9121322448061308796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189268599,"filename":"image_03112025_09_36_37_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/3/03c963db5f6398417d000fc352899657.jpg","text":"TemporaryFile(/tmp/multipartBody607139564823187754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189268599,"filename":"image_03112025_09_36_34_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/3/3c2c63b51c54d75404fc26fa930f55e4.jpg","text":"TemporaryFile(/tmp/multipartBody7067365511953182170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189268599,"filename":"image_03112025_09_36_40_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/3/e96428b9abee9f86e9c8ca05ec853f7e.jpg","text":"TemporaryFile(/tmp/multipartBody8578883243848142352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189268599,"filename":"image_03112025_09_36_43_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/3/8628ef01e07bb65a49cdd8964f5ebf69.jpg","text":"TemporaryFile(/tmp/multipartBody3215506202370395720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189268599,"filename":"image_03112025_09_36_28_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fe8341dafaa7ccd8029b11afa559a5a2.jpg","text":"TemporaryFile(/tmp/multipartBody5519844738441010652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189268599,"filename":"image_03112025_09_36_31_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392101103","file1":"1392101032","file0":"1392100987","file4":"1392101278","file5":"1392101368","file3":"1392101186"},"map_files_photo_id_array":[{"photo_id":"1392101368","filename":"file5"},{"photo_id":"1392101103","filename":"file2"},{"photo_id":"1392101278","filename":"file4"},{"photo_id":"1392101032","filename":"file1"},{"photo_id":"1392100987","filename":"file0"},{"photo_id":"1392101186","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392101186":["hashtag1","hashtag2"]},{"1392101103":["hashtag1","hashtag2"]},{"1392101278":["hashtag1","hashtag2"]},{"1392101368":["hashtag1","hashtag2"]},{"1392100987":["hashtag1","hashtag2"]},{"1392101032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392101186, 1392101103, 1392101278, 1392101368, 1392100987, 1392101032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15898418426514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:01:04.388759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_46_3572.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_49_2683.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_52_3647.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_55_2809.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_58_2605.jpg', '/home/pi/Desktop/images/03112025/09/36/image_03112025_09_37_01_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_46_3572.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_49_2683.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_52_3647.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_55_2809.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_36_58_2605.jpg
/home/pi/Desktop/images/03112025/09/36/image_03112025_09_37_01_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":["1392101807","1392101770","1392101950","1392101866","1392101875","1392102042"],"photo_ids_order":["1392101770","1392101807","1392101866","1392101875","1392101950","1392102042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/659bc2af66d708ee1afedd728e40c702.jpg","text":"TemporaryFile(/tmp/multipartBody2113535890226671850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189328520,"filename":"image_03112025_09_36_49_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1c56b90d5642f34c94ec8452fbebbc51.jpg","text":"TemporaryFile(/tmp/multipartBody7257595958854744915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189328520,"filename":"image_03112025_09_36_46_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/3/0a606c08a8ffb866deb800eb0cbbecfa.jpg","text":"TemporaryFile(/tmp/multipartBody3228424078901734094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189328520,"filename":"image_03112025_09_36_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/3/af7100720306b916a10f8d783929f5a1.jpg","text":"TemporaryFile(/tmp/multipartBody29583154057671598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189328520,"filename":"image_03112025_09_36_52_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/3/102f066ce40fe8fc20454d562417170d.jpg","text":"TemporaryFile(/tmp/multipartBody3576562394627911512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189328520,"filename":"image_03112025_09_36_55_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ecbeab6a3cd08bfc8d27c7f181ed92cc.jpg","text":"TemporaryFile(/tmp/multipartBody7197389590488632139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189328520,"filename":"image_03112025_09_37_01_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392101866","file1":"1392101807","file0":"1392101770","file4":"1392101950","file5":"1392102042","file3":"1392101875"},"map_files_photo_id_array":[{"photo_id":"1392102042","filename":"file5"},{"photo_id":"1392101866","filename":"file2"},{"photo_id":"1392101950","filename":"file4"},{"photo_id":"1392101807","filename":"file1"},{"photo_id":"1392101770","filename":"file0"},{"photo_id":"1392101875","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392101807":["hashtag1","hashtag2"]},{"1392101770":["hashtag1","hashtag2"]},{"1392101950":["hashtag1","hashtag2"]},{"1392101866":["hashtag1","hashtag2"]},{"1392101875":["hashtag1","hashtag2"]},{"1392102042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392101807, 1392101770, 1392101950, 1392101866, 1392101875, 1392102042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.98397183418274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:02:02.827773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_04_2636.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_07_2510.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_10_3766.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_13_2577.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_16_2589.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_19_3848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_04_2636.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_07_2510.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_10_3766.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_13_2577.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_16_2589.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_19_3848.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392102824","1392102626","1392102723","1392102540","1392102456","1392102887"],"photo_ids_order":["1392102456","1392102540","1392102626","1392102723","1392102824","1392102887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/34d4dd1922577222f771be89d12003f9.jpg","text":"TemporaryFile(/tmp/multipartBody7459246924393108246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189385423,"filename":"image_03112025_09_37_16_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9e373c90014a31d8d5a069fab441e248.jpg","text":"TemporaryFile(/tmp/multipartBody4915427198472723869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189385423,"filename":"image_03112025_09_37_10_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/3/63acc019c8d2c7e09036ecce7c8d0982.jpg","text":"TemporaryFile(/tmp/multipartBody5677780873733209989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189385423,"filename":"image_03112025_09_37_13_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/3/11e0877496d9624e4fb8a266802c03ad.jpg","text":"TemporaryFile(/tmp/multipartBody2878332562153800411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189385423,"filename":"image_03112025_09_37_07_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/3/41d7ca161fa4484fa4ed53e4d8364d12.jpg","text":"TemporaryFile(/tmp/multipartBody8654872127722276969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189385423,"filename":"image_03112025_09_37_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/3/76ee4a1ad989cd56096585718757655d.jpg","text":"TemporaryFile(/tmp/multipartBody7928719962979326010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189385423,"filename":"image_03112025_09_37_19_3848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392102626","file1":"1392102540","file0":"1392102456","file4":"1392102824","file5":"1392102887","file3":"1392102723"},"map_files_photo_id_array":[{"photo_id":"1392102887","filename":"file5"},{"photo_id":"1392102626","filename":"file2"},{"photo_id":"1392102824","filename":"file4"},{"photo_id":"1392102540","filename":"file1"},{"photo_id":"1392102456","filename":"file0"},{"photo_id":"1392102723","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392102824":["hashtag1","hashtag2"]},{"1392102626":["hashtag1","hashtag2"]},{"1392102723":["hashtag1","hashtag2"]},{"1392102540":["hashtag1","hashtag2"]},{"1392102456":["hashtag1","hashtag2"]},{"1392102887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392102824, 1392102626, 1392102723, 1392102540, 1392102456, 1392102887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66777515411377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:02:42.408714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_22_2804.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_25_2652.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_28_2689.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_31_3685.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_34_3250.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_37_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_22_2804.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_25_2652.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_28_2689.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_31_3685.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_34_3250.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_37_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392103202","1392103197","1392103199","1392103151","1392103073","1392103205"],"photo_ids_order":["1392103073","1392103151","1392103197","1392103199","1392103202","1392103205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6707ede547c119a80a031522fea4ff7d.jpg","text":"TemporaryFile(/tmp/multipartBody5525483340423544774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189425751,"filename":"image_03112025_09_37_34_3250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a910a05aaa3f134b95641d1f5d6ed8a7.jpg","text":"TemporaryFile(/tmp/multipartBody6618298800049594291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189425751,"filename":"image_03112025_09_37_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/3/e6f1d9d69267a152c38f3595ea823206.jpg","text":"TemporaryFile(/tmp/multipartBody7890091341694444386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189425751,"filename":"image_03112025_09_37_31_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/3/3d5dec3083e7e7c3aa4eaa3ad5d58b34.jpg","text":"TemporaryFile(/tmp/multipartBody8192485863990888491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189425751,"filename":"image_03112025_09_37_25_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/3/98b412182bd80d268ec3b638df1c5e50.jpg","text":"TemporaryFile(/tmp/multipartBody5315102530616872306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189425751,"filename":"image_03112025_09_37_22_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/3/51280954b996aa5ec8c581a9381b64bc.jpg","text":"TemporaryFile(/tmp/multipartBody8280132454101125282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189425751,"filename":"image_03112025_09_37_37_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392103197","file1":"1392103151","file0":"1392103073","file4":"1392103202","file5":"1392103205","file3":"1392103199"},"map_files_photo_id_array":[{"photo_id":"1392103205","filename":"file5"},{"photo_id":"1392103197","filename":"file2"},{"photo_id":"1392103202","filename":"file4"},{"photo_id":"1392103151","filename":"file1"},{"photo_id":"1392103073","filename":"file0"},{"photo_id":"1392103199","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392103202":["hashtag1","hashtag2"]},{"1392103197":["hashtag1","hashtag2"]},{"1392103199":["hashtag1","hashtag2"]},{"1392103151":["hashtag1","hashtag2"]},{"1392103073":["hashtag1","hashtag2"]},{"1392103205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392103202, 1392103197, 1392103199, 1392103151, 1392103073, 1392103205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.322218894958496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:03:42.460816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_40_2647.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_42_2683.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_46_3600.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_49_2595.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_52_3728.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_55_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_40_2647.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_42_2683.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_46_3600.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_49_2595.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_52_3728.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_55_2552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392103387","1392103380","1392103350","1392103397","1392103385","1392103433"],"photo_ids_order":["1392103350","1392103380","1392103385","1392103387","1392103397","1392103433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b6192fbdb091e349f3b5eb7b64439929.jpg","text":"TemporaryFile(/tmp/multipartBody6189734474427771994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189483295,"filename":"image_03112025_09_37_49_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/3/b67d00db66b65af2b40823d8d4ff3e12.jpg","text":"TemporaryFile(/tmp/multipartBody6048872253918800740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189483295,"filename":"image_03112025_09_37_42_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36634f787891cb07bc25585c0aba8cc0.jpg","text":"TemporaryFile(/tmp/multipartBody3902423057643221314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189483295,"filename":"image_03112025_09_37_40_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e8381649ba4362f7e1f8a6e4f7c9e2ab.jpg","text":"TemporaryFile(/tmp/multipartBody3205574017663610803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189483295,"filename":"image_03112025_09_37_52_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/005b6af19cbf839b90b94c3802b0b258.jpg","text":"TemporaryFile(/tmp/multipartBody5931829887109847726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189483295,"filename":"image_03112025_09_37_46_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/3/5b8b515c88068535cc24829d90e5f577.jpg","text":"TemporaryFile(/tmp/multipartBody1139417144600620531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189483295,"filename":"image_03112025_09_37_55_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392103385","file1":"1392103380","file0":"1392103350","file4":"1392103397","file5":"1392103433","file3":"1392103387"},"map_files_photo_id_array":[{"photo_id":"1392103433","filename":"file5"},{"photo_id":"1392103385","filename":"file2"},{"photo_id":"1392103397","filename":"file4"},{"photo_id":"1392103380","filename":"file1"},{"photo_id":"1392103350","filename":"file0"},{"photo_id":"1392103387","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392103387":["hashtag1","hashtag2"]},{"1392103380":["hashtag1","hashtag2"]},{"1392103350":["hashtag1","hashtag2"]},{"1392103397":["hashtag1","hashtag2"]},{"1392103385":["hashtag1","hashtag2"]},{"1392103433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392103387, 1392103380, 1392103350, 1392103397, 1392103385, 1392103433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73242807388306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:04:22.680190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_58_2799.jpg', '/home/pi/Desktop/images/03112025/09/37/image_03112025_09_38_01_3640.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_04_2685.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_07_2800.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_09_2700.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_13_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_37_58_2799.jpg
/home/pi/Desktop/images/03112025/09/37/image_03112025_09_38_01_3640.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_04_2685.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_07_2800.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_09_2700.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_13_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":["1392103687","1392103714","1392103629","1392103527","1392103512","1392103583"],"photo_ids_order":["1392103512","1392103527","1392103583","1392103629","1392103687","1392103714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/20c426661c781b74327551d987f74c86.jpg","text":"TemporaryFile(/tmp/multipartBody7059090966627677728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189525581,"filename":"image_03112025_09_38_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/3/6946948eb2c30f227e071a7dc7eb473b.jpg","text":"TemporaryFile(/tmp/multipartBody3134840538749414343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189525581,"filename":"image_03112025_09_38_13_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/3/0723c10896284a6c3476ff7b54e7a17e.jpg","text":"TemporaryFile(/tmp/multipartBody1419101284489221626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189525581,"filename":"image_03112025_09_38_07_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/3/4c40f14a23e4b6dc8cc23db26d916683.jpg","text":"TemporaryFile(/tmp/multipartBody4433219837858203991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189525581,"filename":"image_03112025_09_38_01_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/3/4a0c0fec5328803967ddae33efa58ba7.jpg","text":"TemporaryFile(/tmp/multipartBody3145032448046324539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189525581,"filename":"image_03112025_09_37_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/3/4586051cb4408acbcd5cbd40ee642829.jpg","text":"TemporaryFile(/tmp/multipartBody832350241430887138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189525581,"filename":"image_03112025_09_38_04_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392103583","file1":"1392103527","file0":"1392103512","file4":"1392103687","file5":"1392103714","file3":"1392103629"},"map_files_photo_id_array":[{"photo_id":"1392103714","filename":"file5"},{"photo_id":"1392103583","filename":"file2"},{"photo_id":"1392103687","filename":"file4"},{"photo_id":"1392103527","filename":"file1"},{"photo_id":"1392103512","filename":"file0"},{"photo_id":"1392103629","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392103687":["hashtag1","hashtag2"]},{"1392103714":["hashtag1","hashtag2"]},{"1392103629":["hashtag1","hashtag2"]},{"1392103527":["hashtag1","hashtag2"]},{"1392103512":["hashtag1","hashtag2"]},{"1392103583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392103687, 1392103714, 1392103629, 1392103527, 1392103512, 1392103583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.067421197891235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:05:21.847252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_16_2721.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_18_2566.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_22_3644.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_25_2682.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_28_3463.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_31_3029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_16_2721.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_18_2566.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_22_3644.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_25_2682.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_28_3463.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_31_3029.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392103782","1392103791","1392103788","1392103749","1392103740","1392103784"],"photo_ids_order":["1392103740","1392103749","1392103782","1392103784","1392103788","1392103791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d469ee785ba4cd48a764acc0064b5ff.jpg","text":"TemporaryFile(/tmp/multipartBody2428512416760167484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189584614,"filename":"image_03112025_09_38_22_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc9ef22d49a760d5bf5889a7fb992d05.jpg","text":"TemporaryFile(/tmp/multipartBody8200360866375115666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189584614,"filename":"image_03112025_09_38_31_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/3/c11fcd010aac3b396f560b6041c1489b.jpg","text":"TemporaryFile(/tmp/multipartBody1560166592886912156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189584614,"filename":"image_03112025_09_38_28_3463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/61a388df31326312ef807857cbc46ecb.jpg","text":"TemporaryFile(/tmp/multipartBody789479431276492810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189584614,"filename":"image_03112025_09_38_18_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/3/8e2e55b89c29dc522b4965717a20b5c3.jpg","text":"TemporaryFile(/tmp/multipartBody6249488149123718094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189584614,"filename":"image_03112025_09_38_16_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/3/c923bbcc8f409e6275fac395e85befab.jpg","text":"TemporaryFile(/tmp/multipartBody1050282150037669041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189584614,"filename":"image_03112025_09_38_25_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392103782","file1":"1392103749","file0":"1392103740","file4":"1392103788","file5":"1392103791","file3":"1392103784"},"map_files_photo_id_array":[{"photo_id":"1392103791","filename":"file5"},{"photo_id":"1392103782","filename":"file2"},{"photo_id":"1392103788","filename":"file4"},{"photo_id":"1392103749","filename":"file1"},{"photo_id":"1392103740","filename":"file0"},{"photo_id":"1392103784","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392103782":["hashtag1","hashtag2"]},{"1392103791":["hashtag1","hashtag2"]},{"1392103788":["hashtag1","hashtag2"]},{"1392103749":["hashtag1","hashtag2"]},{"1392103740":["hashtag1","hashtag2"]},{"1392103784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392103782, 1392103791, 1392103788, 1392103749, 1392103740, 1392103784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04376769065857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:06:22.004113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_34_2525.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_37_2732.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_40_3637.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_43_2807.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_46_2649.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_48_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_34_2525.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_37_2732.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_40_3637.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_43_2807.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_46_2649.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_48_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":["1392103827","1392103800","1392103824","1392103806","1392103820","1392103814"],"photo_ids_order":["1392103800","1392103806","1392103814","1392103820","1392103824","1392103827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3a008ac49d9c6824a3d3b595fe1e5fae.jpg","text":"TemporaryFile(/tmp/multipartBody2728842925907658372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189651567,"filename":"image_03112025_09_38_48_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/3/34008ee9c24d872d866ab1bdfe471312.jpg","text":"TemporaryFile(/tmp/multipartBody6508110177865188564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189651567,"filename":"image_03112025_09_38_34_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/3/9d570a9d8db1e3bc3b2c4debcd546a11.jpg","text":"TemporaryFile(/tmp/multipartBody634244440347995857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189651567,"filename":"image_03112025_09_38_46_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/3/c23d012887aaa3a3433b9c1a44e5e6ae.jpg","text":"TemporaryFile(/tmp/multipartBody671957106223556201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189651567,"filename":"image_03112025_09_38_37_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/3/c5f6ff921394f8c2ad20da9401b468b8.jpg","text":"TemporaryFile(/tmp/multipartBody4137566772378609988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189651567,"filename":"image_03112025_09_38_43_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/3/2c7eb094e309712865451787865fa38f.jpg","text":"TemporaryFile(/tmp/multipartBody1721005811167717810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189651567,"filename":"image_03112025_09_38_40_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392103814","file1":"1392103806","file0":"1392103800","file4":"1392103824","file5":"1392103827","file3":"1392103820"},"map_files_photo_id_array":[{"photo_id":"1392103827","filename":"file5"},{"photo_id":"1392103814","filename":"file2"},{"photo_id":"1392103824","filename":"file4"},{"photo_id":"1392103806","filename":"file1"},{"photo_id":"1392103800","filename":"file0"},{"photo_id":"1392103820","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392103827":["hashtag1","hashtag2"]},{"1392103800":["hashtag1","hashtag2"]},{"1392103824":["hashtag1","hashtag2"]},{"1392103806":["hashtag1","hashtag2"]},{"1392103820":["hashtag1","hashtag2"]},{"1392103814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392103827, 1392103800, 1392103824, 1392103806, 1392103820, 1392103814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.53154230117798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:07:22.801108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_52_3583.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_55_2882.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_57_2688.jpg', '/home/pi/Desktop/images/03112025/09/38/image_03112025_09_39_01_3702.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_04_2660.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_06_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_52_3583.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_55_2882.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_38_57_2688.jpg
/home/pi/Desktop/images/03112025/09/38/image_03112025_09_39_01_3702.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_04_2660.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_06_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392103863","1392103971","1392103941","1392103902","1392103976","1392103835"],"photo_ids_order":["1392103835","1392103863","1392103902","1392103941","1392103971","1392103976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e9488e1012e48e5f7ec69d95e7152160.jpg","text":"TemporaryFile(/tmp/multipartBody4513706682373121128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189703608,"filename":"image_03112025_09_38_55_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/3/b66ce4055d63b41c379385639c8f03b1.jpg","text":"TemporaryFile(/tmp/multipartBody8737313625099204953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189703608,"filename":"image_03112025_09_39_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/3/08fb3234d6789b9221114a80f267ede9.jpg","text":"TemporaryFile(/tmp/multipartBody8725832463930594472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189703608,"filename":"image_03112025_09_39_01_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8a447e945551d7720dc2c17870935124.jpg","text":"TemporaryFile(/tmp/multipartBody6955373040058349081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189703608,"filename":"image_03112025_09_38_57_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2151f876b7bf16d41d5ec7dd66abac8a.jpg","text":"TemporaryFile(/tmp/multipartBody5870890002564170750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189703608,"filename":"image_03112025_09_39_06_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/3/81f9bcbdd6742c14857525a0a3c95301.jpg","text":"TemporaryFile(/tmp/multipartBody6073127152659456012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189703608,"filename":"image_03112025_09_38_52_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392103902","file1":"1392103863","file0":"1392103835","file4":"1392103971","file5":"1392103976","file3":"1392103941"},"map_files_photo_id_array":[{"photo_id":"1392103976","filename":"file5"},{"photo_id":"1392103902","filename":"file2"},{"photo_id":"1392103971","filename":"file4"},{"photo_id":"1392103863","filename":"file1"},{"photo_id":"1392103835","filename":"file0"},{"photo_id":"1392103941","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392103863":["hashtag1","hashtag2"]},{"1392103971":["hashtag1","hashtag2"]},{"1392103941":["hashtag1","hashtag2"]},{"1392103902":["hashtag1","hashtag2"]},{"1392103976":["hashtag1","hashtag2"]},{"1392103835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392103863, 1392103971, 1392103941, 1392103902, 1392103976, 1392103835)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.981242418289185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:08:22.389674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_10_3704.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_13_2679.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_15_2512.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_19_3762.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_22_2645.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_24_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_10_3704.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_13_2679.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_15_2512.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_19_3762.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_22_2645.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_24_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392104203","1392104145","1392104232","1392104198","1392104222","1392104201"],"photo_ids_order":["1392104145","1392104198","1392104201","1392104203","1392104222","1392104232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4794d71012e1f739d4d3987896b35647.jpg","text":"TemporaryFile(/tmp/multipartBody6605554239579685990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189763182,"filename":"image_03112025_09_39_19_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/3/550df904db4c4c41bea153faa4a39708.jpg","text":"TemporaryFile(/tmp/multipartBody5866995892163471422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189763182,"filename":"image_03112025_09_39_10_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/3/d0dd618b730ecffb1746f53c43099a46.jpg","text":"TemporaryFile(/tmp/multipartBody7578866153035913225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189763182,"filename":"image_03112025_09_39_24_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d02c6b61977a5d23b5faf83f601655f5.jpg","text":"TemporaryFile(/tmp/multipartBody791121546250030674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189763182,"filename":"image_03112025_09_39_13_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/847df7e838e58d1ae7fe71513897b1b3.jpg","text":"TemporaryFile(/tmp/multipartBody2003988973964738105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189763182,"filename":"image_03112025_09_39_22_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/3/9643067e5722216c1728a48c5f6ce239.jpg","text":"TemporaryFile(/tmp/multipartBody7236363494089609583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189763182,"filename":"image_03112025_09_39_15_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392104201","file1":"1392104198","file0":"1392104145","file4":"1392104222","file5":"1392104232","file3":"1392104203"},"map_files_photo_id_array":[{"photo_id":"1392104232","filename":"file5"},{"photo_id":"1392104201","filename":"file2"},{"photo_id":"1392104222","filename":"file4"},{"photo_id":"1392104198","filename":"file1"},{"photo_id":"1392104145","filename":"file0"},{"photo_id":"1392104203","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392104203":["hashtag1","hashtag2"]},{"1392104145":["hashtag1","hashtag2"]},{"1392104232":["hashtag1","hashtag2"]},{"1392104198":["hashtag1","hashtag2"]},{"1392104222":["hashtag1","hashtag2"]},{"1392104201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392104203, 1392104145, 1392104232, 1392104198, 1392104222, 1392104201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.999972343444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:09:03.221130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_28_3723.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_31_2638.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_33_2725.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_37_3654.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_40_3031.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_43_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_28_3723.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_31_2638.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_33_2725.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_37_3654.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_40_3031.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_43_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392104245","1392104254","1392104248","1392104241","1392104250","1392104252"],"photo_ids_order":["1392104241","1392104245","1392104248","1392104250","1392104252","1392104254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/14bd7fe6e43537abf0f01eea6564a983.jpg","text":"TemporaryFile(/tmp/multipartBody7404744049270072811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189805756,"filename":"image_03112025_09_39_31_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97f1855117accf65e21259c88bb54ade.jpg","text":"TemporaryFile(/tmp/multipartBody58163845764967803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189805756,"filename":"image_03112025_09_39_43_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/43cf649f3e27bcf3614a39e29bbf4148.jpg","text":"TemporaryFile(/tmp/multipartBody5271820610050917169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189805756,"filename":"image_03112025_09_39_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/3/4cc395fd7e7481915367e22f3fd72f0f.jpg","text":"TemporaryFile(/tmp/multipartBody2021337631734609941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189805756,"filename":"image_03112025_09_39_28_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/3/0bacbaa2ef4a179893ba575f7a8341f7.jpg","text":"TemporaryFile(/tmp/multipartBody4585090304730362180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189805756,"filename":"image_03112025_09_39_37_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/3/fafef9ec1969d7bf49a08c8a7ae748e1.jpg","text":"TemporaryFile(/tmp/multipartBody6640044172980792283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189805756,"filename":"image_03112025_09_39_40_3031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392104248","file1":"1392104245","file0":"1392104241","file4":"1392104252","file5":"1392104254","file3":"1392104250"},"map_files_photo_id_array":[{"photo_id":"1392104254","filename":"file5"},{"photo_id":"1392104248","filename":"file2"},{"photo_id":"1392104252","filename":"file4"},{"photo_id":"1392104245","filename":"file1"},{"photo_id":"1392104241","filename":"file0"},{"photo_id":"1392104250","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392104245":["hashtag1","hashtag2"]},{"1392104254":["hashtag1","hashtag2"]},{"1392104248":["hashtag1","hashtag2"]},{"1392104241":["hashtag1","hashtag2"]},{"1392104250":["hashtag1","hashtag2"]},{"1392104252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392104245, 1392104254, 1392104248, 1392104241, 1392104250, 1392104252)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.03110313415527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:10:02.302954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 18:10:21.865586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_46_3203.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_49_2703.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_52_3351.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_55_2694.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_58_2771.jpg', '/home/pi/Desktop/images/03112025/09/39/image_03112025_09_40_00_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_46_3203.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_49_2703.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_52_3351.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_55_2694.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_39_58_2771.jpg
/home/pi/Desktop/images/03112025/09/39/image_03112025_09_40_00_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392104539","1392104451","1392104404","1392104439","1392104494","1392104581"],"photo_ids_order":["1392104404","1392104439","1392104451","1392104494","1392104539","1392104581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4f4001ecd44535321fc97eaa0d8a7127.jpg","text":"TemporaryFile(/tmp/multipartBody7828698883889218663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189882692,"filename":"image_03112025_09_39_58_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/14e3ad9a441ca2f11c67e16fb548453d.jpg","text":"TemporaryFile(/tmp/multipartBody4942818261676096174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189882692,"filename":"image_03112025_09_39_52_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/3/4178bbf7e2fdf41c952a6bf99a47016c.jpg","text":"TemporaryFile(/tmp/multipartBody7042357192708333615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189882692,"filename":"image_03112025_09_39_46_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/3/139c766162ae5cab6d126ad0e3c5d582.jpg","text":"TemporaryFile(/tmp/multipartBody5844229320865507145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189882692,"filename":"image_03112025_09_39_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/3/56904ff73f7b12720746432e138f96e1.jpg","text":"TemporaryFile(/tmp/multipartBody5401835075869334863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189882692,"filename":"image_03112025_09_39_55_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/3/2f75cbce7d07646fded15f29e09e0d35.jpg","text":"TemporaryFile(/tmp/multipartBody2571995723496502952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189882692,"filename":"image_03112025_09_40_00_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392104451","file1":"1392104439","file0":"1392104404","file4":"1392104539","file5":"1392104581","file3":"1392104494"},"map_files_photo_id_array":[{"photo_id":"1392104581","filename":"file5"},{"photo_id":"1392104451","filename":"file2"},{"photo_id":"1392104539","filename":"file4"},{"photo_id":"1392104439","filename":"file1"},{"photo_id":"1392104404","filename":"file0"},{"photo_id":"1392104494","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392104539":["hashtag1","hashtag2"]},{"1392104451":["hashtag1","hashtag2"]},{"1392104404":["hashtag1","hashtag2"]},{"1392104439":["hashtag1","hashtag2"]},{"1392104494":["hashtag1","hashtag2"]},{"1392104581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392104539, 1392104451, 1392104404, 1392104439, 1392104494, 1392104581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63161778450012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:11:02.713067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_04_3699.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_07_2813.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_09_2688.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_13_3557.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_16_2673.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_18_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_04_3699.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_07_2813.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_09_2688.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_13_3557.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_16_2673.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_18_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392104830","1392104772","1392104727","1392104655","1392104873","1392104843"],"photo_ids_order":["1392104655","1392104727","1392104772","1392104830","1392104843","1392104873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b6041461f8258da6572a1d8d4289332b.jpg","text":"TemporaryFile(/tmp/multipartBody39135693580347131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189928721,"filename":"image_03112025_09_40_13_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ff66a720d392103e3c2979396793796.jpg","text":"TemporaryFile(/tmp/multipartBody3083879953430400285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189928721,"filename":"image_03112025_09_40_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/3/4e4869f1c5507a16d9d628f666b1dc50.jpg","text":"TemporaryFile(/tmp/multipartBody6539550064313788249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189928721,"filename":"image_03112025_09_40_07_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/3/91f2edc98d64acc3e4defb94aa24895b.jpg","text":"TemporaryFile(/tmp/multipartBody9044230110269924427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189928721,"filename":"image_03112025_09_40_04_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/3/f28b864a7b8ff66b2ddbab87d154793e.jpg","text":"TemporaryFile(/tmp/multipartBody6343270553576019253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189928721,"filename":"image_03112025_09_40_18_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/3/ce95dee42a57f4ea97a90e79315d06be.jpg","text":"TemporaryFile(/tmp/multipartBody6988307977601089560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189928721,"filename":"image_03112025_09_40_16_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392104772","file1":"1392104727","file0":"1392104655","file4":"1392104843","file5":"1392104873","file3":"1392104830"},"map_files_photo_id_array":[{"photo_id":"1392104873","filename":"file5"},{"photo_id":"1392104772","filename":"file2"},{"photo_id":"1392104843","filename":"file4"},{"photo_id":"1392104727","filename":"file1"},{"photo_id":"1392104655","filename":"file0"},{"photo_id":"1392104830","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392104830":["hashtag1","hashtag2"]},{"1392104772":["hashtag1","hashtag2"]},{"1392104727":["hashtag1","hashtag2"]},{"1392104655":["hashtag1","hashtag2"]},{"1392104873":["hashtag1","hashtag2"]},{"1392104843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392104830, 1392104772, 1392104727, 1392104655, 1392104873, 1392104843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.3924126625061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:12:02.754753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_21_2798.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_25_3763.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_28_2619.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_30_2635.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_34_3834.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_37_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_21_2798.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_25_3763.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_28_2619.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_30_2635.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_34_3834.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_37_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392105054","1392105048","1392105018","1392105050","1392105046","1392105049"],"photo_ids_order":["1392105018","1392105046","1392105048","1392105049","1392105050","1392105054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c698e67519f42d6ddc36e5b895375a5b.jpg","text":"TemporaryFile(/tmp/multipartBody83272814805898593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189983610,"filename":"image_03112025_09_40_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/3/5b0b024ef2277b28ae9dcc4d60d34aac.jpg","text":"TemporaryFile(/tmp/multipartBody3116857695402234444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189983610,"filename":"image_03112025_09_40_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/3/4539a1cf996479d5b099afb857c23be4.jpg","text":"TemporaryFile(/tmp/multipartBody4157119636026338214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189983610,"filename":"image_03112025_09_40_21_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/3/1522263670c38e1b0d9e890dfa0e4377.jpg","text":"TemporaryFile(/tmp/multipartBody6214182703294381986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189983610,"filename":"image_03112025_09_40_34_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/937b93607798f4d88ac0617d47f74a37.jpg","text":"TemporaryFile(/tmp/multipartBody8920466000290504813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189983610,"filename":"image_03112025_09_40_25_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/3/6bc2f9032d3dc1b9efc15b577b730245.jpg","text":"TemporaryFile(/tmp/multipartBody8295994673199230751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762189983610,"filename":"image_03112025_09_40_30_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392105048","file1":"1392105046","file0":"1392105018","file4":"1392105050","file5":"1392105054","file3":"1392105049"},"map_files_photo_id_array":[{"photo_id":"1392105054","filename":"file5"},{"photo_id":"1392105048","filename":"file2"},{"photo_id":"1392105050","filename":"file4"},{"photo_id":"1392105046","filename":"file1"},{"photo_id":"1392105018","filename":"file0"},{"photo_id":"1392105049","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392105054":["hashtag1","hashtag2"]},{"1392105048":["hashtag1","hashtag2"]},{"1392105018":["hashtag1","hashtag2"]},{"1392105050":["hashtag1","hashtag2"]},{"1392105046":["hashtag1","hashtag2"]},{"1392105049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392105054, 1392105048, 1392105018, 1392105050, 1392105046, 1392105049)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.936307191848755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:13:03.132649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_40_2865.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_42_2708.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_45_2806.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_49_3499.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_52_3393.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_55_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_40_2865.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_42_2708.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_45_2806.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_49_3499.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_52_3393.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_55_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392105100","1392105122","1392105085","1392105070","1392105073","1392105067"],"photo_ids_order":["1392105067","1392105070","1392105073","1392105085","1392105100","1392105122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/13231e1f43be59212429d5ab604f7426.jpg","text":"TemporaryFile(/tmp/multipartBody4406385951906408039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190044044,"filename":"image_03112025_09_40_52_3393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/70b4f1797adbe569a595ac98dde54a5a.jpg","text":"TemporaryFile(/tmp/multipartBody2148598452529539843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190044044,"filename":"image_03112025_09_40_55_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b6f52bca04381ae6ff158b9126242a82.jpg","text":"TemporaryFile(/tmp/multipartBody5501026055811542417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190044044,"filename":"image_03112025_09_40_49_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/30efa5006e6f70fce999954ca4cbca6a.jpg","text":"TemporaryFile(/tmp/multipartBody4489115277511198844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190044044,"filename":"image_03112025_09_40_42_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0821c9b9ec5093d29e8672a6786720b7.jpg","text":"TemporaryFile(/tmp/multipartBody6916665800032641507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190044044,"filename":"image_03112025_09_40_45_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/3/855ce9d701975c5cdb62cf7797d412ae.jpg","text":"TemporaryFile(/tmp/multipartBody9208091135539945708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190044044,"filename":"image_03112025_09_40_40_2865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392105073","file1":"1392105070","file0":"1392105067","file4":"1392105100","file5":"1392105122","file3":"1392105085"},"map_files_photo_id_array":[{"photo_id":"1392105122","filename":"file5"},{"photo_id":"1392105073","filename":"file2"},{"photo_id":"1392105100","filename":"file4"},{"photo_id":"1392105070","filename":"file1"},{"photo_id":"1392105067","filename":"file0"},{"photo_id":"1392105085","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392105100":["hashtag1","hashtag2"]},{"1392105122":["hashtag1","hashtag2"]},{"1392105085":["hashtag1","hashtag2"]},{"1392105070":["hashtag1","hashtag2"]},{"1392105073":["hashtag1","hashtag2"]},{"1392105067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392105100, 1392105122, 1392105085, 1392105070, 1392105073, 1392105067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.259053468704224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:13:42.553092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_57_2627.jpg', '/home/pi/Desktop/images/03112025/09/40/image_03112025_09_41_00_2698.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_04_3632.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_07_2761.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_09_2611.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_13_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_40_57_2627.jpg
/home/pi/Desktop/images/03112025/09/40/image_03112025_09_41_00_2698.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_04_3632.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_07_2761.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_09_2611.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_13_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":["1392105147","1392105141","1392105144","1392105134","1392105137","1392105139"],"photo_ids_order":["1392105134","1392105137","1392105139","1392105141","1392105144","1392105147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/291d2d3171758de1ae6352fbcddbdf32.jpg","text":"TemporaryFile(/tmp/multipartBody6625322078908763663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190085260,"filename":"image_03112025_09_41_13_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/3/7342dfec79444cef675cb089a907f8a3.jpg","text":"TemporaryFile(/tmp/multipartBody7791498530091338551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190085260,"filename":"image_03112025_09_41_07_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5c8842cf96427237b6daf3fe2473ce99.jpg","text":"TemporaryFile(/tmp/multipartBody2875868715810394159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190085260,"filename":"image_03112025_09_41_09_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/664f1e08cb0c7e73eab092070ff1313e.jpg","text":"TemporaryFile(/tmp/multipartBody2124725866071129639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190085260,"filename":"image_03112025_09_40_57_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/3/b442d977376214c8575a8237ce75ade0.jpg","text":"TemporaryFile(/tmp/multipartBody7066980511758471792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190085260,"filename":"image_03112025_09_41_00_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/3/f99082fdaccc6823def9373366e68fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8528701534534816518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190085260,"filename":"image_03112025_09_41_04_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392105139","file1":"1392105137","file0":"1392105134","file4":"1392105144","file5":"1392105147","file3":"1392105141"},"map_files_photo_id_array":[{"photo_id":"1392105147","filename":"file5"},{"photo_id":"1392105139","filename":"file2"},{"photo_id":"1392105144","filename":"file4"},{"photo_id":"1392105137","filename":"file1"},{"photo_id":"1392105134","filename":"file0"},{"photo_id":"1392105141","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392105147":["hashtag1","hashtag2"]},{"1392105141":["hashtag1","hashtag2"]},{"1392105144":["hashtag1","hashtag2"]},{"1392105134":["hashtag1","hashtag2"]},{"1392105137":["hashtag1","hashtag2"]},{"1392105139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392105147, 1392105141, 1392105144, 1392105134, 1392105137, 1392105139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.6410014629364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:14:42.703344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_16_2719.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_18_2646.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_22_3620.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_24_2605.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_27_2624.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_31_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_16_2719.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_18_2646.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_22_3620.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_24_2605.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_27_2624.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_31_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392105396","1392105307","1392105525","1392105447","1392105501","1392105355"],"photo_ids_order":["1392105307","1392105355","1392105396","1392105447","1392105501","1392105525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c709492ac8aa3fd9abef5cd2e4c51ae3.jpg","text":"TemporaryFile(/tmp/multipartBody6588824817921302101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190143557,"filename":"image_03112025_09_41_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/3/5679c2033adba95671fb0dab573c8d50.jpg","text":"TemporaryFile(/tmp/multipartBody6673870248808689878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190143557,"filename":"image_03112025_09_41_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/3/23690613b5e9b3bd5af9d19a9ac70d86.jpg","text":"TemporaryFile(/tmp/multipartBody288776223874251939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190143557,"filename":"image_03112025_09_41_31_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/3/c51551748075bf44c5f0abe9a2623728.jpg","text":"TemporaryFile(/tmp/multipartBody7782493642386415150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190143557,"filename":"image_03112025_09_41_24_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e4c5f721a46e86ae5f01558d343c4317.jpg","text":"TemporaryFile(/tmp/multipartBody8765351233403812057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190143557,"filename":"image_03112025_09_41_27_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/3/cf1d60de75c24d81f73787942d2569ce.jpg","text":"TemporaryFile(/tmp/multipartBody3720756436226213877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190143557,"filename":"image_03112025_09_41_18_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392105396","file1":"1392105355","file0":"1392105307","file4":"1392105501","file5":"1392105525","file3":"1392105447"},"map_files_photo_id_array":[{"photo_id":"1392105525","filename":"file5"},{"photo_id":"1392105396","filename":"file2"},{"photo_id":"1392105501","filename":"file4"},{"photo_id":"1392105355","filename":"file1"},{"photo_id":"1392105307","filename":"file0"},{"photo_id":"1392105447","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392105396":["hashtag1","hashtag2"]},{"1392105307":["hashtag1","hashtag2"]},{"1392105525":["hashtag1","hashtag2"]},{"1392105447":["hashtag1","hashtag2"]},{"1392105501":["hashtag1","hashtag2"]},{"1392105355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392105396, 1392105307, 1392105525, 1392105447, 1392105501, 1392105355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.25147294998169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:15:41.852903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_33_2629.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_38_4791.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_40_1681.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_42_2679.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_45_2619.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_49_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_33_2629.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_38_4791.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_40_1681.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_42_2679.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_45_2619.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_49_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392105753","1392105714","1392105680","1392105674","1392105670","1392105673"],"photo_ids_order":["1392105670","1392105673","1392105674","1392105680","1392105714","1392105753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/584a6fc288c4761ab44eba22756bf250.jpg","text":"TemporaryFile(/tmp/multipartBody8467196327969846473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190209072,"filename":"image_03112025_09_41_49_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/3/41361a76b9ee7ff51ad7a3c7728d6892.jpg","text":"TemporaryFile(/tmp/multipartBody9131833649401593646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190209072,"filename":"image_03112025_09_41_45_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/3/4d89e4b92710f3ccda478b70954a26b1.jpg","text":"TemporaryFile(/tmp/multipartBody2138071836177999098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190209072,"filename":"image_03112025_09_41_42_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0002f35dc10364f05042f65f77a1f7d2.jpg","text":"TemporaryFile(/tmp/multipartBody5559776956163721545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190209072,"filename":"image_03112025_09_41_40_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/3/40788d7df3848f8a76cd8680f94a856e.jpg","text":"TemporaryFile(/tmp/multipartBody4939359863092843434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190209072,"filename":"image_03112025_09_41_33_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/3/e47dc526788d5169a6b03daeb68aae6c.jpg","text":"TemporaryFile(/tmp/multipartBody6153416573225301449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190209072,"filename":"image_03112025_09_41_38_4791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392105674","file1":"1392105673","file0":"1392105670","file4":"1392105714","file5":"1392105753","file3":"1392105680"},"map_files_photo_id_array":[{"photo_id":"1392105753","filename":"file5"},{"photo_id":"1392105674","filename":"file2"},{"photo_id":"1392105714","filename":"file4"},{"photo_id":"1392105673","filename":"file1"},{"photo_id":"1392105670","filename":"file0"},{"photo_id":"1392105680","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392105753":["hashtag1","hashtag2"]},{"1392105714":["hashtag1","hashtag2"]},{"1392105680":["hashtag1","hashtag2"]},{"1392105674":["hashtag1","hashtag2"]},{"1392105670":["hashtag1","hashtag2"]},{"1392105673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392105753, 1392105714, 1392105680, 1392105674, 1392105670, 1392105673)","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.41517281532288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:17:02.573345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_51_2760.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_54_2654.jpg', '/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_58_3787.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_01_2906.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_03_2751.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_06_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_51_2760.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_54_2654.jpg
/home/pi/Desktop/images/03112025/09/41/image_03112025_09_41_58_3787.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_01_2906.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_03_2751.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_06_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392105879","1392105876","1392105875","1392105874","1392105883","1392105877"],"photo_ids_order":["1392105874","1392105875","1392105876","1392105877","1392105879","1392105883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f9bc62df1f67fbbd655d90f9817afa8.jpg","text":"TemporaryFile(/tmp/multipartBody5790182646755664638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190283901,"filename":"image_03112025_09_42_03_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/3/bcbfbaba6ae08d6c77cbe44f357cc344.jpg","text":"TemporaryFile(/tmp/multipartBody6626280014588470338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190283901,"filename":"image_03112025_09_41_58_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/3/2ae11ee8a9f3f59017b0288f16702f8d.jpg","text":"TemporaryFile(/tmp/multipartBody934058637783907942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190283901,"filename":"image_03112025_09_41_54_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/3/c26f230c20e89d66adaa4e7636a140dd.jpg","text":"TemporaryFile(/tmp/multipartBody730604039918931194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190283901,"filename":"image_03112025_09_41_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/3/73628a5cdd548e95d754699defad304a.jpg","text":"TemporaryFile(/tmp/multipartBody9008016481903172206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190283901,"filename":"image_03112025_09_42_06_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/3/9bb4f3d8434d2afe654750b32f214bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8000592990227118472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190283901,"filename":"image_03112025_09_42_01_2906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392105876","file1":"1392105875","file0":"1392105874","file4":"1392105879","file5":"1392105883","file3":"1392105877"},"map_files_photo_id_array":[{"photo_id":"1392105883","filename":"file5"},{"photo_id":"1392105876","filename":"file2"},{"photo_id":"1392105879","filename":"file4"},{"photo_id":"1392105875","filename":"file1"},{"photo_id":"1392105874","filename":"file0"},{"photo_id":"1392105877","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392105879":["hashtag1","hashtag2"]},{"1392105876":["hashtag1","hashtag2"]},{"1392105875":["hashtag1","hashtag2"]},{"1392105874":["hashtag1","hashtag2"]},{"1392105883":["hashtag1","hashtag2"]},{"1392105877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392105879, 1392105876, 1392105875, 1392105874, 1392105883, 1392105877)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.78888416290283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:18:02.684642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_10_3590.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_12_2654.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_15_2621.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_19_3653.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_21_2691.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_24_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_10_3590.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_12_2654.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_15_2621.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_19_3653.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_21_2691.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_24_2589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392105990","1392106046","1392105914","1392105949","1392106098","1392105897"],"photo_ids_order":["1392105897","1392105914","1392105949","1392105990","1392106046","1392106098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3be986fbbaf6d3e43e323f6a712bc517.jpg","text":"TemporaryFile(/tmp/multipartBody7603434754784970055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190343558,"filename":"image_03112025_09_42_19_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ff95d9f92d311c3bf57fef66db21187.jpg","text":"TemporaryFile(/tmp/multipartBody6261503162389522118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190343558,"filename":"image_03112025_09_42_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/3/d43ab01fef4060c2f6457cb9ac545c4a.jpg","text":"TemporaryFile(/tmp/multipartBody8008087239357661367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190343558,"filename":"image_03112025_09_42_12_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/3/32bd43b3e7fb9d42470166be7cfc613e.jpg","text":"TemporaryFile(/tmp/multipartBody2544835917552967086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190343558,"filename":"image_03112025_09_42_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/3/bcac84ae9c657e98767bf5f6a0d74f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8802054740216562187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190343558,"filename":"image_03112025_09_42_24_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4889ec3a8e59883e6641eba6de084247.jpg","text":"TemporaryFile(/tmp/multipartBody5792491350035926796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190343558,"filename":"image_03112025_09_42_10_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392105949","file1":"1392105914","file0":"1392105897","file4":"1392106046","file5":"1392106098","file3":"1392105990"},"map_files_photo_id_array":[{"photo_id":"1392106098","filename":"file5"},{"photo_id":"1392105949","filename":"file2"},{"photo_id":"1392106046","filename":"file4"},{"photo_id":"1392105914","filename":"file1"},{"photo_id":"1392105897","filename":"file0"},{"photo_id":"1392105990","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392105990":["hashtag1","hashtag2"]},{"1392106046":["hashtag1","hashtag2"]},{"1392105914":["hashtag1","hashtag2"]},{"1392105949":["hashtag1","hashtag2"]},{"1392106098":["hashtag1","hashtag2"]},{"1392105897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392105990, 1392106046, 1392105914, 1392105949, 1392106098, 1392105897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77690243721008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:19:03.334241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_28_3643.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_30_2700.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_33_2683.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_37_3845.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_39_2598.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_42_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_28_3643.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_30_2700.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_33_2683.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_37_3845.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_39_2598.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_42_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":["1392106404","1392106400","1392106414","1392106408","1392106411","1392106398"],"photo_ids_order":["1392106398","1392106400","1392106404","1392106408","1392106411","1392106414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f47489d3fcb8817a616af8fe9c172b27.jpg","text":"TemporaryFile(/tmp/multipartBody7628414718586496734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190405870,"filename":"image_03112025_09_42_33_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/3/62e93beb8afd9fdfcf67609b6813b012.jpg","text":"TemporaryFile(/tmp/multipartBody2355533052389684868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190405870,"filename":"image_03112025_09_42_30_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/3/6df80a10367cce2595c61180ac231cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3546228092592420329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190405870,"filename":"image_03112025_09_42_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/3/03430fccecd08667c46e634e25a6a41a.jpg","text":"TemporaryFile(/tmp/multipartBody7418143319318635073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190405870,"filename":"image_03112025_09_42_37_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/3/0c3d058755d80926fb2970f41aab3f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1365655543390466618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190405870,"filename":"image_03112025_09_42_39_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/3/6d08f23b78b661c9b268e0afa811b646.jpg","text":"TemporaryFile(/tmp/multipartBody3535192223489051676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190405870,"filename":"image_03112025_09_42_28_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392106404","file1":"1392106400","file0":"1392106398","file4":"1392106411","file5":"1392106414","file3":"1392106408"},"map_files_photo_id_array":[{"photo_id":"1392106414","filename":"file5"},{"photo_id":"1392106404","filename":"file2"},{"photo_id":"1392106411","filename":"file4"},{"photo_id":"1392106400","filename":"file1"},{"photo_id":"1392106398","filename":"file0"},{"photo_id":"1392106408","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392106404":["hashtag1","hashtag2"]},{"1392106400":["hashtag1","hashtag2"]},{"1392106414":["hashtag1","hashtag2"]},{"1392106408":["hashtag1","hashtag2"]},{"1392106411":["hashtag1","hashtag2"]},{"1392106398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392106404, 1392106400, 1392106414, 1392106408, 1392106411, 1392106398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.111565589904785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:20:03.196279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_46_3601.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_48_2740.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_51_2565.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_55_3703.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_57_2676.jpg', '/home/pi/Desktop/images/03112025/09/42/image_03112025_09_43_00_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_46_3601.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_48_2740.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_51_2565.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_55_3703.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_42_57_2676.jpg
/home/pi/Desktop/images/03112025/09/42/image_03112025_09_43_00_2543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392107186","1392106997","1392107102","1392107164","1392107071","1392107049"],"photo_ids_order":["1392106997","1392107049","1392107071","1392107102","1392107164","1392107186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33f5ea733df69deb7ef3ee1b06ddb096.jpg","text":"TemporaryFile(/tmp/multipartBody8182981108652245824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190464069,"filename":"image_03112025_09_43_00_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/3/3f3799b9e9df9a67be47783c7e146622.jpg","text":"TemporaryFile(/tmp/multipartBody633616533894455216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190464069,"filename":"image_03112025_09_42_46_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/3/35326857c777b8c7bc10e5d0bbc0e53a.jpg","text":"TemporaryFile(/tmp/multipartBody7626940482340268352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190464069,"filename":"image_03112025_09_42_55_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/3/b8cbb49c9f6bf0667b03f48267c37a6d.jpg","text":"TemporaryFile(/tmp/multipartBody1089375789223636176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190464069,"filename":"image_03112025_09_42_57_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/3/5776bd061dcb2e952665600063dbdd67.jpg","text":"TemporaryFile(/tmp/multipartBody6192828082157598656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190464069,"filename":"image_03112025_09_42_51_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b3760e72af0def68db672d008fd256c6.jpg","text":"TemporaryFile(/tmp/multipartBody7299584209274339107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190464069,"filename":"image_03112025_09_42_48_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392107071","file1":"1392107049","file0":"1392106997","file4":"1392107164","file5":"1392107186","file3":"1392107102"},"map_files_photo_id_array":[{"photo_id":"1392107186","filename":"file5"},{"photo_id":"1392107071","filename":"file2"},{"photo_id":"1392107164","filename":"file4"},{"photo_id":"1392107049","filename":"file1"},{"photo_id":"1392106997","filename":"file0"},{"photo_id":"1392107102","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392107186":["hashtag1","hashtag2"]},{"1392106997":["hashtag1","hashtag2"]},{"1392107102":["hashtag1","hashtag2"]},{"1392107164":["hashtag1","hashtag2"]},{"1392107071":["hashtag1","hashtag2"]},{"1392107049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392107186, 1392106997, 1392107102, 1392107164, 1392107071, 1392107049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67134380340576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:20:42.716959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_04_3780.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_06_2812.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_09_2676.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_13_3614.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_15_2745.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_18_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_04_3780.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_06_2812.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_09_2676.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_13_3614.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_15_2745.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_18_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392107546","1392107386","1392107311","1392107268","1392107469","1392107517"],"photo_ids_order":["1392107268","1392107311","1392107386","1392107469","1392107517","1392107546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/35f9d905af37c9e3343de42235f34b55.jpg","text":"TemporaryFile(/tmp/multipartBody4077765546442787809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190503546,"filename":"image_03112025_09_43_18_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/3/a269b96838625a61a8e58946e2e576d1.jpg","text":"TemporaryFile(/tmp/multipartBody3000213956737686206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190503546,"filename":"image_03112025_09_43_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/3/1aea16fce9ffc5b6f0a1c220c2887bf4.jpg","text":"TemporaryFile(/tmp/multipartBody2428495713000042937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190503546,"filename":"image_03112025_09_43_06_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/3/75648896f72bacac7660b78433c83db5.jpg","text":"TemporaryFile(/tmp/multipartBody225342420263038976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190503546,"filename":"image_03112025_09_43_04_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/3/ca07c58f956dc3bc5fd290ce091d2ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4670824656981989088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190503546,"filename":"image_03112025_09_43_13_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/3/fe2c3a78a96d0cd4f74908fde35dd59f.jpg","text":"TemporaryFile(/tmp/multipartBody8850610085800175669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190503546,"filename":"image_03112025_09_43_15_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392107386","file1":"1392107311","file0":"1392107268","file4":"1392107517","file5":"1392107546","file3":"1392107469"},"map_files_photo_id_array":[{"photo_id":"1392107546","filename":"file5"},{"photo_id":"1392107386","filename":"file2"},{"photo_id":"1392107517","filename":"file4"},{"photo_id":"1392107311","filename":"file1"},{"photo_id":"1392107268","filename":"file0"},{"photo_id":"1392107469","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392107546":["hashtag1","hashtag2"]},{"1392107386":["hashtag1","hashtag2"]},{"1392107311":["hashtag1","hashtag2"]},{"1392107268":["hashtag1","hashtag2"]},{"1392107469":["hashtag1","hashtag2"]},{"1392107517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392107546, 1392107386, 1392107311, 1392107268, 1392107469, 1392107517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38950753211975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:21:21.835125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_21_2798.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_25_3614.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_27_2719.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_30_2596.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_36_5825.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_37_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_21_2798.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_25_3614.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_27_2719.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_30_2596.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_36_5825.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_37_1606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392107582","1392107576","1392107579","1392107587","1392107572","1392107574"],"photo_ids_order":["1392107572","1392107574","1392107576","1392107579","1392107582","1392107587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/60215fb00497591a2a323522e37dfc3a.jpg","text":"TemporaryFile(/tmp/multipartBody5071151878586389613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190542653,"filename":"image_03112025_09_43_36_5825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/753a70171a44afef93def07991eb8ad5.jpg","text":"TemporaryFile(/tmp/multipartBody6878596757294343468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190542653,"filename":"image_03112025_09_43_27_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a330af825a7daf6760665bb000ee4e2f.jpg","text":"TemporaryFile(/tmp/multipartBody7638585387232463272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190542653,"filename":"image_03112025_09_43_30_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/3/7e80eea99c01d4d6ec4f1871ca0b8a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4605559440909552705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190542653,"filename":"image_03112025_09_43_37_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0a65f558296d8de0e010e2144935fc41.jpg","text":"TemporaryFile(/tmp/multipartBody6565545496900510475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190542653,"filename":"image_03112025_09_43_21_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/3/e42a734d095a1ddcf3e9eff8f78a65c6.jpg","text":"TemporaryFile(/tmp/multipartBody3252618807396722983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190542653,"filename":"image_03112025_09_43_25_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392107576","file1":"1392107574","file0":"1392107572","file4":"1392107582","file5":"1392107587","file3":"1392107579"},"map_files_photo_id_array":[{"photo_id":"1392107587","filename":"file5"},{"photo_id":"1392107576","filename":"file2"},{"photo_id":"1392107582","filename":"file4"},{"photo_id":"1392107574","filename":"file1"},{"photo_id":"1392107572","filename":"file0"},{"photo_id":"1392107579","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392107582":["hashtag1","hashtag2"]},{"1392107576":["hashtag1","hashtag2"]},{"1392107579":["hashtag1","hashtag2"]},{"1392107587":["hashtag1","hashtag2"]},{"1392107572":["hashtag1","hashtag2"]},{"1392107574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392107582, 1392107576, 1392107579, 1392107587, 1392107572, 1392107574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.887962102890015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:22:02.632908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_39_1628.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_43_3771.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_46_2969.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_48_2540.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_51_2727.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_55_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_39_1628.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_43_3771.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_46_2969.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_48_2540.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_51_2727.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_55_3670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392107780","1392107744","1392107648","1392107793","1392107707","1392107745"],"photo_ids_order":["1392107648","1392107707","1392107744","1392107745","1392107780","1392107793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f5eb5f99ee5cf777b29e0623998614c8.jpg","text":"TemporaryFile(/tmp/multipartBody4830529412873058684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190583480,"filename":"image_03112025_09_43_51_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/3/9dd01fdc5d7e4bfad654e89636f3281f.jpg","text":"TemporaryFile(/tmp/multipartBody7983458710188092218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190583480,"filename":"image_03112025_09_43_46_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/3/f796f3c8a521ce776da47f2d1f4a7f71.jpg","text":"TemporaryFile(/tmp/multipartBody5412588532306726243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190583480,"filename":"image_03112025_09_43_39_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/3/38d84fd1c54e51219bc908e8f0fab515.jpg","text":"TemporaryFile(/tmp/multipartBody8566968463201191609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190583480,"filename":"image_03112025_09_43_55_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/3/77d7b4965f8f302fb4171c9e8cbe12bb.jpg","text":"TemporaryFile(/tmp/multipartBody6979497843723554993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190583480,"filename":"image_03112025_09_43_43_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/3/f92f5aa4a100bea4536c1975438d1bc0.jpg","text":"TemporaryFile(/tmp/multipartBody6643442155282428852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190583480,"filename":"image_03112025_09_43_48_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392107744","file1":"1392107707","file0":"1392107648","file4":"1392107780","file5":"1392107793","file3":"1392107745"},"map_files_photo_id_array":[{"photo_id":"1392107793","filename":"file5"},{"photo_id":"1392107744","filename":"file2"},{"photo_id":"1392107780","filename":"file4"},{"photo_id":"1392107707","filename":"file1"},{"photo_id":"1392107648","filename":"file0"},{"photo_id":"1392107745","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392107780":["hashtag1","hashtag2"]},{"1392107744":["hashtag1","hashtag2"]},{"1392107648":["hashtag1","hashtag2"]},{"1392107793":["hashtag1","hashtag2"]},{"1392107707":["hashtag1","hashtag2"]},{"1392107745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392107780, 1392107744, 1392107648, 1392107793, 1392107707, 1392107745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.205278635025024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:23:03.037244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_57_2590.jpg', '/home/pi/Desktop/images/03112025/09/43/image_03112025_09_44_00_2569.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_03_3549.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_06_2819.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_09_2700.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_13_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_43_57_2590.jpg
/home/pi/Desktop/images/03112025/09/43/image_03112025_09_44_00_2569.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_03_3549.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_06_2819.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_09_2700.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_13_3737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392107899","1392107938","1392107929","1392107902","1392107895","1392107922"],"photo_ids_order":["1392107895","1392107899","1392107902","1392107922","1392107929","1392107938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/384094c34613dcb7c61caac2f7b51ab6.jpg","text":"TemporaryFile(/tmp/multipartBody2619863917738717033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190643948,"filename":"image_03112025_09_44_00_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/3/7a9c1a6cb6e51d91691760c267887d98.jpg","text":"TemporaryFile(/tmp/multipartBody4723871143252463031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190643948,"filename":"image_03112025_09_44_13_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/3/f6b8f6689fe0313020ce3ddc430a9ca5.jpg","text":"TemporaryFile(/tmp/multipartBody2991735218689163469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190643948,"filename":"image_03112025_09_44_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/3/0edf45e9441863012f4593e12acaffd2.jpg","text":"TemporaryFile(/tmp/multipartBody5059713810202113022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190643948,"filename":"image_03112025_09_44_03_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/3/924886b20bc0c603717eb5f4bbd73332.jpg","text":"TemporaryFile(/tmp/multipartBody7948935183291833203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190643948,"filename":"image_03112025_09_43_57_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/3/083b9ace7274ed7709861aabf37e6f37.jpg","text":"TemporaryFile(/tmp/multipartBody7048411852874800249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190643948,"filename":"image_03112025_09_44_06_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392107902","file1":"1392107899","file0":"1392107895","file4":"1392107929","file5":"1392107938","file3":"1392107922"},"map_files_photo_id_array":[{"photo_id":"1392107938","filename":"file5"},{"photo_id":"1392107902","filename":"file2"},{"photo_id":"1392107929","filename":"file4"},{"photo_id":"1392107899","filename":"file1"},{"photo_id":"1392107895","filename":"file0"},{"photo_id":"1392107922","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392107899":["hashtag1","hashtag2"]},{"1392107938":["hashtag1","hashtag2"]},{"1392107929":["hashtag1","hashtag2"]},{"1392107902":["hashtag1","hashtag2"]},{"1392107895":["hashtag1","hashtag2"]},{"1392107922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392107899, 1392107938, 1392107929, 1392107902, 1392107895, 1392107922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73864507675171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:23:42.152392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_16_2946.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_18_2618.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_21_2759.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_25_3636.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_27_2625.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_30_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_16_2946.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_18_2618.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_21_2759.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_25_3636.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_27_2625.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_30_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392107954","1392107956","1392107949","1392107958","1392107952","1392107946"],"photo_ids_order":["1392107946","1392107949","1392107952","1392107954","1392107956","1392107958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5eb1a0cac3e7b0880045e213b8f8fcbd.jpg","text":"TemporaryFile(/tmp/multipartBody5227527767474378192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190683003,"filename":"image_03112025_09_44_25_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/3/a93519250e50a8387d4d96ecfa8bf885.jpg","text":"TemporaryFile(/tmp/multipartBody511635921044861244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190683003,"filename":"image_03112025_09_44_27_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/3/22636c796d02f429c21d0760a1c28f6b.jpg","text":"TemporaryFile(/tmp/multipartBody5726306158411687159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190683003,"filename":"image_03112025_09_44_18_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/3/db8aec99c6775730efbf1fb82f593d0e.jpg","text":"TemporaryFile(/tmp/multipartBody682920909174448615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190683003,"filename":"image_03112025_09_44_30_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/3/c0740a6c5cfcd9badefb3cfed3d27f3b.jpg","text":"TemporaryFile(/tmp/multipartBody1134989295069574429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190683003,"filename":"image_03112025_09_44_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/3/4dd87170a5a77f4a263579a13ef4f74c.jpg","text":"TemporaryFile(/tmp/multipartBody4672138608601813741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190683003,"filename":"image_03112025_09_44_16_2946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392107952","file1":"1392107949","file0":"1392107946","file4":"1392107956","file5":"1392107958","file3":"1392107954"},"map_files_photo_id_array":[{"photo_id":"1392107958","filename":"file5"},{"photo_id":"1392107952","filename":"file2"},{"photo_id":"1392107956","filename":"file4"},{"photo_id":"1392107949","filename":"file1"},{"photo_id":"1392107946","filename":"file0"},{"photo_id":"1392107954","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392107954":["hashtag1","hashtag2"]},{"1392107956":["hashtag1","hashtag2"]},{"1392107949":["hashtag1","hashtag2"]},{"1392107958":["hashtag1","hashtag2"]},{"1392107952":["hashtag1","hashtag2"]},{"1392107946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392107954, 1392107956, 1392107949, 1392107958, 1392107952, 1392107946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94688582420349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:24:22.474679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_34_3744.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_36_2651.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_39_2749.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_43_3597.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_45_2603.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_48_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_34_3744.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_36_2651.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_39_2749.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_43_3597.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_45_2603.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_48_2666.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8539862632751465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:24:42.344242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_34_3744.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_36_2651.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_39_2749.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_43_3597.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_45_2603.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_48_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_34_3744.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_36_2651.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_39_2749.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_43_3597.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_45_2603.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_48_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392107990","1392107989","1392107986","1392107991","1392107982","1392108006"],"photo_ids_order":["1392107982","1392107986","1392107989","1392107990","1392107991","1392108006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/826c67ada0839c943ff3f0e528880743.jpg","text":"TemporaryFile(/tmp/multipartBody493775028387036648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190743041,"filename":"image_03112025_09_44_43_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/3/ad6b648f0253448e01d36940ac68646b.jpg","text":"TemporaryFile(/tmp/multipartBody8274179354939151973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190743041,"filename":"image_03112025_09_44_39_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/3/108b1fde69fcf2ed36c8c2b6477bcc30.jpg","text":"TemporaryFile(/tmp/multipartBody631092214866638260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190743041,"filename":"image_03112025_09_44_36_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/3/f47b641cb89480e881cd4ec21973f3ee.jpg","text":"TemporaryFile(/tmp/multipartBody8068551779318362377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190743041,"filename":"image_03112025_09_44_45_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/3/bcdc6f21701335d55fc4261b55a4547f.jpg","text":"TemporaryFile(/tmp/multipartBody8143993059670948340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190743041,"filename":"image_03112025_09_44_34_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/3/7e442b1b0dc5a8e31ff6cd24c622bbbf.jpg","text":"TemporaryFile(/tmp/multipartBody3531893888798963440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190743041,"filename":"image_03112025_09_44_48_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392107989","file1":"1392107986","file0":"1392107982","file4":"1392107991","file5":"1392108006","file3":"1392107990"},"map_files_photo_id_array":[{"photo_id":"1392108006","filename":"file5"},{"photo_id":"1392107989","filename":"file2"},{"photo_id":"1392107991","filename":"file4"},{"photo_id":"1392107986","filename":"file1"},{"photo_id":"1392107982","filename":"file0"},{"photo_id":"1392107990","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392107990":["hashtag1","hashtag2"]},{"1392107989":["hashtag1","hashtag2"]},{"1392107986":["hashtag1","hashtag2"]},{"1392107991":["hashtag1","hashtag2"]},{"1392107982":["hashtag1","hashtag2"]},{"1392108006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392107990, 1392107989, 1392107986, 1392107991, 1392107982, 1392108006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.763503313064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:25:42.444908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_51_3690.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_54_2774.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_57_2682.jpg', '/home/pi/Desktop/images/03112025/09/44/image_03112025_09_45_00_2800.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_03_3728.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_06_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_51_3690.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_54_2774.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_44_57_2682.jpg
/home/pi/Desktop/images/03112025/09/44/image_03112025_09_45_00_2800.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_03_3728.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_06_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392108277","1392108304","1392108301","1392108261","1392108303","1392108306"],"photo_ids_order":["1392108261","1392108277","1392108301","1392108303","1392108304","1392108306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ad4978522cca9b9a1e448fe2da0cbdd1.jpg","text":"TemporaryFile(/tmp/multipartBody564380379182478498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190803329,"filename":"image_03112025_09_44_54_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/3/d9d73523826155101794b0978e1a6d18.jpg","text":"TemporaryFile(/tmp/multipartBody1507928972904313586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190803329,"filename":"image_03112025_09_45_03_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/3/ec2db9e4ab1c4281a24459e9919c005b.jpg","text":"TemporaryFile(/tmp/multipartBody7679057755121200066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190803329,"filename":"image_03112025_09_44_57_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/3/90fe413f9296e89b53ad850e39368a8e.jpg","text":"TemporaryFile(/tmp/multipartBody7429832681228617276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190803329,"filename":"image_03112025_09_44_51_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/3/39d480babeba4cd304287aed0eea653b.jpg","text":"TemporaryFile(/tmp/multipartBody7629205713982111394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190803329,"filename":"image_03112025_09_45_00_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/3/196c3cc3152102f7bf9c376360196e46.jpg","text":"TemporaryFile(/tmp/multipartBody5446441882948255151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190803329,"filename":"image_03112025_09_45_06_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392108301","file1":"1392108277","file0":"1392108261","file4":"1392108304","file5":"1392108306","file3":"1392108303"},"map_files_photo_id_array":[{"photo_id":"1392108306","filename":"file5"},{"photo_id":"1392108301","filename":"file2"},{"photo_id":"1392108304","filename":"file4"},{"photo_id":"1392108277","filename":"file1"},{"photo_id":"1392108261","filename":"file0"},{"photo_id":"1392108303","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392108277":["hashtag1","hashtag2"]},{"1392108304":["hashtag1","hashtag2"]},{"1392108301":["hashtag1","hashtag2"]},{"1392108261":["hashtag1","hashtag2"]},{"1392108303":["hashtag1","hashtag2"]},{"1392108306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392108277, 1392108304, 1392108301, 1392108261, 1392108303, 1392108306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81270980834961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:26:22.789346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_09_2727.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_13_3729.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_15_2672.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_18_2610.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_21_3617.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_24_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_09_2727.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_13_3729.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_15_2672.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_18_2610.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_21_3617.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_24_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":["1392108323","1392108335","1392108328","1392108325","1392108319","1392108348"],"photo_ids_order":["1392108319","1392108323","1392108325","1392108328","1392108335","1392108348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/237dfcd0f61de7420d7b5199eaf3d3ec.jpg","text":"TemporaryFile(/tmp/multipartBody4132195700234483463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190843770,"filename":"image_03112025_09_45_13_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/3/f223ff832aaf394ea69f7f1b5e7d7f32.jpg","text":"TemporaryFile(/tmp/multipartBody6270352398788395083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190843770,"filename":"image_03112025_09_45_21_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/3/59bfd04a3fe2629596533c64001e7a98.jpg","text":"TemporaryFile(/tmp/multipartBody2563009370469959736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190843770,"filename":"image_03112025_09_45_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/3/5815f586f02d69fdc398425e0c13db93.jpg","text":"TemporaryFile(/tmp/multipartBody6008781943032670954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190843770,"filename":"image_03112025_09_45_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/3/f62ccd90b1370a8d356e983b0eac77b3.jpg","text":"TemporaryFile(/tmp/multipartBody7634898855407321725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190843770,"filename":"image_03112025_09_45_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/3/1f84e16f3d6828916856aba4f96f4355.jpg","text":"TemporaryFile(/tmp/multipartBody5062789360251341583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190843770,"filename":"image_03112025_09_45_24_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392108325","file1":"1392108323","file0":"1392108319","file4":"1392108335","file5":"1392108348","file3":"1392108328"},"map_files_photo_id_array":[{"photo_id":"1392108348","filename":"file5"},{"photo_id":"1392108325","filename":"file2"},{"photo_id":"1392108335","filename":"file4"},{"photo_id":"1392108323","filename":"file1"},{"photo_id":"1392108319","filename":"file0"},{"photo_id":"1392108328","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392108323":["hashtag1","hashtag2"]},{"1392108335":["hashtag1","hashtag2"]},{"1392108328":["hashtag1","hashtag2"]},{"1392108325":["hashtag1","hashtag2"]},{"1392108319":["hashtag1","hashtag2"]},{"1392108348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392108323, 1392108335, 1392108328, 1392108325, 1392108319, 1392108348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.705647230148315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:27:21.902844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_27_2627.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_30_3689.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_33_2660.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_36_2739.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_42_3626.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_45_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_27_2627.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_30_3689.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_33_2660.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_36_2739.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_42_3626.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_45_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392108541","1392108517","1392108573","1392108555","1392108564","1392108569"],"photo_ids_order":["1392108517","1392108541","1392108555","1392108564","1392108569","1392108573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/83f2358cfc1c5df712aa0403e48bbfdd.jpg","text":"TemporaryFile(/tmp/multipartBody1838430170041928048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190902846,"filename":"image_03112025_09_45_30_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/3/c7750bfcce3dd369e1f331bd92d1191a.jpg","text":"TemporaryFile(/tmp/multipartBody2810569227507338147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190902846,"filename":"image_03112025_09_45_27_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/3/9a19c19c671f1f3de76f38e79be31666.jpg","text":"TemporaryFile(/tmp/multipartBody8044937964358559563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190902846,"filename":"image_03112025_09_45_45_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/3/ebc539ddb028b1a38669e96d3bb08fce.jpg","text":"TemporaryFile(/tmp/multipartBody906816682949411990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190902846,"filename":"image_03112025_09_45_33_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/3/ba57a8a5b3889449955e1ec2a6c72bae.jpg","text":"TemporaryFile(/tmp/multipartBody2127925037845640210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190902846,"filename":"image_03112025_09_45_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/3/e3f272a0ec2fe3816720cb2d4fd719c0.jpg","text":"TemporaryFile(/tmp/multipartBody1669132352616768591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190902846,"filename":"image_03112025_09_45_42_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392108555","file1":"1392108541","file0":"1392108517","file4":"1392108569","file5":"1392108573","file3":"1392108564"},"map_files_photo_id_array":[{"photo_id":"1392108573","filename":"file5"},{"photo_id":"1392108555","filename":"file2"},{"photo_id":"1392108569","filename":"file4"},{"photo_id":"1392108541","filename":"file1"},{"photo_id":"1392108517","filename":"file0"},{"photo_id":"1392108564","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392108541":["hashtag1","hashtag2"]},{"1392108517":["hashtag1","hashtag2"]},{"1392108573":["hashtag1","hashtag2"]},{"1392108555":["hashtag1","hashtag2"]},{"1392108564":["hashtag1","hashtag2"]},{"1392108569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392108541, 1392108517, 1392108573, 1392108555, 1392108564, 1392108569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.166619539260864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:28:02.527001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_48_2825.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_51_3549.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_54_2761.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_57_2560.jpg', '/home/pi/Desktop/images/03112025/09/45/image_03112025_09_46_00_3600.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_03_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_48_2825.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_51_3549.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_54_2761.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_45_57_2560.jpg
/home/pi/Desktop/images/03112025/09/45/image_03112025_09_46_00_3600.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_03_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392108652","1392108649","1392108709","1392108703","1392108675","1392108678"],"photo_ids_order":["1392108649","1392108652","1392108675","1392108678","1392108703","1392108709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ed92e393dd351d1883b8fae5eb555df.jpg","text":"TemporaryFile(/tmp/multipartBody5256675174351861566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190943452,"filename":"image_03112025_09_45_51_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/3/4faeb7c230b95f072dc362dffdf67548.jpg","text":"TemporaryFile(/tmp/multipartBody2814349664137152081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190943452,"filename":"image_03112025_09_45_48_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/3/160c7ec8af048ada03ceb2a3e02e2f1d.jpg","text":"TemporaryFile(/tmp/multipartBody3884537945740822145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190943452,"filename":"image_03112025_09_46_03_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/3/bd9734fe28978d23e01b460b2f5c5721.jpg","text":"TemporaryFile(/tmp/multipartBody4685938935334731310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190943452,"filename":"image_03112025_09_46_00_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/85ba8485362af693ec8e6c1bcb32b683.jpg","text":"TemporaryFile(/tmp/multipartBody4467213800314624132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190943452,"filename":"image_03112025_09_45_54_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/3/d4ced2ad3a2bc7e5bd16f0e4744d313a.jpg","text":"TemporaryFile(/tmp/multipartBody410347664174156051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190943452,"filename":"image_03112025_09_45_57_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392108675","file1":"1392108652","file0":"1392108649","file4":"1392108703","file5":"1392108709","file3":"1392108678"},"map_files_photo_id_array":[{"photo_id":"1392108709","filename":"file5"},{"photo_id":"1392108675","filename":"file2"},{"photo_id":"1392108703","filename":"file4"},{"photo_id":"1392108652","filename":"file1"},{"photo_id":"1392108649","filename":"file0"},{"photo_id":"1392108678","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392108652":["hashtag1","hashtag2"]},{"1392108649":["hashtag1","hashtag2"]},{"1392108709":["hashtag1","hashtag2"]},{"1392108703":["hashtag1","hashtag2"]},{"1392108675":["hashtag1","hashtag2"]},{"1392108678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392108652, 1392108649, 1392108709, 1392108703, 1392108675, 1392108678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0444118976593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:28:42.092669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_06_2630.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_09_3594.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_12_2615.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_15_2758.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_18_3724.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_21_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_06_2630.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_09_3594.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_12_2615.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_15_2758.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_18_3724.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_21_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392108743","1392108745","1392108748","1392108747","1392108770","1392108746"],"photo_ids_order":["1392108743","1392108745","1392108746","1392108747","1392108748","1392108770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4d365f38b7e36a7acfa439db76f21b22.jpg","text":"TemporaryFile(/tmp/multipartBody8452347320916973031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190982934,"filename":"image_03112025_09_46_06_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/3/c3416ca9858a73e729a03f422732544c.jpg","text":"TemporaryFile(/tmp/multipartBody103377891947768517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190982934,"filename":"image_03112025_09_46_09_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/64858e22326feda1033a59e5af27c3c9.jpg","text":"TemporaryFile(/tmp/multipartBody2949490394675142043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190982934,"filename":"image_03112025_09_46_18_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/3/ac4e61cb124b32222c3379fc49e6048b.jpg","text":"TemporaryFile(/tmp/multipartBody7661444604463803740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190982934,"filename":"image_03112025_09_46_15_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/3/21ea3ff29bd352147906c6ee66e6f0f0.jpg","text":"TemporaryFile(/tmp/multipartBody5804163263362157075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190982934,"filename":"image_03112025_09_46_21_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/3/09db05ebb076c85e032eed02beeade47.jpg","text":"TemporaryFile(/tmp/multipartBody1856475722530900148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762190982934,"filename":"image_03112025_09_46_12_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392108746","file1":"1392108745","file0":"1392108743","file4":"1392108748","file5":"1392108770","file3":"1392108747"},"map_files_photo_id_array":[{"photo_id":"1392108770","filename":"file5"},{"photo_id":"1392108746","filename":"file2"},{"photo_id":"1392108748","filename":"file4"},{"photo_id":"1392108745","filename":"file1"},{"photo_id":"1392108743","filename":"file0"},{"photo_id":"1392108747","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392108743":["hashtag1","hashtag2"]},{"1392108745":["hashtag1","hashtag2"]},{"1392108748":["hashtag1","hashtag2"]},{"1392108747":["hashtag1","hashtag2"]},{"1392108770":["hashtag1","hashtag2"]},{"1392108746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392108743, 1392108745, 1392108748, 1392108747, 1392108770, 1392108746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.067352533340454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:29:22.333451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_24_2716.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_27_3668.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_30_2647.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_33_2653.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_36_3687.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_39_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_24_2716.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_27_3668.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_30_2647.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_33_2653.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_36_3687.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_39_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392108833","1392108836","1392108880","1392108811","1392108840","1392108899"],"photo_ids_order":["1392108811","1392108833","1392108836","1392108840","1392108880","1392108899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5120f286e9d977ff6116fafc4b3c2495.jpg","text":"TemporaryFile(/tmp/multipartBody3105717800806785162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191023228,"filename":"image_03112025_09_46_27_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c800b80f7323e13199548a25d7dc3c99.jpg","text":"TemporaryFile(/tmp/multipartBody4774693849223103340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191023228,"filename":"image_03112025_09_46_30_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/49be754259963a44a9f955f81d878c6c.jpg","text":"TemporaryFile(/tmp/multipartBody620425637578868726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191023228,"filename":"image_03112025_09_46_36_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/3/49c938a45cc641bb0c958f9914101747.jpg","text":"TemporaryFile(/tmp/multipartBody1493462295925637741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191023228,"filename":"image_03112025_09_46_24_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/3/9b6b488ea013fc37dda17b860909f85c.jpg","text":"TemporaryFile(/tmp/multipartBody4236610760592099641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191023228,"filename":"image_03112025_09_46_33_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/3/5cf9dbf54b3e28066b5e9bfcf6a64932.jpg","text":"TemporaryFile(/tmp/multipartBody4431827264640026388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191023228,"filename":"image_03112025_09_46_39_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392108836","file1":"1392108833","file0":"1392108811","file4":"1392108880","file5":"1392108899","file3":"1392108840"},"map_files_photo_id_array":[{"photo_id":"1392108899","filename":"file5"},{"photo_id":"1392108836","filename":"file2"},{"photo_id":"1392108880","filename":"file4"},{"photo_id":"1392108833","filename":"file1"},{"photo_id":"1392108811","filename":"file0"},{"photo_id":"1392108840","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392108833":["hashtag1","hashtag2"]},{"1392108836":["hashtag1","hashtag2"]},{"1392108880":["hashtag1","hashtag2"]},{"1392108811":["hashtag1","hashtag2"]},{"1392108840":["hashtag1","hashtag2"]},{"1392108899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392108833, 1392108836, 1392108880, 1392108811, 1392108840, 1392108899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44819736480713 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-03 18:30:22.449850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_42_2727.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_45_2680.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_48_3706.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_51_2597.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_54_2662.jpg', '/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_57_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_42_2727.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_45_2680.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_48_3706.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_51_2597.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_54_2662.jpg
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_46_57_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392108908","1392108916","1392108919","1392108910","1392108921","1392108924"],"photo_ids_order":["1392108908","1392108910","1392108916","1392108919","1392108921","1392108924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fcd6117291bdbe0ac2ecaba7bed53faf.jpg","text":"TemporaryFile(/tmp/multipartBody4359962103510129472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191083295,"filename":"image_03112025_09_46_42_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/3/5fde99f2ca090be6f87b78bb68d4f8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4799177635235277409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191083295,"filename":"image_03112025_09_46_48_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/3/799e15c3017c66d8de08fcdfee47adbb.jpg","text":"TemporaryFile(/tmp/multipartBody8384083011046095330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191083295,"filename":"image_03112025_09_46_51_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/3/fbcd81c82922a2cfbad45a1e368b8824.jpg","text":"TemporaryFile(/tmp/multipartBody5010343884885147224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191083295,"filename":"image_03112025_09_46_45_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/04521c7696e6ca2a2e7a062db2530d86.jpg","text":"TemporaryFile(/tmp/multipartBody8987911584391940667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191083295,"filename":"image_03112025_09_46_54_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/3/1b1e06a679070f9e5ee89a5ced9b427a.jpg","text":"TemporaryFile(/tmp/multipartBody5224450848253357309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191083295,"filename":"image_03112025_09_46_57_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392108916","file1":"1392108910","file0":"1392108908","file4":"1392108921","file5":"1392108924","file3":"1392108919"},"map_files_photo_id_array":[{"photo_id":"1392108924","filename":"file5"},{"photo_id":"1392108916","filename":"file2"},{"photo_id":"1392108921","filename":"file4"},{"photo_id":"1392108910","filename":"file1"},{"photo_id":"1392108908","filename":"file0"},{"photo_id":"1392108919","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392108908":["hashtag1","hashtag2"]},{"1392108916":["hashtag1","hashtag2"]},{"1392108919":["hashtag1","hashtag2"]},{"1392108910":["hashtag1","hashtag2"]},{"1392108921":["hashtag1","hashtag2"]},{"1392108924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392108908, 1392108916, 1392108919, 1392108910, 1392108921, 1392108924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97032952308655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:31:03.482102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/46/image_03112025_09_47_00_2702.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_03_2863.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_06_3620.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_09_2797.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_12_2653.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_15_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/46/image_03112025_09_47_00_2702.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_03_2863.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_06_3620.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_09_2797.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_12_2653.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_15_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392109087","1392108994","1392108952","1392109131","1392108930","1392109031"],"photo_ids_order":["1392108930","1392108952","1392108994","1392109031","1392109087","1392109131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5d5b68eafbf59e8e9c08ee39c8fd21ed.jpg","text":"TemporaryFile(/tmp/multipartBody1147031617147180090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191124428,"filename":"image_03112025_09_47_12_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/3/4822ae4e4ebcb35ca265bfb5a6fff8b2.jpg","text":"TemporaryFile(/tmp/multipartBody8136877573307810627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191124428,"filename":"image_03112025_09_47_06_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/3/7ba4bd267f5286401d127876958076b9.jpg","text":"TemporaryFile(/tmp/multipartBody7868829353427140015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191124428,"filename":"image_03112025_09_47_03_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/3/cfbbf87465f8792d50476b30194f7079.jpg","text":"TemporaryFile(/tmp/multipartBody2083732027571167114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191124428,"filename":"image_03112025_09_47_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/3/f44455abc1155e71daae02d233a9b277.jpg","text":"TemporaryFile(/tmp/multipartBody5066412529494912571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191124428,"filename":"image_03112025_09_47_00_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/3/1caaeb3661470e00be82041dfec793f4.jpg","text":"TemporaryFile(/tmp/multipartBody2744296495958019968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191124428,"filename":"image_03112025_09_47_09_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392108994","file1":"1392108952","file0":"1392108930","file4":"1392109087","file5":"1392109131","file3":"1392109031"},"map_files_photo_id_array":[{"photo_id":"1392109131","filename":"file5"},{"photo_id":"1392108994","filename":"file2"},{"photo_id":"1392109087","filename":"file4"},{"photo_id":"1392108952","filename":"file1"},{"photo_id":"1392108930","filename":"file0"},{"photo_id":"1392109031","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392109087":["hashtag1","hashtag2"]},{"1392108994":["hashtag1","hashtag2"]},{"1392108952":["hashtag1","hashtag2"]},{"1392109131":["hashtag1","hashtag2"]},{"1392108930":["hashtag1","hashtag2"]},{"1392109031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392109087, 1392108994, 1392108952, 1392109131, 1392108930, 1392109031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50978922843933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:31:42.662611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_18_3694.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_21_2635.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_24_2582.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_27_3667.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_30_2683.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_33_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_18_3694.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_21_2635.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_24_2582.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_27_3667.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_30_2683.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_33_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392109213","1392109263","1392109266","1392109248","1392109233","1392109268"],"photo_ids_order":["1392109213","1392109233","1392109248","1392109263","1392109266","1392109268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cfc3cfb56d0bcf209331504ad7f05945.jpg","text":"TemporaryFile(/tmp/multipartBody3004057039877854176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191163508,"filename":"image_03112025_09_47_18_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/3/3235099aa4181d0d1267279ca2826876.jpg","text":"TemporaryFile(/tmp/multipartBody8840044701625014137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191163508,"filename":"image_03112025_09_47_27_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/3/9abf5da8b3412eece0788a9c81c62f1a.jpg","text":"TemporaryFile(/tmp/multipartBody3799010113339944549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191163508,"filename":"image_03112025_09_47_30_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/3/d878053f6041eabb56391c4d2675c194.jpg","text":"TemporaryFile(/tmp/multipartBody7446601205863255615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191163508,"filename":"image_03112025_09_47_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/3/be9d72eac6de9078af0ef9169344e8ef.jpg","text":"TemporaryFile(/tmp/multipartBody6351328442457531900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191163508,"filename":"image_03112025_09_47_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/3/9a8e1dd4f039718957e2cc50fd948d95.jpg","text":"TemporaryFile(/tmp/multipartBody7878366905048322161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191163508,"filename":"image_03112025_09_47_33_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392109248","file1":"1392109233","file0":"1392109213","file4":"1392109266","file5":"1392109268","file3":"1392109263"},"map_files_photo_id_array":[{"photo_id":"1392109268","filename":"file5"},{"photo_id":"1392109248","filename":"file2"},{"photo_id":"1392109266","filename":"file4"},{"photo_id":"1392109233","filename":"file1"},{"photo_id":"1392109213","filename":"file0"},{"photo_id":"1392109263","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392109213":["hashtag1","hashtag2"]},{"1392109263":["hashtag1","hashtag2"]},{"1392109266":["hashtag1","hashtag2"]},{"1392109248":["hashtag1","hashtag2"]},{"1392109233":["hashtag1","hashtag2"]},{"1392109268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392109213, 1392109263, 1392109266, 1392109248, 1392109233, 1392109268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13225722312927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:32:21.872412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_36_3736.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_39_2577.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_42_2804.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_44_2661.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_48_3669.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_51_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_36_3736.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_39_2577.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_42_2804.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_44_2661.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_48_3669.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_51_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392109282","1392109276","1392109285","1392109279","1392109289","1392109301"],"photo_ids_order":["1392109276","1392109279","1392109282","1392109285","1392109289","1392109301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ecc2b84adb1cc1fc5f5848be133868b.jpg","text":"TemporaryFile(/tmp/multipartBody664162168764427217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191202727,"filename":"image_03112025_09_47_42_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/3/99faec57930fa3236ad3a673ad5b6b16.jpg","text":"TemporaryFile(/tmp/multipartBody5198703493413816585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191202727,"filename":"image_03112025_09_47_36_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/3/54cd2b0a99782bb8a4ca12fce48d7bda.jpg","text":"TemporaryFile(/tmp/multipartBody6848404336152974531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191202727,"filename":"image_03112025_09_47_44_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/3/e0f4350c4c7c9fab5ba94d107a436d21.jpg","text":"TemporaryFile(/tmp/multipartBody82398388651168012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191202727,"filename":"image_03112025_09_47_39_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/3/85001b1ba99e7fd37eb1ccd851167995.jpg","text":"TemporaryFile(/tmp/multipartBody2428982495232407866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191202727,"filename":"image_03112025_09_47_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/3/f795674e53f688847472c9fb0adea3c6.jpg","text":"TemporaryFile(/tmp/multipartBody3828563504628241380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191202727,"filename":"image_03112025_09_47_51_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392109282","file1":"1392109279","file0":"1392109276","file4":"1392109289","file5":"1392109301","file3":"1392109285"},"map_files_photo_id_array":[{"photo_id":"1392109301","filename":"file5"},{"photo_id":"1392109282","filename":"file2"},{"photo_id":"1392109289","filename":"file4"},{"photo_id":"1392109279","filename":"file1"},{"photo_id":"1392109276","filename":"file0"},{"photo_id":"1392109285","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392109282":["hashtag1","hashtag2"]},{"1392109276":["hashtag1","hashtag2"]},{"1392109285":["hashtag1","hashtag2"]},{"1392109279":["hashtag1","hashtag2"]},{"1392109289":["hashtag1","hashtag2"]},{"1392109301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392109282, 1392109276, 1392109285, 1392109279, 1392109289, 1392109301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.250744581222534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:33:02.807714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_53_2836.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_57_3698.jpg', '/home/pi/Desktop/images/03112025/09/47/image_03112025_09_48_00_2634.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_02_2649.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_06_3711.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_09_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_53_2836.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_47_57_3698.jpg
/home/pi/Desktop/images/03112025/09/47/image_03112025_09_48_00_2634.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_02_2649.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_06_3711.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_09_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392109357","1392109380","1392109353","1392109388","1392109367","1392109337"],"photo_ids_order":["1392109337","1392109353","1392109357","1392109367","1392109380","1392109388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f56411c437f87cfb5fe7c842c35cb3f8.jpg","text":"TemporaryFile(/tmp/multipartBody7577384700451545002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191243738,"filename":"image_03112025_09_48_00_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/3/faa5823fad7f3043ed5ecc2af2dcb6f3.jpg","text":"TemporaryFile(/tmp/multipartBody1717417713897687972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191243738,"filename":"image_03112025_09_48_06_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/afb10c3bec59cd184619e36c44fba8e9.jpg","text":"TemporaryFile(/tmp/multipartBody5876916341088828225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191243738,"filename":"image_03112025_09_47_57_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/3/32f54542d88e7271852a9b15b85a9ffd.jpg","text":"TemporaryFile(/tmp/multipartBody2078986128223652645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191243738,"filename":"image_03112025_09_48_09_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/3/49aa596732aa920bfb5b715b84f3478b.jpg","text":"TemporaryFile(/tmp/multipartBody146656640325064372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191243738,"filename":"image_03112025_09_48_02_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/3/19a7fd38389e92696c206f108bb2cec9.jpg","text":"TemporaryFile(/tmp/multipartBody633164834072633818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191243738,"filename":"image_03112025_09_47_53_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392109357","file1":"1392109353","file0":"1392109337","file4":"1392109380","file5":"1392109388","file3":"1392109367"},"map_files_photo_id_array":[{"photo_id":"1392109388","filename":"file5"},{"photo_id":"1392109357","filename":"file2"},{"photo_id":"1392109380","filename":"file4"},{"photo_id":"1392109353","filename":"file1"},{"photo_id":"1392109337","filename":"file0"},{"photo_id":"1392109367","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392109357":["hashtag1","hashtag2"]},{"1392109380":["hashtag1","hashtag2"]},{"1392109353":["hashtag1","hashtag2"]},{"1392109388":["hashtag1","hashtag2"]},{"1392109367":["hashtag1","hashtag2"]},{"1392109337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392109357, 1392109380, 1392109353, 1392109388, 1392109367, 1392109337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.278972148895264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:33:41.959698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_11_2579.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_15_3546.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_18_2675.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_20_2661.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_24_3795.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_27_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_11_2579.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_15_3546.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_18_2675.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_20_2661.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_24_3795.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_27_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392109468","1392109471","1392109467","1392109401","1392109466","1392109469"],"photo_ids_order":["1392109401","1392109466","1392109467","1392109468","1392109469","1392109471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0534654ab74de5ee3d5992767ee4401c.jpg","text":"TemporaryFile(/tmp/multipartBody1534377214704223326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191282788,"filename":"image_03112025_09_48_20_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/3/51d814b6229ec4f2efc52d4278241b86.jpg","text":"TemporaryFile(/tmp/multipartBody7740424979273286737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191282788,"filename":"image_03112025_09_48_27_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/3/6704598c0f68481805a547dbbddacefc.jpg","text":"TemporaryFile(/tmp/multipartBody3013756079219157333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191282788,"filename":"image_03112025_09_48_18_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c60708fb47e7f6d933117f3a116dd625.jpg","text":"TemporaryFile(/tmp/multipartBody2516665043959048095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191282788,"filename":"image_03112025_09_48_11_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/3/d5337c3578401d8d4a87af4ec594d8a5.jpg","text":"TemporaryFile(/tmp/multipartBody7499968356701092014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191282788,"filename":"image_03112025_09_48_15_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/3/dde48fc3c508b7b7b9e76635386ac9b2.jpg","text":"TemporaryFile(/tmp/multipartBody5125559273253251695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191282788,"filename":"image_03112025_09_48_24_3795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392109467","file1":"1392109466","file0":"1392109401","file4":"1392109469","file5":"1392109471","file3":"1392109468"},"map_files_photo_id_array":[{"photo_id":"1392109471","filename":"file5"},{"photo_id":"1392109467","filename":"file2"},{"photo_id":"1392109469","filename":"file4"},{"photo_id":"1392109466","filename":"file1"},{"photo_id":"1392109401","filename":"file0"},{"photo_id":"1392109468","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392109468":["hashtag1","hashtag2"]},{"1392109471":["hashtag1","hashtag2"]},{"1392109467":["hashtag1","hashtag2"]},{"1392109401":["hashtag1","hashtag2"]},{"1392109466":["hashtag1","hashtag2"]},{"1392109469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392109468, 1392109471, 1392109467, 1392109401, 1392109466, 1392109469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04202914237976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:34:22.193987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_29_2771.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_33_3782.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_36_2825.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_39_2657.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_42_3531.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_45_2885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_29_2771.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_33_3782.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_36_2825.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_39_2657.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_42_3531.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_45_2885.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392109485","1392109488","1392109481","1392109490","1392109493","1392109487"],"photo_ids_order":["1392109481","1392109485","1392109487","1392109488","1392109490","1392109493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b4586f0db47643b47060448bca62b04e.jpg","text":"TemporaryFile(/tmp/multipartBody1625773139388996372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191323083,"filename":"image_03112025_09_48_33_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/3/5f1aea2760b2a2260da815efcb82fe6c.jpg","text":"TemporaryFile(/tmp/multipartBody6873668842980216771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191323083,"filename":"image_03112025_09_48_39_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/3/e08a76932726ee1be06245871e300473.jpg","text":"TemporaryFile(/tmp/multipartBody7938327994941007318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191323083,"filename":"image_03112025_09_48_29_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/3/5b50a04ca2de416fc7dde9ebdabb4311.jpg","text":"TemporaryFile(/tmp/multipartBody264586322459320024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191323083,"filename":"image_03112025_09_48_42_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/3/63e37b47ba7cfdfa4f658781a7e40a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4241643133919198373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191323083,"filename":"image_03112025_09_48_45_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/3/3df77c6a4db55d24af08adec85555527.jpg","text":"TemporaryFile(/tmp/multipartBody8749569510377166807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191323083,"filename":"image_03112025_09_48_36_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392109487","file1":"1392109485","file0":"1392109481","file4":"1392109490","file5":"1392109493","file3":"1392109488"},"map_files_photo_id_array":[{"photo_id":"1392109493","filename":"file5"},{"photo_id":"1392109487","filename":"file2"},{"photo_id":"1392109490","filename":"file4"},{"photo_id":"1392109485","filename":"file1"},{"photo_id":"1392109481","filename":"file0"},{"photo_id":"1392109488","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392109485":["hashtag1","hashtag2"]},{"1392109488":["hashtag1","hashtag2"]},{"1392109481":["hashtag1","hashtag2"]},{"1392109490":["hashtag1","hashtag2"]},{"1392109493":["hashtag1","hashtag2"]},{"1392109487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392109485, 1392109488, 1392109481, 1392109490, 1392109493, 1392109487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24278521537781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:35:03.093760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_48_2707.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_51_2762.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_53_2664.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_57_3639.jpg', '/home/pi/Desktop/images/03112025/09/48/image_03112025_09_49_00_2640.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_03_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_48_2707.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_51_2762.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_53_2664.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_48_57_3639.jpg
/home/pi/Desktop/images/03112025/09/48/image_03112025_09_49_00_2640.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_03_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":["1392109593","1392109548","1392109662","1392109515","1392109743","1392109518"],"photo_ids_order":["1392109515","1392109518","1392109548","1392109593","1392109662","1392109743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ec5fc14ed1ae57c979f8aab133ae057f.jpg","text":"TemporaryFile(/tmp/multipartBody5259708332570209130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191364063,"filename":"image_03112025_09_48_57_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/3/1324097da6c9762ce008f5cb6e0537ee.jpg","text":"TemporaryFile(/tmp/multipartBody3728592742558421251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191364063,"filename":"image_03112025_09_48_53_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/3/a37b8c7bf08b328eb6af57bbc2f9dad8.jpg","text":"TemporaryFile(/tmp/multipartBody4640829529495320716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191364063,"filename":"image_03112025_09_49_00_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/3/25b431dcdd1b9e04c74855ee62ed6758.jpg","text":"TemporaryFile(/tmp/multipartBody5280182495004769505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191364063,"filename":"image_03112025_09_48_48_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4fa8dc289abc4ef0f3295f8c80f0e7b1.jpg","text":"TemporaryFile(/tmp/multipartBody3997460399614109102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191364063,"filename":"image_03112025_09_49_03_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ac407cf13a4aea5ebd88b43ce4b10572.jpg","text":"TemporaryFile(/tmp/multipartBody3438311304619185055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191364063,"filename":"image_03112025_09_48_51_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392109548","file1":"1392109518","file0":"1392109515","file4":"1392109662","file5":"1392109743","file3":"1392109593"},"map_files_photo_id_array":[{"photo_id":"1392109743","filename":"file5"},{"photo_id":"1392109548","filename":"file2"},{"photo_id":"1392109662","filename":"file4"},{"photo_id":"1392109518","filename":"file1"},{"photo_id":"1392109515","filename":"file0"},{"photo_id":"1392109593","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392109593":["hashtag1","hashtag2"]},{"1392109548":["hashtag1","hashtag2"]},{"1392109662":["hashtag1","hashtag2"]},{"1392109515":["hashtag1","hashtag2"]},{"1392109743":["hashtag1","hashtag2"]},{"1392109518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392109593, 1392109548, 1392109662, 1392109515, 1392109743, 1392109518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21381187438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:36:03.064767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_06_2676.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_08_2610.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_12_3585.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_15_2791.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_18_2732.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_20_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_06_2676.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_08_2610.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_12_3585.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_15_2791.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_18_2732.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_20_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392110071","1392110068","1392110090","1392110180","1392110168","1392110153"],"photo_ids_order":["1392110068","1392110071","1392110090","1392110153","1392110168","1392110180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8e4baff312a657b0244ef2269534a37e.jpg","text":"TemporaryFile(/tmp/multipartBody1301641484359672392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191423960,"filename":"image_03112025_09_49_08_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/3/6f2e48cb370441272b0db4b5e26a204b.jpg","text":"TemporaryFile(/tmp/multipartBody2013700128395034381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191423960,"filename":"image_03112025_09_49_06_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/3/21f227730ce00339e8ecef6dc84a4ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4939725839467213417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191423960,"filename":"image_03112025_09_49_12_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/3/934d88885381c2a3ae9ef8704c40d17a.jpg","text":"TemporaryFile(/tmp/multipartBody2756577090756039470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191423960,"filename":"image_03112025_09_49_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/3/a31d5f08469d7c490177d6bf0c6a245f.jpg","text":"TemporaryFile(/tmp/multipartBody2150875666639863705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191423960,"filename":"image_03112025_09_49_18_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/3/3c8eda305abea5a2401b10471f17367c.jpg","text":"TemporaryFile(/tmp/multipartBody836076570735457120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191423960,"filename":"image_03112025_09_49_15_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392110090","file1":"1392110071","file0":"1392110068","file4":"1392110168","file5":"1392110180","file3":"1392110153"},"map_files_photo_id_array":[{"photo_id":"1392110180","filename":"file5"},{"photo_id":"1392110090","filename":"file2"},{"photo_id":"1392110168","filename":"file4"},{"photo_id":"1392110071","filename":"file1"},{"photo_id":"1392110068","filename":"file0"},{"photo_id":"1392110153","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392110071":["hashtag1","hashtag2"]},{"1392110068":["hashtag1","hashtag2"]},{"1392110090":["hashtag1","hashtag2"]},{"1392110180":["hashtag1","hashtag2"]},{"1392110168":["hashtag1","hashtag2"]},{"1392110153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392110071, 1392110068, 1392110090, 1392110180, 1392110168, 1392110153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36459398269653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:36:42.483456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_24_3851.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_27_2711.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_30_2739.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_32_2631.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_36_3725.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_39_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_24_3851.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_27_2711.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_30_2739.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_32_2631.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_36_3725.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_39_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392110251","1392110332","1392110292","1392110289","1392110316","1392110378"],"photo_ids_order":["1392110251","1392110289","1392110292","1392110316","1392110332","1392110378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/77668142e480f95dda3a3d9a951b643c.jpg","text":"TemporaryFile(/tmp/multipartBody8283174640376820940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191463307,"filename":"image_03112025_09_49_24_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/3/5c2973d0a7ed0a87cbe271a8b96e7a84.jpg","text":"TemporaryFile(/tmp/multipartBody8244814037379182137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191463307,"filename":"image_03112025_09_49_36_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/3/1046af2d2e2713f92a7dfeba0ef0cdca.jpg","text":"TemporaryFile(/tmp/multipartBody2720230445294572078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191463307,"filename":"image_03112025_09_49_30_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/3/025e152c2163c6d9fe69d0188f13028b.jpg","text":"TemporaryFile(/tmp/multipartBody2034254346159192971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191463307,"filename":"image_03112025_09_49_27_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/3/92b397618d2f26096c531105a1aa0711.jpg","text":"TemporaryFile(/tmp/multipartBody354546961316405853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191463307,"filename":"image_03112025_09_49_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/3/1ea2ae5c10c487a02f738b1b40385550.jpg","text":"TemporaryFile(/tmp/multipartBody8777437866839108704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191463307,"filename":"image_03112025_09_49_39_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392110292","file1":"1392110289","file0":"1392110251","file4":"1392110332","file5":"1392110378","file3":"1392110316"},"map_files_photo_id_array":[{"photo_id":"1392110378","filename":"file5"},{"photo_id":"1392110292","filename":"file2"},{"photo_id":"1392110332","filename":"file4"},{"photo_id":"1392110289","filename":"file1"},{"photo_id":"1392110251","filename":"file0"},{"photo_id":"1392110316","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392110251":["hashtag1","hashtag2"]},{"1392110332":["hashtag1","hashtag2"]},{"1392110292":["hashtag1","hashtag2"]},{"1392110289":["hashtag1","hashtag2"]},{"1392110316":["hashtag1","hashtag2"]},{"1392110378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392110251, 1392110332, 1392110292, 1392110289, 1392110316, 1392110378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28732228279114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:37:22.699490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_41_2705.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_45_3582.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_47_2598.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_51_3704.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_54_2624.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_56_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_41_2705.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_45_3582.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_47_2598.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_51_3704.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_54_2624.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_56_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: 0.7691171169281006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:37:42.722365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_41_2705.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_45_3582.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_47_2598.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_51_3704.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_54_2624.jpg', '/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_56_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_41_2705.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_45_3582.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_47_2598.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_51_3704.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_54_2624.jpg
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_49_56_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392110677","1392110679","1392110673","1392110681","1392110675","1392110669"],"photo_ids_order":["1392110669","1392110673","1392110675","1392110677","1392110679","1392110681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7fd1ebdc2edb337c8c2766c0baed8496.jpg","text":"TemporaryFile(/tmp/multipartBody9172594061179327477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191523513,"filename":"image_03112025_09_49_51_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/3/8319b73452a05fd5f33419d3bb0adc22.jpg","text":"TemporaryFile(/tmp/multipartBody6425710661915099314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191523513,"filename":"image_03112025_09_49_54_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb4dae63ed30f2d0a8c4744fafae1bb9.jpg","text":"TemporaryFile(/tmp/multipartBody224245419527024697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191523513,"filename":"image_03112025_09_49_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/3/8e947b5658a39a08eb826692144255ca.jpg","text":"TemporaryFile(/tmp/multipartBody184108155778834223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191523513,"filename":"image_03112025_09_49_56_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/3/0060306e62268b706ae0ec4221ac247d.jpg","text":"TemporaryFile(/tmp/multipartBody438407628511495315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191523513,"filename":"image_03112025_09_49_47_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/3/a28e6287ecc2917cd01cf495c4e6b54a.jpg","text":"TemporaryFile(/tmp/multipartBody3046969273468690664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191523513,"filename":"image_03112025_09_49_41_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392110675","file1":"1392110673","file0":"1392110669","file4":"1392110679","file5":"1392110681","file3":"1392110677"},"map_files_photo_id_array":[{"photo_id":"1392110681","filename":"file5"},{"photo_id":"1392110675","filename":"file2"},{"photo_id":"1392110679","filename":"file4"},{"photo_id":"1392110673","filename":"file1"},{"photo_id":"1392110669","filename":"file0"},{"photo_id":"1392110677","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392110677":["hashtag1","hashtag2"]},{"1392110679":["hashtag1","hashtag2"]},{"1392110673":["hashtag1","hashtag2"]},{"1392110681":["hashtag1","hashtag2"]},{"1392110675":["hashtag1","hashtag2"]},{"1392110669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392110677, 1392110679, 1392110673, 1392110681, 1392110675, 1392110669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12888979911804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:38:21.940157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/49/image_03112025_09_50_00_3663.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_03_2562.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_06_3113.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_08_2621.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_11_2888.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_15_3842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/49/image_03112025_09_50_00_3663.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_03_2562.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_06_3113.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_08_2621.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_11_2888.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_15_3842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392110692","1392110686","1392110689","1392110709","1392110703","1392110696"],"photo_ids_order":["1392110686","1392110689","1392110692","1392110696","1392110703","1392110709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d81aa5225955c4c738b412437e053ae4.jpg","text":"TemporaryFile(/tmp/multipartBody1727117054579988165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191562826,"filename":"image_03112025_09_50_06_3113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f8ac53f30899f10bb39cce95973c079e.jpg","text":"TemporaryFile(/tmp/multipartBody6665984123368297074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191562826,"filename":"image_03112025_09_50_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/3/0071f7d50bb636421bd83a96a686aeee.jpg","text":"TemporaryFile(/tmp/multipartBody4866616640561736073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191562826,"filename":"image_03112025_09_50_03_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/3/b7ae922b41be45b5e81842e914bf6cfc.jpg","text":"TemporaryFile(/tmp/multipartBody3608316873393654490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191562826,"filename":"image_03112025_09_50_15_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/3/0f941da6439c277b79bfc9c4d55f8a71.jpg","text":"TemporaryFile(/tmp/multipartBody3363527010901393657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191562826,"filename":"image_03112025_09_50_11_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/3/c49f9910000987a214c7c266ea0d3b53.jpg","text":"TemporaryFile(/tmp/multipartBody6749669492684214786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191562826,"filename":"image_03112025_09_50_08_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392110692","file1":"1392110689","file0":"1392110686","file4":"1392110703","file5":"1392110709","file3":"1392110696"},"map_files_photo_id_array":[{"photo_id":"1392110709","filename":"file5"},{"photo_id":"1392110692","filename":"file2"},{"photo_id":"1392110703","filename":"file4"},{"photo_id":"1392110689","filename":"file1"},{"photo_id":"1392110686","filename":"file0"},{"photo_id":"1392110696","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392110692":["hashtag1","hashtag2"]},{"1392110686":["hashtag1","hashtag2"]},{"1392110689":["hashtag1","hashtag2"]},{"1392110709":["hashtag1","hashtag2"]},{"1392110703":["hashtag1","hashtag2"]},{"1392110696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392110692, 1392110686, 1392110689, 1392110709, 1392110703, 1392110696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71604013442993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:39:03.067382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_18_2576.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_20_2750.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_24_3573.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_27_2902.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_30_2714.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_32_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_18_2576.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_20_2750.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_24_3573.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_27_2902.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_30_2714.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_32_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392110744","1392110740","1392110734","1392110737","1392110742","1392110741"],"photo_ids_order":["1392110734","1392110737","1392110740","1392110741","1392110742","1392110744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a1c990b04e4e3819b5f9e0d5066c03e5.jpg","text":"TemporaryFile(/tmp/multipartBody5531944775361629565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191604113,"filename":"image_03112025_09_50_32_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/3/18b4b7bcec3139aba3ea474a16e73706.jpg","text":"TemporaryFile(/tmp/multipartBody3811989710178598454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191604113,"filename":"image_03112025_09_50_24_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/3/8d3ac539a9affb0f4c361738f833ff29.jpg","text":"TemporaryFile(/tmp/multipartBody6392492027919375556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191604113,"filename":"image_03112025_09_50_18_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/3/2031387d4a09c5c676a70db92151705e.jpg","text":"TemporaryFile(/tmp/multipartBody3486778296189235684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191604113,"filename":"image_03112025_09_50_20_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/3/9f5d6a07a62c525e0d0a9ebc0981d84c.jpg","text":"TemporaryFile(/tmp/multipartBody1445513639461199976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191604113,"filename":"image_03112025_09_50_30_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/3/98d682c73919457a6ffaf8d7367e509e.jpg","text":"TemporaryFile(/tmp/multipartBody2059263647026617104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191604113,"filename":"image_03112025_09_50_27_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392110740","file1":"1392110737","file0":"1392110734","file4":"1392110742","file5":"1392110744","file3":"1392110741"},"map_files_photo_id_array":[{"photo_id":"1392110744","filename":"file5"},{"photo_id":"1392110740","filename":"file2"},{"photo_id":"1392110742","filename":"file4"},{"photo_id":"1392110737","filename":"file1"},{"photo_id":"1392110734","filename":"file0"},{"photo_id":"1392110741","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392110744":["hashtag1","hashtag2"]},{"1392110740":["hashtag1","hashtag2"]},{"1392110734":["hashtag1","hashtag2"]},{"1392110737":["hashtag1","hashtag2"]},{"1392110742":["hashtag1","hashtag2"]},{"1392110741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392110744, 1392110740, 1392110734, 1392110737, 1392110742, 1392110741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.535101652145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:39:42.261792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_36_3701.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_39_2659.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_41_2770.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_45_3619.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_48_2759.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_50_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_36_3701.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_39_2659.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_41_2770.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_45_3619.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_48_2759.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_50_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392110797","1392110764","1392110757","1392110771","1392110789","1392110768"],"photo_ids_order":["1392110757","1392110764","1392110768","1392110771","1392110789","1392110797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bddcbb08b6c5895a23a01c95445be94e.jpg","text":"TemporaryFile(/tmp/multipartBody1383034653825915028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191643112,"filename":"image_03112025_09_50_50_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/3/6041710ae0a5fff71f6c4c98b11dac24.jpg","text":"TemporaryFile(/tmp/multipartBody3915825867820707863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191643112,"filename":"image_03112025_09_50_39_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/3/51fed0509257003edd02eabe66e02644.jpg","text":"TemporaryFile(/tmp/multipartBody3308863858149841903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191643112,"filename":"image_03112025_09_50_36_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/3/9eb9b63195d0211d1d093fee433c4b76.jpg","text":"TemporaryFile(/tmp/multipartBody5650439416857088513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191643112,"filename":"image_03112025_09_50_45_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/3/56da2071a854448379f22ab6a72761f1.jpg","text":"TemporaryFile(/tmp/multipartBody7832070537180594842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191643112,"filename":"image_03112025_09_50_48_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/3/1b5642ca00387a49e28756e35a5bbf54.jpg","text":"TemporaryFile(/tmp/multipartBody4241141843894607968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191643112,"filename":"image_03112025_09_50_41_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392110768","file1":"1392110764","file0":"1392110757","file4":"1392110789","file5":"1392110797","file3":"1392110771"},"map_files_photo_id_array":[{"photo_id":"1392110797","filename":"file5"},{"photo_id":"1392110768","filename":"file2"},{"photo_id":"1392110789","filename":"file4"},{"photo_id":"1392110764","filename":"file1"},{"photo_id":"1392110757","filename":"file0"},{"photo_id":"1392110771","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392110797":["hashtag1","hashtag2"]},{"1392110764":["hashtag1","hashtag2"]},{"1392110757":["hashtag1","hashtag2"]},{"1392110771":["hashtag1","hashtag2"]},{"1392110789":["hashtag1","hashtag2"]},{"1392110768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392110797, 1392110764, 1392110757, 1392110771, 1392110789, 1392110768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11887979507446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:40:22.643229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_53_2986.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_57_3583.jpg', '/home/pi/Desktop/images/03112025/09/50/image_03112025_09_51_00_2609.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_02_2581.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_06_3699.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_09_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_53_2986.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_50_57_3583.jpg
/home/pi/Desktop/images/03112025/09/50/image_03112025_09_51_00_2609.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_02_2581.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_06_3699.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_09_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392110833","1392110877","1392110952","1392110999","1392110916","1392110993"],"photo_ids_order":["1392110833","1392110877","1392110916","1392110952","1392110993","1392110999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/487a4ce1a87eb4dd6fe3a8cfa44dbd32.jpg","text":"TemporaryFile(/tmp/multipartBody2629298264053683376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191683594,"filename":"image_03112025_09_50_53_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/3/2b7eb1d20a72a800f533dd14e4e4c978.jpg","text":"TemporaryFile(/tmp/multipartBody4547930184824817437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191683594,"filename":"image_03112025_09_50_57_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fa97eb8fd2d238fff608a9dc22817d5a.jpg","text":"TemporaryFile(/tmp/multipartBody5205982326689257725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191683594,"filename":"image_03112025_09_51_02_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/3/3326a1a1cfff5df4ae317d71370be8cd.jpg","text":"TemporaryFile(/tmp/multipartBody9221306818956846820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191683594,"filename":"image_03112025_09_51_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/3/c72b45d7c426fcdcbfbcb6a9b2389925.jpg","text":"TemporaryFile(/tmp/multipartBody5014056557745396876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191683594,"filename":"image_03112025_09_51_00_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e64a13e7ad350ff363614d4cdbc7e5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5396396342902205475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191683594,"filename":"image_03112025_09_51_06_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392110916","file1":"1392110877","file0":"1392110833","file4":"1392110993","file5":"1392110999","file3":"1392110952"},"map_files_photo_id_array":[{"photo_id":"1392110999","filename":"file5"},{"photo_id":"1392110916","filename":"file2"},{"photo_id":"1392110993","filename":"file4"},{"photo_id":"1392110877","filename":"file1"},{"photo_id":"1392110833","filename":"file0"},{"photo_id":"1392110952","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392110833":["hashtag1","hashtag2"]},{"1392110877":["hashtag1","hashtag2"]},{"1392110952":["hashtag1","hashtag2"]},{"1392110999":["hashtag1","hashtag2"]},{"1392110916":["hashtag1","hashtag2"]},{"1392110993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392110833, 1392110877, 1392110952, 1392110999, 1392110916, 1392110993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.882734298706055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:41:03.359123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_11_2837.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_15_3553.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_18_2718.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_20_2564.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_24_3593.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_27_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_11_2837.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_15_3553.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_18_2718.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_20_2564.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_24_3593.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_27_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":["1392111165","1392111081","1392111039","1392111219","1392111111","1392111108"],"photo_ids_order":["1392111039","1392111081","1392111108","1392111111","1392111165","1392111219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1088d979390453aaa96ed4dfcb7f067b.jpg","text":"TemporaryFile(/tmp/multipartBody4792987380667038469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191724353,"filename":"image_03112025_09_51_24_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/3/d9f309fd6c37bd3c73d73ea56b5eaaa3.jpg","text":"TemporaryFile(/tmp/multipartBody2938024969053088905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191724353,"filename":"image_03112025_09_51_15_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/3/cdafb569ccc31a58865f6b1a2efd3fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2901520921610891210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191724353,"filename":"image_03112025_09_51_11_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/3/0607267666e11cc724ab4e0e51a8219d.jpg","text":"TemporaryFile(/tmp/multipartBody3112314339723565741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191724353,"filename":"image_03112025_09_51_27_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/3/f2994caa8a3a91831296d47d4775133e.jpg","text":"TemporaryFile(/tmp/multipartBody8540599114357103452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191724353,"filename":"image_03112025_09_51_20_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/3/e8757cd2168a6310d8e3cf0eb3bedeae.jpg","text":"TemporaryFile(/tmp/multipartBody1301531286621123139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191724353,"filename":"image_03112025_09_51_18_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392111108","file1":"1392111081","file0":"1392111039","file4":"1392111165","file5":"1392111219","file3":"1392111111"},"map_files_photo_id_array":[{"photo_id":"1392111219","filename":"file5"},{"photo_id":"1392111108","filename":"file2"},{"photo_id":"1392111165","filename":"file4"},{"photo_id":"1392111081","filename":"file1"},{"photo_id":"1392111039","filename":"file0"},{"photo_id":"1392111111","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392111165":["hashtag1","hashtag2"]},{"1392111081":["hashtag1","hashtag2"]},{"1392111039":["hashtag1","hashtag2"]},{"1392111219":["hashtag1","hashtag2"]},{"1392111111":["hashtag1","hashtag2"]},{"1392111108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392111165, 1392111081, 1392111039, 1392111219, 1392111111, 1392111108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.522255659103394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:42:03.278446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_29_2551.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_33_3709.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_35_2605.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_38_2725.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_42_3675.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_44_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_29_2551.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_33_3709.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_35_2605.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_38_2725.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_42_3675.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_44_2579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392111370","1392111294","1392111384","1392111366","1392111360","1392111333"],"photo_ids_order":["1392111294","1392111333","1392111360","1392111366","1392111370","1392111384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ce3c488fee5175aba770ba5e0e7406be.jpg","text":"TemporaryFile(/tmp/multipartBody4552714339659445984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191784157,"filename":"image_03112025_09_51_42_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/3/34ec4119201472a3af789a21ddaffde3.jpg","text":"TemporaryFile(/tmp/multipartBody2434442961717508603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191784157,"filename":"image_03112025_09_51_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/3/a353fb91ac774b2eb660f698a9e5962e.jpg","text":"TemporaryFile(/tmp/multipartBody1396567565989104706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191784157,"filename":"image_03112025_09_51_44_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/3/aab64f9838eec480f278eef90ef5ec80.jpg","text":"TemporaryFile(/tmp/multipartBody5514759289505360480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191784157,"filename":"image_03112025_09_51_38_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/90d80f4af4a234bfb40274d6eebf04b9.jpg","text":"TemporaryFile(/tmp/multipartBody5594596115109655074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191784157,"filename":"image_03112025_09_51_35_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee0b53f8067afde7bdbe8f9f8e8419da.jpg","text":"TemporaryFile(/tmp/multipartBody7992763962851700159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191784157,"filename":"image_03112025_09_51_33_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392111360","file1":"1392111333","file0":"1392111294","file4":"1392111370","file5":"1392111384","file3":"1392111366"},"map_files_photo_id_array":[{"photo_id":"1392111384","filename":"file5"},{"photo_id":"1392111360","filename":"file2"},{"photo_id":"1392111370","filename":"file4"},{"photo_id":"1392111333","filename":"file1"},{"photo_id":"1392111294","filename":"file0"},{"photo_id":"1392111366","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392111370":["hashtag1","hashtag2"]},{"1392111294":["hashtag1","hashtag2"]},{"1392111384":["hashtag1","hashtag2"]},{"1392111366":["hashtag1","hashtag2"]},{"1392111360":["hashtag1","hashtag2"]},{"1392111333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392111370, 1392111294, 1392111384, 1392111366, 1392111360, 1392111333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18931984901428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:43:02.750092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_47_2743.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_51_3681.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_54_2797.jpg', '/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_56_2780.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_03_3731.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_06_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_47_2743.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_51_3681.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_54_2797.jpg
/home/pi/Desktop/images/03112025/09/51/image_03112025_09_51_56_2780.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_03_3731.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_06_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392111442","1392111415","1392111438","1392111411","1392111417","1392111446"],"photo_ids_order":["1392111411","1392111415","1392111417","1392111438","1392111442","1392111446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/67c7d4deeaab344f2bb95f777fcd0928.jpg","text":"TemporaryFile(/tmp/multipartBody1184563056726133947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191843669,"filename":"image_03112025_09_52_03_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/3/60e3941af10416e0a9205fc9acadcbef.jpg","text":"TemporaryFile(/tmp/multipartBody2791016644301054556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191843669,"filename":"image_03112025_09_51_51_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/3/5d34a9f7a7f522b1d520b6dd8173ab15.jpg","text":"TemporaryFile(/tmp/multipartBody7777447432316930591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191843669,"filename":"image_03112025_09_51_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/3/ae7f0e66a181841dc7c17510e893332b.jpg","text":"TemporaryFile(/tmp/multipartBody7455050445338382180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191843669,"filename":"image_03112025_09_51_47_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/3/bea5b75c98b98018914669b467f1e425.jpg","text":"TemporaryFile(/tmp/multipartBody7836028725953846483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191843669,"filename":"image_03112025_09_51_54_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/3/6a85febcdcf7e5ca63a2505cc5158ec6.jpg","text":"TemporaryFile(/tmp/multipartBody4348488914089001754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191843669,"filename":"image_03112025_09_52_06_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392111417","file1":"1392111415","file0":"1392111411","file4":"1392111442","file5":"1392111446","file3":"1392111438"},"map_files_photo_id_array":[{"photo_id":"1392111446","filename":"file5"},{"photo_id":"1392111417","filename":"file2"},{"photo_id":"1392111442","filename":"file4"},{"photo_id":"1392111415","filename":"file1"},{"photo_id":"1392111411","filename":"file0"},{"photo_id":"1392111438","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392111442":["hashtag1","hashtag2"]},{"1392111415":["hashtag1","hashtag2"]},{"1392111438":["hashtag1","hashtag2"]},{"1392111411":["hashtag1","hashtag2"]},{"1392111417":["hashtag1","hashtag2"]},{"1392111446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392111442, 1392111415, 1392111438, 1392111411, 1392111417, 1392111446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39131164550781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:43:42.107625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_08_2680.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_11_2834.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_15_3598.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_18_2904.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_20_2633.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_24_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_08_2680.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_11_2834.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_15_3598.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_18_2904.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_20_2633.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_24_3531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392111472","1392111460","1392111457","1392111462","1392111461","1392111481"],"photo_ids_order":["1392111457","1392111460","1392111461","1392111462","1392111472","1392111481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e8060ba6ff7c39cb5bd73276624cc60f.jpg","text":"TemporaryFile(/tmp/multipartBody8425156954130818015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191883019,"filename":"image_03112025_09_52_20_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/3/36601954da9c971097d616544d6db4a1.jpg","text":"TemporaryFile(/tmp/multipartBody3051813071129515221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191883019,"filename":"image_03112025_09_52_11_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/3/0be2769bc57b7fb0e9e965dfec764fdc.jpg","text":"TemporaryFile(/tmp/multipartBody2383095795910094358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191883019,"filename":"image_03112025_09_52_08_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/3/01e5a35e22476f0727e4155c4d2738c1.jpg","text":"TemporaryFile(/tmp/multipartBody7545365776769637306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191883019,"filename":"image_03112025_09_52_18_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/3/462f8eed5e685c6fa33957e1bc1d77dc.jpg","text":"TemporaryFile(/tmp/multipartBody3066569228464951466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191883019,"filename":"image_03112025_09_52_15_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/3/7d0ab7b2ec6659297ac72c14b2cf8b06.jpg","text":"TemporaryFile(/tmp/multipartBody4262986957133183201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191883019,"filename":"image_03112025_09_52_24_3531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392111461","file1":"1392111460","file0":"1392111457","file4":"1392111472","file5":"1392111481","file3":"1392111462"},"map_files_photo_id_array":[{"photo_id":"1392111481","filename":"file5"},{"photo_id":"1392111461","filename":"file2"},{"photo_id":"1392111472","filename":"file4"},{"photo_id":"1392111460","filename":"file1"},{"photo_id":"1392111457","filename":"file0"},{"photo_id":"1392111462","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392111472":["hashtag1","hashtag2"]},{"1392111460":["hashtag1","hashtag2"]},{"1392111457":["hashtag1","hashtag2"]},{"1392111462":["hashtag1","hashtag2"]},{"1392111461":["hashtag1","hashtag2"]},{"1392111481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392111472, 1392111460, 1392111457, 1392111462, 1392111461, 1392111481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64600419998169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:44:25.107931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_26_2652.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_29_2678.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_33_3706.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_35_2556.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_38_2838.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_41_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_26_2652.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_29_2678.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_33_3706.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_35_2556.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_38_2838.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_41_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392111509","1392111499","1392111505","1392111513","1392111516","1392111518"],"photo_ids_order":["1392111499","1392111505","1392111509","1392111513","1392111516","1392111518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/db41d31d19802e8cb65715f7a7814668.jpg","text":"TemporaryFile(/tmp/multipartBody2062793871652826373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191926014,"filename":"image_03112025_09_52_33_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/3/a4147930eeefc3ac3bec2dc86cd9bc26.jpg","text":"TemporaryFile(/tmp/multipartBody4269935961400844420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191926014,"filename":"image_03112025_09_52_26_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/3/6cc7698bdbf5392054b9f4790bf64043.jpg","text":"TemporaryFile(/tmp/multipartBody8335320810416183734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191926014,"filename":"image_03112025_09_52_29_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/3/37514790a674e0809fceadef15f086e0.jpg","text":"TemporaryFile(/tmp/multipartBody7461114468037065437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191926014,"filename":"image_03112025_09_52_35_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc1afa9b98a908e0a4de5358a3691c77.jpg","text":"TemporaryFile(/tmp/multipartBody4957369328652331474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191926014,"filename":"image_03112025_09_52_38_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/3/aa65d11e000beda6222f0a7999217efd.jpg","text":"TemporaryFile(/tmp/multipartBody1122578216948808382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191926014,"filename":"image_03112025_09_52_41_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392111509","file1":"1392111505","file0":"1392111499","file4":"1392111516","file5":"1392111518","file3":"1392111513"},"map_files_photo_id_array":[{"photo_id":"1392111518","filename":"file5"},{"photo_id":"1392111509","filename":"file2"},{"photo_id":"1392111516","filename":"file4"},{"photo_id":"1392111505","filename":"file1"},{"photo_id":"1392111499","filename":"file0"},{"photo_id":"1392111513","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392111509":["hashtag1","hashtag2"]},{"1392111499":["hashtag1","hashtag2"]},{"1392111505":["hashtag1","hashtag2"]},{"1392111513":["hashtag1","hashtag2"]},{"1392111516":["hashtag1","hashtag2"]},{"1392111518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392111509, 1392111499, 1392111505, 1392111513, 1392111516, 1392111518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.949907064437866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:45:22.461062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_47_2806.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_51_3294.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_53_2521.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_56_2646.jpg', '/home/pi/Desktop/images/03112025/09/52/image_03112025_09_53_00_3646.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_02_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_47_2806.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_51_3294.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_53_2521.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_52_56_2646.jpg
/home/pi/Desktop/images/03112025/09/52/image_03112025_09_53_00_3646.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_02_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392111541","1392111535","1392111538","1392111555","1392111531","1392111551"],"photo_ids_order":["1392111531","1392111535","1392111538","1392111541","1392111551","1392111555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/523d471fa1478ad5335a216a2615b287.jpg","text":"TemporaryFile(/tmp/multipartBody5419110975639318658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191983363,"filename":"image_03112025_09_52_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/3/3b50ae559b8077713093a2f42ee45e31.jpg","text":"TemporaryFile(/tmp/multipartBody1421386485739617357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191983363,"filename":"image_03112025_09_52_51_3294.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f50bc2ce13d5aef8512739c0953a0563.jpg","text":"TemporaryFile(/tmp/multipartBody5347768881277829774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191983363,"filename":"image_03112025_09_52_53_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/3/69a562fb576b012f52614eec14aea94a.jpg","text":"TemporaryFile(/tmp/multipartBody3359419452632442264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191983363,"filename":"image_03112025_09_53_02_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/3/18e1106f91c85c11509f58cf80ed7c1b.jpg","text":"TemporaryFile(/tmp/multipartBody6011792196185704209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191983363,"filename":"image_03112025_09_52_47_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0455078a7342f43f3d63c67479fe56d6.jpg","text":"TemporaryFile(/tmp/multipartBody6888554218720681273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762191983363,"filename":"image_03112025_09_53_00_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392111538","file1":"1392111535","file0":"1392111531","file4":"1392111551","file5":"1392111555","file3":"1392111541"},"map_files_photo_id_array":[{"photo_id":"1392111555","filename":"file5"},{"photo_id":"1392111538","filename":"file2"},{"photo_id":"1392111551","filename":"file4"},{"photo_id":"1392111535","filename":"file1"},{"photo_id":"1392111531","filename":"file0"},{"photo_id":"1392111541","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392111541":["hashtag1","hashtag2"]},{"1392111535":["hashtag1","hashtag2"]},{"1392111538":["hashtag1","hashtag2"]},{"1392111555":["hashtag1","hashtag2"]},{"1392111531":["hashtag1","hashtag2"]},{"1392111551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392111541, 1392111535, 1392111538, 1392111555, 1392111531, 1392111551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50346517562866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:46:03.054663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_05_2871.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_09_3668.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_14_2711.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_17_2779.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_21_3777.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_23_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_05_2871.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_09_3668.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_14_2711.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_17_2779.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_21_3777.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_23_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392111562","1392111565","1392111568","1392111634","1392111570","1392111595"],"photo_ids_order":["1392111562","1392111565","1392111568","1392111570","1392111595","1392111634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d75c6465a42dbb5562b441e674c39a8c.jpg","text":"TemporaryFile(/tmp/multipartBody736192130338520904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192024001,"filename":"image_03112025_09_53_05_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/3/3e4b36df2031c8cfbb6050c17597ae5f.jpg","text":"TemporaryFile(/tmp/multipartBody1770791593680644243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192024001,"filename":"image_03112025_09_53_09_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/3/a86223dd9741da0d8409d8bc4c969ad7.jpg","text":"TemporaryFile(/tmp/multipartBody6422924237457353821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192024001,"filename":"image_03112025_09_53_14_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/3/db413775c740df584742c573ef855374.jpg","text":"TemporaryFile(/tmp/multipartBody8408278628766767167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192024001,"filename":"image_03112025_09_53_23_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/3/14c90705a1e00e06e6b52dfb56fd81e2.jpg","text":"TemporaryFile(/tmp/multipartBody6666201694797013165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192024001,"filename":"image_03112025_09_53_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/3/a4cb356bef0a9e53d3cd95bf6716203e.jpg","text":"TemporaryFile(/tmp/multipartBody7300986234453607467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192024001,"filename":"image_03112025_09_53_21_3777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392111568","file1":"1392111565","file0":"1392111562","file4":"1392111595","file5":"1392111634","file3":"1392111570"},"map_files_photo_id_array":[{"photo_id":"1392111634","filename":"file5"},{"photo_id":"1392111568","filename":"file2"},{"photo_id":"1392111595","filename":"file4"},{"photo_id":"1392111565","filename":"file1"},{"photo_id":"1392111562","filename":"file0"},{"photo_id":"1392111570","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392111562":["hashtag1","hashtag2"]},{"1392111565":["hashtag1","hashtag2"]},{"1392111568":["hashtag1","hashtag2"]},{"1392111634":["hashtag1","hashtag2"]},{"1392111570":["hashtag1","hashtag2"]},{"1392111595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392111562, 1392111565, 1392111568, 1392111634, 1392111570, 1392111595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.146214723587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:46:42.465817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_26_2751.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_30_3648.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_32_2638.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_35_2599.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_39_3619.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_41_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_26_2751.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_30_3648.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_32_2638.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_35_2599.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_39_3619.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_41_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392112027","1392111774","1392111930","1392112142","1392111842","1392112081"],"photo_ids_order":["1392111774","1392111842","1392111930","1392112027","1392112081","1392112142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6931817152c1ea0bc944540b093fb53f.jpg","text":"TemporaryFile(/tmp/multipartBody2186931844927346169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192063320,"filename":"image_03112025_09_53_35_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/3/4a386f81c129b19a0d75a4a9610c847e.jpg","text":"TemporaryFile(/tmp/multipartBody3616147438715670173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192063320,"filename":"image_03112025_09_53_26_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/3/af2f6862b859d06e4d74dd9ea4d8d261.jpg","text":"TemporaryFile(/tmp/multipartBody3590954210381914782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192063320,"filename":"image_03112025_09_53_32_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d88967c498cd71a94197b0739d2474b6.jpg","text":"TemporaryFile(/tmp/multipartBody5394890143810386817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192063320,"filename":"image_03112025_09_53_41_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/3/dfbb035d759c25e1353e8991b4e4185f.jpg","text":"TemporaryFile(/tmp/multipartBody3516738865459741159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192063320,"filename":"image_03112025_09_53_30_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/3/087162efe1459166cb71f286a34990e5.jpg","text":"TemporaryFile(/tmp/multipartBody9044665777048271677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192063320,"filename":"image_03112025_09_53_39_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392111930","file1":"1392111842","file0":"1392111774","file4":"1392112081","file5":"1392112142","file3":"1392112027"},"map_files_photo_id_array":[{"photo_id":"1392112142","filename":"file5"},{"photo_id":"1392111930","filename":"file2"},{"photo_id":"1392112081","filename":"file4"},{"photo_id":"1392111842","filename":"file1"},{"photo_id":"1392111774","filename":"file0"},{"photo_id":"1392112027","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392112027":["hashtag1","hashtag2"]},{"1392111774":["hashtag1","hashtag2"]},{"1392111930":["hashtag1","hashtag2"]},{"1392112142":["hashtag1","hashtag2"]},{"1392111842":["hashtag1","hashtag2"]},{"1392112081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392112027, 1392111774, 1392111930, 1392112142, 1392111842, 1392112081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00081181526184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:47:22.627551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_44_2793.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_48_3670.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_50_2548.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_53_2681.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_56_3557.jpg', '/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_59_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_44_2793.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_48_3670.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_50_2548.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_53_2681.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_56_3557.jpg
/home/pi/Desktop/images/03112025/09/53/image_03112025_09_53_59_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392112432","1392112382","1392112478","1392112553","1392112514","1392112331"],"photo_ids_order":["1392112331","1392112382","1392112432","1392112478","1392112514","1392112553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/539c8a8637c78d178e6c1a5fe7dfb9d7.jpg","text":"TemporaryFile(/tmp/multipartBody5792703887848863526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192103518,"filename":"image_03112025_09_53_50_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/3/b705f1b29eed3f5fe1d8fa91f2917a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7509831394290060903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192103518,"filename":"image_03112025_09_53_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/3/8f9d1c2a8284341fdde4c818caa4b5f6.jpg","text":"TemporaryFile(/tmp/multipartBody8805216775455851703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192103518,"filename":"image_03112025_09_53_53_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/76539701e3533b49a5652bcb16cec6b2.jpg","text":"TemporaryFile(/tmp/multipartBody4937725532786254188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192103518,"filename":"image_03112025_09_53_59_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/3/c1c27eb6f520a5f2b33af5488af0db89.jpg","text":"TemporaryFile(/tmp/multipartBody6778661766809701526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192103518,"filename":"image_03112025_09_53_56_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/3/b6649dff3b8faf29bad5030934083ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5590500319136245800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192103518,"filename":"image_03112025_09_53_44_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392112432","file1":"1392112382","file0":"1392112331","file4":"1392112514","file5":"1392112553","file3":"1392112478"},"map_files_photo_id_array":[{"photo_id":"1392112553","filename":"file5"},{"photo_id":"1392112432","filename":"file2"},{"photo_id":"1392112514","filename":"file4"},{"photo_id":"1392112382","filename":"file1"},{"photo_id":"1392112331","filename":"file0"},{"photo_id":"1392112478","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392112432":["hashtag1","hashtag2"]},{"1392112382":["hashtag1","hashtag2"]},{"1392112478":["hashtag1","hashtag2"]},{"1392112553":["hashtag1","hashtag2"]},{"1392112514":["hashtag1","hashtag2"]},{"1392112331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392112432, 1392112382, 1392112478, 1392112553, 1392112514, 1392112331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46246123313904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:48:02.472990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_03_3568.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_05_2769.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_08_2617.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_12_3739.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_15_2992.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_17_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_03_3568.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_05_2769.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_08_2617.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_12_3739.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_15_2992.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_17_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392112600","1392112674","1392112577","1392112574","1392112637","1392112582"],"photo_ids_order":["1392112574","1392112577","1392112582","1392112600","1392112637","1392112674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/69b482424f1462fed56a21f20f028a84.jpg","text":"TemporaryFile(/tmp/multipartBody1089453604733005922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192143366,"filename":"image_03112025_09_54_12_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/3/670918c7c3db21f205de52cfb8b8b8ae.jpg","text":"TemporaryFile(/tmp/multipartBody8862002799199274329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192143366,"filename":"image_03112025_09_54_17_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/3/60aa995008c0ac0da6c0698bb3dacbc8.jpg","text":"TemporaryFile(/tmp/multipartBody8120166037736457650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192143366,"filename":"image_03112025_09_54_05_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/3/472df696fcb3c5e1ce0a630436daac4a.jpg","text":"TemporaryFile(/tmp/multipartBody4486123903008476790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192143366,"filename":"image_03112025_09_54_03_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/3/d2d31864797b3a79fb415a5cbf1c27a9.jpg","text":"TemporaryFile(/tmp/multipartBody1268556851176061566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192143366,"filename":"image_03112025_09_54_15_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/3/39e4543a77b5a1614eac2d9b95de61f0.jpg","text":"TemporaryFile(/tmp/multipartBody3148454128184665951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192143366,"filename":"image_03112025_09_54_08_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392112582","file1":"1392112577","file0":"1392112574","file4":"1392112637","file5":"1392112674","file3":"1392112600"},"map_files_photo_id_array":[{"photo_id":"1392112674","filename":"file5"},{"photo_id":"1392112582","filename":"file2"},{"photo_id":"1392112637","filename":"file4"},{"photo_id":"1392112577","filename":"file1"},{"photo_id":"1392112574","filename":"file0"},{"photo_id":"1392112600","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392112600":["hashtag1","hashtag2"]},{"1392112674":["hashtag1","hashtag2"]},{"1392112577":["hashtag1","hashtag2"]},{"1392112574":["hashtag1","hashtag2"]},{"1392112637":["hashtag1","hashtag2"]},{"1392112582":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392112600, 1392112674, 1392112577, 1392112574, 1392112637, 1392112582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.765756130218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:48:41.922538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_20_2647.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_24_3669.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_26_2861.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_29_2727.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_36_3899.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_38_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_20_2647.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_24_3669.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_26_2861.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_29_2727.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_36_3899.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_38_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392112746","1392112731","1392112781","1392112730","1392112733","1392112735"],"photo_ids_order":["1392112730","1392112731","1392112733","1392112735","1392112746","1392112781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b0ebcfbf37e01cd15a10f8d8023cc563.jpg","text":"TemporaryFile(/tmp/multipartBody4053543969564511073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192182841,"filename":"image_03112025_09_54_36_3899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d180fa2d5409529c67a9c6906473596.jpg","text":"TemporaryFile(/tmp/multipartBody6960774193798265706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192182841,"filename":"image_03112025_09_54_24_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/3/e9083fed12b5cfb23d5fc0169717ab12.jpg","text":"TemporaryFile(/tmp/multipartBody5005930963540424983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192182841,"filename":"image_03112025_09_54_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/3/f1e416f362608402456f06fbd272e5c0.jpg","text":"TemporaryFile(/tmp/multipartBody7966387087086591175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192182841,"filename":"image_03112025_09_54_20_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/3/799c81b799a529af7aa43d6d6bbcda14.jpg","text":"TemporaryFile(/tmp/multipartBody1367501533922162528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192182841,"filename":"image_03112025_09_54_26_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/3/6da92b45c9fb61e55477a11c53376d6a.jpg","text":"TemporaryFile(/tmp/multipartBody4753146871834675033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192182841,"filename":"image_03112025_09_54_29_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392112733","file1":"1392112731","file0":"1392112730","file4":"1392112746","file5":"1392112781","file3":"1392112735"},"map_files_photo_id_array":[{"photo_id":"1392112781","filename":"file5"},{"photo_id":"1392112733","filename":"file2"},{"photo_id":"1392112746","filename":"file4"},{"photo_id":"1392112731","filename":"file1"},{"photo_id":"1392112730","filename":"file0"},{"photo_id":"1392112735","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392112746":["hashtag1","hashtag2"]},{"1392112731":["hashtag1","hashtag2"]},{"1392112781":["hashtag1","hashtag2"]},{"1392112730":["hashtag1","hashtag2"]},{"1392112733":["hashtag1","hashtag2"]},{"1392112735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392112746, 1392112731, 1392112781, 1392112730, 1392112733, 1392112735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.898988008499146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:49:22.233963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_41_2695.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_44_2621.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_48_3783.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_50_2645.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_53_2723.jpg', '/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_57_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_41_2695.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_44_2621.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_48_3783.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_50_2645.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_53_2723.jpg
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_57_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392112957","1392112986","1392112994","1392113024","1392113012","1392112964"],"photo_ids_order":["1392112957","1392112964","1392112986","1392112994","1392113012","1392113024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a72fcc36783c54c819fb7cfd2f2f65f7.jpg","text":"TemporaryFile(/tmp/multipartBody8289879679812307514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192223162,"filename":"image_03112025_09_54_41_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be808edeb96a70e8f8eb01449ff69d6b.jpg","text":"TemporaryFile(/tmp/multipartBody5089631553617820094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192223162,"filename":"image_03112025_09_54_48_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/3/8e30131839e3455673f87b5c313f9b64.jpg","text":"TemporaryFile(/tmp/multipartBody5469229076102235096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192223162,"filename":"image_03112025_09_54_50_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/3/ba386b705136edddfbe9a83cbe378988.jpg","text":"TemporaryFile(/tmp/multipartBody5000685311363060442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192223162,"filename":"image_03112025_09_54_57_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/3/5ffa6eaab7fff2f16b49b85c486a66c7.jpg","text":"TemporaryFile(/tmp/multipartBody5388889174171686221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192223162,"filename":"image_03112025_09_54_53_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/286300fd17b4726e5699b4b8bee526cb.jpg","text":"TemporaryFile(/tmp/multipartBody9136318993515892500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192223162,"filename":"image_03112025_09_54_44_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392112986","file1":"1392112964","file0":"1392112957","file4":"1392113012","file5":"1392113024","file3":"1392112994"},"map_files_photo_id_array":[{"photo_id":"1392113024","filename":"file5"},{"photo_id":"1392112986","filename":"file2"},{"photo_id":"1392113012","filename":"file4"},{"photo_id":"1392112964","filename":"file1"},{"photo_id":"1392112957","filename":"file0"},{"photo_id":"1392112994","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392112957":["hashtag1","hashtag2"]},{"1392112986":["hashtag1","hashtag2"]},{"1392112994":["hashtag1","hashtag2"]},{"1392113024":["hashtag1","hashtag2"]},{"1392113012":["hashtag1","hashtag2"]},{"1392112964":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392112957, 1392112986, 1392112994, 1392113024, 1392113012, 1392112964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05298638343811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:50:02.815406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_59_2767.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_02_2615.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_06_3618.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_08_2135.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_11_3633.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_14_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/54/image_03112025_09_54_59_2767.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_02_2615.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_06_3618.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_08_2135.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_11_3633.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_14_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392113196","1392113256","1392113157","1392113228","1392113224","1392113248"],"photo_ids_order":["1392113157","1392113196","1392113224","1392113228","1392113248","1392113256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/15c6096ce8122c4fe562246b6b99253d.jpg","text":"TemporaryFile(/tmp/multipartBody8155340825510737263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192263769,"filename":"image_03112025_09_55_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/3/d26070b6167781cac26997704a3748f0.jpg","text":"TemporaryFile(/tmp/multipartBody1479247834803498194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192263769,"filename":"image_03112025_09_55_14_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/3/6372cfca48a1b18d6d63d76eff2c9c4b.jpg","text":"TemporaryFile(/tmp/multipartBody2237960861352583549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192263769,"filename":"image_03112025_09_54_59_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/3/2ce8f68c4da3f04dcb6dab8b37727cdb.jpg","text":"TemporaryFile(/tmp/multipartBody6274561243842730007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192263769,"filename":"image_03112025_09_55_08_2135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf15ec3ffc00520d203fc49e45c326d1.jpg","text":"TemporaryFile(/tmp/multipartBody7529378630361888685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192263769,"filename":"image_03112025_09_55_06_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/209905d4fbfcde14f67e6cb51e937b25.jpg","text":"TemporaryFile(/tmp/multipartBody5702729161649015064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192263769,"filename":"image_03112025_09_55_11_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392113224","file1":"1392113196","file0":"1392113157","file4":"1392113248","file5":"1392113256","file3":"1392113228"},"map_files_photo_id_array":[{"photo_id":"1392113256","filename":"file5"},{"photo_id":"1392113224","filename":"file2"},{"photo_id":"1392113248","filename":"file4"},{"photo_id":"1392113196","filename":"file1"},{"photo_id":"1392113157","filename":"file0"},{"photo_id":"1392113228","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392113196":["hashtag1","hashtag2"]},{"1392113256":["hashtag1","hashtag2"]},{"1392113157":["hashtag1","hashtag2"]},{"1392113228":["hashtag1","hashtag2"]},{"1392113224":["hashtag1","hashtag2"]},{"1392113248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392113196, 1392113256, 1392113157, 1392113228, 1392113224, 1392113248)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.95254135131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:51:03.343171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_17_2811.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_21_3606.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_23_2541.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_26_2770.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_29_3606.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_32_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_17_2811.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_21_3606.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_23_2541.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_26_2770.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_29_3606.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_32_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":["1392113286","1392113271","1392113289","1392113274","1392113282","1392113278"],"photo_ids_order":["1392113271","1392113274","1392113278","1392113282","1392113286","1392113289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56b2a39fee99f77d1ada57e96b744fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7794616938411997604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192324253,"filename":"image_03112025_09_55_29_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0443163be9e7c1bfdc5c2ec4acf984a7.jpg","text":"TemporaryFile(/tmp/multipartBody7086567262604837585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192324253,"filename":"image_03112025_09_55_17_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7c4d5bdff147ca56cf08150feffc44eb.jpg","text":"TemporaryFile(/tmp/multipartBody2126477357914966928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192324253,"filename":"image_03112025_09_55_32_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/3/85d91bd8228636ac2b99acc20ce318a5.jpg","text":"TemporaryFile(/tmp/multipartBody2343803431152785529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192324253,"filename":"image_03112025_09_55_21_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/3/0301f4cab13ee0588e8e9c2bb8e8aba4.jpg","text":"TemporaryFile(/tmp/multipartBody8708169733508382850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192324253,"filename":"image_03112025_09_55_26_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/3/14172d2c64c183de34be2f4ed23a5996.jpg","text":"TemporaryFile(/tmp/multipartBody6650554189994744227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192324253,"filename":"image_03112025_09_55_23_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392113278","file1":"1392113274","file0":"1392113271","file4":"1392113286","file5":"1392113289","file3":"1392113282"},"map_files_photo_id_array":[{"photo_id":"1392113289","filename":"file5"},{"photo_id":"1392113278","filename":"file2"},{"photo_id":"1392113286","filename":"file4"},{"photo_id":"1392113274","filename":"file1"},{"photo_id":"1392113271","filename":"file0"},{"photo_id":"1392113282","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392113286":["hashtag1","hashtag2"]},{"1392113271":["hashtag1","hashtag2"]},{"1392113289":["hashtag1","hashtag2"]},{"1392113274":["hashtag1","hashtag2"]},{"1392113282":["hashtag1","hashtag2"]},{"1392113278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392113286, 1392113271, 1392113289, 1392113274, 1392113282, 1392113278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06999754905701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:52:03.113810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_35_2524.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_38_3682.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_41_2666.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_44_2713.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_47_3646.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_51_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_35_2524.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_38_3682.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_41_2666.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_44_2713.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_47_3646.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_51_3755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392113334","1392113328","1392113337","1392113325","1392113304","1392113307"],"photo_ids_order":["1392113304","1392113307","1392113325","1392113328","1392113334","1392113337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cbb4b4ad39443971310e27a1cf178227.jpg","text":"TemporaryFile(/tmp/multipartBody223308843410500338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192383970,"filename":"image_03112025_09_55_47_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/3/77006d841b8664f50a683206688556d7.jpg","text":"TemporaryFile(/tmp/multipartBody4890537265588491651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192383970,"filename":"image_03112025_09_55_44_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9d096d01bb9ef4dad6d0794bf78bec44.jpg","text":"TemporaryFile(/tmp/multipartBody5858409593108795386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192383970,"filename":"image_03112025_09_55_51_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/3/37215e91145584453c4904200222f17d.jpg","text":"TemporaryFile(/tmp/multipartBody1074437900706341481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192383970,"filename":"image_03112025_09_55_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/3/044b9a70149fb94551c0fd854df73ed2.jpg","text":"TemporaryFile(/tmp/multipartBody269687597835322214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192383970,"filename":"image_03112025_09_55_35_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/3/123cd87b0ab3e3da387bd48a538a416c.jpg","text":"TemporaryFile(/tmp/multipartBody4772563641564681689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192383970,"filename":"image_03112025_09_55_38_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392113325","file1":"1392113307","file0":"1392113304","file4":"1392113334","file5":"1392113337","file3":"1392113328"},"map_files_photo_id_array":[{"photo_id":"1392113337","filename":"file5"},{"photo_id":"1392113325","filename":"file2"},{"photo_id":"1392113334","filename":"file4"},{"photo_id":"1392113307","filename":"file1"},{"photo_id":"1392113304","filename":"file0"},{"photo_id":"1392113328","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392113334":["hashtag1","hashtag2"]},{"1392113328":["hashtag1","hashtag2"]},{"1392113337":["hashtag1","hashtag2"]},{"1392113325":["hashtag1","hashtag2"]},{"1392113304":["hashtag1","hashtag2"]},{"1392113307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392113334, 1392113328, 1392113337, 1392113325, 1392113304, 1392113307)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.998528480529785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:53:03.403082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_53_1525.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_57_4283.jpg', '/home/pi/Desktop/images/03112025/09/55/image_03112025_09_56_00_2580.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_02_2573.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_05_2779.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_09_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_53_1525.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_55_57_4283.jpg
/home/pi/Desktop/images/03112025/09/55/image_03112025_09_56_00_2580.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_02_2573.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_05_2779.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_09_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392113426","1392113435","1392113440","1392113437","1392113431","1392113410"],"photo_ids_order":["1392113410","1392113426","1392113431","1392113435","1392113437","1392113440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7481069501c65af0e3fdf93e903203a1.jpg","text":"TemporaryFile(/tmp/multipartBody5724699805493119528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192444450,"filename":"image_03112025_09_55_57_4283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/43541b0ebc473edc3dd9c55341fbbf04.jpg","text":"TemporaryFile(/tmp/multipartBody1396581698373964075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192444450,"filename":"image_03112025_09_56_02_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/3/2a5b1a7cb542872b49de330c756349c3.jpg","text":"TemporaryFile(/tmp/multipartBody130642627599782360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192444450,"filename":"image_03112025_09_56_09_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/3/fd41dc17f76095d02891514993812639.jpg","text":"TemporaryFile(/tmp/multipartBody2834117427203551135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192444450,"filename":"image_03112025_09_56_05_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/847ac61be8c57430b63b8bc63e0aba0d.jpg","text":"TemporaryFile(/tmp/multipartBody9151223424770173376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192444450,"filename":"image_03112025_09_56_00_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/3/373970fe1f3e4266c25f3401351d4ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1626572775357092749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192444450,"filename":"image_03112025_09_55_53_1525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392113431","file1":"1392113426","file0":"1392113410","file4":"1392113437","file5":"1392113440","file3":"1392113435"},"map_files_photo_id_array":[{"photo_id":"1392113440","filename":"file5"},{"photo_id":"1392113431","filename":"file2"},{"photo_id":"1392113437","filename":"file4"},{"photo_id":"1392113426","filename":"file1"},{"photo_id":"1392113410","filename":"file0"},{"photo_id":"1392113435","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392113426":["hashtag1","hashtag2"]},{"1392113435":["hashtag1","hashtag2"]},{"1392113440":["hashtag1","hashtag2"]},{"1392113437":["hashtag1","hashtag2"]},{"1392113431":["hashtag1","hashtag2"]},{"1392113410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392113426, 1392113435, 1392113440, 1392113437, 1392113431, 1392113410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.463913917541504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:53:42.792610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_11_2587.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_14_2878.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_17_2703.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_20_3667.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_23_2587.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_26_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_11_2587.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_14_2878.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_17_2703.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_20_3667.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_23_2587.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_26_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392113460","1392113454","1392113456","1392113459","1392113450","1392113458"],"photo_ids_order":["1392113450","1392113454","1392113456","1392113458","1392113459","1392113460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6830a7374f9bb0973dc0ae479fc6295e.jpg","text":"TemporaryFile(/tmp/multipartBody1092546805978186922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192484167,"filename":"image_03112025_09_56_26_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/3/38b2b94ad26bb16b78b6aede937a7694.jpg","text":"TemporaryFile(/tmp/multipartBody1416910742684506293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192484167,"filename":"image_03112025_09_56_14_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/3/d7621bfd5b318af99781e267ecd7990e.jpg","text":"TemporaryFile(/tmp/multipartBody3360301373817365637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192484167,"filename":"image_03112025_09_56_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/3/f908642d30fca8c8a20619b8999ec0ce.jpg","text":"TemporaryFile(/tmp/multipartBody6796847073984965784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192484167,"filename":"image_03112025_09_56_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/3/722493a2eeacd44a3dc54e9107ece39a.jpg","text":"TemporaryFile(/tmp/multipartBody8786739026669692844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192484167,"filename":"image_03112025_09_56_11_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b937712ef0e833c156e2d7fc38ce4cc.jpg","text":"TemporaryFile(/tmp/multipartBody1590959356970268694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192484167,"filename":"image_03112025_09_56_20_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392113456","file1":"1392113454","file0":"1392113450","file4":"1392113459","file5":"1392113460","file3":"1392113458"},"map_files_photo_id_array":[{"photo_id":"1392113460","filename":"file5"},{"photo_id":"1392113456","filename":"file2"},{"photo_id":"1392113459","filename":"file4"},{"photo_id":"1392113454","filename":"file1"},{"photo_id":"1392113450","filename":"file0"},{"photo_id":"1392113458","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392113460":["hashtag1","hashtag2"]},{"1392113454":["hashtag1","hashtag2"]},{"1392113456":["hashtag1","hashtag2"]},{"1392113459":["hashtag1","hashtag2"]},{"1392113450":["hashtag1","hashtag2"]},{"1392113458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392113460, 1392113454, 1392113456, 1392113459, 1392113450, 1392113458)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.067734718322754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:55:02.856930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_29_3784.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_32_2750.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_35_2714.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_38_3538.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_41_2635.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_47_5560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_29_3784.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_32_2750.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_35_2714.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_38_3538.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_41_2635.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_47_5560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392113490","1392113502","1392113505","1392113498","1392113510","1392113494"],"photo_ids_order":["1392113490","1392113494","1392113498","1392113502","1392113505","1392113510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc2c5ec23c6d72361696e8c07dc26698.jpg","text":"TemporaryFile(/tmp/multipartBody4397046485045129498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192563847,"filename":"image_03112025_09_56_29_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/3/5bf1ebcca36f852beef3dc4f1aaa4577.jpg","text":"TemporaryFile(/tmp/multipartBody6754510670522194901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192563847,"filename":"image_03112025_09_56_38_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/3/5caa06ced8afd20c18511444e69efaf2.jpg","text":"TemporaryFile(/tmp/multipartBody943740884669315733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192563847,"filename":"image_03112025_09_56_41_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/3/f986e14678725c2ee0a400a5b3ffb4d7.jpg","text":"TemporaryFile(/tmp/multipartBody8563346720432424813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192563847,"filename":"image_03112025_09_56_35_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/947a9c161e4bc9acddb3cbb65fd5ed4b.jpg","text":"TemporaryFile(/tmp/multipartBody2601328679830468102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192563847,"filename":"image_03112025_09_56_47_5560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dbbebb035a3fab44965ccb4f1f5217c9.jpg","text":"TemporaryFile(/tmp/multipartBody7028799504372669849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192563847,"filename":"image_03112025_09_56_32_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392113498","file1":"1392113494","file0":"1392113490","file4":"1392113505","file5":"1392113510","file3":"1392113502"},"map_files_photo_id_array":[{"photo_id":"1392113510","filename":"file5"},{"photo_id":"1392113498","filename":"file2"},{"photo_id":"1392113505","filename":"file4"},{"photo_id":"1392113494","filename":"file1"},{"photo_id":"1392113490","filename":"file0"},{"photo_id":"1392113502","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392113490":["hashtag1","hashtag2"]},{"1392113502":["hashtag1","hashtag2"]},{"1392113505":["hashtag1","hashtag2"]},{"1392113498":["hashtag1","hashtag2"]},{"1392113510":["hashtag1","hashtag2"]},{"1392113494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392113490, 1392113502, 1392113505, 1392113498, 1392113510, 1392113494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36435627937317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:55:42.251431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_48_1711.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_50_1610.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_53_3586.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_56_2863.jpg', '/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_59_2675.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_02_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_48_1711.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_50_1610.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_53_3586.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_56_2863.jpg
/home/pi/Desktop/images/03112025/09/56/image_03112025_09_56_59_2675.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_02_2540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392113547","1392113555","1392113549","1392113551","1392113533","1392113557"],"photo_ids_order":["1392113533","1392113547","1392113549","1392113551","1392113555","1392113557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/38c371ec151a81fd8ca04dfc8bed3614.jpg","text":"TemporaryFile(/tmp/multipartBody7946810059947797801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192610938,"filename":"image_03112025_09_56_50_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/3/c8c3b25c8270c5f4caf31346e6c36224.jpg","text":"TemporaryFile(/tmp/multipartBody721112357857858861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192610938,"filename":"image_03112025_09_56_59_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/3/bf4db3edad79b2143cc6abc8d8dd06c6.jpg","text":"TemporaryFile(/tmp/multipartBody3507050262890935311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192610938,"filename":"image_03112025_09_56_53_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3a9e4cbeb9f01a4a8b9a3672e96c897d.jpg","text":"TemporaryFile(/tmp/multipartBody1732809001885927863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192610938,"filename":"image_03112025_09_56_56_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/3/b3bdf052936be763d8404e52dfb24a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4715038994681767627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192610938,"filename":"image_03112025_09_56_48_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/3/b0c34308f57a926b2bc5f7d6e6b687e3.jpg","text":"TemporaryFile(/tmp/multipartBody6327650360040188274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192610938,"filename":"image_03112025_09_57_02_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392113549","file1":"1392113547","file0":"1392113533","file4":"1392113555","file5":"1392113557","file3":"1392113551"},"map_files_photo_id_array":[{"photo_id":"1392113557","filename":"file5"},{"photo_id":"1392113549","filename":"file2"},{"photo_id":"1392113555","filename":"file4"},{"photo_id":"1392113547","filename":"file1"},{"photo_id":"1392113533","filename":"file0"},{"photo_id":"1392113551","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392113547":["hashtag1","hashtag2"]},{"1392113555":["hashtag1","hashtag2"]},{"1392113549":["hashtag1","hashtag2"]},{"1392113551":["hashtag1","hashtag2"]},{"1392113533":["hashtag1","hashtag2"]},{"1392113557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392113547, 1392113555, 1392113549, 1392113551, 1392113533, 1392113557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.517406940460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 18:56:42.506113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_05_3559.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_08_2827.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_10_2586.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_14_3796.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_17_2883.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_20_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_05_3559.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_08_2827.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_10_2586.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_14_3796.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_17_2883.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_20_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392113877","1392113910","1392113840","1392113762","1392113717","1392113803"],"photo_ids_order":["1392113717","1392113762","1392113803","1392113840","1392113877","1392113910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d9c4e4827e5cc6f2003b814b351c2642.jpg","text":"TemporaryFile(/tmp/multipartBody3439370666936197214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192663362,"filename":"image_03112025_09_57_17_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b58155199fa76e173aa34124b4f37fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5894001422858453772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192663362,"filename":"image_03112025_09_57_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/3/c78aaa93d6e78865dca0e4eb8574d7a3.jpg","text":"TemporaryFile(/tmp/multipartBody4614425998385791537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192663362,"filename":"image_03112025_09_57_14_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/3/5d69a42f3d4374925762987d02c5329c.jpg","text":"TemporaryFile(/tmp/multipartBody6516632835158482085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192663362,"filename":"image_03112025_09_57_08_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/22995ae6ab5f6d4671050be15fb23107.jpg","text":"TemporaryFile(/tmp/multipartBody1883932901026049945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192663362,"filename":"image_03112025_09_57_05_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/3/ec44c61291d460aab10908a171eafd64.jpg","text":"TemporaryFile(/tmp/multipartBody4315441378865137839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192663362,"filename":"image_03112025_09_57_10_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392113803","file1":"1392113762","file0":"1392113717","file4":"1392113877","file5":"1392113910","file3":"1392113840"},"map_files_photo_id_array":[{"photo_id":"1392113910","filename":"file5"},{"photo_id":"1392113803","filename":"file2"},{"photo_id":"1392113877","filename":"file4"},{"photo_id":"1392113762","filename":"file1"},{"photo_id":"1392113717","filename":"file0"},{"photo_id":"1392113840","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392113877":["hashtag1","hashtag2"]},{"1392113910":["hashtag1","hashtag2"]},{"1392113840":["hashtag1","hashtag2"]},{"1392113762":["hashtag1","hashtag2"]},{"1392113717":["hashtag1","hashtag2"]},{"1392113803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392113877, 1392113910, 1392113840, 1392113762, 1392113717, 1392113803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43091702461243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 18:57:22.744444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_23_2673.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_26_3686.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_29_2627.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_32_2761.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_35_3560.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_38_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_23_2673.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_26_3686.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_29_2627.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_32_2761.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_35_3560.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_38_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392114030","1392113993","1392113990","1392113963","1392113986","1392114051"],"photo_ids_order":["1392113963","1392113986","1392113990","1392113993","1392114030","1392114051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2ef9e25170df11212a5e561be91f6c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2486146359941910620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192703557,"filename":"image_03112025_09_57_35_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/3/50f9d66427ef3d4d4b3b0ee40d227795.jpg","text":"TemporaryFile(/tmp/multipartBody1659376615162655126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192703557,"filename":"image_03112025_09_57_32_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36c7641c74dcdda98445312817c39643.jpg","text":"TemporaryFile(/tmp/multipartBody7947367437614566135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192703557,"filename":"image_03112025_09_57_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/3/3db765e418c3a3715fbe6a427d24e912.jpg","text":"TemporaryFile(/tmp/multipartBody7982046720578873850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192703557,"filename":"image_03112025_09_57_23_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/3/153d7b2f1f9c758ed357301befd860ac.jpg","text":"TemporaryFile(/tmp/multipartBody2384963441833383677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192703557,"filename":"image_03112025_09_57_26_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f8df05c96d8bb73b3b1608e59f48febe.jpg","text":"TemporaryFile(/tmp/multipartBody342427400166627265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192703557,"filename":"image_03112025_09_57_38_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392113990","file1":"1392113986","file0":"1392113963","file4":"1392114030","file5":"1392114051","file3":"1392113993"},"map_files_photo_id_array":[{"photo_id":"1392114051","filename":"file5"},{"photo_id":"1392113990","filename":"file2"},{"photo_id":"1392114030","filename":"file4"},{"photo_id":"1392113986","filename":"file1"},{"photo_id":"1392113963","filename":"file0"},{"photo_id":"1392113993","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392114030":["hashtag1","hashtag2"]},{"1392113993":["hashtag1","hashtag2"]},{"1392113990":["hashtag1","hashtag2"]},{"1392113963":["hashtag1","hashtag2"]},{"1392113986":["hashtag1","hashtag2"]},{"1392114051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392114030, 1392113993, 1392113990, 1392113963, 1392113986, 1392114051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34392070770264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 18:59:02.496871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_41_3025.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_43_2746.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_47_3057.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_50_3711.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_53_2660.jpg', '/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_56_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_41_3025.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_43_2746.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_47_3057.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_50_3711.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_53_2660.jpg
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_56_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392114402","1392114397","1392114376","1392114355","1392114393","1392114366"],"photo_ids_order":["1392114355","1392114366","1392114376","1392114393","1392114397","1392114402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f1a124896a40c4ed674f37320f09ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5950808736904938796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192804532,"filename":"image_03112025_09_57_56_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/3/0d88861be9d1b7528d9fddcb28e202fa.jpg","text":"TemporaryFile(/tmp/multipartBody1648559782201381773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192804532,"filename":"image_03112025_09_57_53_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/13f3367893763442e9c81ade81ae896a.jpg","text":"TemporaryFile(/tmp/multipartBody4073803640724344324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192804532,"filename":"image_03112025_09_57_47_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/3/3378be54b2ba55b5414cbb9d713e07f9.jpg","text":"TemporaryFile(/tmp/multipartBody7957984549547786642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192804532,"filename":"image_03112025_09_57_41_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/3/eb416e9031fd1cbdd62d72b7582586b4.jpg","text":"TemporaryFile(/tmp/multipartBody265991302272886474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192804532,"filename":"image_03112025_09_57_50_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/3/53203ce90bbc784dabea2622fe2c5038.jpg","text":"TemporaryFile(/tmp/multipartBody3234325045612649631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192804532,"filename":"image_03112025_09_57_43_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392114376","file1":"1392114366","file0":"1392114355","file4":"1392114397","file5":"1392114402","file3":"1392114393"},"map_files_photo_id_array":[{"photo_id":"1392114402","filename":"file5"},{"photo_id":"1392114376","filename":"file2"},{"photo_id":"1392114397","filename":"file4"},{"photo_id":"1392114366","filename":"file1"},{"photo_id":"1392114355","filename":"file0"},{"photo_id":"1392114393","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392114402":["hashtag1","hashtag2"]},{"1392114397":["hashtag1","hashtag2"]},{"1392114376":["hashtag1","hashtag2"]},{"1392114355":["hashtag1","hashtag2"]},{"1392114393":["hashtag1","hashtag2"]},{"1392114366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392114402, 1392114397, 1392114376, 1392114355, 1392114393, 1392114366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34494471549988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:00:02.606504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_58_2701.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_02_3688.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_05_2546.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_08_3599.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_11_2681.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_14_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/57/image_03112025_09_57_58_2701.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_02_3688.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_05_2546.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_08_3599.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_11_2681.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_14_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392114432","1392114416","1392114419","1392114428","1392114436","1392114423"],"photo_ids_order":["1392114416","1392114419","1392114423","1392114428","1392114432","1392114436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f75f511d4a6ac3de82f861b7ad741e84.jpg","text":"TemporaryFile(/tmp/multipartBody3393086909757031413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192863454,"filename":"image_03112025_09_58_11_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/271557348b3eed4a13973c8047d79c11.jpg","text":"TemporaryFile(/tmp/multipartBody6475535181525753686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192863454,"filename":"image_03112025_09_57_58_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/3/2f565a66cb8c160ace40a998d882199c.jpg","text":"TemporaryFile(/tmp/multipartBody8572863859641309009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192863454,"filename":"image_03112025_09_58_02_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1a886dd4726bc8da5964c6c03b0db450.jpg","text":"TemporaryFile(/tmp/multipartBody4320647425054574516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192863454,"filename":"image_03112025_09_58_08_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/00cf9d55772c5f751765ecba3c7c40ea.jpg","text":"TemporaryFile(/tmp/multipartBody4868387285473044893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192863454,"filename":"image_03112025_09_58_14_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/3/dd414c0284a4c62501a8b48aacea27b0.jpg","text":"TemporaryFile(/tmp/multipartBody5261647830645075337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192863454,"filename":"image_03112025_09_58_05_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392114423","file1":"1392114419","file0":"1392114416","file4":"1392114432","file5":"1392114436","file3":"1392114428"},"map_files_photo_id_array":[{"photo_id":"1392114436","filename":"file5"},{"photo_id":"1392114423","filename":"file2"},{"photo_id":"1392114432","filename":"file4"},{"photo_id":"1392114419","filename":"file1"},{"photo_id":"1392114416","filename":"file0"},{"photo_id":"1392114428","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392114432":["hashtag1","hashtag2"]},{"1392114416":["hashtag1","hashtag2"]},{"1392114419":["hashtag1","hashtag2"]},{"1392114428":["hashtag1","hashtag2"]},{"1392114436":["hashtag1","hashtag2"]},{"1392114423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392114432, 1392114416, 1392114419, 1392114428, 1392114436, 1392114423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.709558963775635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:00:42.056509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_17_3560.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_20_2639.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_22_2596.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_26_3578.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_29_2687.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_32_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_17_3560.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_20_2639.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_22_2596.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_26_3578.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_29_2687.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_32_3684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392114449","1392114446","1392114451","1392114448","1392114442","1392114444"],"photo_ids_order":["1392114442","1392114444","1392114446","1392114448","1392114449","1392114451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40fd71e4c19de116f17ebddda4e42411.jpg","text":"TemporaryFile(/tmp/multipartBody8862321744745523082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192902879,"filename":"image_03112025_09_58_29_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/263170f01a8a912d87a3dc8b61382f76.jpg","text":"TemporaryFile(/tmp/multipartBody1452068189021574395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192902879,"filename":"image_03112025_09_58_22_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/3/b72001f03010520fc6b6cf13ccafca42.jpg","text":"TemporaryFile(/tmp/multipartBody673397322080293411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192902879,"filename":"image_03112025_09_58_32_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/3/3c335ea34581bb1e84d5d76752a48e88.jpg","text":"TemporaryFile(/tmp/multipartBody6332010795104668869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192902879,"filename":"image_03112025_09_58_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/3/3bdd3846a8f926571f745087a2280a55.jpg","text":"TemporaryFile(/tmp/multipartBody8951029868970901526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192902879,"filename":"image_03112025_09_58_17_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/3/5cdbd33bfb42738b70b4711ec2f4769e.jpg","text":"TemporaryFile(/tmp/multipartBody7998794478934125899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192902879,"filename":"image_03112025_09_58_20_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392114446","file1":"1392114444","file0":"1392114442","file4":"1392114449","file5":"1392114451","file3":"1392114448"},"map_files_photo_id_array":[{"photo_id":"1392114451","filename":"file5"},{"photo_id":"1392114446","filename":"file2"},{"photo_id":"1392114449","filename":"file4"},{"photo_id":"1392114444","filename":"file1"},{"photo_id":"1392114442","filename":"file0"},{"photo_id":"1392114448","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392114449":["hashtag1","hashtag2"]},{"1392114446":["hashtag1","hashtag2"]},{"1392114451":["hashtag1","hashtag2"]},{"1392114448":["hashtag1","hashtag2"]},{"1392114442":["hashtag1","hashtag2"]},{"1392114444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392114449, 1392114446, 1392114451, 1392114448, 1392114442, 1392114444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56621074676514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:01:22.258970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_34_2212.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_38_3750.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_41_2832.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_44_2550.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_47_3553.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_50_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_34_2212.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_38_3750.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_41_2832.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_44_2550.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_47_3553.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_50_2528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392114510","1392114473","1392114475","1392114500","1392114469","1392114508"],"photo_ids_order":["1392114469","1392114473","1392114475","1392114500","1392114508","1392114510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/579de411778a5d2b009b5ad2f7051e7c.jpg","text":"TemporaryFile(/tmp/multipartBody6630853242520262767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192943171,"filename":"image_03112025_09_58_50_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/3/2db71692ec0450ee0233ed1885bf0860.jpg","text":"TemporaryFile(/tmp/multipartBody293897107363801955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192943171,"filename":"image_03112025_09_58_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/3/ac0ffca399faeccf0a4ed66a112499a2.jpg","text":"TemporaryFile(/tmp/multipartBody2646141976974226138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192943171,"filename":"image_03112025_09_58_41_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/3/e835d00444a40d3075f5baadcdd1f5c5.jpg","text":"TemporaryFile(/tmp/multipartBody5560832930348386641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192943171,"filename":"image_03112025_09_58_44_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/3/0a4f978e8f49382eebd4a9859105a704.jpg","text":"TemporaryFile(/tmp/multipartBody8788498262510506082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192943171,"filename":"image_03112025_09_58_34_2212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36e50931b897f3a5e26ffcd2b4da7437.jpg","text":"TemporaryFile(/tmp/multipartBody3680522466946000707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192943171,"filename":"image_03112025_09_58_47_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392114475","file1":"1392114473","file0":"1392114469","file4":"1392114508","file5":"1392114510","file3":"1392114500"},"map_files_photo_id_array":[{"photo_id":"1392114510","filename":"file5"},{"photo_id":"1392114475","filename":"file2"},{"photo_id":"1392114508","filename":"file4"},{"photo_id":"1392114473","filename":"file1"},{"photo_id":"1392114469","filename":"file0"},{"photo_id":"1392114500","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392114510":["hashtag1","hashtag2"]},{"1392114473":["hashtag1","hashtag2"]},{"1392114475":["hashtag1","hashtag2"]},{"1392114500":["hashtag1","hashtag2"]},{"1392114469":["hashtag1","hashtag2"]},{"1392114508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392114510, 1392114473, 1392114475, 1392114500, 1392114469, 1392114508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91765475273132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:02:02.969503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_52_2649.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_56_3618.jpg', '/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_58_2541.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_02_3646.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_05_2620.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_07_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_52_2649.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_56_3618.jpg
/home/pi/Desktop/images/03112025/09/58/image_03112025_09_58_58_2541.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_02_3646.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_05_2620.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_07_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392114554","1392114626","1392114611","1392114561","1392114636","1392114537"],"photo_ids_order":["1392114537","1392114554","1392114561","1392114611","1392114626","1392114636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/334830cff6bbf37e4a8f9ff61d6f3f08.jpg","text":"TemporaryFile(/tmp/multipartBody5720655089327853411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192983799,"filename":"image_03112025_09_58_56_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/3/c4334b6bc5e89d6149a2111a4376b0b4.jpg","text":"TemporaryFile(/tmp/multipartBody7500450925857438216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192983799,"filename":"image_03112025_09_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/3/6ba6bc6f2711b34a49413f3db9e9c1ac.jpg","text":"TemporaryFile(/tmp/multipartBody5653590894465468022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192983799,"filename":"image_03112025_09_59_02_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/3/c69a78603e8233d92352bf742fa78c19.jpg","text":"TemporaryFile(/tmp/multipartBody7857759035105547304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192983799,"filename":"image_03112025_09_58_58_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/3/15711336b10099a19f69a9061081263a.jpg","text":"TemporaryFile(/tmp/multipartBody8826352522390628045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192983799,"filename":"image_03112025_09_59_07_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/3/2e11420ffb21247f29fa30b2279fa37f.jpg","text":"TemporaryFile(/tmp/multipartBody8273573408115913295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762192983799,"filename":"image_03112025_09_58_52_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392114561","file1":"1392114554","file0":"1392114537","file4":"1392114626","file5":"1392114636","file3":"1392114611"},"map_files_photo_id_array":[{"photo_id":"1392114636","filename":"file5"},{"photo_id":"1392114561","filename":"file2"},{"photo_id":"1392114626","filename":"file4"},{"photo_id":"1392114554","filename":"file1"},{"photo_id":"1392114537","filename":"file0"},{"photo_id":"1392114611","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392114554":["hashtag1","hashtag2"]},{"1392114626":["hashtag1","hashtag2"]},{"1392114611":["hashtag1","hashtag2"]},{"1392114561":["hashtag1","hashtag2"]},{"1392114636":["hashtag1","hashtag2"]},{"1392114537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392114554, 1392114626, 1392114611, 1392114561, 1392114636, 1392114537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66498923301697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:02:42.361794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_11_3560.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_14_2781.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_16_2641.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_20_3732.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_23_2715.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_26_3160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_11_3560.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_14_2781.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_16_2641.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_20_3732.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_23_2715.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_26_3160.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392114887","1392114804","1392114977","1392114731","1392114940","1392114844"],"photo_ids_order":["1392114731","1392114804","1392114844","1392114887","1392114940","1392114977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4539f344cb72f6098532d368a9abf154.jpg","text":"TemporaryFile(/tmp/multipartBody3417846186425970965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193023187,"filename":"image_03112025_09_59_20_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/3/644ebaac700f48dc2f91520471565174.jpg","text":"TemporaryFile(/tmp/multipartBody2966378891330720195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193023187,"filename":"image_03112025_09_59_14_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/3/bb0682a8b5cacefa3d2e3504532aa79d.jpg","text":"TemporaryFile(/tmp/multipartBody4724178009246912924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193023187,"filename":"image_03112025_09_59_26_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/3/d0093078479de553ffd18caa558a573e.jpg","text":"TemporaryFile(/tmp/multipartBody2977120226708630409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193023187,"filename":"image_03112025_09_59_11_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/3/c62d85eff3b9dda70161ca6a43c1ee27.jpg","text":"TemporaryFile(/tmp/multipartBody7742940762532602781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193023187,"filename":"image_03112025_09_59_23_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/de358942efd859d5a8873ade345b2177.jpg","text":"TemporaryFile(/tmp/multipartBody208347297450631025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193023187,"filename":"image_03112025_09_59_16_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392114844","file1":"1392114804","file0":"1392114731","file4":"1392114940","file5":"1392114977","file3":"1392114887"},"map_files_photo_id_array":[{"photo_id":"1392114977","filename":"file5"},{"photo_id":"1392114844","filename":"file2"},{"photo_id":"1392114940","filename":"file4"},{"photo_id":"1392114804","filename":"file1"},{"photo_id":"1392114731","filename":"file0"},{"photo_id":"1392114887","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392114887":["hashtag1","hashtag2"]},{"1392114804":["hashtag1","hashtag2"]},{"1392114977":["hashtag1","hashtag2"]},{"1392114731":["hashtag1","hashtag2"]},{"1392114940":["hashtag1","hashtag2"]},{"1392114844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392114887, 1392114804, 1392114977, 1392114731, 1392114940, 1392114844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.227869749069214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:03:22.662620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_29_2682.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_32_3372.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_35_2674.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_37_2638.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_40_2815.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_44_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_29_2682.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_32_3372.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_35_2674.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_37_2638.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_40_2815.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_44_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392115328","1392115262","1392115229","1392115165","1392115368","1392115404"],"photo_ids_order":["1392115165","1392115229","1392115262","1392115328","1392115368","1392115404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/052aaf2bf2ccfd9e4955af5652a46226.jpg","text":"TemporaryFile(/tmp/multipartBody3555062421082473262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193064979,"filename":"image_03112025_09_59_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/3/fb45ee65ccff6d086508b12809801e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4265882838813930062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193064979,"filename":"image_03112025_09_59_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/3/9b26b2f8de84ea3bba0e8e0eaac22b63.jpg","text":"TemporaryFile(/tmp/multipartBody7955333613422180064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193064979,"filename":"image_03112025_09_59_32_3372.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7059c6b76d2a8464c404ed4b97e62b82.jpg","text":"TemporaryFile(/tmp/multipartBody607780274142598809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193064979,"filename":"image_03112025_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/3/31704043d4a94467178291d5e7ea25f9.jpg","text":"TemporaryFile(/tmp/multipartBody3741980869676640002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193064979,"filename":"image_03112025_09_59_40_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/3/7700c3f2e9f1c9ef00166b57b9de61d5.jpg","text":"TemporaryFile(/tmp/multipartBody5590934394644015946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193064979,"filename":"image_03112025_09_59_44_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392115262","file1":"1392115229","file0":"1392115165","file4":"1392115368","file5":"1392115404","file3":"1392115328"},"map_files_photo_id_array":[{"photo_id":"1392115404","filename":"file5"},{"photo_id":"1392115262","filename":"file2"},{"photo_id":"1392115368","filename":"file4"},{"photo_id":"1392115229","filename":"file1"},{"photo_id":"1392115165","filename":"file0"},{"photo_id":"1392115328","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392115328":["hashtag1","hashtag2"]},{"1392115262":["hashtag1","hashtag2"]},{"1392115229":["hashtag1","hashtag2"]},{"1392115165":["hashtag1","hashtag2"]},{"1392115368":["hashtag1","hashtag2"]},{"1392115404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392115328, 1392115262, 1392115229, 1392115165, 1392115368, 1392115404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42155051231384 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-03 19:04:21.917350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_47_3295.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_50_2712.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_53_2879.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_55_2679.jpg', '/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_59_3550.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_08_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_47_3295.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_50_2712.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_53_2879.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_55_2679.jpg
/home/pi/Desktop/images/03112025/09/59/image_03112025_09_59_59_3550.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_08_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392115781","1392115877","1392115865","1392115735","1392115915","1392115824"],"photo_ids_order":["1392115735","1392115781","1392115824","1392115865","1392115877","1392115915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f316007948c6ec5d3d293df94169b8c.jpg","text":"TemporaryFile(/tmp/multipartBody9132734781127765300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193122946,"filename":"image_03112025_09_59_50_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/3/91fb13d66a00afe5297b346406e82a12.jpg","text":"TemporaryFile(/tmp/multipartBody3591826832519189032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193122946,"filename":"image_03112025_09_59_59_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/3/29410ecd15f34b79f25b6730532f67f6.jpg","text":"TemporaryFile(/tmp/multipartBody2288549593543329367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193122946,"filename":"image_03112025_09_59_55_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/3/37cbb6fd38dd8fe596768c5359701238.jpg","text":"TemporaryFile(/tmp/multipartBody3275131065096680104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193122946,"filename":"image_03112025_09_59_47_3295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7405da70114f3dd11b959005d1bb15ae.jpg","text":"TemporaryFile(/tmp/multipartBody7353745517163333083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193122946,"filename":"image_03112025_10_00_08_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/3/61809bd003fcdaaa40396ffe8241ef23.jpg","text":"TemporaryFile(/tmp/multipartBody2193098658848171375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193122946,"filename":"image_03112025_09_59_53_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392115824","file1":"1392115781","file0":"1392115735","file4":"1392115877","file5":"1392115915","file3":"1392115865"},"map_files_photo_id_array":[{"photo_id":"1392115915","filename":"file5"},{"photo_id":"1392115824","filename":"file2"},{"photo_id":"1392115877","filename":"file4"},{"photo_id":"1392115781","filename":"file1"},{"photo_id":"1392115735","filename":"file0"},{"photo_id":"1392115865","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392115781":["hashtag1","hashtag2"]},{"1392115877":["hashtag1","hashtag2"]},{"1392115865":["hashtag1","hashtag2"]},{"1392115735":["hashtag1","hashtag2"]},{"1392115915":["hashtag1","hashtag2"]},{"1392115824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392115781, 1392115877, 1392115865, 1392115735, 1392115915, 1392115824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59420943260193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:05:03.097801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_12_3677.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_14_2719.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_17_2590.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_21_3654.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_23_2633.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_27_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_12_3677.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_14_2719.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_17_2590.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_21_3654.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_23_2633.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_27_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392116408","1392116491","1392116263","1392116185","1392116099","1392116330"],"photo_ids_order":["1392116099","1392116185","1392116263","1392116330","1392116408","1392116491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c47187299add47076d4d51405efd3759.jpg","text":"TemporaryFile(/tmp/multipartBody1704734996910824196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193163991,"filename":"image_03112025_10_00_23_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/3/2800d6dbb0d361bf0a55af142b4c6a12.jpg","text":"TemporaryFile(/tmp/multipartBody1637740798886710933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193163991,"filename":"image_03112025_10_00_27_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/376a8a3dc0f429a1cfeb402a44d1bb01.jpg","text":"TemporaryFile(/tmp/multipartBody5356645750355537741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193163991,"filename":"image_03112025_10_00_17_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/3/f8a1b551cb71f085e159dc2f0eda1663.jpg","text":"TemporaryFile(/tmp/multipartBody6274469191810388123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193163991,"filename":"image_03112025_10_00_14_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/3/1928ff7a29cfe0e63574b432d7c02311.jpg","text":"TemporaryFile(/tmp/multipartBody1299099550599747779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193163991,"filename":"image_03112025_10_00_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/3/e7d1fec0c8d08a185c97052133fc9228.jpg","text":"TemporaryFile(/tmp/multipartBody1193526065305741835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193163991,"filename":"image_03112025_10_00_21_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392116263","file1":"1392116185","file0":"1392116099","file4":"1392116408","file5":"1392116491","file3":"1392116330"},"map_files_photo_id_array":[{"photo_id":"1392116491","filename":"file5"},{"photo_id":"1392116263","filename":"file2"},{"photo_id":"1392116408","filename":"file4"},{"photo_id":"1392116185","filename":"file1"},{"photo_id":"1392116099","filename":"file0"},{"photo_id":"1392116330","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392116408":["hashtag1","hashtag2"]},{"1392116491":["hashtag1","hashtag2"]},{"1392116263":["hashtag1","hashtag2"]},{"1392116185":["hashtag1","hashtag2"]},{"1392116099":["hashtag1","hashtag2"]},{"1392116330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392116408, 1392116491, 1392116263, 1392116185, 1392116099, 1392116330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8775908946991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:05:42.163767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_30_2657.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_32_2826.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_36_3537.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_38_2523.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_41_2666.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_45_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_30_2657.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_32_2826.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_36_3537.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_38_2523.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_41_2666.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_45_3553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392116671","1392116971","1392117090","1392116737","1392116871","1392116808"],"photo_ids_order":["1392116671","1392116737","1392116808","1392116871","1392116971","1392117090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9894f0a052f79040f823dc6449b211fc.jpg","text":"TemporaryFile(/tmp/multipartBody1313529470881338502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193203014,"filename":"image_03112025_10_00_30_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/3/b16dd87e7da2ee466de54049ffe9ef3c.jpg","text":"TemporaryFile(/tmp/multipartBody5587066435033445645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193203014,"filename":"image_03112025_10_00_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/3/8f26118d39c3fda09e9e693792cfdf02.jpg","text":"TemporaryFile(/tmp/multipartBody2006158925951671897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193203014,"filename":"image_03112025_10_00_45_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/3/700f04092507a89a4711335aa2b13827.jpg","text":"TemporaryFile(/tmp/multipartBody8007918577795031544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193203014,"filename":"image_03112025_10_00_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/3/47c5d2350c29340ef6cd4b00a4277293.jpg","text":"TemporaryFile(/tmp/multipartBody5903605528998122909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193203014,"filename":"image_03112025_10_00_38_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/3/f989652741ea67907ff92114aad5e82b.jpg","text":"TemporaryFile(/tmp/multipartBody9084256792245367212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193203014,"filename":"image_03112025_10_00_36_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392116808","file1":"1392116737","file0":"1392116671","file4":"1392116971","file5":"1392117090","file3":"1392116871"},"map_files_photo_id_array":[{"photo_id":"1392117090","filename":"file5"},{"photo_id":"1392116808","filename":"file2"},{"photo_id":"1392116971","filename":"file4"},{"photo_id":"1392116737","filename":"file1"},{"photo_id":"1392116671","filename":"file0"},{"photo_id":"1392116871","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392116671":["hashtag1","hashtag2"]},{"1392116971":["hashtag1","hashtag2"]},{"1392117090":["hashtag1","hashtag2"]},{"1392116737":["hashtag1","hashtag2"]},{"1392116871":["hashtag1","hashtag2"]},{"1392116808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392116671, 1392116971, 1392117090, 1392116737, 1392116871, 1392116808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.302308082580566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:06:22.459858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_47_2593.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_50_2835.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_54_3650.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_57_2808.jpg', '/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_59_2706.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_02_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_47_2593.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_50_2835.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_54_3650.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_57_2808.jpg
/home/pi/Desktop/images/03112025/10/00/image_03112025_10_00_59_2706.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_02_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":["1392117430","1392117619","1392117628","1392117615","1392117516","1392117568"],"photo_ids_order":["1392117430","1392117516","1392117568","1392117615","1392117619","1392117628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aa19a4653df9db80884fb438ea23a5bc.jpg","text":"TemporaryFile(/tmp/multipartBody1161898188691125366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193243272,"filename":"image_03112025_10_00_47_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/3/250bf1d61ec531aac79c033fe79ab4cd.jpg","text":"TemporaryFile(/tmp/multipartBody5960257309540847865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193243272,"filename":"image_03112025_10_00_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/3/70ff1828d299256a0625d59b1c497d9d.jpg","text":"TemporaryFile(/tmp/multipartBody7260668507647513780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193243272,"filename":"image_03112025_10_01_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/3/8caeac6ace02a2939105db3cb4f96b35.jpg","text":"TemporaryFile(/tmp/multipartBody3014037752577413628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193243272,"filename":"image_03112025_10_00_57_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/3/e34f9e731382c5dc1688726f7d291f20.jpg","text":"TemporaryFile(/tmp/multipartBody4333987534448246252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193243272,"filename":"image_03112025_10_00_50_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/3/5f025103bf4baf3479e4668ab19e7a94.jpg","text":"TemporaryFile(/tmp/multipartBody6815091394863743513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193243272,"filename":"image_03112025_10_00_54_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392117568","file1":"1392117516","file0":"1392117430","file4":"1392117619","file5":"1392117628","file3":"1392117615"},"map_files_photo_id_array":[{"photo_id":"1392117628","filename":"file5"},{"photo_id":"1392117568","filename":"file2"},{"photo_id":"1392117619","filename":"file4"},{"photo_id":"1392117516","filename":"file1"},{"photo_id":"1392117430","filename":"file0"},{"photo_id":"1392117615","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392117430":["hashtag1","hashtag2"]},{"1392117619":["hashtag1","hashtag2"]},{"1392117628":["hashtag1","hashtag2"]},{"1392117615":["hashtag1","hashtag2"]},{"1392117516":["hashtag1","hashtag2"]},{"1392117568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392117430, 1392117619, 1392117628, 1392117615, 1392117516, 1392117568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29822826385498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:07:22.609900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_06_3573.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_08_2566.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_12_3615.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_14_2591.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_17_2847.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_21_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_06_3573.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_08_2566.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_12_3615.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_14_2591.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_17_2847.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_21_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392117775","1392117786","1392117753","1392117837","1392117941","1392117883"],"photo_ids_order":["1392117753","1392117775","1392117786","1392117837","1392117883","1392117941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b463c20ecb20fe2f7ef4af2445cefbf.jpg","text":"TemporaryFile(/tmp/multipartBody4070361326569024052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193303462,"filename":"image_03112025_10_01_08_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/3/52704876edf301c85094478358433595.jpg","text":"TemporaryFile(/tmp/multipartBody1143787459430294095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193303462,"filename":"image_03112025_10_01_12_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/3/1cb32574b2f48c9c6026d317dfdcee6a.jpg","text":"TemporaryFile(/tmp/multipartBody2692090128460058198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193303462,"filename":"image_03112025_10_01_06_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/3/a64d64b0ef771755056e0f71d8598a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1192794335046453534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193303462,"filename":"image_03112025_10_01_14_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/3/a2e818a57fef60e93892bfc8a43e2378.jpg","text":"TemporaryFile(/tmp/multipartBody1120612594115232407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193303462,"filename":"image_03112025_10_01_21_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/3/b0466353296505b84d27be4f32a5dd8e.jpg","text":"TemporaryFile(/tmp/multipartBody2216517439529030311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193303462,"filename":"image_03112025_10_01_17_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392117786","file1":"1392117775","file0":"1392117753","file4":"1392117883","file5":"1392117941","file3":"1392117837"},"map_files_photo_id_array":[{"photo_id":"1392117941","filename":"file5"},{"photo_id":"1392117786","filename":"file2"},{"photo_id":"1392117883","filename":"file4"},{"photo_id":"1392117775","filename":"file1"},{"photo_id":"1392117753","filename":"file0"},{"photo_id":"1392117837","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392117775":["hashtag1","hashtag2"]},{"1392117786":["hashtag1","hashtag2"]},{"1392117753":["hashtag1","hashtag2"]},{"1392117837":["hashtag1","hashtag2"]},{"1392117941":["hashtag1","hashtag2"]},{"1392117883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392117775, 1392117786, 1392117753, 1392117837, 1392117941, 1392117883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1493718624115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:08:03.137751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_24_2758.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_26_2699.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_29_2804.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_33_3637.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_35_2729.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_38_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_24_2758.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_26_2699.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_29_2804.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_33_3637.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_35_2729.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_38_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392118216","1392118323","1392118404","1392118436","1392118139","1392118444"],"photo_ids_order":["1392118139","1392118216","1392118323","1392118404","1392118436","1392118444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bd75e791f6a8ff53ef6e3e07652f4792.jpg","text":"TemporaryFile(/tmp/multipartBody1014066442559260284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193344008,"filename":"image_03112025_10_01_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/3/906bcc72c4bf873962b8979a4e40a3f1.jpg","text":"TemporaryFile(/tmp/multipartBody56123648039805222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193344008,"filename":"image_03112025_10_01_29_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/3/4372d915853bc089e1e4803af62e453f.jpg","text":"TemporaryFile(/tmp/multipartBody8032540341454623811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193344008,"filename":"image_03112025_10_01_33_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/3/935b4b91c1c47ca813b3a20035699678.jpg","text":"TemporaryFile(/tmp/multipartBody6927142806886462797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193344008,"filename":"image_03112025_10_01_35_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/3/f1458af8b7434bb4166714f20dc94649.jpg","text":"TemporaryFile(/tmp/multipartBody6702791860217046653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193344008,"filename":"image_03112025_10_01_24_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/3/a63903ed51c6a68e3d0e2c40f1132d66.jpg","text":"TemporaryFile(/tmp/multipartBody3766849699300233998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193344008,"filename":"image_03112025_10_01_38_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392118323","file1":"1392118216","file0":"1392118139","file4":"1392118436","file5":"1392118444","file3":"1392118404"},"map_files_photo_id_array":[{"photo_id":"1392118444","filename":"file5"},{"photo_id":"1392118323","filename":"file2"},{"photo_id":"1392118436","filename":"file4"},{"photo_id":"1392118216","filename":"file1"},{"photo_id":"1392118139","filename":"file0"},{"photo_id":"1392118404","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392118216":["hashtag1","hashtag2"]},{"1392118323":["hashtag1","hashtag2"]},{"1392118404":["hashtag1","hashtag2"]},{"1392118436":["hashtag1","hashtag2"]},{"1392118139":["hashtag1","hashtag2"]},{"1392118444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392118216, 1392118323, 1392118404, 1392118436, 1392118139, 1392118444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12541079521179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:08:42.695298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_42_3662.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_44_2631.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_47_2680.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_50_2792.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_54_3684.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_56_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_42_3662.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_44_2631.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_47_2680.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_50_2792.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_54_3684.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_56_2617.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7359287738800049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:09:02.811059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_42_3662.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_44_2631.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_47_2680.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_50_2792.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_54_3684.jpg', '/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_56_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_42_3662.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_44_2631.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_47_2680.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_50_2792.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_54_3684.jpg
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_01_56_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392118854","1392118938","1392118932","1392118929","1392118934","1392118910"],"photo_ids_order":["1392118854","1392118910","1392118929","1392118932","1392118934","1392118938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/af59382e1367a484f58f086a01a9d1ca.jpg","text":"TemporaryFile(/tmp/multipartBody6627631097468405261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193403669,"filename":"image_03112025_10_01_42_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/3/5409774455653c212d29a14897282443.jpg","text":"TemporaryFile(/tmp/multipartBody2320191531652166860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193403669,"filename":"image_03112025_10_01_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/3/80bf09936461d01a3c2ff190ec6b9abb.jpg","text":"TemporaryFile(/tmp/multipartBody8363686805379808637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193403669,"filename":"image_03112025_10_01_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/3/b2635690f276a9179d1b6dd4d0b6f3b7.jpg","text":"TemporaryFile(/tmp/multipartBody5722510460217049655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193403669,"filename":"image_03112025_10_01_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/3/f9d3c91d921e36dc0259f5446978e764.jpg","text":"TemporaryFile(/tmp/multipartBody1307079958220683098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193403669,"filename":"image_03112025_10_01_54_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/3/5b50e904dba408c67b2ee2b1f924648b.jpg","text":"TemporaryFile(/tmp/multipartBody4242276418021317644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193403669,"filename":"image_03112025_10_01_44_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392118929","file1":"1392118910","file0":"1392118854","file4":"1392118934","file5":"1392118938","file3":"1392118932"},"map_files_photo_id_array":[{"photo_id":"1392118938","filename":"file5"},{"photo_id":"1392118929","filename":"file2"},{"photo_id":"1392118934","filename":"file4"},{"photo_id":"1392118910","filename":"file1"},{"photo_id":"1392118854","filename":"file0"},{"photo_id":"1392118932","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392118854":["hashtag1","hashtag2"]},{"1392118938":["hashtag1","hashtag2"]},{"1392118932":["hashtag1","hashtag2"]},{"1392118929":["hashtag1","hashtag2"]},{"1392118934":["hashtag1","hashtag2"]},{"1392118910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392118854, 1392118938, 1392118932, 1392118929, 1392118934, 1392118910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.432389974594116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:09:41.985942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/01/image_03112025_10_02_00_3619.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_03_2802.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_05_2774.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_08_2723.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_12_3528.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_14_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/01/image_03112025_10_02_00_3619.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_03_2802.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_05_2774.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_08_2723.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_12_3528.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_14_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392118950","1392118973","1392118969","1392119014","1392118972","1392118966"],"photo_ids_order":["1392118950","1392118966","1392118969","1392118972","1392118973","1392119014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c777864a56109d117c09824336d6e1f1.jpg","text":"TemporaryFile(/tmp/multipartBody1775900848699299997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193442917,"filename":"image_03112025_10_02_00_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c2e463504c00429bddd55717eaf7f157.jpg","text":"TemporaryFile(/tmp/multipartBody8492521449684281189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193442917,"filename":"image_03112025_10_02_12_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/3/1ee7d974342839e5f268c07992ec075f.jpg","text":"TemporaryFile(/tmp/multipartBody9184007198921208487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193442917,"filename":"image_03112025_10_02_05_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1fe830e9f6cc7b2082037b39962084ce.jpg","text":"TemporaryFile(/tmp/multipartBody1169477548442664432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193442917,"filename":"image_03112025_10_02_14_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/3/b6805033d790b4809f89a326c45cadf8.jpg","text":"TemporaryFile(/tmp/multipartBody6202084171346012083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193442917,"filename":"image_03112025_10_02_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/3/b449ad9579148441f1823159702cc81b.jpg","text":"TemporaryFile(/tmp/multipartBody8521527357053354288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193442917,"filename":"image_03112025_10_02_03_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392118969","file1":"1392118966","file0":"1392118950","file4":"1392118973","file5":"1392119014","file3":"1392118972"},"map_files_photo_id_array":[{"photo_id":"1392119014","filename":"file5"},{"photo_id":"1392118969","filename":"file2"},{"photo_id":"1392118973","filename":"file4"},{"photo_id":"1392118966","filename":"file1"},{"photo_id":"1392118950","filename":"file0"},{"photo_id":"1392118972","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392118950":["hashtag1","hashtag2"]},{"1392118973":["hashtag1","hashtag2"]},{"1392118969":["hashtag1","hashtag2"]},{"1392119014":["hashtag1","hashtag2"]},{"1392118972":["hashtag1","hashtag2"]},{"1392118966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392118950, 1392118973, 1392118969, 1392119014, 1392118972, 1392118966)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.539780139923096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:10:42.083013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_17_2633.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_21_3675.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_23_2641.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_26_2683.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_30_3605.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_32_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_17_2633.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_21_3675.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_23_2641.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_26_2683.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_30_3605.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_32_2539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392119214","1392119205","1392119212","1392119190","1392119184","1392119178"],"photo_ids_order":["1392119178","1392119184","1392119190","1392119205","1392119212","1392119214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/967fe63940a5cbd81f32250117d2d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody41716575927459775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193502910,"filename":"image_03112025_10_02_32_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/3/d0aff1783946b3a24e5bfe50c5009ca7.jpg","text":"TemporaryFile(/tmp/multipartBody3452990864050454708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193502910,"filename":"image_03112025_10_02_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/3/3a0cb531d28515ee24caa92b2ddd9871.jpg","text":"TemporaryFile(/tmp/multipartBody4790701128172110610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193502910,"filename":"image_03112025_10_02_30_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/3/e0fb0993b172703c26601c5faeb6aba1.jpg","text":"TemporaryFile(/tmp/multipartBody2537964047930507442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193502910,"filename":"image_03112025_10_02_23_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/3/8dd6001adf0a05cf95d5a85ba509b2c3.jpg","text":"TemporaryFile(/tmp/multipartBody2509474773011998569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193502910,"filename":"image_03112025_10_02_21_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/3/4283cc3e88de3b5af729ae843553574a.jpg","text":"TemporaryFile(/tmp/multipartBody2232031999302751224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193502910,"filename":"image_03112025_10_02_17_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392119190","file1":"1392119184","file0":"1392119178","file4":"1392119212","file5":"1392119214","file3":"1392119205"},"map_files_photo_id_array":[{"photo_id":"1392119214","filename":"file5"},{"photo_id":"1392119190","filename":"file2"},{"photo_id":"1392119212","filename":"file4"},{"photo_id":"1392119184","filename":"file1"},{"photo_id":"1392119178","filename":"file0"},{"photo_id":"1392119205","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392119214":["hashtag1","hashtag2"]},{"1392119205":["hashtag1","hashtag2"]},{"1392119212":["hashtag1","hashtag2"]},{"1392119190":["hashtag1","hashtag2"]},{"1392119184":["hashtag1","hashtag2"]},{"1392119178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392119214, 1392119205, 1392119212, 1392119190, 1392119184, 1392119178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31595993041992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:11:22.336060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_35_2724.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_39_3793.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_42_2898.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_44_2683.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_47_2644.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_51_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_35_2724.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_39_3793.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_42_2898.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_44_2683.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_47_2644.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_51_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392119292","1392119268","1392119232","1392119273","1392119258","1392119266"],"photo_ids_order":["1392119232","1392119258","1392119266","1392119268","1392119273","1392119292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ab3f50080c1ecf21f525ef59e8102b88.jpg","text":"TemporaryFile(/tmp/multipartBody2116610904701157041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193543188,"filename":"image_03112025_10_02_51_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/3/a724fc8d549ef99824af7b8cdbc0c639.jpg","text":"TemporaryFile(/tmp/multipartBody5396257300910880991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193543188,"filename":"image_03112025_10_02_44_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/3/ad3e478913c6cc1d6fd63f0e3f83e14a.jpg","text":"TemporaryFile(/tmp/multipartBody1056538701268891645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193543188,"filename":"image_03112025_10_02_35_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cb7c253e8a5c9fde27ff9ce06645ce62.jpg","text":"TemporaryFile(/tmp/multipartBody22207205413906738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193543188,"filename":"image_03112025_10_02_47_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/23ca84ea0ab5b27570d351966b6fd99d.jpg","text":"TemporaryFile(/tmp/multipartBody2891260697905276636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193543188,"filename":"image_03112025_10_02_39_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/3/547802774036b2bf182878b52b5ba7f2.jpg","text":"TemporaryFile(/tmp/multipartBody1169539425922795841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193543188,"filename":"image_03112025_10_02_42_2898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392119266","file1":"1392119258","file0":"1392119232","file4":"1392119273","file5":"1392119292","file3":"1392119268"},"map_files_photo_id_array":[{"photo_id":"1392119292","filename":"file5"},{"photo_id":"1392119266","filename":"file2"},{"photo_id":"1392119273","filename":"file4"},{"photo_id":"1392119258","filename":"file1"},{"photo_id":"1392119232","filename":"file0"},{"photo_id":"1392119268","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392119292":["hashtag1","hashtag2"]},{"1392119268":["hashtag1","hashtag2"]},{"1392119232":["hashtag1","hashtag2"]},{"1392119273":["hashtag1","hashtag2"]},{"1392119258":["hashtag1","hashtag2"]},{"1392119266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392119292, 1392119268, 1392119232, 1392119273, 1392119258, 1392119266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57151675224304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:12:02.856495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_53_2715.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_56_2918.jpg', '/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_59_2649.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_02_3543.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_05_2664.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_09_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_53_2715.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_56_2918.jpg
/home/pi/Desktop/images/03112025/10/02/image_03112025_10_02_59_2649.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_02_3543.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_05_2664.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_09_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392119559","1392119439","1392119520","1392119483","1392119636","1392119599"],"photo_ids_order":["1392119439","1392119483","1392119520","1392119559","1392119599","1392119636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/924814ebb7054f500eb267e89acad407.jpg","text":"TemporaryFile(/tmp/multipartBody700694567469198104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193583759,"filename":"image_03112025_10_03_02_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/3/0f87b623490d7cb1972e48b4d70bf97c.jpg","text":"TemporaryFile(/tmp/multipartBody7923894923776951018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193583759,"filename":"image_03112025_10_02_53_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/3/b25efcfecbe626cecbb9641443f37c62.jpg","text":"TemporaryFile(/tmp/multipartBody2366420230942266309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193583759,"filename":"image_03112025_10_02_59_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/3/6e292ca5adb71c6eefecb719dba2d0a8.jpg","text":"TemporaryFile(/tmp/multipartBody5595083119297361366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193583759,"filename":"image_03112025_10_02_56_2918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e89424e2ca373becf2a863347b6dc288.jpg","text":"TemporaryFile(/tmp/multipartBody8639639372336454884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193583759,"filename":"image_03112025_10_03_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/3/c548ada256910c6da6bd7a01f92a2f15.jpg","text":"TemporaryFile(/tmp/multipartBody7737502274942371227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193583759,"filename":"image_03112025_10_03_05_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392119520","file1":"1392119483","file0":"1392119439","file4":"1392119599","file5":"1392119636","file3":"1392119559"},"map_files_photo_id_array":[{"photo_id":"1392119636","filename":"file5"},{"photo_id":"1392119520","filename":"file2"},{"photo_id":"1392119599","filename":"file4"},{"photo_id":"1392119483","filename":"file1"},{"photo_id":"1392119439","filename":"file0"},{"photo_id":"1392119559","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392119559":["hashtag1","hashtag2"]},{"1392119439":["hashtag1","hashtag2"]},{"1392119520":["hashtag1","hashtag2"]},{"1392119483":["hashtag1","hashtag2"]},{"1392119636":["hashtag1","hashtag2"]},{"1392119599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392119559, 1392119439, 1392119520, 1392119483, 1392119636, 1392119599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53327488899231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:12:42.413951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_11_2744.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_14_2711.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_17_2669.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_20_3675.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_23_2578.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_26_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_11_2744.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_14_2711.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_17_2669.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_20_3675.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_23_2578.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_26_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392119780","1392119706","1392119696","1392119785","1392119749","1392119784"],"photo_ids_order":["1392119696","1392119706","1392119749","1392119780","1392119784","1392119785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ab4e9c072c27cd229a795a0b1d212547.jpg","text":"TemporaryFile(/tmp/multipartBody7510366684738313085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193623239,"filename":"image_03112025_10_03_20_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/3/26a2ec1e8f6a1e27dffb65b1ecfe5f30.jpg","text":"TemporaryFile(/tmp/multipartBody7560642321613636165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193623239,"filename":"image_03112025_10_03_14_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/3/b9b4f6a4680c6a6f414d142ab96ca42a.jpg","text":"TemporaryFile(/tmp/multipartBody6101575989947234384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193623239,"filename":"image_03112025_10_03_11_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/3/fdd7518634ff167543044b984fc47d1e.jpg","text":"TemporaryFile(/tmp/multipartBody6303505969829629229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193623239,"filename":"image_03112025_10_03_26_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/3/0de109376bf479582deefb2b22db5539.jpg","text":"TemporaryFile(/tmp/multipartBody7475099025393095136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193623239,"filename":"image_03112025_10_03_17_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e7d7231e71ffca273faccefc4a7f85c.jpg","text":"TemporaryFile(/tmp/multipartBody1037594885808670146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193623239,"filename":"image_03112025_10_03_23_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392119749","file1":"1392119706","file0":"1392119696","file4":"1392119784","file5":"1392119785","file3":"1392119780"},"map_files_photo_id_array":[{"photo_id":"1392119785","filename":"file5"},{"photo_id":"1392119749","filename":"file2"},{"photo_id":"1392119784","filename":"file4"},{"photo_id":"1392119706","filename":"file1"},{"photo_id":"1392119696","filename":"file0"},{"photo_id":"1392119780","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392119780":["hashtag1","hashtag2"]},{"1392119706":["hashtag1","hashtag2"]},{"1392119696":["hashtag1","hashtag2"]},{"1392119785":["hashtag1","hashtag2"]},{"1392119749":["hashtag1","hashtag2"]},{"1392119784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392119780, 1392119706, 1392119696, 1392119785, 1392119749, 1392119784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61434483528137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:13:22.569725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_29_3632.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_32_2632.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_40_7477.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_41_1761.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_43_1704.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_45_1593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_29_3632.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_32_2632.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_40_7477.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_41_1761.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_43_1704.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_45_1593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392119922","1392120030","1392120006","1392119962","1392120002","1392120058"],"photo_ids_order":["1392119922","1392119962","1392120002","1392120006","1392120030","1392120058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/81e80910288d5716c78caa549f1e08c5.jpg","text":"TemporaryFile(/tmp/multipartBody7791574192114741490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193663378,"filename":"image_03112025_10_03_29_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/3/d4b11ffa40d3416e74c138fa1b9ef748.jpg","text":"TemporaryFile(/tmp/multipartBody2952315084670925970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193663378,"filename":"image_03112025_10_03_43_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/3/706220605887dcacc0fcd2715c3b1fe1.jpg","text":"TemporaryFile(/tmp/multipartBody5368480642720290887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193663378,"filename":"image_03112025_10_03_41_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/3/607bbacb3e9f12310d4b9e8e4a03e300.jpg","text":"TemporaryFile(/tmp/multipartBody2422781002623983039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193663378,"filename":"image_03112025_10_03_32_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/3/296fb71b8f8bd083231519dfd9f10c42.jpg","text":"TemporaryFile(/tmp/multipartBody3828457394511112132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193663378,"filename":"image_03112025_10_03_40_7477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8cde3d8f62c87267445b05e0c13f75d0.jpg","text":"TemporaryFile(/tmp/multipartBody2419518944450887932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193663378,"filename":"image_03112025_10_03_45_1593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392120002","file1":"1392119962","file0":"1392119922","file4":"1392120030","file5":"1392120058","file3":"1392120006"},"map_files_photo_id_array":[{"photo_id":"1392120058","filename":"file5"},{"photo_id":"1392120002","filename":"file2"},{"photo_id":"1392120030","filename":"file4"},{"photo_id":"1392119962","filename":"file1"},{"photo_id":"1392119922","filename":"file0"},{"photo_id":"1392120006","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392119922":["hashtag1","hashtag2"]},{"1392120030":["hashtag1","hashtag2"]},{"1392120006":["hashtag1","hashtag2"]},{"1392119962":["hashtag1","hashtag2"]},{"1392120002":["hashtag1","hashtag2"]},{"1392120058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392119922, 1392120030, 1392120006, 1392119962, 1392120002, 1392120058)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.06615972518921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:14:23.457989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_47_2728.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_50_2669.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_53_2626.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_56_3699.jpg', '/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_59_2562.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_02_2941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_47_2728.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_50_2669.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_53_2626.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_56_3699.jpg
/home/pi/Desktop/images/03112025/10/03/image_03112025_10_03_59_2562.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_02_2941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392120211","1392120205","1392120208","1392120198","1392120201","1392120203"],"photo_ids_order":["1392120198","1392120201","1392120203","1392120205","1392120208","1392120211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/daca472516b47bb382ff6ed304425ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4946496475969108256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193726311,"filename":"image_03112025_10_04_02_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/3/bd5284040568325c016748622ebccbc2.jpg","text":"TemporaryFile(/tmp/multipartBody3282573244847813795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193726311,"filename":"image_03112025_10_03_56_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/635257db72a0bdb9de2edee75f755416.jpg","text":"TemporaryFile(/tmp/multipartBody4899084294811146724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193726311,"filename":"image_03112025_10_03_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/3/65debc28d5c6858cbaf4a83bef908db3.jpg","text":"TemporaryFile(/tmp/multipartBody5224221827140396476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193726311,"filename":"image_03112025_10_03_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/3/438c6dc0e0ffc5b292e165c7bbc13a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7489173003214881552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193726311,"filename":"image_03112025_10_03_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/3/7793cfcff1a4ecb17705d74b398a487d.jpg","text":"TemporaryFile(/tmp/multipartBody2055677529594666441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193726311,"filename":"image_03112025_10_03_53_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392120203","file1":"1392120201","file0":"1392120198","file4":"1392120208","file5":"1392120211","file3":"1392120205"},"map_files_photo_id_array":[{"photo_id":"1392120211","filename":"file5"},{"photo_id":"1392120203","filename":"file2"},{"photo_id":"1392120208","filename":"file4"},{"photo_id":"1392120201","filename":"file1"},{"photo_id":"1392120198","filename":"file0"},{"photo_id":"1392120205","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392120211":["hashtag1","hashtag2"]},{"1392120205":["hashtag1","hashtag2"]},{"1392120208":["hashtag1","hashtag2"]},{"1392120198":["hashtag1","hashtag2"]},{"1392120201":["hashtag1","hashtag2"]},{"1392120203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392120211, 1392120205, 1392120208, 1392120198, 1392120201, 1392120203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.567582845687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:15:22.613768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_06_3699.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_08_2799.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_13_4466.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_15_1658.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_21_6501.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_23_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_06_3699.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_08_2799.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_13_4466.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_15_1658.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_21_6501.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_23_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":["1392120226","1392120260","1392120233","1392120271","1392120289","1392120280"],"photo_ids_order":["1392120226","1392120233","1392120260","1392120271","1392120280","1392120289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b58b92aae9a33013f9d6214cf3275e0b.jpg","text":"TemporaryFile(/tmp/multipartBody1179418862471994482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193783457,"filename":"image_03112025_10_04_06_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/3/70819f6edd875dfd46dfd749737ef429.jpg","text":"TemporaryFile(/tmp/multipartBody8844377831739849362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193783457,"filename":"image_03112025_10_04_13_4466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/28065976c5a019ccda43fc4c7ddc5d5d.jpg","text":"TemporaryFile(/tmp/multipartBody5079396112882750860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193783457,"filename":"image_03112025_10_04_08_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/3/0a0f666699b586bdb7f800f4e01ce6a7.jpg","text":"TemporaryFile(/tmp/multipartBody729776024478698521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193783457,"filename":"image_03112025_10_04_15_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/3/09c4aea6a3e1ea9035acfd91964ae1ca.jpg","text":"TemporaryFile(/tmp/multipartBody7142148402073001950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193783457,"filename":"image_03112025_10_04_23_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/3/b6a2f17eab62860f5f4a4095298fa113.jpg","text":"TemporaryFile(/tmp/multipartBody5995169790069022828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193783457,"filename":"image_03112025_10_04_21_6501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392120260","file1":"1392120233","file0":"1392120226","file4":"1392120280","file5":"1392120289","file3":"1392120271"},"map_files_photo_id_array":[{"photo_id":"1392120289","filename":"file5"},{"photo_id":"1392120260","filename":"file2"},{"photo_id":"1392120280","filename":"file4"},{"photo_id":"1392120233","filename":"file1"},{"photo_id":"1392120226","filename":"file0"},{"photo_id":"1392120271","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392120226":["hashtag1","hashtag2"]},{"1392120260":["hashtag1","hashtag2"]},{"1392120233":["hashtag1","hashtag2"]},{"1392120271":["hashtag1","hashtag2"]},{"1392120289":["hashtag1","hashtag2"]},{"1392120280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392120226, 1392120260, 1392120233, 1392120271, 1392120289, 1392120280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35348415374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:16:25.315190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_24_1576.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_26_1651.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_30_3672.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_32_2536.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_35_2998.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_38_2917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_24_1576.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_26_1651.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_30_3672.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_32_2536.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_35_2998.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_38_2917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392120409","1392120369","1392120464","1392120500","1392120344","1392120532"],"photo_ids_order":["1392120344","1392120369","1392120409","1392120464","1392120500","1392120532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee9c01238caf7f3359758eff45a4f08f.jpg","text":"TemporaryFile(/tmp/multipartBody2701823487187138535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193848569,"filename":"image_03112025_10_04_30_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/3/1b17219efcbfe2e908b241eb48768916.jpg","text":"TemporaryFile(/tmp/multipartBody2352186526534001914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193848569,"filename":"image_03112025_10_04_26_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/3/75fbc1580d37528a729a88bd9a91acd0.jpg","text":"TemporaryFile(/tmp/multipartBody4831827994083555873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193848569,"filename":"image_03112025_10_04_32_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/3/e0aacbf3d0660565a694557c2e9f9362.jpg","text":"TemporaryFile(/tmp/multipartBody4520053851794742904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193848569,"filename":"image_03112025_10_04_35_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf6badba90be31664ec6ef260519bb1b.jpg","text":"TemporaryFile(/tmp/multipartBody8057523970893218581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193848569,"filename":"image_03112025_10_04_24_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/3/8e81f4dc8d5ea116eca2cd33ce3cf761.jpg","text":"TemporaryFile(/tmp/multipartBody1379984067469351175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193848569,"filename":"image_03112025_10_04_38_2917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392120409","file1":"1392120369","file0":"1392120344","file4":"1392120500","file5":"1392120532","file3":"1392120464"},"map_files_photo_id_array":[{"photo_id":"1392120532","filename":"file5"},{"photo_id":"1392120409","filename":"file2"},{"photo_id":"1392120500","filename":"file4"},{"photo_id":"1392120369","filename":"file1"},{"photo_id":"1392120344","filename":"file0"},{"photo_id":"1392120464","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392120409":["hashtag1","hashtag2"]},{"1392120369":["hashtag1","hashtag2"]},{"1392120464":["hashtag1","hashtag2"]},{"1392120500":["hashtag1","hashtag2"]},{"1392120344":["hashtag1","hashtag2"]},{"1392120532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392120409, 1392120369, 1392120464, 1392120500, 1392120344, 1392120532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66259026527405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:17:22.467160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_41_2630.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_44_3759.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_47_2628.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_50_2767.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_53_3630.jpg', '/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_56_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_41_2630.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_44_3759.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_47_2628.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_50_2767.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_53_3630.jpg
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_56_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392120687","1392120648","1392120720","1392120726","1392120655","1392120652"],"photo_ids_order":["1392120648","1392120652","1392120655","1392120687","1392120720","1392120726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71404ef5a9e444e0b1e6e6cf6312896c.jpg","text":"TemporaryFile(/tmp/multipartBody5203479819366784926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193903235,"filename":"image_03112025_10_04_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/3/a267f0d48b1f185e0a218f27696b69fa.jpg","text":"TemporaryFile(/tmp/multipartBody6897841211655938808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193903235,"filename":"image_03112025_10_04_41_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/3/2512272c8c1495b9237d59f680dd1154.jpg","text":"TemporaryFile(/tmp/multipartBody859340917471451480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193903235,"filename":"image_03112025_10_04_53_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/3/bb5978ab5f42264e178aa9514679bdee.jpg","text":"TemporaryFile(/tmp/multipartBody8465283194519210237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193903235,"filename":"image_03112025_10_04_56_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/3/d08f37d6b9dc49c12fa449d9752a7ee9.jpg","text":"TemporaryFile(/tmp/multipartBody959098637380463149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193903235,"filename":"image_03112025_10_04_47_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/3/aa8d57fa30ab1f466c050e915c9963b5.jpg","text":"TemporaryFile(/tmp/multipartBody6805060313471200814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193903235,"filename":"image_03112025_10_04_44_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392120655","file1":"1392120652","file0":"1392120648","file4":"1392120720","file5":"1392120726","file3":"1392120687"},"map_files_photo_id_array":[{"photo_id":"1392120726","filename":"file5"},{"photo_id":"1392120655","filename":"file2"},{"photo_id":"1392120720","filename":"file4"},{"photo_id":"1392120652","filename":"file1"},{"photo_id":"1392120648","filename":"file0"},{"photo_id":"1392120687","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392120687":["hashtag1","hashtag2"]},{"1392120648":["hashtag1","hashtag2"]},{"1392120720":["hashtag1","hashtag2"]},{"1392120726":["hashtag1","hashtag2"]},{"1392120655":["hashtag1","hashtag2"]},{"1392120652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392120687, 1392120648, 1392120720, 1392120726, 1392120655, 1392120652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55946493148804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:18:03.187499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_59_2657.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_07_3018.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_11_3764.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_14_2812.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_16_2530.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_20_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/04/image_03112025_10_04_59_2657.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_07_3018.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_11_3764.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_14_2812.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_16_2530.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_20_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392120768","1392120770","1392120773","1392120766","1392120760","1392120763"],"photo_ids_order":["1392120760","1392120763","1392120766","1392120768","1392120770","1392120773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d8161da5d8bd39ca9e1e1f721496ac4a.jpg","text":"TemporaryFile(/tmp/multipartBody1395914555315330436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193944027,"filename":"image_03112025_10_05_14_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/3/b6d41f6e630d10c20d6941ee879c241c.jpg","text":"TemporaryFile(/tmp/multipartBody7757389981325465492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193944027,"filename":"image_03112025_10_05_16_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/3/a0b2027b4728a0eaa5f763029003c6ad.jpg","text":"TemporaryFile(/tmp/multipartBody8302142105836650185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193944027,"filename":"image_03112025_10_05_20_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/3/c13bc238f701be514b10d8862682ddbe.jpg","text":"TemporaryFile(/tmp/multipartBody2226450256833589744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193944027,"filename":"image_03112025_10_05_11_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/3/268e9b64bb9a35512912d2e18b5018a2.jpg","text":"TemporaryFile(/tmp/multipartBody3278730642656804608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193944027,"filename":"image_03112025_10_04_59_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/3/dff996d55a68e07b6fcdaed0a8d864b1.jpg","text":"TemporaryFile(/tmp/multipartBody1957271655662821436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762193944027,"filename":"image_03112025_10_05_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392120766","file1":"1392120763","file0":"1392120760","file4":"1392120770","file5":"1392120773","file3":"1392120768"},"map_files_photo_id_array":[{"photo_id":"1392120773","filename":"file5"},{"photo_id":"1392120766","filename":"file2"},{"photo_id":"1392120770","filename":"file4"},{"photo_id":"1392120763","filename":"file1"},{"photo_id":"1392120760","filename":"file0"},{"photo_id":"1392120768","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392120768":["hashtag1","hashtag2"]},{"1392120770":["hashtag1","hashtag2"]},{"1392120773":["hashtag1","hashtag2"]},{"1392120766":["hashtag1","hashtag2"]},{"1392120760":["hashtag1","hashtag2"]},{"1392120763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392120768, 1392120770, 1392120773, 1392120766, 1392120760, 1392120763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.751591205596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:18:42.763437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_22_2549.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_25_2670.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_28_3161.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_32_3692.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_35_2743.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_37_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_22_2549.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_25_2670.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_28_3161.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_32_3692.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_35_2743.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_37_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":["1392120795","1392120798","1392120792","1392120813","1392120788","1392120793"],"photo_ids_order":["1392120788","1392120792","1392120793","1392120795","1392120798","1392120813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cb2a00bc0c1f7a36af7bc78d81259dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1790513412576012057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194001705,"filename":"image_03112025_10_05_32_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/3/123781b903f6653dc9a4cf79a6311076.jpg","text":"TemporaryFile(/tmp/multipartBody7609031088269101799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194001705,"filename":"image_03112025_10_05_35_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/3/49689e2e625eb27451b139607843cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody8986048198278948088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194001705,"filename":"image_03112025_10_05_25_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/3/4421021aeec6a5161d0dc359be6e0ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1157437232906539820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194001705,"filename":"image_03112025_10_05_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/3/d23654960cda93ed05d3e76abc330350.jpg","text":"TemporaryFile(/tmp/multipartBody8848496660331625228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194001705,"filename":"image_03112025_10_05_22_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/3/b3f747710ecc4c8dece2c9ef664e39cf.jpg","text":"TemporaryFile(/tmp/multipartBody486372364085797417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194001705,"filename":"image_03112025_10_05_28_3161.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392120793","file1":"1392120792","file0":"1392120788","file4":"1392120798","file5":"1392120813","file3":"1392120795"},"map_files_photo_id_array":[{"photo_id":"1392120813","filename":"file5"},{"photo_id":"1392120793","filename":"file2"},{"photo_id":"1392120798","filename":"file4"},{"photo_id":"1392120792","filename":"file1"},{"photo_id":"1392120788","filename":"file0"},{"photo_id":"1392120795","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392120795":["hashtag1","hashtag2"]},{"1392120798":["hashtag1","hashtag2"]},{"1392120792":["hashtag1","hashtag2"]},{"1392120813":["hashtag1","hashtag2"]},{"1392120788":["hashtag1","hashtag2"]},{"1392120793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392120795, 1392120798, 1392120792, 1392120813, 1392120788, 1392120793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.117135524749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:19:41.969529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_40_2724.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_44_3673.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_46_2618.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_49_2863.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_52_3172.jpg', '/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_55_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_40_2724.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_44_3673.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_46_2618.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_49_2863.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_52_3172.jpg
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_55_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":["1392120832","1392120907","1392120831","1392120833","1392120827","1392120847"],"photo_ids_order":["1392120827","1392120831","1392120832","1392120833","1392120847","1392120907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/791cd9b113fa1d56523a41b2f2a8a4cb.jpg","text":"TemporaryFile(/tmp/multipartBody30045818630377449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194045407,"filename":"image_03112025_10_05_46_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/3/45a443538b6d0c9441a84540f29c8e19.jpg","text":"TemporaryFile(/tmp/multipartBody9064528966331877953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194045407,"filename":"image_03112025_10_05_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/3/21d4e245833a623236af9dcd94d2a9e1.jpg","text":"TemporaryFile(/tmp/multipartBody4471345300163049911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194045407,"filename":"image_03112025_10_05_44_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/3/5df3d04bfe451e990845aca721b2fc69.jpg","text":"TemporaryFile(/tmp/multipartBody6491996533405910768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194045407,"filename":"image_03112025_10_05_49_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/3/e5b5c7425d2ddb35d25a71ac6759a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody8516726839770638051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194045407,"filename":"image_03112025_10_05_40_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/87992e294f7eeea4b66b1c50e773740c.jpg","text":"TemporaryFile(/tmp/multipartBody4995386249343709617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194045407,"filename":"image_03112025_10_05_52_3172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392120832","file1":"1392120831","file0":"1392120827","file4":"1392120847","file5":"1392120907","file3":"1392120833"},"map_files_photo_id_array":[{"photo_id":"1392120907","filename":"file5"},{"photo_id":"1392120832","filename":"file2"},{"photo_id":"1392120847","filename":"file4"},{"photo_id":"1392120831","filename":"file1"},{"photo_id":"1392120827","filename":"file0"},{"photo_id":"1392120833","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392120832":["hashtag1","hashtag2"]},{"1392120907":["hashtag1","hashtag2"]},{"1392120831":["hashtag1","hashtag2"]},{"1392120833":["hashtag1","hashtag2"]},{"1392120827":["hashtag1","hashtag2"]},{"1392120847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392120832, 1392120907, 1392120831, 1392120833, 1392120827, 1392120847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.164830446243286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:20:42.687559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_59_3637.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_01_2613.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_04_3012.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_07_2618.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_11_3852.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_13_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/05/image_03112025_10_05_59_3637.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_01_2613.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_04_3012.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_07_2618.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_11_3852.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_13_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392121440","1392121286","1392121522","1392121372","1392121327","1392121479"],"photo_ids_order":["1392121286","1392121327","1392121372","1392121440","1392121479","1392121522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/77774838c317655f06b0cf623db3f51f.jpg","text":"TemporaryFile(/tmp/multipartBody4321737803329307929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194117402,"filename":"image_03112025_10_06_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/3/710ee8029859a302d4399b7887d2a42d.jpg","text":"TemporaryFile(/tmp/multipartBody7695410841436577928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194117402,"filename":"image_03112025_10_05_59_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/012941ab21d7e3daed9ba5d0e87fd190.jpg","text":"TemporaryFile(/tmp/multipartBody1067321739040578550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194117402,"filename":"image_03112025_10_06_13_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/3/e5545afb9ac3d4ecf70a1725c52589fc.jpg","text":"TemporaryFile(/tmp/multipartBody8890843091611002297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194117402,"filename":"image_03112025_10_06_04_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/3/c270f51b2722e871526252b705da9a5a.jpg","text":"TemporaryFile(/tmp/multipartBody683401627642282998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194117402,"filename":"image_03112025_10_06_01_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/3/163c16ce18253886989b354db858b977.jpg","text":"TemporaryFile(/tmp/multipartBody8955238681761494968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194117402,"filename":"image_03112025_10_06_11_3852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392121372","file1":"1392121327","file0":"1392121286","file4":"1392121479","file5":"1392121522","file3":"1392121440"},"map_files_photo_id_array":[{"photo_id":"1392121522","filename":"file5"},{"photo_id":"1392121372","filename":"file2"},{"photo_id":"1392121479","filename":"file4"},{"photo_id":"1392121327","filename":"file1"},{"photo_id":"1392121286","filename":"file0"},{"photo_id":"1392121440","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392121440":["hashtag1","hashtag2"]},{"1392121286":["hashtag1","hashtag2"]},{"1392121522":["hashtag1","hashtag2"]},{"1392121372":["hashtag1","hashtag2"]},{"1392121327":["hashtag1","hashtag2"]},{"1392121479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392121440, 1392121286, 1392121522, 1392121372, 1392121327, 1392121479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.18700885772705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:21:41.825344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_17_3794.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_19_1696.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_26_6944.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_28_1783.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_29_1536.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_32_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_17_3794.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_19_1696.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_26_6944.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_28_1783.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_29_1536.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_32_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392121650","1392121730","1392121718","1392121729","1392121657","1392121683"],"photo_ids_order":["1392121650","1392121657","1392121683","1392121718","1392121729","1392121730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a3553367631da30cd35cda4aa84c52ac.jpg","text":"TemporaryFile(/tmp/multipartBody2670467358990993351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194162694,"filename":"image_03112025_10_06_17_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/3/477afb45c14af0ee37140f12486b3bce.jpg","text":"TemporaryFile(/tmp/multipartBody3120429826553817697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194162694,"filename":"image_03112025_10_06_32_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/3/ebd0e9184226232e3a88247da34bdfe5.jpg","text":"TemporaryFile(/tmp/multipartBody5763876906933017590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194162694,"filename":"image_03112025_10_06_28_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/3/426b41d743b1e968a303044261f12a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2788300321253267522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194162694,"filename":"image_03112025_10_06_29_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/3/3cc9c6f6a43f99c815aabca988c46f8f.jpg","text":"TemporaryFile(/tmp/multipartBody7079954392458520763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194162694,"filename":"image_03112025_10_06_19_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/3/397756258efdbb93b90900e6decf3a0f.jpg","text":"TemporaryFile(/tmp/multipartBody5358368355723025584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194162694,"filename":"image_03112025_10_06_26_6944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392121683","file1":"1392121657","file0":"1392121650","file4":"1392121729","file5":"1392121730","file3":"1392121718"},"map_files_photo_id_array":[{"photo_id":"1392121730","filename":"file5"},{"photo_id":"1392121683","filename":"file2"},{"photo_id":"1392121729","filename":"file4"},{"photo_id":"1392121657","filename":"file1"},{"photo_id":"1392121650","filename":"file0"},{"photo_id":"1392121718","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392121650":["hashtag1","hashtag2"]},{"1392121730":["hashtag1","hashtag2"]},{"1392121718":["hashtag1","hashtag2"]},{"1392121729":["hashtag1","hashtag2"]},{"1392121657":["hashtag1","hashtag2"]},{"1392121683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392121650, 1392121730, 1392121718, 1392121729, 1392121657, 1392121683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.098477840423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:22:21.908032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_35_2878.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_37_2751.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_40_2889.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_43_2649.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_47_3552.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_49_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_35_2878.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_37_2751.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_40_2889.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_43_2649.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_47_3552.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_49_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392121917","1392121851","1392121809","1392121795","1392121798","1392121875"],"photo_ids_order":["1392121795","1392121798","1392121809","1392121851","1392121875","1392121917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/edec64d95309778bbbaaa56469466b15.jpg","text":"TemporaryFile(/tmp/multipartBody2805261516452304484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194202754,"filename":"image_03112025_10_06_49_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/3/de54129b9ef82d9cdeacb86c0a74d53e.jpg","text":"TemporaryFile(/tmp/multipartBody3039187231310495635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194202754,"filename":"image_03112025_10_06_43_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9af30cdc913c5e877de4da66bd681906.jpg","text":"TemporaryFile(/tmp/multipartBody4019746732892517128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194202754,"filename":"image_03112025_10_06_40_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/3/b36ff1389ab7a07f17dcc59617a4286c.jpg","text":"TemporaryFile(/tmp/multipartBody1968022684714484813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194202754,"filename":"image_03112025_10_06_35_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/3/cfb82b917b36918dcd56b13d97b7e013.jpg","text":"TemporaryFile(/tmp/multipartBody6157843232243893394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194202754,"filename":"image_03112025_10_06_37_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/3/d4d1112928079c6dc4f793eaebf3f5e8.jpg","text":"TemporaryFile(/tmp/multipartBody7286472173066405885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194202754,"filename":"image_03112025_10_06_47_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392121809","file1":"1392121798","file0":"1392121795","file4":"1392121875","file5":"1392121917","file3":"1392121851"},"map_files_photo_id_array":[{"photo_id":"1392121917","filename":"file5"},{"photo_id":"1392121809","filename":"file2"},{"photo_id":"1392121875","filename":"file4"},{"photo_id":"1392121798","filename":"file1"},{"photo_id":"1392121795","filename":"file0"},{"photo_id":"1392121851","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392121917":["hashtag1","hashtag2"]},{"1392121851":["hashtag1","hashtag2"]},{"1392121809":["hashtag1","hashtag2"]},{"1392121795":["hashtag1","hashtag2"]},{"1392121798":["hashtag1","hashtag2"]},{"1392121875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392121917, 1392121851, 1392121809, 1392121795, 1392121798, 1392121875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.351523876190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:23:02.913681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_53_3656.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_56_2826.jpg', '/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_58_2722.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_01_2667.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_05_3644.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_07_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_53_3656.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_56_2826.jpg
/home/pi/Desktop/images/03112025/10/06/image_03112025_10_06_58_2722.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_01_2667.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_05_3644.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_07_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392122109","1392122087","1392122042","1392122091","1392122073","1392122064"],"photo_ids_order":["1392122042","1392122064","1392122073","1392122087","1392122091","1392122109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/34cf2d7a1ad267b84061fc44f8f389cd.jpg","text":"TemporaryFile(/tmp/multipartBody3875999984573923804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194243860,"filename":"image_03112025_10_07_07_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7216a7e8c90fcc4de920250c2c9dc1b0.jpg","text":"TemporaryFile(/tmp/multipartBody3240631157280631822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194243860,"filename":"image_03112025_10_07_01_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/3/0eed1121d66e271ce1f88a51c2ba3134.jpg","text":"TemporaryFile(/tmp/multipartBody8890102211839358319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194243860,"filename":"image_03112025_10_06_53_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/3/741ab37bd5a5262303a0533408ab0ab5.jpg","text":"TemporaryFile(/tmp/multipartBody4698082702098334970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194243860,"filename":"image_03112025_10_07_05_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/3/1dfc26a251bdebb4d51b9155ece12e75.jpg","text":"TemporaryFile(/tmp/multipartBody7393141481282738572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194243860,"filename":"image_03112025_10_06_58_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/3/497cb082d182bc956f294a010735c9e1.jpg","text":"TemporaryFile(/tmp/multipartBody5163089859798699528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194243860,"filename":"image_03112025_10_06_56_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392122073","file1":"1392122064","file0":"1392122042","file4":"1392122091","file5":"1392122109","file3":"1392122087"},"map_files_photo_id_array":[{"photo_id":"1392122109","filename":"file5"},{"photo_id":"1392122073","filename":"file2"},{"photo_id":"1392122091","filename":"file4"},{"photo_id":"1392122064","filename":"file1"},{"photo_id":"1392122042","filename":"file0"},{"photo_id":"1392122087","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392122109":["hashtag1","hashtag2"]},{"1392122087":["hashtag1","hashtag2"]},{"1392122042":["hashtag1","hashtag2"]},{"1392122091":["hashtag1","hashtag2"]},{"1392122073":["hashtag1","hashtag2"]},{"1392122064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392122109, 1392122087, 1392122042, 1392122091, 1392122073, 1392122064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9332594871521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:23:42.159341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_10_2722.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_13_3574.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_16_2528.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_20_3568.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_22_2624.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_25_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_10_2722.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_13_3574.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_16_2528.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_20_3568.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_22_2624.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_25_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":["1392122127","1392122132","1392122129","1392122123","1392122125","1392122136"],"photo_ids_order":["1392122123","1392122125","1392122127","1392122129","1392122132","1392122136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cc94efc2fd8434bf11614e76314557f4.jpg","text":"TemporaryFile(/tmp/multipartBody5278352108117175901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194290315,"filename":"image_03112025_10_07_16_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/3/9f31fb0250f30feb181e2179922ba812.jpg","text":"TemporaryFile(/tmp/multipartBody1808545891738386628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194290315,"filename":"image_03112025_10_07_22_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/3/7380db82997c025a9c01a3f320279a22.jpg","text":"TemporaryFile(/tmp/multipartBody4039099818058295772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194290315,"filename":"image_03112025_10_07_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/3/bd3cf867e337051722ee01884fea101b.jpg","text":"TemporaryFile(/tmp/multipartBody5623310992235498050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194290315,"filename":"image_03112025_10_07_10_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/3/93266b308763da7b80abe0699a43fa15.jpg","text":"TemporaryFile(/tmp/multipartBody5059158479294820716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194290315,"filename":"image_03112025_10_07_13_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f04ea1d7bedc6ad8c97a5f147c97f09a.jpg","text":"TemporaryFile(/tmp/multipartBody8488221226451896637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194290315,"filename":"image_03112025_10_07_25_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392122127","file1":"1392122125","file0":"1392122123","file4":"1392122132","file5":"1392122136","file3":"1392122129"},"map_files_photo_id_array":[{"photo_id":"1392122136","filename":"file5"},{"photo_id":"1392122127","filename":"file2"},{"photo_id":"1392122132","filename":"file4"},{"photo_id":"1392122125","filename":"file1"},{"photo_id":"1392122123","filename":"file0"},{"photo_id":"1392122129","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392122127":["hashtag1","hashtag2"]},{"1392122132":["hashtag1","hashtag2"]},{"1392122129":["hashtag1","hashtag2"]},{"1392122123":["hashtag1","hashtag2"]},{"1392122125":["hashtag1","hashtag2"]},{"1392122136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392122127, 1392122132, 1392122129, 1392122123, 1392122125, 1392122136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73958659172058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:24:42.350939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_29_3637.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_31_2594.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_35_3611.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_37_2620.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_40_2678.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_43_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_29_3637.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_31_2594.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_35_3611.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_37_2620.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_40_2678.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_43_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392122585","1392122456","1392122507","1392122413","1392122370","1392122547"],"photo_ids_order":["1392122370","1392122413","1392122456","1392122507","1392122547","1392122585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb5b1ddb0c6a1f6353468a3116383e5d.jpg","text":"TemporaryFile(/tmp/multipartBody4017394248349604445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194343202,"filename":"image_03112025_10_07_43_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/3/72c8ef2105b6540c6953fc1b91077e0e.jpg","text":"TemporaryFile(/tmp/multipartBody7903889478969262375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194343202,"filename":"image_03112025_10_07_35_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/3/16af320f52a87ae84b065800c419e7ca.jpg","text":"TemporaryFile(/tmp/multipartBody7690956010188767684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194343202,"filename":"image_03112025_10_07_37_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/3/8edc5080a7accd484f148558f7c543a6.jpg","text":"TemporaryFile(/tmp/multipartBody6544212245046457864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194343202,"filename":"image_03112025_10_07_31_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/3/9177f73a8cedea9b3d01d4680426c3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6861565410434797679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194343202,"filename":"image_03112025_10_07_29_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/3/3097f7af24660d7c3dbe45b6fecd49b0.jpg","text":"TemporaryFile(/tmp/multipartBody4450015814642503019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194343202,"filename":"image_03112025_10_07_40_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392122456","file1":"1392122413","file0":"1392122370","file4":"1392122547","file5":"1392122585","file3":"1392122507"},"map_files_photo_id_array":[{"photo_id":"1392122585","filename":"file5"},{"photo_id":"1392122456","filename":"file2"},{"photo_id":"1392122547","filename":"file4"},{"photo_id":"1392122413","filename":"file1"},{"photo_id":"1392122370","filename":"file0"},{"photo_id":"1392122507","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392122585":["hashtag1","hashtag2"]},{"1392122456":["hashtag1","hashtag2"]},{"1392122507":["hashtag1","hashtag2"]},{"1392122413":["hashtag1","hashtag2"]},{"1392122370":["hashtag1","hashtag2"]},{"1392122547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392122585, 1392122456, 1392122507, 1392122413, 1392122370, 1392122547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.319825887680054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:25:22.404801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_46_2903.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_50_3784.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_52_2623.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_55_2706.jpg', '/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_59_3791.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_01_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_46_2903.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_50_3784.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_52_2623.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_55_2706.jpg
/home/pi/Desktop/images/03112025/10/07/image_03112025_10_07_59_3791.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_01_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392122699","1392122774","1392122654","1392122854","1392122650","1392122658"],"photo_ids_order":["1392122650","1392122654","1392122658","1392122699","1392122774","1392122854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e6c5a3537ebd0894d28d4de117f2aab.jpg","text":"TemporaryFile(/tmp/multipartBody7118744227695575892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194383318,"filename":"image_03112025_10_07_55_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/42bfae151ade7ee1f9366a0519c27584.jpg","text":"TemporaryFile(/tmp/multipartBody9215492929731280559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194383318,"filename":"image_03112025_10_07_59_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/3/c1f2e14da2c6209479c1966a6e2ba79a.jpg","text":"TemporaryFile(/tmp/multipartBody3478895987839035541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194383318,"filename":"image_03112025_10_07_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/3/46907749b3bcdf4983ca2c207879a14a.jpg","text":"TemporaryFile(/tmp/multipartBody1355815147602132421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194383318,"filename":"image_03112025_10_08_01_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/3/63441c9deef89742c506a549ff58a357.jpg","text":"TemporaryFile(/tmp/multipartBody5751387238956262774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194383318,"filename":"image_03112025_10_07_46_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/3/960b8a00b6f5270f4ece674c8197d04d.jpg","text":"TemporaryFile(/tmp/multipartBody8998021924176846143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194383318,"filename":"image_03112025_10_07_52_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392122658","file1":"1392122654","file0":"1392122650","file4":"1392122774","file5":"1392122854","file3":"1392122699"},"map_files_photo_id_array":[{"photo_id":"1392122854","filename":"file5"},{"photo_id":"1392122658","filename":"file2"},{"photo_id":"1392122774","filename":"file4"},{"photo_id":"1392122654","filename":"file1"},{"photo_id":"1392122650","filename":"file0"},{"photo_id":"1392122699","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392122699":["hashtag1","hashtag2"]},{"1392122774":["hashtag1","hashtag2"]},{"1392122654":["hashtag1","hashtag2"]},{"1392122854":["hashtag1","hashtag2"]},{"1392122650":["hashtag1","hashtag2"]},{"1392122658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392122699, 1392122774, 1392122654, 1392122854, 1392122650, 1392122658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.724973917007446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:26:03.266435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_04_2697.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_08_3557.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_10_2912.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_13_2770.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_16_2631.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_20_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_04_2697.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_08_3557.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_10_2912.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_13_2770.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_16_2631.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_20_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392123164","1392123137","1392122976","1392123132","1392123021","1392123092"],"photo_ids_order":["1392122976","1392123021","1392123092","1392123132","1392123137","1392123164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e07767bde911209a8cb58dc7cf2b1ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3159534938873103096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194424156,"filename":"image_03112025_10_08_20_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/3/25ce0c3c383843640108a6ac3da20b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8292610156343371762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194424156,"filename":"image_03112025_10_08_16_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/3/368d12efa52b36641f98b5fb4f2ce152.jpg","text":"TemporaryFile(/tmp/multipartBody1586108169300885930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194424156,"filename":"image_03112025_10_08_04_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2332aa5c2b8fc3d3fab7fa3a727335e.jpg","text":"TemporaryFile(/tmp/multipartBody1521827236614040069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194424156,"filename":"image_03112025_10_08_13_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/3/ae92a7bfd79f5471d42d8616dcc377c4.jpg","text":"TemporaryFile(/tmp/multipartBody8943072449445588230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194424156,"filename":"image_03112025_10_08_08_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/3/11fc8b0bd222757bdf92b8960c58e605.jpg","text":"TemporaryFile(/tmp/multipartBody1374744480184302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194424156,"filename":"image_03112025_10_08_10_2912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392123092","file1":"1392123021","file0":"1392122976","file4":"1392123137","file5":"1392123164","file3":"1392123132"},"map_files_photo_id_array":[{"photo_id":"1392123164","filename":"file5"},{"photo_id":"1392123092","filename":"file2"},{"photo_id":"1392123137","filename":"file4"},{"photo_id":"1392123021","filename":"file1"},{"photo_id":"1392122976","filename":"file0"},{"photo_id":"1392123132","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392123164":["hashtag1","hashtag2"]},{"1392123137":["hashtag1","hashtag2"]},{"1392122976":["hashtag1","hashtag2"]},{"1392123132":["hashtag1","hashtag2"]},{"1392123021":["hashtag1","hashtag2"]},{"1392123092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392123164, 1392123137, 1392122976, 1392123132, 1392123021, 1392123092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45409822463989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:26:42.814377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_22_2619.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_25_2526.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_28_3788.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_31_2786.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_34_2615.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_38_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_22_2619.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_25_2526.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_28_3788.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_31_2786.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_34_2615.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_38_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392123473","1392123455","1392123311","1392123361","1392123246","1392123414"],"photo_ids_order":["1392123246","1392123311","1392123361","1392123414","1392123455","1392123473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/10ba3fbfd072493a66434e71b33db2e8.jpg","text":"TemporaryFile(/tmp/multipartBody7224539846762911486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194463667,"filename":"image_03112025_10_08_38_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/3/ed88f8058e843d747e548f3c5e5246a7.jpg","text":"TemporaryFile(/tmp/multipartBody4829315071093490688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194463667,"filename":"image_03112025_10_08_34_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/3/42164f4a32de644f6ca9cd96006a7538.jpg","text":"TemporaryFile(/tmp/multipartBody5082493416072115101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194463667,"filename":"image_03112025_10_08_25_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/3/b6ffc2db7d19522fc28627e778030bab.jpg","text":"TemporaryFile(/tmp/multipartBody600054136784033130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194463667,"filename":"image_03112025_10_08_28_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/3/dbc9de5e11d596c61d98c4cc3b45b31a.jpg","text":"TemporaryFile(/tmp/multipartBody1984667676416784144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194463667,"filename":"image_03112025_10_08_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/3/983b7f2cb20dc47ca53560b1515658d1.jpg","text":"TemporaryFile(/tmp/multipartBody4239395642970782501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194463667,"filename":"image_03112025_10_08_31_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392123361","file1":"1392123311","file0":"1392123246","file4":"1392123455","file5":"1392123473","file3":"1392123414"},"map_files_photo_id_array":[{"photo_id":"1392123473","filename":"file5"},{"photo_id":"1392123361","filename":"file2"},{"photo_id":"1392123455","filename":"file4"},{"photo_id":"1392123311","filename":"file1"},{"photo_id":"1392123246","filename":"file0"},{"photo_id":"1392123414","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392123473":["hashtag1","hashtag2"]},{"1392123455":["hashtag1","hashtag2"]},{"1392123311":["hashtag1","hashtag2"]},{"1392123361":["hashtag1","hashtag2"]},{"1392123246":["hashtag1","hashtag2"]},{"1392123414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392123473, 1392123455, 1392123311, 1392123361, 1392123246, 1392123414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.380820512771606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:27:22.038287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_40_2698.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_43_2562.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_46_3646.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_49_2669.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_52_2638.jpg', '/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_55_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_40_2698.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_43_2562.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_46_3646.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_49_2669.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_52_2638.jpg
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_55_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392123499","1392123492","1392123486","1392123495","1392123489","1392123482"],"photo_ids_order":["1392123482","1392123486","1392123489","1392123492","1392123495","1392123499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae532ee55c6c08c89346e1c70341bfa4.jpg","text":"TemporaryFile(/tmp/multipartBody18699081059879101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194502860,"filename":"image_03112025_10_08_55_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/3/e8a0b136ef860b254a609af5bdda7104.jpg","text":"TemporaryFile(/tmp/multipartBody174758688214966014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194502860,"filename":"image_03112025_10_08_49_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/3/7141c65c6a47f2a7013aae92d491e380.jpg","text":"TemporaryFile(/tmp/multipartBody2920280937400500296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194502860,"filename":"image_03112025_10_08_43_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/3/cb351a0ea52046019e4053272c543d28.jpg","text":"TemporaryFile(/tmp/multipartBody4090424562139118418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194502860,"filename":"image_03112025_10_08_52_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/3/a4f19fb2bdf3293358be34d47df34a83.jpg","text":"TemporaryFile(/tmp/multipartBody4624252870051948897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194502860,"filename":"image_03112025_10_08_46_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/3/c574a59dd431a00d911475f26d16edf5.jpg","text":"TemporaryFile(/tmp/multipartBody2751408203798234160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194502860,"filename":"image_03112025_10_08_40_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392123489","file1":"1392123486","file0":"1392123482","file4":"1392123495","file5":"1392123499","file3":"1392123492"},"map_files_photo_id_array":[{"photo_id":"1392123499","filename":"file5"},{"photo_id":"1392123489","filename":"file2"},{"photo_id":"1392123495","filename":"file4"},{"photo_id":"1392123486","filename":"file1"},{"photo_id":"1392123482","filename":"file0"},{"photo_id":"1392123492","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392123499":["hashtag1","hashtag2"]},{"1392123492":["hashtag1","hashtag2"]},{"1392123486":["hashtag1","hashtag2"]},{"1392123495":["hashtag1","hashtag2"]},{"1392123489":["hashtag1","hashtag2"]},{"1392123482":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392123499, 1392123492, 1392123486, 1392123495, 1392123489, 1392123482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.400484800338745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:28:02.592885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_58_2629.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_01_2662.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_04_3660.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_07_2750.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_10_2727.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_14_3769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/08/image_03112025_10_08_58_2629.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_01_2662.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_04_3660.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_07_2750.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_10_2727.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_14_3769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392123548","1392123511","1392123514","1392123508","1392123585","1392123609"],"photo_ids_order":["1392123508","1392123511","1392123514","1392123548","1392123585","1392123609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/21a847c1c97dba4ca67e97971f0848ec.jpg","text":"TemporaryFile(/tmp/multipartBody2314765102362682477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194543483,"filename":"image_03112025_10_09_07_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/3/63529c5414cad41fb003410c6660adb8.jpg","text":"TemporaryFile(/tmp/multipartBody3101599741540881654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194543483,"filename":"image_03112025_10_09_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/3/cb5c569de6099a4641bf72beb998f891.jpg","text":"TemporaryFile(/tmp/multipartBody519791195536103710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194543483,"filename":"image_03112025_10_09_04_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/3/dcb8941f1022fd24a239125b5a895ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4660694199471818596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194543483,"filename":"image_03112025_10_08_58_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/3/314e532c54f2acee4629f3b428b5cdd8.jpg","text":"TemporaryFile(/tmp/multipartBody1006610425343500447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194543483,"filename":"image_03112025_10_09_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/3/3fe5f6362ac14ad64dcb7ba6370cd56b.jpg","text":"TemporaryFile(/tmp/multipartBody99102344588455147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194543483,"filename":"image_03112025_10_09_14_3769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392123514","file1":"1392123511","file0":"1392123508","file4":"1392123585","file5":"1392123609","file3":"1392123548"},"map_files_photo_id_array":[{"photo_id":"1392123609","filename":"file5"},{"photo_id":"1392123514","filename":"file2"},{"photo_id":"1392123585","filename":"file4"},{"photo_id":"1392123511","filename":"file1"},{"photo_id":"1392123508","filename":"file0"},{"photo_id":"1392123548","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392123548":["hashtag1","hashtag2"]},{"1392123511":["hashtag1","hashtag2"]},{"1392123514":["hashtag1","hashtag2"]},{"1392123508":["hashtag1","hashtag2"]},{"1392123585":["hashtag1","hashtag2"]},{"1392123609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392123548, 1392123511, 1392123514, 1392123508, 1392123585, 1392123609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64531064033508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:28:42.266818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_16_2629.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_19_2628.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_22_3579.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_25_2598.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_28_2609.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_31_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_16_2629.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_19_2628.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_22_3579.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_25_2598.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_28_2609.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_31_3749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392123746","1392123745","1392123744","1392123732","1392123654","1392123692"],"photo_ids_order":["1392123654","1392123692","1392123732","1392123744","1392123745","1392123746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c7553789d5396306c5b44d779cb06307.jpg","text":"TemporaryFile(/tmp/multipartBody2175508328001086036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194583170,"filename":"image_03112025_10_09_31_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/3/1478ebe419524fa7c7bb034c80597a14.jpg","text":"TemporaryFile(/tmp/multipartBody1175450625563948180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194583170,"filename":"image_03112025_10_09_28_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/3/fa4db41cbd079e9e0d8aaa056d98ef60.jpg","text":"TemporaryFile(/tmp/multipartBody2997003283496547966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194583170,"filename":"image_03112025_10_09_25_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/3/592b8eda104d8a42176db47b3347416e.jpg","text":"TemporaryFile(/tmp/multipartBody3033043101368375727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194583170,"filename":"image_03112025_10_09_22_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/3/68e0cea8d04aa6caae96da583d4f4f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3131451609974944170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194583170,"filename":"image_03112025_10_09_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/3/3307c4a54f8006fe1eb691371079d02e.jpg","text":"TemporaryFile(/tmp/multipartBody2232649360308480723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194583170,"filename":"image_03112025_10_09_19_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392123732","file1":"1392123692","file0":"1392123654","file4":"1392123745","file5":"1392123746","file3":"1392123744"},"map_files_photo_id_array":[{"photo_id":"1392123746","filename":"file5"},{"photo_id":"1392123732","filename":"file2"},{"photo_id":"1392123745","filename":"file4"},{"photo_id":"1392123692","filename":"file1"},{"photo_id":"1392123654","filename":"file0"},{"photo_id":"1392123744","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392123746":["hashtag1","hashtag2"]},{"1392123745":["hashtag1","hashtag2"]},{"1392123744":["hashtag1","hashtag2"]},{"1392123732":["hashtag1","hashtag2"]},{"1392123654":["hashtag1","hashtag2"]},{"1392123692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392123746, 1392123745, 1392123744, 1392123732, 1392123654, 1392123692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25733542442322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:29:22.359915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_34_2673.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_38_4043.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_40_1766.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_43_3579.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_46_2653.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_49_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_34_2673.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_38_4043.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_40_1766.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_43_3579.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_46_2653.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_49_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392123785","1392123812","1392123800","1392123754","1392123823","1392123759"],"photo_ids_order":["1392123754","1392123759","1392123785","1392123800","1392123812","1392123823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f13fc21e4b2b1dfbc624818c0779d941.jpg","text":"TemporaryFile(/tmp/multipartBody6125982258312542934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194623285,"filename":"image_03112025_10_09_40_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/3/ef3952430fdfc5dda0213e0e54434672.jpg","text":"TemporaryFile(/tmp/multipartBody7798896721790633665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194623285,"filename":"image_03112025_10_09_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/3/361b877e8cd4508ab3e33c30c77e4305.jpg","text":"TemporaryFile(/tmp/multipartBody6220238695924475283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194623285,"filename":"image_03112025_10_09_43_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/3/695555aa1a22a0df4b8863a77d59e8b9.jpg","text":"TemporaryFile(/tmp/multipartBody811338544067532818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194623285,"filename":"image_03112025_10_09_34_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/3/6459b9efaf9a77abbe5cb460f3955a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7224414185480420583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194623285,"filename":"image_03112025_10_09_49_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/3/32d308bff678532b77b0b2ef13f7d145.jpg","text":"TemporaryFile(/tmp/multipartBody9041529120776546120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194623285,"filename":"image_03112025_10_09_38_4043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392123785","file1":"1392123759","file0":"1392123754","file4":"1392123812","file5":"1392123823","file3":"1392123800"},"map_files_photo_id_array":[{"photo_id":"1392123823","filename":"file5"},{"photo_id":"1392123785","filename":"file2"},{"photo_id":"1392123812","filename":"file4"},{"photo_id":"1392123759","filename":"file1"},{"photo_id":"1392123754","filename":"file0"},{"photo_id":"1392123800","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392123785":["hashtag1","hashtag2"]},{"1392123812":["hashtag1","hashtag2"]},{"1392123800":["hashtag1","hashtag2"]},{"1392123754":["hashtag1","hashtag2"]},{"1392123823":["hashtag1","hashtag2"]},{"1392123759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392123785, 1392123812, 1392123800, 1392123754, 1392123823, 1392123759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26589035987854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:30:02.896683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_54_5003.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_56_1806.jpg', '/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_58_2687.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_07_3011.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_11_3767.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_14_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_54_5003.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_56_1806.jpg
/home/pi/Desktop/images/03112025/10/09/image_03112025_10_09_58_2687.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_07_3011.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_11_3767.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_14_2803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392123920","1392123886","1392123885","1392123906","1392123915","1392123887"],"photo_ids_order":["1392123885","1392123886","1392123887","1392123906","1392123915","1392123920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e4b82ee797fa0758d559548888b253ef.jpg","text":"TemporaryFile(/tmp/multipartBody7694985368420117940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194665175,"filename":"image_03112025_10_10_14_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/569eb9270aff7f697192bf8eb108fd03.jpg","text":"TemporaryFile(/tmp/multipartBody2287535371955089124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194665175,"filename":"image_03112025_10_09_56_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/3/5ed9b603488a2ad05aefbd51be9c9abb.jpg","text":"TemporaryFile(/tmp/multipartBody5594016932059734403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194665175,"filename":"image_03112025_10_09_54_5003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/13edcd9f424a5bae257ca64c9d859fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3983074420014820378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194665175,"filename":"image_03112025_10_10_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/3/365eaccad7c0f2bf9b0c90a96f5b512f.jpg","text":"TemporaryFile(/tmp/multipartBody9050764389016037419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194665175,"filename":"image_03112025_10_10_11_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/3/4838cbd9c52ebdc6190a576b3147bed2.jpg","text":"TemporaryFile(/tmp/multipartBody2525910445130372681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194665175,"filename":"image_03112025_10_09_58_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392123887","file1":"1392123886","file0":"1392123885","file4":"1392123915","file5":"1392123920","file3":"1392123906"},"map_files_photo_id_array":[{"photo_id":"1392123920","filename":"file5"},{"photo_id":"1392123887","filename":"file2"},{"photo_id":"1392123915","filename":"file4"},{"photo_id":"1392123886","filename":"file1"},{"photo_id":"1392123885","filename":"file0"},{"photo_id":"1392123906","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392123920":["hashtag1","hashtag2"]},{"1392123886":["hashtag1","hashtag2"]},{"1392123885":["hashtag1","hashtag2"]},{"1392123906":["hashtag1","hashtag2"]},{"1392123915":["hashtag1","hashtag2"]},{"1392123887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392123920, 1392123886, 1392123885, 1392123906, 1392123915, 1392123887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85430407524109 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:31:03.368593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 19:31:23.473656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 19:31:42.617360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_16_2654.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_19_2798.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_23_3548.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_25_2649.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_29_3982.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_32_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_16_2654.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_19_2798.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_23_3548.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_25_2649.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_29_3982.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_32_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392124384","1392124378","1392124290","1392124374","1392124326","1392124343"],"photo_ids_order":["1392124290","1392124326","1392124343","1392124374","1392124378","1392124384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4973da897da4aee9a5c394a95dc0acc8.jpg","text":"TemporaryFile(/tmp/multipartBody4084369069061831980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194766998,"filename":"image_03112025_10_10_32_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/3/75d33113bd370a3025a2cc849ed17191.jpg","text":"TemporaryFile(/tmp/multipartBody7869327104297046632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194766998,"filename":"image_03112025_10_10_29_3982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36f4676ae1d7ab7ccceefa8bc3ba7096.jpg","text":"TemporaryFile(/tmp/multipartBody1632492300076645114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194766998,"filename":"image_03112025_10_10_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/3/ff950f34cde31e3ef423d6ab8bea1fde.jpg","text":"TemporaryFile(/tmp/multipartBody177479833517304405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194766998,"filename":"image_03112025_10_10_25_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/3/198ab04aed74a0594965104789cba577.jpg","text":"TemporaryFile(/tmp/multipartBody6755330838749290993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194766998,"filename":"image_03112025_10_10_19_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/3/ad2f349bc88859377b05e3286e44fe54.jpg","text":"TemporaryFile(/tmp/multipartBody8307200052771357067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194766998,"filename":"image_03112025_10_10_23_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392124343","file1":"1392124326","file0":"1392124290","file4":"1392124378","file5":"1392124384","file3":"1392124374"},"map_files_photo_id_array":[{"photo_id":"1392124384","filename":"file5"},{"photo_id":"1392124343","filename":"file2"},{"photo_id":"1392124378","filename":"file4"},{"photo_id":"1392124326","filename":"file1"},{"photo_id":"1392124290","filename":"file0"},{"photo_id":"1392124374","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392124384":["hashtag1","hashtag2"]},{"1392124378":["hashtag1","hashtag2"]},{"1392124290":["hashtag1","hashtag2"]},{"1392124374":["hashtag1","hashtag2"]},{"1392124326":["hashtag1","hashtag2"]},{"1392124343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392124384, 1392124378, 1392124290, 1392124374, 1392124326, 1392124343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.85984826087952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:32:42.264019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_35_2630.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_37_2858.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_41_3595.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_44_2533.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_46_2774.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_49_2836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_35_2630.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_37_2858.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_41_3595.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_44_2533.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_46_2774.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_49_2836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392124594","1392124567","1392124593","1392124569","1392124592","1392124562"],"photo_ids_order":["1392124562","1392124567","1392124569","1392124592","1392124593","1392124594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/372a6a7dab4fe12fffd57f5d0d73fb8c.jpg","text":"TemporaryFile(/tmp/multipartBody1513516609661429682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194823083,"filename":"image_03112025_10_10_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/3/4a2035b5774da4824a7be5b2ee326fb6.jpg","text":"TemporaryFile(/tmp/multipartBody7302002710422723082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194823083,"filename":"image_03112025_10_10_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/3/6ad238e125d2993537f539c39627889a.jpg","text":"TemporaryFile(/tmp/multipartBody4107323504939001012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194823083,"filename":"image_03112025_10_10_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/3/10bc5af6824f373204561b1aa39e58de.jpg","text":"TemporaryFile(/tmp/multipartBody2893001471078968285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194823083,"filename":"image_03112025_10_10_41_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/3/d288341bcafe10f19062801593cf45c1.jpg","text":"TemporaryFile(/tmp/multipartBody8033659523583494201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194823083,"filename":"image_03112025_10_10_44_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/3/eeb87f5ba5af03a51d097f40e0cb3876.jpg","text":"TemporaryFile(/tmp/multipartBody4750347424748101948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194823083,"filename":"image_03112025_10_10_35_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392124569","file1":"1392124567","file0":"1392124562","file4":"1392124593","file5":"1392124594","file3":"1392124592"},"map_files_photo_id_array":[{"photo_id":"1392124594","filename":"file5"},{"photo_id":"1392124569","filename":"file2"},{"photo_id":"1392124593","filename":"file4"},{"photo_id":"1392124567","filename":"file1"},{"photo_id":"1392124562","filename":"file0"},{"photo_id":"1392124592","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392124594":["hashtag1","hashtag2"]},{"1392124567":["hashtag1","hashtag2"]},{"1392124593":["hashtag1","hashtag2"]},{"1392124569":["hashtag1","hashtag2"]},{"1392124592":["hashtag1","hashtag2"]},{"1392124562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392124594, 1392124567, 1392124593, 1392124569, 1392124592, 1392124562)","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: 79.5606791973114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:34:21.971900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 19:34:41.952386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_53_3817.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_55_2530.jpg', '/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_58_2641.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_01_3166.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_04_2701.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_08_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_53_3817.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_55_2530.jpg
/home/pi/Desktop/images/03112025/10/10/image_03112025_10_10_58_2641.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_01_3166.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_04_2701.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_08_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392124675","1392124680","1392124677","1392124685","1392124673","1392124682"],"photo_ids_order":["1392124673","1392124675","1392124677","1392124680","1392124682","1392124685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae414cd098a90142365ab7fd3a6d544b.jpg","text":"TemporaryFile(/tmp/multipartBody3650963731933848657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194942794,"filename":"image_03112025_10_10_55_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/3/88c4312f727d88acbe91802b0ad51991.jpg","text":"TemporaryFile(/tmp/multipartBody5261539808458101651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194942794,"filename":"image_03112025_10_11_01_3166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5e133fe395eca7d823675b13b4e13eb4.jpg","text":"TemporaryFile(/tmp/multipartBody6140625299933856030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194942794,"filename":"image_03112025_10_10_58_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/3/c8ff5382f3d9f453482d666172ff04f0.jpg","text":"TemporaryFile(/tmp/multipartBody3411372024814164613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194942794,"filename":"image_03112025_10_11_08_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/3/3ee84e26bd7d434c4aefe9c46d5aa622.jpg","text":"TemporaryFile(/tmp/multipartBody9112850471308966246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194942794,"filename":"image_03112025_10_10_53_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/160bd141c3cb118ed5459cc6a69ab5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5967177126095062514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194942794,"filename":"image_03112025_10_11_04_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392124677","file1":"1392124675","file0":"1392124673","file4":"1392124682","file5":"1392124685","file3":"1392124680"},"map_files_photo_id_array":[{"photo_id":"1392124685","filename":"file5"},{"photo_id":"1392124677","filename":"file2"},{"photo_id":"1392124682","filename":"file4"},{"photo_id":"1392124675","filename":"file1"},{"photo_id":"1392124673","filename":"file0"},{"photo_id":"1392124680","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392124675":["hashtag1","hashtag2"]},{"1392124680":["hashtag1","hashtag2"]},{"1392124677":["hashtag1","hashtag2"]},{"1392124685":["hashtag1","hashtag2"]},{"1392124673":["hashtag1","hashtag2"]},{"1392124682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392124675, 1392124680, 1392124677, 1392124685, 1392124673, 1392124682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96169352531433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:35:22.145465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_10_2586.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_13_2735.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_17_3604.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_19_2700.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_22_2658.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_26_3884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_10_2586.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_13_2735.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_17_3604.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_19_2700.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_22_2658.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_26_3884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392124984","1392124939","1392124768","1392124807","1392124857","1392124901"],"photo_ids_order":["1392124768","1392124807","1392124857","1392124901","1392124939","1392124984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ab0c9302011c815eb93e4e4ad20efb78.jpg","text":"TemporaryFile(/tmp/multipartBody5776451720735391970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194989056,"filename":"image_03112025_10_11_26_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/3/c6d58fe4c3f83ae5e059c4efa8da2479.jpg","text":"TemporaryFile(/tmp/multipartBody5765892910689368322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194989056,"filename":"image_03112025_10_11_22_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3e457b5a79b41be89a63fc29c5d8cf62.jpg","text":"TemporaryFile(/tmp/multipartBody5242295401313286706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194989056,"filename":"image_03112025_10_11_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/3/6f9e1db183f582835094eac0d22c2c69.jpg","text":"TemporaryFile(/tmp/multipartBody5245122501452797362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194989056,"filename":"image_03112025_10_11_13_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/64d5f910cd0e646ab1999a3f4115058a.jpg","text":"TemporaryFile(/tmp/multipartBody6852511869409923777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194989056,"filename":"image_03112025_10_11_17_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/3/222ce65ee46bdd6375d3797f70348127.jpg","text":"TemporaryFile(/tmp/multipartBody2623327940318616377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762194989056,"filename":"image_03112025_10_11_19_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392124857","file1":"1392124807","file0":"1392124768","file4":"1392124939","file5":"1392124984","file3":"1392124901"},"map_files_photo_id_array":[{"photo_id":"1392124984","filename":"file5"},{"photo_id":"1392124857","filename":"file2"},{"photo_id":"1392124939","filename":"file4"},{"photo_id":"1392124807","filename":"file1"},{"photo_id":"1392124768","filename":"file0"},{"photo_id":"1392124901","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392124984":["hashtag1","hashtag2"]},{"1392124939":["hashtag1","hashtag2"]},{"1392124768":["hashtag1","hashtag2"]},{"1392124807":["hashtag1","hashtag2"]},{"1392124857":["hashtag1","hashtag2"]},{"1392124901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392124984, 1392124939, 1392124768, 1392124807, 1392124857, 1392124901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.11350727081299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:36:22.319716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_29_2767.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_31_2618.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_35_3513.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_40_5152.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_42_1579.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_43_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_29_2767.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_31_2618.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_35_3513.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_40_5152.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_42_1579.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_43_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":["1392125362","1392125416","1392125323","1392125277","1392125442","1392125342"],"photo_ids_order":["1392125277","1392125323","1392125342","1392125362","1392125416","1392125442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2f616cc3375e66146e5b4942ad3b892.jpg","text":"TemporaryFile(/tmp/multipartBody423710028719136538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195047628,"filename":"image_03112025_10_11_40_5152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f909f2d7a5838dc0e51cfe7c3d451abf.jpg","text":"TemporaryFile(/tmp/multipartBody7978611259199321511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195047628,"filename":"image_03112025_10_11_42_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/3/92f2fbf028124331da2fdb2f7534b9f4.jpg","text":"TemporaryFile(/tmp/multipartBody5708296296543125669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195047628,"filename":"image_03112025_10_11_31_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/3/188b9241c3c401077fb89a11651de6cd.jpg","text":"TemporaryFile(/tmp/multipartBody7857722728354670686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195047628,"filename":"image_03112025_10_11_29_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/3/973ca3877ae71268b6d70ed597f0d895.jpg","text":"TemporaryFile(/tmp/multipartBody1842273840112067865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195047628,"filename":"image_03112025_10_11_43_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/3/9cdfa15e62a0e610697fc54fca363e71.jpg","text":"TemporaryFile(/tmp/multipartBody3225199511340971015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195047628,"filename":"image_03112025_10_11_35_3513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392125342","file1":"1392125323","file0":"1392125277","file4":"1392125416","file5":"1392125442","file3":"1392125362"},"map_files_photo_id_array":[{"photo_id":"1392125442","filename":"file5"},{"photo_id":"1392125342","filename":"file2"},{"photo_id":"1392125416","filename":"file4"},{"photo_id":"1392125323","filename":"file1"},{"photo_id":"1392125277","filename":"file0"},{"photo_id":"1392125362","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392125362":["hashtag1","hashtag2"]},{"1392125416":["hashtag1","hashtag2"]},{"1392125323":["hashtag1","hashtag2"]},{"1392125277":["hashtag1","hashtag2"]},{"1392125442":["hashtag1","hashtag2"]},{"1392125342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392125362, 1392125416, 1392125323, 1392125277, 1392125442, 1392125342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.16789770126343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:37:21.805461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_47_3557.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_49_2628.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_52_2734.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_55_2831.jpg', '/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_59_3651.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_01_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_47_3557.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_49_2628.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_52_2734.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_55_2831.jpg
/home/pi/Desktop/images/03112025/10/11/image_03112025_10_11_59_3651.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_01_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392125640","1392125571","1392125607","1392125645","1392125642","1392125531"],"photo_ids_order":["1392125531","1392125571","1392125607","1392125640","1392125642","1392125645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6cc0e7e239920ef22005f7610c513bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4809359509050682621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195102621,"filename":"image_03112025_10_11_55_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dadd8d44d7846b8acda649ecf36a0386.jpg","text":"TemporaryFile(/tmp/multipartBody4716265866936963230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195102621,"filename":"image_03112025_10_11_49_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/3/c84419339b47abedb5f753b5da83d6a1.jpg","text":"TemporaryFile(/tmp/multipartBody5391796459680577967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195102621,"filename":"image_03112025_10_11_52_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/3/b11ea728ebacab09c26a501eb2baf9e1.jpg","text":"TemporaryFile(/tmp/multipartBody7679837005489693109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195102621,"filename":"image_03112025_10_12_01_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d15817214868e3fbc2de53771ce54065.jpg","text":"TemporaryFile(/tmp/multipartBody7044527576060688942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195102621,"filename":"image_03112025_10_11_59_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/3/362462b1d77a29a87e95a72bafbc377e.jpg","text":"TemporaryFile(/tmp/multipartBody7696231040308051806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195102621,"filename":"image_03112025_10_11_47_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392125607","file1":"1392125571","file0":"1392125531","file4":"1392125642","file5":"1392125645","file3":"1392125640"},"map_files_photo_id_array":[{"photo_id":"1392125645","filename":"file5"},{"photo_id":"1392125607","filename":"file2"},{"photo_id":"1392125642","filename":"file4"},{"photo_id":"1392125571","filename":"file1"},{"photo_id":"1392125531","filename":"file0"},{"photo_id":"1392125640","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392125640":["hashtag1","hashtag2"]},{"1392125571":["hashtag1","hashtag2"]},{"1392125607":["hashtag1","hashtag2"]},{"1392125645":["hashtag1","hashtag2"]},{"1392125642":["hashtag1","hashtag2"]},{"1392125531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392125640, 1392125571, 1392125607, 1392125645, 1392125642, 1392125531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76603889465332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:38:06.715938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_05_3652.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_07_2617.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_10_2671.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_14_3612.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_16_2661.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_19_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_05_3652.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_07_2617.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_10_2671.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_14_3612.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_16_2661.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_19_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392125665","1392125673","1392125661","1392125655","1392125658","1392125669"],"photo_ids_order":["1392125655","1392125658","1392125661","1392125665","1392125669","1392125673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3bdc3b2a04683a686c0486555c0b0c6d.jpg","text":"TemporaryFile(/tmp/multipartBody1186849634405296052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195149392,"filename":"image_03112025_10_12_14_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/3/e68d5664cd1e7e21ca09643060d267b4.jpg","text":"TemporaryFile(/tmp/multipartBody5631386475278345106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195149392,"filename":"image_03112025_10_12_19_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/3/cf25e46c6cbcda227d277a17c3a1026b.jpg","text":"TemporaryFile(/tmp/multipartBody1041723550399809277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195149392,"filename":"image_03112025_10_12_10_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6cc2f125d78f64ce90698f3edc85d54b.jpg","text":"TemporaryFile(/tmp/multipartBody2344113675234900368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195149392,"filename":"image_03112025_10_12_05_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/3/17e927ab4731b5c4f42158e146bdcfbe.jpg","text":"TemporaryFile(/tmp/multipartBody1457160796860717909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195149392,"filename":"image_03112025_10_12_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/3/32320319fcf3f5c107297d07fb4f0f1a.jpg","text":"TemporaryFile(/tmp/multipartBody8753209316254498559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195149392,"filename":"image_03112025_10_12_16_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392125661","file1":"1392125658","file0":"1392125655","file4":"1392125669","file5":"1392125673","file3":"1392125665"},"map_files_photo_id_array":[{"photo_id":"1392125673","filename":"file5"},{"photo_id":"1392125661","filename":"file2"},{"photo_id":"1392125669","filename":"file4"},{"photo_id":"1392125658","filename":"file1"},{"photo_id":"1392125655","filename":"file0"},{"photo_id":"1392125665","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392125665":["hashtag1","hashtag2"]},{"1392125673":["hashtag1","hashtag2"]},{"1392125661":["hashtag1","hashtag2"]},{"1392125655":["hashtag1","hashtag2"]},{"1392125658":["hashtag1","hashtag2"]},{"1392125669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392125665, 1392125673, 1392125661, 1392125655, 1392125658, 1392125669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.76335096359253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:39:12.085049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 19:39:26.661995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_22_2818.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_25_3065.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_28_2919.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_31_3111.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_35_3582.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_37_2284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_22_2818.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_25_3065.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_28_2919.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_31_3111.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_35_3582.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_37_2284.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392125863","1392125859","1392125847","1392125870","1392125866","1392125869"],"photo_ids_order":["1392125847","1392125859","1392125863","1392125866","1392125869","1392125870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c8ba50eeedd5530a51bc9a67b218e35e.jpg","text":"TemporaryFile(/tmp/multipartBody7223344422191473791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195230164,"filename":"image_03112025_10_12_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/3/ddd63b191aea618c516bd33d307fa648.jpg","text":"TemporaryFile(/tmp/multipartBody5302986606109221221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195230164,"filename":"image_03112025_10_12_25_3065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee1d339cff867011b7e3bab4d97b7b16.jpg","text":"TemporaryFile(/tmp/multipartBody5128738734033207573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195230164,"filename":"image_03112025_10_12_22_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/3/19daef974a923a59bbf8f55b084cf7e6.jpg","text":"TemporaryFile(/tmp/multipartBody1694654411024550699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195230164,"filename":"image_03112025_10_12_37_2284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d570592a38e77e3d937c83fe0cbc0eff.jpg","text":"TemporaryFile(/tmp/multipartBody7056302880011020663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195230164,"filename":"image_03112025_10_12_31_3111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b3da9c7a33b065dc7f3efc903b26a548.jpg","text":"TemporaryFile(/tmp/multipartBody5900262450193236670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195230164,"filename":"image_03112025_10_12_35_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392125863","file1":"1392125859","file0":"1392125847","file4":"1392125869","file5":"1392125870","file3":"1392125866"},"map_files_photo_id_array":[{"photo_id":"1392125870","filename":"file5"},{"photo_id":"1392125863","filename":"file2"},{"photo_id":"1392125869","filename":"file4"},{"photo_id":"1392125859","filename":"file1"},{"photo_id":"1392125847","filename":"file0"},{"photo_id":"1392125866","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392125863":["hashtag1","hashtag2"]},{"1392125859":["hashtag1","hashtag2"]},{"1392125847":["hashtag1","hashtag2"]},{"1392125870":["hashtag1","hashtag2"]},{"1392125866":["hashtag1","hashtag2"]},{"1392125869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392125863, 1392125859, 1392125847, 1392125870, 1392125866, 1392125869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54677176475525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:40:21.817927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_41_3819.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_46_4893.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_47_1645.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_54_6975.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_56_1561.jpg', '/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_57_1763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_41_3819.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_46_4893.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_47_1645.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_54_6975.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_56_1561.jpg
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_57_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":["1392125938","1392125952","1392125961","1392125955","1392125948","1392125936"],"photo_ids_order":["1392125936","1392125938","1392125948","1392125952","1392125955","1392125961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a146a5e83c09fbad1847593b6921c701.jpg","text":"TemporaryFile(/tmp/multipartBody4732734532428748122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195295384,"filename":"image_03112025_10_12_46_4893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/592949a7d1e13dbbaf42b4ad0edfd1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2037471767685529717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195295384,"filename":"image_03112025_10_12_54_6975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/29caecd9bea23424057d8d098101b04d.jpg","text":"TemporaryFile(/tmp/multipartBody5750983567426880128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195295384,"filename":"image_03112025_10_12_57_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/57244dd8fc6c0c844a1f3e725cd41efb.jpg","text":"TemporaryFile(/tmp/multipartBody8669799015820682783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195295384,"filename":"image_03112025_10_12_56_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a4e0969e55701f3e545f40a8d588734f.jpg","text":"TemporaryFile(/tmp/multipartBody1713377847630164236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195295384,"filename":"image_03112025_10_12_47_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/3/4b56e1e0d2e16a4fc63dddcde484a11e.jpg","text":"TemporaryFile(/tmp/multipartBody1999195487748224158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195295384,"filename":"image_03112025_10_12_41_3819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392125948","file1":"1392125938","file0":"1392125936","file4":"1392125955","file5":"1392125961","file3":"1392125952"},"map_files_photo_id_array":[{"photo_id":"1392125961","filename":"file5"},{"photo_id":"1392125948","filename":"file2"},{"photo_id":"1392125955","filename":"file4"},{"photo_id":"1392125938","filename":"file1"},{"photo_id":"1392125936","filename":"file0"},{"photo_id":"1392125952","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392125938":["hashtag1","hashtag2"]},{"1392125952":["hashtag1","hashtag2"]},{"1392125961":["hashtag1","hashtag2"]},{"1392125955":["hashtag1","hashtag2"]},{"1392125948":["hashtag1","hashtag2"]},{"1392125936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392125938, 1392125952, 1392125961, 1392125955, 1392125948, 1392125936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.574928283691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:41:21.959607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_59_1605.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_02_2998.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_05_2629.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_08_3529.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_10_1589.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_14_3782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/12/image_03112025_10_12_59_1605.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_02_2998.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_05_2629.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_08_3529.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_10_1589.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_14_3782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392126031","1392126025","1392126007","1392126033","1392126020","1392126046"],"photo_ids_order":["1392126007","1392126020","1392126025","1392126031","1392126033","1392126046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71334e1c0e0b2c40055bdb294443e424.jpg","text":"TemporaryFile(/tmp/multipartBody386329085753347178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195356222,"filename":"image_03112025_10_13_08_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b33e9c78d62bcb47664cb4250f50a705.jpg","text":"TemporaryFile(/tmp/multipartBody577639481724580406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195356222,"filename":"image_03112025_10_13_05_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1eb65d77494774b6625da804336bd3f8.jpg","text":"TemporaryFile(/tmp/multipartBody8388822297255638789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195356222,"filename":"image_03112025_10_12_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/3/f6a8bfdc990d82c85d8ed927322b45d0.jpg","text":"TemporaryFile(/tmp/multipartBody824361269081485386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195356222,"filename":"image_03112025_10_13_10_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/3/60e9c547ef4b1b27f2a5c3e85620c795.jpg","text":"TemporaryFile(/tmp/multipartBody3103273693557678254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195356222,"filename":"image_03112025_10_13_02_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/acdf20f143ab1e9b71f48a8004e94371.jpg","text":"TemporaryFile(/tmp/multipartBody3980924843195852139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195356222,"filename":"image_03112025_10_13_14_3782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392126025","file1":"1392126020","file0":"1392126007","file4":"1392126033","file5":"1392126046","file3":"1392126031"},"map_files_photo_id_array":[{"photo_id":"1392126046","filename":"file5"},{"photo_id":"1392126025","filename":"file2"},{"photo_id":"1392126033","filename":"file4"},{"photo_id":"1392126020","filename":"file1"},{"photo_id":"1392126007","filename":"file0"},{"photo_id":"1392126031","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392126031":["hashtag1","hashtag2"]},{"1392126025":["hashtag1","hashtag2"]},{"1392126007":["hashtag1","hashtag2"]},{"1392126033":["hashtag1","hashtag2"]},{"1392126020":["hashtag1","hashtag2"]},{"1392126046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392126031, 1392126025, 1392126007, 1392126033, 1392126020, 1392126046)","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: 80.82976841926575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:43:03.023364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_16_2638.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_19_2692.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_23_3740.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_25_2787.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_28_2737.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_34_5677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_16_2638.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_19_2692.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_23_3740.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_25_2787.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_28_2737.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_34_5677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392126081","1392126087","1392126074","1392126077","1392126071","1392126094"],"photo_ids_order":["1392126071","1392126074","1392126077","1392126081","1392126087","1392126094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b2c17d2dd775510c5893e378328789fa.jpg","text":"TemporaryFile(/tmp/multipartBody7946310581970220057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195443896,"filename":"image_03112025_10_13_25_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4927acce2d12f81104ec87eff7f45a1b.jpg","text":"TemporaryFile(/tmp/multipartBody2628847833466980012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195443896,"filename":"image_03112025_10_13_28_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/3/eaeb7bb1cd799adc77761c7a54b859f3.jpg","text":"TemporaryFile(/tmp/multipartBody9112709935761582459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195443896,"filename":"image_03112025_10_13_19_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/41056519fdbabfc1adee199f5acf16c9.jpg","text":"TemporaryFile(/tmp/multipartBody6335159562318892059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195443896,"filename":"image_03112025_10_13_23_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/3/a7a4b27f24b2d092eaa454c541430473.jpg","text":"TemporaryFile(/tmp/multipartBody2770304840504083110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195443896,"filename":"image_03112025_10_13_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/3/5a8e0c485c8f169195defbcc638a2c73.jpg","text":"TemporaryFile(/tmp/multipartBody3051834996811085477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195443896,"filename":"image_03112025_10_13_34_5677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392126077","file1":"1392126074","file0":"1392126071","file4":"1392126087","file5":"1392126094","file3":"1392126081"},"map_files_photo_id_array":[{"photo_id":"1392126094","filename":"file5"},{"photo_id":"1392126077","filename":"file2"},{"photo_id":"1392126087","filename":"file4"},{"photo_id":"1392126074","filename":"file1"},{"photo_id":"1392126071","filename":"file0"},{"photo_id":"1392126081","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392126081":["hashtag1","hashtag2"]},{"1392126087":["hashtag1","hashtag2"]},{"1392126074":["hashtag1","hashtag2"]},{"1392126077":["hashtag1","hashtag2"]},{"1392126071":["hashtag1","hashtag2"]},{"1392126094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392126081, 1392126087, 1392126074, 1392126077, 1392126071, 1392126094)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.80819129943848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:44:02.697257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_37_3114.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_39_1655.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_40_1536.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_43_2599.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_47_3744.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_49_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_37_3114.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_39_1655.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_40_1536.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_43_2599.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_47_3744.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_49_2777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392126202","1392126189","1392126197","1392126185","1392126182","1392126193"],"photo_ids_order":["1392126182","1392126185","1392126189","1392126193","1392126197","1392126202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/10dbaa784df89c6edf2eb4bbfcaf6b80.jpg","text":"TemporaryFile(/tmp/multipartBody4135589358765170362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195521151,"filename":"image_03112025_10_13_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/3/d0ee0d7e582e474e3e9731513e29058b.jpg","text":"TemporaryFile(/tmp/multipartBody568114133205818868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195521151,"filename":"image_03112025_10_13_40_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/3/5dafec42d2542fc79f4e3f4cf2f3d65e.jpg","text":"TemporaryFile(/tmp/multipartBody7786467233856768200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195521151,"filename":"image_03112025_10_13_47_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/3/00a15ae8e739ffacda6e94e166986a62.jpg","text":"TemporaryFile(/tmp/multipartBody2685601454854529985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195521151,"filename":"image_03112025_10_13_39_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/3/e7fdb05b9884f6cfc80b89512263dc90.jpg","text":"TemporaryFile(/tmp/multipartBody3289441579501283320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195521151,"filename":"image_03112025_10_13_37_3114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f3da1d13d7c3ddb0a252c9aa3fd8934f.jpg","text":"TemporaryFile(/tmp/multipartBody3371716510208475353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195521151,"filename":"image_03112025_10_13_43_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392126189","file1":"1392126185","file0":"1392126182","file4":"1392126197","file5":"1392126202","file3":"1392126193"},"map_files_photo_id_array":[{"photo_id":"1392126202","filename":"file5"},{"photo_id":"1392126189","filename":"file2"},{"photo_id":"1392126197","filename":"file4"},{"photo_id":"1392126185","filename":"file1"},{"photo_id":"1392126182","filename":"file0"},{"photo_id":"1392126193","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392126202":["hashtag1","hashtag2"]},{"1392126189":["hashtag1","hashtag2"]},{"1392126197":["hashtag1","hashtag2"]},{"1392126185":["hashtag1","hashtag2"]},{"1392126182":["hashtag1","hashtag2"]},{"1392126193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392126202, 1392126189, 1392126197, 1392126185, 1392126182, 1392126193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.47691535949707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:45:02.554122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 19:45:21.878718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_52_2675.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_55_2796.jpg', '/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_59_3813.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_03_4400.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_05_1803.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_07_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_52_2675.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_55_2796.jpg
/home/pi/Desktop/images/03112025/10/13/image_03112025_10_13_59_3813.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_03_4400.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_05_1803.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_07_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392126243","1392126242","1392126236","1392126239","1392126232","1392126229"],"photo_ids_order":["1392126229","1392126232","1392126236","1392126239","1392126242","1392126243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a37e0bf5cf33855cb4934b595e133eaa.jpg","text":"TemporaryFile(/tmp/multipartBody4972532567326539000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195585436,"filename":"image_03112025_10_14_07_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b2c0161f4d08ee7cc606431aac74cd1e.jpg","text":"TemporaryFile(/tmp/multipartBody7278879048759077257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195585436,"filename":"image_03112025_10_14_05_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/3/8293a32ccf8980515a0d26d2903c4c7e.jpg","text":"TemporaryFile(/tmp/multipartBody6248556584189648586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195585436,"filename":"image_03112025_10_13_59_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/3/4530ca04966a635952bc9b70d0b3042a.jpg","text":"TemporaryFile(/tmp/multipartBody8547309736447009556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195585436,"filename":"image_03112025_10_14_03_4400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5afd62d739792882f9bed3690f84a478.jpg","text":"TemporaryFile(/tmp/multipartBody8480434404808261716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195585436,"filename":"image_03112025_10_13_55_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/3/4c9fa70ca4346d57d56f2580aefc6724.jpg","text":"TemporaryFile(/tmp/multipartBody6912025284419049850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195585436,"filename":"image_03112025_10_13_52_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392126236","file1":"1392126232","file0":"1392126229","file4":"1392126242","file5":"1392126243","file3":"1392126239"},"map_files_photo_id_array":[{"photo_id":"1392126243","filename":"file5"},{"photo_id":"1392126236","filename":"file2"},{"photo_id":"1392126242","filename":"file4"},{"photo_id":"1392126232","filename":"file1"},{"photo_id":"1392126229","filename":"file0"},{"photo_id":"1392126239","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392126243":["hashtag1","hashtag2"]},{"1392126242":["hashtag1","hashtag2"]},{"1392126236":["hashtag1","hashtag2"]},{"1392126239":["hashtag1","hashtag2"]},{"1392126232":["hashtag1","hashtag2"]},{"1392126229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392126243, 1392126242, 1392126236, 1392126239, 1392126232, 1392126229)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.01253032684326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:46:23.480699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_10_2719.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_16_5706.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_17_1597.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_25_7248.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_27_1802.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_28_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_10_2719.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_16_5706.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_17_1597.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_25_7248.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_27_1802.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_28_1641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392126324","1392126327","1392126321","1392126329","1392126331","1392126325"],"photo_ids_order":["1392126321","1392126324","1392126325","1392126327","1392126329","1392126331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/53c2b890b6cc159ebac73799bcd2c6fd.jpg","text":"TemporaryFile(/tmp/multipartBody4838351709922219124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195655294,"filename":"image_03112025_10_14_16_5706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b8753d9e03ee04508c1d7518eda5379e.jpg","text":"TemporaryFile(/tmp/multipartBody2892688998069799721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195655294,"filename":"image_03112025_10_14_25_7248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26eb3dba4cb0bf1b46eaad6a024ad8d8.jpg","text":"TemporaryFile(/tmp/multipartBody6683169772648165135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195655294,"filename":"image_03112025_10_14_10_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a081917306a539c9b597522be864f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6511552922200863479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195655294,"filename":"image_03112025_10_14_27_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/3/c53b1998ef98928b022e26eb9ff4091b.jpg","text":"TemporaryFile(/tmp/multipartBody8016257423663638130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195655294,"filename":"image_03112025_10_14_28_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/3/69255e1a7ecf3dcc00964031992be054.jpg","text":"TemporaryFile(/tmp/multipartBody4931827507685330174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195655294,"filename":"image_03112025_10_14_17_1597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392126325","file1":"1392126324","file0":"1392126321","file4":"1392126329","file5":"1392126331","file3":"1392126327"},"map_files_photo_id_array":[{"photo_id":"1392126331","filename":"file5"},{"photo_id":"1392126325","filename":"file2"},{"photo_id":"1392126329","filename":"file4"},{"photo_id":"1392126324","filename":"file1"},{"photo_id":"1392126321","filename":"file0"},{"photo_id":"1392126327","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392126324":["hashtag1","hashtag2"]},{"1392126327":["hashtag1","hashtag2"]},{"1392126321":["hashtag1","hashtag2"]},{"1392126329":["hashtag1","hashtag2"]},{"1392126331":["hashtag1","hashtag2"]},{"1392126325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392126324, 1392126327, 1392126321, 1392126329, 1392126331, 1392126325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.33163833618164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:47:22.184638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_30_1514.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_31_1656.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_34_2682.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_37_2661.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_40_3740.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_43_2199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_30_1514.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_31_1656.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_34_2682.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_37_2661.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_40_3740.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_43_2199.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392126339","1392126374","1392126353","1392126347","1392126341","1392126344"],"photo_ids_order":["1392126339","1392126341","1392126344","1392126347","1392126353","1392126374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc228e6f0b78f7a3399757dae3ffcdec.jpg","text":"TemporaryFile(/tmp/multipartBody1237211219998133160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195705132,"filename":"image_03112025_10_14_30_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/3/053dc4cfb5df4a5c55f5ccc2876c5ac6.jpg","text":"TemporaryFile(/tmp/multipartBody6132001716278058475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195705132,"filename":"image_03112025_10_14_43_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/3/7088a4634c2872d6a974d5da98d43631.jpg","text":"TemporaryFile(/tmp/multipartBody819352445733367890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195705132,"filename":"image_03112025_10_14_40_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/3/293c54f0edce4533ca3771bad95df808.jpg","text":"TemporaryFile(/tmp/multipartBody2392531484200383514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195705132,"filename":"image_03112025_10_14_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/3/4f8571d6d013316b8010a62a3475bdb4.jpg","text":"TemporaryFile(/tmp/multipartBody6827260801694555439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195705132,"filename":"image_03112025_10_14_31_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/3/427b4199947d92c7150743df6e4c01fa.jpg","text":"TemporaryFile(/tmp/multipartBody7093255627483819055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195705132,"filename":"image_03112025_10_14_34_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392126344","file1":"1392126341","file0":"1392126339","file4":"1392126353","file5":"1392126374","file3":"1392126347"},"map_files_photo_id_array":[{"photo_id":"1392126374","filename":"file5"},{"photo_id":"1392126344","filename":"file2"},{"photo_id":"1392126353","filename":"file4"},{"photo_id":"1392126341","filename":"file1"},{"photo_id":"1392126339","filename":"file0"},{"photo_id":"1392126347","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392126339":["hashtag1","hashtag2"]},{"1392126374":["hashtag1","hashtag2"]},{"1392126353":["hashtag1","hashtag2"]},{"1392126347":["hashtag1","hashtag2"]},{"1392126341":["hashtag1","hashtag2"]},{"1392126344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392126339, 1392126374, 1392126353, 1392126347, 1392126341, 1392126344)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.798789739608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:48:22.004291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_46_3776.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_51_4169.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_52_1659.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_55_2672.jpg', '/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_59_3622.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_06_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_46_3776.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_51_4169.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_52_1659.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_55_2672.jpg
/home/pi/Desktop/images/03112025/10/14/image_03112025_10_14_59_3622.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_06_3015.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392126508","1392126498","1392126486","1392126540","1392126501","1392126473"],"photo_ids_order":["1392126473","1392126486","1392126498","1392126501","1392126508","1392126540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/100cc64fc654a44b8a4653f5a82df6e4.jpg","text":"TemporaryFile(/tmp/multipartBody4693283878528773961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195762834,"filename":"image_03112025_10_14_59_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/3/683664f549016cac1b8c06ed0e23b0a8.jpg","text":"TemporaryFile(/tmp/multipartBody7975778720455130670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195762834,"filename":"image_03112025_10_14_52_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/3/1ad9245c4d0c8130ba7be675c5f1f4ce.jpg","text":"TemporaryFile(/tmp/multipartBody3323190914216239214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195762834,"filename":"image_03112025_10_14_51_4169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b3f9503f0e2d372dfc437c68c3d4a761.jpg","text":"TemporaryFile(/tmp/multipartBody1293366855338306175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195762834,"filename":"image_03112025_10_15_06_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/3/e0a60ae7f389b4c813b299cfd283de9d.jpg","text":"TemporaryFile(/tmp/multipartBody3440578311595711285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195762834,"filename":"image_03112025_10_14_55_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c7b174c09c8519eea5208f61b3f02040.jpg","text":"TemporaryFile(/tmp/multipartBody5146269145636025760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195762834,"filename":"image_03112025_10_14_46_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392126498","file1":"1392126486","file0":"1392126473","file4":"1392126508","file5":"1392126540","file3":"1392126501"},"map_files_photo_id_array":[{"photo_id":"1392126540","filename":"file5"},{"photo_id":"1392126498","filename":"file2"},{"photo_id":"1392126508","filename":"file4"},{"photo_id":"1392126486","filename":"file1"},{"photo_id":"1392126473","filename":"file0"},{"photo_id":"1392126501","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392126508":["hashtag1","hashtag2"]},{"1392126498":["hashtag1","hashtag2"]},{"1392126486":["hashtag1","hashtag2"]},{"1392126540":["hashtag1","hashtag2"]},{"1392126501":["hashtag1","hashtag2"]},{"1392126473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392126508, 1392126498, 1392126486, 1392126540, 1392126501, 1392126473)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.76879811286926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 19:49:28.472996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_10_3633.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_13_2699.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_15_2698.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_19_3664.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_22_2660.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_24_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_10_3633.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_13_2699.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_15_2698.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_19_3664.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_22_2660.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_24_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":["1392126780","1392126819","1392126726","1392126773","1392126668","1392126871"],"photo_ids_order":["1392126668","1392126726","1392126773","1392126780","1392126819","1392126871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c5ec6f9791b14bb7fb0765b865f82cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2313946265663402650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195837756,"filename":"image_03112025_10_15_19_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ecef8aedb846d90b361186508e638c8e.jpg","text":"TemporaryFile(/tmp/multipartBody8818512917029906349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195837756,"filename":"image_03112025_10_15_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/3/18b3d1997faef8acec75283b6e766112.jpg","text":"TemporaryFile(/tmp/multipartBody2763432511218297416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195837756,"filename":"image_03112025_10_15_13_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/3/acbc0bbefd80005a55e68bf87d6dc17d.jpg","text":"TemporaryFile(/tmp/multipartBody3300717063959577238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195837756,"filename":"image_03112025_10_15_15_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/3/c48d050adffb07be593b5c9f9f543144.jpg","text":"TemporaryFile(/tmp/multipartBody5123598474709801952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195837756,"filename":"image_03112025_10_15_10_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b39bd918da7b753464327d23fe35fa35.jpg","text":"TemporaryFile(/tmp/multipartBody3212587497963604242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195837756,"filename":"image_03112025_10_15_24_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392126773","file1":"1392126726","file0":"1392126668","file4":"1392126819","file5":"1392126871","file3":"1392126780"},"map_files_photo_id_array":[{"photo_id":"1392126871","filename":"file5"},{"photo_id":"1392126773","filename":"file2"},{"photo_id":"1392126819","filename":"file4"},{"photo_id":"1392126726","filename":"file1"},{"photo_id":"1392126668","filename":"file0"},{"photo_id":"1392126780","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392126780":["hashtag1","hashtag2"]},{"1392126819":["hashtag1","hashtag2"]},{"1392126726":["hashtag1","hashtag2"]},{"1392126773":["hashtag1","hashtag2"]},{"1392126668":["hashtag1","hashtag2"]},{"1392126871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392126780, 1392126819, 1392126726, 1392126773, 1392126668, 1392126871)","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 = 1392126773 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_15_2698.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 68.71616506576538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:50:42.606630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_28_3692.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_31_2781.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_34_2610.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_37_3691.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_40_2723.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_43_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_28_3692.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_31_2781.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_34_2610.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_37_3691.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_40_2723.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_43_2804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392127320","1392127271","1392127439","1392127360","1392127402","1392127479"],"photo_ids_order":["1392127271","1392127320","1392127360","1392127402","1392127439","1392127479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/30e94c387f7733727233496d019e1d67.jpg","text":"TemporaryFile(/tmp/multipartBody8375212487251922237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195903409,"filename":"image_03112025_10_15_31_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/3/8120c63b6c371bf8e4048e93f8a0079b.jpg","text":"TemporaryFile(/tmp/multipartBody8114159919047032114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195903409,"filename":"image_03112025_10_15_28_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/3/05414a42a450237e3642120f9bf7a684.jpg","text":"TemporaryFile(/tmp/multipartBody7765323989826628975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195903409,"filename":"image_03112025_10_15_40_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/3/521831319368a7c375307eedebdb7737.jpg","text":"TemporaryFile(/tmp/multipartBody8817188700718724151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195903409,"filename":"image_03112025_10_15_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/3/4acae2ac3737115e2469cf3def4c1a12.jpg","text":"TemporaryFile(/tmp/multipartBody1632959063512776981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195903409,"filename":"image_03112025_10_15_37_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/3/fc8d126faf881d29e631c666b858283d.jpg","text":"TemporaryFile(/tmp/multipartBody6934253856392992162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195903409,"filename":"image_03112025_10_15_43_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392127360","file1":"1392127320","file0":"1392127271","file4":"1392127439","file5":"1392127479","file3":"1392127402"},"map_files_photo_id_array":[{"photo_id":"1392127479","filename":"file5"},{"photo_id":"1392127360","filename":"file2"},{"photo_id":"1392127439","filename":"file4"},{"photo_id":"1392127320","filename":"file1"},{"photo_id":"1392127271","filename":"file0"},{"photo_id":"1392127402","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392127320":["hashtag1","hashtag2"]},{"1392127271":["hashtag1","hashtag2"]},{"1392127439":["hashtag1","hashtag2"]},{"1392127360":["hashtag1","hashtag2"]},{"1392127402":["hashtag1","hashtag2"]},{"1392127479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392127320, 1392127271, 1392127439, 1392127360, 1392127402, 1392127479)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.08866024017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:51:41.758672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_46_2763.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_49_3712.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_52_2587.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_54_2618.jpg', '/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_58_3534.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_01_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_46_2763.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_49_3712.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_52_2587.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_54_2618.jpg
/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_58_3534.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_01_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392127722","1392127725","1392127721","1392127718","1392127720","1392127723"],"photo_ids_order":["1392127718","1392127720","1392127721","1392127722","1392127723","1392127725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/02d696343722f1ec026aa4f43160482a.jpg","text":"TemporaryFile(/tmp/multipartBody8847446010763832496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195964347,"filename":"image_03112025_10_15_54_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/3/c8bd5bde2be77990ee656eae78212d25.jpg","text":"TemporaryFile(/tmp/multipartBody1063977759485714500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195964347,"filename":"image_03112025_10_16_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/3/9b8788acbb882625db5cdd1e20a110dc.jpg","text":"TemporaryFile(/tmp/multipartBody5304871767289343568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195964347,"filename":"image_03112025_10_15_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/3/0eb59def60dd28c36236cd52fee047ca.jpg","text":"TemporaryFile(/tmp/multipartBody4083130765013359139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195964347,"filename":"image_03112025_10_15_46_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/3/8a6c409f891708d39201ecbc5fe4d7b7.jpg","text":"TemporaryFile(/tmp/multipartBody7040855338987279821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195964347,"filename":"image_03112025_10_15_49_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/3/835e3540f77f4caf7515069b4e181ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4212969519911214609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762195964347,"filename":"image_03112025_10_15_58_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392127721","file1":"1392127720","file0":"1392127718","file4":"1392127723","file5":"1392127725","file3":"1392127722"},"map_files_photo_id_array":[{"photo_id":"1392127725","filename":"file5"},{"photo_id":"1392127721","filename":"file2"},{"photo_id":"1392127723","filename":"file4"},{"photo_id":"1392127720","filename":"file1"},{"photo_id":"1392127718","filename":"file0"},{"photo_id":"1392127722","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392127722":["hashtag1","hashtag2"]},{"1392127725":["hashtag1","hashtag2"]},{"1392127721":["hashtag1","hashtag2"]},{"1392127718":["hashtag1","hashtag2"]},{"1392127720":["hashtag1","hashtag2"]},{"1392127723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392127722, 1392127725, 1392127721, 1392127718, 1392127720, 1392127723)","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 = 1392127721 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/15/image_03112025_10_15_52_2587.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.293548822402954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:53:02.458393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_03_2755.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_07_3657.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_10_2690.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_12_2737.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_16_3699.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_19_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_03_2755.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_07_3657.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_10_2690.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_12_2737.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_16_3699.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_19_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392128012","1392127991","1392128003","1392127987","1392128005","1392128008"],"photo_ids_order":["1392127987","1392127991","1392128003","1392128005","1392128008","1392128012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/31875291d97843e7a685671c22e73cc2.jpg","text":"TemporaryFile(/tmp/multipartBody2591598092196949255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196043451,"filename":"image_03112025_10_16_19_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c21d0d1ff1776ecd7ba0cf250755ebcf.jpg","text":"TemporaryFile(/tmp/multipartBody2649238393627551245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196043451,"filename":"image_03112025_10_16_07_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/3/3681ad69bdb00706e2d839b13ee6c693.jpg","text":"TemporaryFile(/tmp/multipartBody6440239639275256888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196043451,"filename":"image_03112025_10_16_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/3/7bc35a85d4de0dc3464922a869549a82.jpg","text":"TemporaryFile(/tmp/multipartBody7922632792610919162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196043451,"filename":"image_03112025_10_16_03_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f1c2f4afab3cb68b6c665f5f4dab0360.jpg","text":"TemporaryFile(/tmp/multipartBody8398846055014321765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196043451,"filename":"image_03112025_10_16_12_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/3/1ef4a50e909ff1982ea02c373c767a1a.jpg","text":"TemporaryFile(/tmp/multipartBody5785619375217924200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196043451,"filename":"image_03112025_10_16_16_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392128003","file1":"1392127991","file0":"1392127987","file4":"1392128008","file5":"1392128012","file3":"1392128005"},"map_files_photo_id_array":[{"photo_id":"1392128012","filename":"file5"},{"photo_id":"1392128003","filename":"file2"},{"photo_id":"1392128008","filename":"file4"},{"photo_id":"1392127991","filename":"file1"},{"photo_id":"1392127987","filename":"file0"},{"photo_id":"1392128005","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392128012":["hashtag1","hashtag2"]},{"1392127991":["hashtag1","hashtag2"]},{"1392128003":["hashtag1","hashtag2"]},{"1392127987":["hashtag1","hashtag2"]},{"1392128005":["hashtag1","hashtag2"]},{"1392128008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392128012, 1392127991, 1392128003, 1392127987, 1392128005, 1392128008)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.72649598121643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:54:02.583245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 19:54:21.991301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 19:54:43.046719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_21_2606.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_25_3560.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_28_2672.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_32_3981.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_34_1863.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_37_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_21_2606.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_25_3560.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_28_2672.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_32_3981.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_34_1863.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_37_3595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392128738","1392128698","1392128770","1392128799","1392128661","1392128856"],"photo_ids_order":["1392128661","1392128698","1392128738","1392128770","1392128799","1392128856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/df10d83e6ad805794ef0e84b63ed4d35.jpg","text":"TemporaryFile(/tmp/multipartBody4260150262788844469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196145973,"filename":"image_03112025_10_16_28_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/3/4b548805dac84f02f8c2c9aefb9f2ce8.jpg","text":"TemporaryFile(/tmp/multipartBody6460865812502386328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196145973,"filename":"image_03112025_10_16_25_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/3/93014238454217ad00d7275029ae3870.jpg","text":"TemporaryFile(/tmp/multipartBody7536895299632417008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196145973,"filename":"image_03112025_10_16_32_3981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/055ec10be0c115da2a1b43e30feb2447.jpg","text":"TemporaryFile(/tmp/multipartBody961454663046095216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196145973,"filename":"image_03112025_10_16_34_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/3/41d7e1456210ff1280077842224fcfaf.jpg","text":"TemporaryFile(/tmp/multipartBody4057339264361050625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196145973,"filename":"image_03112025_10_16_21_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/3/c98158c5352d8533fcdaafc7e90643c3.jpg","text":"TemporaryFile(/tmp/multipartBody5475138210046008576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196145973,"filename":"image_03112025_10_16_37_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392128738","file1":"1392128698","file0":"1392128661","file4":"1392128799","file5":"1392128856","file3":"1392128770"},"map_files_photo_id_array":[{"photo_id":"1392128856","filename":"file5"},{"photo_id":"1392128738","filename":"file2"},{"photo_id":"1392128799","filename":"file4"},{"photo_id":"1392128698","filename":"file1"},{"photo_id":"1392128661","filename":"file0"},{"photo_id":"1392128770","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392128738":["hashtag1","hashtag2"]},{"1392128698":["hashtag1","hashtag2"]},{"1392128770":["hashtag1","hashtag2"]},{"1392128799":["hashtag1","hashtag2"]},{"1392128661":["hashtag1","hashtag2"]},{"1392128856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392128738, 1392128698, 1392128770, 1392128799, 1392128661, 1392128856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.264198780059814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:55:42.263117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_39_2332.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_43_3762.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_46_2646.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_49_2907.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_51_2581.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_55_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_39_2332.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_43_3762.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_46_2646.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_49_2907.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_51_2581.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_55_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392129551","1392129425","1392129512","1392129469","1392129378","1392129386"],"photo_ids_order":["1392129378","1392129386","1392129425","1392129469","1392129512","1392129551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b7581ec2be0c08df759c5f7f25ed4b0.jpg","text":"TemporaryFile(/tmp/multipartBody6461061553146440706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196214486,"filename":"image_03112025_10_16_55_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/3/31bb50465bd3af388a941f213a86aeb9.jpg","text":"TemporaryFile(/tmp/multipartBody872342965790070493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196214486,"filename":"image_03112025_10_16_46_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/3/f6e80f33b5d52d1876f234eff8582784.jpg","text":"TemporaryFile(/tmp/multipartBody7601222042199687140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196214486,"filename":"image_03112025_10_16_51_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/3/cee25bb6d21d784887e394e70cfdd162.jpg","text":"TemporaryFile(/tmp/multipartBody8092090226842827236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196214486,"filename":"image_03112025_10_16_49_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/3/62eb701250177fd98ec5e3b5fc056f56.jpg","text":"TemporaryFile(/tmp/multipartBody8448905654275700191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196214486,"filename":"image_03112025_10_16_39_2332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/09e1f03f4947a6bfdd34aac27ffba533.jpg","text":"TemporaryFile(/tmp/multipartBody4229485985391411337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196214486,"filename":"image_03112025_10_16_43_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392129425","file1":"1392129386","file0":"1392129378","file4":"1392129512","file5":"1392129551","file3":"1392129469"},"map_files_photo_id_array":[{"photo_id":"1392129551","filename":"file5"},{"photo_id":"1392129425","filename":"file2"},{"photo_id":"1392129512","filename":"file4"},{"photo_id":"1392129386","filename":"file1"},{"photo_id":"1392129378","filename":"file0"},{"photo_id":"1392129469","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392129551":["hashtag1","hashtag2"]},{"1392129425":["hashtag1","hashtag2"]},{"1392129512":["hashtag1","hashtag2"]},{"1392129469":["hashtag1","hashtag2"]},{"1392129378":["hashtag1","hashtag2"]},{"1392129386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392129551, 1392129425, 1392129512, 1392129469, 1392129378, 1392129386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.05116367340088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 19:56:43.770428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_58_2544.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_17_00_2786.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_04_3695.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_07_2682.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_10_3566.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_13_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_58_2544.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_17_00_2786.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_04_3695.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_07_2682.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_10_3566.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_13_2645.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7193160057067871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:57:02.711001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_58_2544.jpg', '/home/pi/Desktop/images/03112025/10/16/image_03112025_10_17_00_2786.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_04_3695.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_07_2682.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_10_3566.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_13_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_16_58_2544.jpg
/home/pi/Desktop/images/03112025/10/16/image_03112025_10_17_00_2786.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_04_3695.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_07_2682.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_10_3566.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_13_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":["1392129902","1392129898","1392129835","1392129817","1392129819","1392129872"],"photo_ids_order":["1392129817","1392129819","1392129835","1392129872","1392129898","1392129902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c00dc7098c39072fd4421c1d285349e2.jpg","text":"TemporaryFile(/tmp/multipartBody1018712904673656368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196286415,"filename":"image_03112025_10_17_13_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8fc62524a0f12c0f181bf64d1d88e136.jpg","text":"TemporaryFile(/tmp/multipartBody3536263625312873714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196286415,"filename":"image_03112025_10_17_10_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/3/2e4eea0d2b4ff1d4adb3ba3f0110584d.jpg","text":"TemporaryFile(/tmp/multipartBody5560377907175191013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196286415,"filename":"image_03112025_10_17_04_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/3/ca94db2f484d2a0cc3179dde01ba560a.jpg","text":"TemporaryFile(/tmp/multipartBody1895708494348787190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196286415,"filename":"image_03112025_10_16_58_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/3/e62a83c3b8bcf47a05a25a0600fd65e1.jpg","text":"TemporaryFile(/tmp/multipartBody7586781079080073959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196286415,"filename":"image_03112025_10_17_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/3/f7056581c2c043fbf2688dabfcdff902.jpg","text":"TemporaryFile(/tmp/multipartBody1601773243556527635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196286415,"filename":"image_03112025_10_17_07_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392129835","file1":"1392129819","file0":"1392129817","file4":"1392129898","file5":"1392129902","file3":"1392129872"},"map_files_photo_id_array":[{"photo_id":"1392129902","filename":"file5"},{"photo_id":"1392129835","filename":"file2"},{"photo_id":"1392129898","filename":"file4"},{"photo_id":"1392129819","filename":"file1"},{"photo_id":"1392129817","filename":"file0"},{"photo_id":"1392129872","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392129902":["hashtag1","hashtag2"]},{"1392129898":["hashtag1","hashtag2"]},{"1392129835":["hashtag1","hashtag2"]},{"1392129817":["hashtag1","hashtag2"]},{"1392129819":["hashtag1","hashtag2"]},{"1392129872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392129902, 1392129898, 1392129835, 1392129817, 1392129819, 1392129872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73344683647156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 19:59:03.324566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 19:59:22.651773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_15_2611.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_19_3611.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_22_2862.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_25_2696.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_27_2731.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_34_6375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_15_2611.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_19_3611.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_22_2862.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_25_2696.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_27_2731.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_34_6375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392130265","1392130307","1392130462","1392130414","1392130272","1392130248"],"photo_ids_order":["1392130248","1392130265","1392130272","1392130307","1392130414","1392130462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71a0ea22ba0fa48f8bea09f6f70c87ee.jpg","text":"TemporaryFile(/tmp/multipartBody4674321779640944616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196423486,"filename":"image_03112025_10_17_19_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/3/444d581f7493c0032f360041608c69d2.jpg","text":"TemporaryFile(/tmp/multipartBody5494799783984650965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196423486,"filename":"image_03112025_10_17_25_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d1634b238d50e845eabe4c7b98dc8f99.jpg","text":"TemporaryFile(/tmp/multipartBody2319645659275450850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196423486,"filename":"image_03112025_10_17_34_6375.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef6f3c5e01b3dc4492e02e0bdf485bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1145843459531517314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196423486,"filename":"image_03112025_10_17_27_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/3/05a705f258bec5d0771e6ce9687c696d.jpg","text":"TemporaryFile(/tmp/multipartBody5991121535353332857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196423486,"filename":"image_03112025_10_17_22_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/3/86c4abd1a72855548ff7b0abcaef21e6.jpg","text":"TemporaryFile(/tmp/multipartBody3775790406069591380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196423486,"filename":"image_03112025_10_17_15_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392130272","file1":"1392130265","file0":"1392130248","file4":"1392130414","file5":"1392130462","file3":"1392130307"},"map_files_photo_id_array":[{"photo_id":"1392130462","filename":"file5"},{"photo_id":"1392130272","filename":"file2"},{"photo_id":"1392130414","filename":"file4"},{"photo_id":"1392130265","filename":"file1"},{"photo_id":"1392130248","filename":"file0"},{"photo_id":"1392130307","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392130265":["hashtag1","hashtag2"]},{"1392130307":["hashtag1","hashtag2"]},{"1392130462":["hashtag1","hashtag2"]},{"1392130414":["hashtag1","hashtag2"]},{"1392130272":["hashtag1","hashtag2"]},{"1392130248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392130265, 1392130307, 1392130462, 1392130414, 1392130272, 1392130248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.273205518722534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:00:04.191051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_36_1791.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_37_1530.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_40_2753.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_43_2718.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_46_3560.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_49_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_36_1791.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_37_1530.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_40_2753.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_43_2718.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_46_3560.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_49_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":["1392130769","1392130808","1392130636","1392130596","1392130677","1392130731"],"photo_ids_order":["1392130596","1392130636","1392130677","1392130731","1392130769","1392130808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/30c625d68262b0046eff8f3013425d36.jpg","text":"TemporaryFile(/tmp/multipartBody8455218535876241098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196465066,"filename":"image_03112025_10_17_46_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/3/4b48bee17dd9d22b5ae47fca5a00b8cf.jpg","text":"TemporaryFile(/tmp/multipartBody6521647713774207996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196465066,"filename":"image_03112025_10_17_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/3/8649008c938a92e15d5df6308589c0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2280110443608555571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196465066,"filename":"image_03112025_10_17_37_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/04431a8e58637e13adeed7ffadce4a77.jpg","text":"TemporaryFile(/tmp/multipartBody1062175970850414007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196465066,"filename":"image_03112025_10_17_36_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/3/4f082f480f5efa5be2bb3495adfc7041.jpg","text":"TemporaryFile(/tmp/multipartBody8919998454255485833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196465066,"filename":"image_03112025_10_17_40_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/3/ac4d93be43b96cf3efc364dd52180777.jpg","text":"TemporaryFile(/tmp/multipartBody4832713457148452446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196465066,"filename":"image_03112025_10_17_43_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392130677","file1":"1392130636","file0":"1392130596","file4":"1392130769","file5":"1392130808","file3":"1392130731"},"map_files_photo_id_array":[{"photo_id":"1392130808","filename":"file5"},{"photo_id":"1392130677","filename":"file2"},{"photo_id":"1392130769","filename":"file4"},{"photo_id":"1392130636","filename":"file1"},{"photo_id":"1392130596","filename":"file0"},{"photo_id":"1392130731","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392130769":["hashtag1","hashtag2"]},{"1392130808":["hashtag1","hashtag2"]},{"1392130636":["hashtag1","hashtag2"]},{"1392130596":["hashtag1","hashtag2"]},{"1392130677":["hashtag1","hashtag2"]},{"1392130731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392130769, 1392130808, 1392130636, 1392130596, 1392130677, 1392130731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00841951370239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:01:02.631629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_52_2766.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_55_3214.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_58_2796.jpg', '/home/pi/Desktop/images/03112025/10/17/image_03112025_10_18_01_3642.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_04_2651.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_06_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_52_2766.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_55_3214.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_17_58_2796.jpg
/home/pi/Desktop/images/03112025/10/17/image_03112025_10_18_01_3642.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_04_2651.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_06_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392131171","1392131135","1392131191","1392131095","1392131187","1392131195"],"photo_ids_order":["1392131095","1392131135","1392131171","1392131187","1392131191","1392131195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eee9520306534ef6ee10fd9648309456.jpg","text":"TemporaryFile(/tmp/multipartBody7506002439228739501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196525996,"filename":"image_03112025_10_17_58_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/3/223d23b46a7146ad01700af481998efa.jpg","text":"TemporaryFile(/tmp/multipartBody9090197009289049343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196525996,"filename":"image_03112025_10_17_55_3214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/818f19786fd77ab91843fa682bfcce3e.jpg","text":"TemporaryFile(/tmp/multipartBody5092999340232600774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196525996,"filename":"image_03112025_10_18_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/3/c2f6703f0ba4eb5995e976e701a881ee.jpg","text":"TemporaryFile(/tmp/multipartBody1253474709898771293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196525996,"filename":"image_03112025_10_17_52_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/3/27800ba4d708254e1c352f6bbfd871cc.jpg","text":"TemporaryFile(/tmp/multipartBody5465440596519368899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196525996,"filename":"image_03112025_10_18_01_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/3/8c320afe0ae7c41b02a9ebd2ab90e4d5.jpg","text":"TemporaryFile(/tmp/multipartBody6996418868501597435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196525996,"filename":"image_03112025_10_18_06_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392131171","file1":"1392131135","file0":"1392131095","file4":"1392131191","file5":"1392131195","file3":"1392131187"},"map_files_photo_id_array":[{"photo_id":"1392131195","filename":"file5"},{"photo_id":"1392131171","filename":"file2"},{"photo_id":"1392131191","filename":"file4"},{"photo_id":"1392131135","filename":"file1"},{"photo_id":"1392131095","filename":"file0"},{"photo_id":"1392131187","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392131171":["hashtag1","hashtag2"]},{"1392131135":["hashtag1","hashtag2"]},{"1392131191":["hashtag1","hashtag2"]},{"1392131095":["hashtag1","hashtag2"]},{"1392131187":["hashtag1","hashtag2"]},{"1392131195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392131171, 1392131135, 1392131191, 1392131095, 1392131187, 1392131195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.32684350013733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:02:02.585251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 20:02:22.036568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_09_2772.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_17_8048.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_19_1660.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_21_1570.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_22_1745.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_25_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_09_2772.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_17_8048.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_19_1660.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_21_1570.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_22_1745.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_25_2545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392131753","1392131476","1392131533","1392131434","1392131639","1392131567"],"photo_ids_order":["1392131434","1392131476","1392131533","1392131567","1392131639","1392131753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e3221cc4cd23e46a87c5887ee4465c46.jpg","text":"TemporaryFile(/tmp/multipartBody6711622600003634242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196603069,"filename":"image_03112025_10_18_25_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/3/d40c3c006a9f67eac95e57b48304f12c.jpg","text":"TemporaryFile(/tmp/multipartBody2460376932155966273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196603069,"filename":"image_03112025_10_18_17_8048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3dfc743b57ba5f41004d333252f627d0.jpg","text":"TemporaryFile(/tmp/multipartBody8416314815568187281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196603069,"filename":"image_03112025_10_18_19_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/3/a715f40321211af8b148c2ed04950523.jpg","text":"TemporaryFile(/tmp/multipartBody3066852079592288896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196603069,"filename":"image_03112025_10_18_09_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/21cdab796524e7355c5737c9b5f10624.jpg","text":"TemporaryFile(/tmp/multipartBody5848798398043716382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196603069,"filename":"image_03112025_10_18_22_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/3/7f501c7a551f6ef28d7d84a14c42c023.jpg","text":"TemporaryFile(/tmp/multipartBody8373755952694110921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196603069,"filename":"image_03112025_10_18_21_1570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392131533","file1":"1392131476","file0":"1392131434","file4":"1392131639","file5":"1392131753","file3":"1392131567"},"map_files_photo_id_array":[{"photo_id":"1392131753","filename":"file5"},{"photo_id":"1392131533","filename":"file2"},{"photo_id":"1392131639","filename":"file4"},{"photo_id":"1392131476","filename":"file1"},{"photo_id":"1392131434","filename":"file0"},{"photo_id":"1392131567","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392131753":["hashtag1","hashtag2"]},{"1392131476":["hashtag1","hashtag2"]},{"1392131533":["hashtag1","hashtag2"]},{"1392131434":["hashtag1","hashtag2"]},{"1392131639":["hashtag1","hashtag2"]},{"1392131567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392131753, 1392131476, 1392131533, 1392131434, 1392131639, 1392131567)","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.9923415184021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:03:44.309259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_27_2615.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_31_3589.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_34_2591.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_36_2550.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_40_3657.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_43_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_27_2615.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_31_3589.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_34_2591.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_36_2550.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_40_3657.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_43_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392132908","1392132985","1392132858","1392133064","1392132776","1392132818"],"photo_ids_order":["1392132776","1392132818","1392132858","1392132908","1392132985","1392133064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/231991b120658ff3e0a8976ce9aca2d6.jpg","text":"TemporaryFile(/tmp/multipartBody1020750602218491993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196695934,"filename":"image_03112025_10_18_36_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/3/ee28f7f02ad64683fb9fe4313818f10d.jpg","text":"TemporaryFile(/tmp/multipartBody2896490858012528607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196695934,"filename":"image_03112025_10_18_40_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/3/93e4b04162ef12f38c280825971adec5.jpg","text":"TemporaryFile(/tmp/multipartBody456282609701930697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196695934,"filename":"image_03112025_10_18_34_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f210ac442522cb662b784ccaf8b57e91.jpg","text":"TemporaryFile(/tmp/multipartBody4159403854326538776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196695934,"filename":"image_03112025_10_18_43_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/3/e5cfd2d2ed22a4348e66989b1f423e66.jpg","text":"TemporaryFile(/tmp/multipartBody5312909212309720037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196695934,"filename":"image_03112025_10_18_27_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/3/74d85911fe83890fff678b11fc9663cc.jpg","text":"TemporaryFile(/tmp/multipartBody338993141020181833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196695934,"filename":"image_03112025_10_18_31_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392132858","file1":"1392132818","file0":"1392132776","file4":"1392132985","file5":"1392133064","file3":"1392132908"},"map_files_photo_id_array":[{"photo_id":"1392133064","filename":"file5"},{"photo_id":"1392132858","filename":"file2"},{"photo_id":"1392132985","filename":"file4"},{"photo_id":"1392132818","filename":"file1"},{"photo_id":"1392132776","filename":"file0"},{"photo_id":"1392132908","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392132908":["hashtag1","hashtag2"]},{"1392132985":["hashtag1","hashtag2"]},{"1392132858":["hashtag1","hashtag2"]},{"1392133064":["hashtag1","hashtag2"]},{"1392132776":["hashtag1","hashtag2"]},{"1392132818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392132908, 1392132985, 1392132858, 1392133064, 1392132776, 1392132818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.61666703224182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:04:45.745169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_45_2587.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_49_3847.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_52_2656.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_54_2576.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_57_2881.jpg', '/home/pi/Desktop/images/03112025/10/18/image_03112025_10_19_01_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_45_2587.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_49_3847.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_52_2656.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_54_2576.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_18_57_2881.jpg
/home/pi/Desktop/images/03112025/10/18/image_03112025_10_19_01_3621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392133318","1392133315","1392133309","1392133314","1392133298","1392133316"],"photo_ids_order":["1392133298","1392133309","1392133314","1392133315","1392133316","1392133318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/87e8a9dedae17db82419e2915ca3706b.jpg","text":"TemporaryFile(/tmp/multipartBody2148455056718358685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196746562,"filename":"image_03112025_10_19_01_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/3/e70fc6a40a7a92fa879ae0d75f2c29fe.jpg","text":"TemporaryFile(/tmp/multipartBody1957081021000678968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196746562,"filename":"image_03112025_10_18_54_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8876e4e7387b8b4558dbd974459fc8f2.jpg","text":"TemporaryFile(/tmp/multipartBody137581758870523138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196746562,"filename":"image_03112025_10_18_49_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6445f19d7c80cf4f0110f3c3fa4242cf.jpg","text":"TemporaryFile(/tmp/multipartBody7732871911901284899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196746562,"filename":"image_03112025_10_18_52_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c35281fa427f064e975fb9e2ff118af6.jpg","text":"TemporaryFile(/tmp/multipartBody2604798333524291601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196746562,"filename":"image_03112025_10_18_45_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/3/238674d20f6165f7f56fc29c84eb40e7.jpg","text":"TemporaryFile(/tmp/multipartBody8125906524571159707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196746562,"filename":"image_03112025_10_18_57_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392133314","file1":"1392133309","file0":"1392133298","file4":"1392133316","file5":"1392133318","file3":"1392133315"},"map_files_photo_id_array":[{"photo_id":"1392133318","filename":"file5"},{"photo_id":"1392133314","filename":"file2"},{"photo_id":"1392133316","filename":"file4"},{"photo_id":"1392133309","filename":"file1"},{"photo_id":"1392133298","filename":"file0"},{"photo_id":"1392133315","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392133318":["hashtag1","hashtag2"]},{"1392133315":["hashtag1","hashtag2"]},{"1392133309":["hashtag1","hashtag2"]},{"1392133314":["hashtag1","hashtag2"]},{"1392133298":["hashtag1","hashtag2"]},{"1392133316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392133318, 1392133315, 1392133309, 1392133314, 1392133298, 1392133316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.547478437423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:05:27.547407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_03_2493.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_07_3642.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_10_2663.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_12_2641.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_15_2889.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_19_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_03_2493.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_07_3642.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_10_2663.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_12_2641.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_15_2889.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_19_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":["1392133351","1392133332","1392133326","1392133329","1392133372","1392133348"],"photo_ids_order":["1392133326","1392133329","1392133332","1392133348","1392133351","1392133372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/43ad9447c22940c1c71fd3f52695739c.jpg","text":"TemporaryFile(/tmp/multipartBody2013677088221746968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196788424,"filename":"image_03112025_10_19_15_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/3/6a518669ab32d6d4d0e92fe4782b34c3.jpg","text":"TemporaryFile(/tmp/multipartBody1223282684260698475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196788424,"filename":"image_03112025_10_19_10_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/3/ac59b0efb188335749401bb8763e98f9.jpg","text":"TemporaryFile(/tmp/multipartBody4265370582659769727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196788424,"filename":"image_03112025_10_19_03_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/3/679bb0a3942fe220d865a13fbf4445ad.jpg","text":"TemporaryFile(/tmp/multipartBody5602228313392810023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196788424,"filename":"image_03112025_10_19_07_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/3/87efd0fe66c175d1c583b5b1e892a893.jpg","text":"TemporaryFile(/tmp/multipartBody9061651297963847021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196788424,"filename":"image_03112025_10_19_19_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/3/e489cc24052d701a7334cd75a4df9e7e.jpg","text":"TemporaryFile(/tmp/multipartBody928850129405659139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196788424,"filename":"image_03112025_10_19_12_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392133332","file1":"1392133329","file0":"1392133326","file4":"1392133351","file5":"1392133372","file3":"1392133348"},"map_files_photo_id_array":[{"photo_id":"1392133372","filename":"file5"},{"photo_id":"1392133332","filename":"file2"},{"photo_id":"1392133351","filename":"file4"},{"photo_id":"1392133329","filename":"file1"},{"photo_id":"1392133326","filename":"file0"},{"photo_id":"1392133348","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392133351":["hashtag1","hashtag2"]},{"1392133332":["hashtag1","hashtag2"]},{"1392133326":["hashtag1","hashtag2"]},{"1392133329":["hashtag1","hashtag2"]},{"1392133372":["hashtag1","hashtag2"]},{"1392133348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392133351, 1392133332, 1392133326, 1392133329, 1392133372, 1392133348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06846046447754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:06:26.408877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 20:06:42.865802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_22_2720.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_25_3184.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_27_2631.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_31_3590.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_34_2691.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_36_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_22_2720.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_25_3184.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_27_2631.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_31_3590.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_34_2691.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_36_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392134115","1392133980","1392134123","1392134108","1392134021","1392133973"],"photo_ids_order":["1392133973","1392133980","1392134021","1392134108","1392134115","1392134123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b72beaca9c23bc9b37f64f53e1bfc3eb.jpg","text":"TemporaryFile(/tmp/multipartBody2216483738821163488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196863688,"filename":"image_03112025_10_19_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/3/15650e9fee2cf5b207c0c812e503dc44.jpg","text":"TemporaryFile(/tmp/multipartBody2531176942617602720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196863688,"filename":"image_03112025_10_19_25_3184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f2f0aff5a8703c0426a827ea5e0d53e.jpg","text":"TemporaryFile(/tmp/multipartBody1889813673717395078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196863688,"filename":"image_03112025_10_19_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/3/875a82e78f84b66244ad26c7fa55ae6e.jpg","text":"TemporaryFile(/tmp/multipartBody196983898765663575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196863688,"filename":"image_03112025_10_19_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/3/01de357093e2aeb89edf67b4c7d1e72c.jpg","text":"TemporaryFile(/tmp/multipartBody7898739739449257262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196863688,"filename":"image_03112025_10_19_27_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/58ebfe0f34124eb697b4fe794b6493e4.jpg","text":"TemporaryFile(/tmp/multipartBody7317949800826053809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196863688,"filename":"image_03112025_10_19_22_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392134021","file1":"1392133980","file0":"1392133973","file4":"1392134115","file5":"1392134123","file3":"1392134108"},"map_files_photo_id_array":[{"photo_id":"1392134123","filename":"file5"},{"photo_id":"1392134021","filename":"file2"},{"photo_id":"1392134115","filename":"file4"},{"photo_id":"1392133980","filename":"file1"},{"photo_id":"1392133973","filename":"file0"},{"photo_id":"1392134108","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392134115":["hashtag1","hashtag2"]},{"1392133980":["hashtag1","hashtag2"]},{"1392134123":["hashtag1","hashtag2"]},{"1392134108":["hashtag1","hashtag2"]},{"1392134021":["hashtag1","hashtag2"]},{"1392133973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392134115, 1392133980, 1392134123, 1392134108, 1392134021, 1392133973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14541840553284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:07:22.132716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_40_3616.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_43_2846.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_45_2533.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_48_2907.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_52_3854.jpg', '/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_55_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_40_3616.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_43_2846.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_45_2533.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_48_2907.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_52_3854.jpg
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_55_2758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392134412","1392134400","1392134476","1392134398","1392134479","1392134449"],"photo_ids_order":["1392134398","1392134400","1392134412","1392134449","1392134476","1392134479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5a85713233fc57ab601b58c67f5ed854.jpg","text":"TemporaryFile(/tmp/multipartBody4486092079938583660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196926276,"filename":"image_03112025_10_19_45_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/3/7140f19051717d0be60e224199d63f41.jpg","text":"TemporaryFile(/tmp/multipartBody5390281480990308829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196926276,"filename":"image_03112025_10_19_43_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/3/5c6462a7b5d7111835f4898b248d29ac.jpg","text":"TemporaryFile(/tmp/multipartBody3623570713785447991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196926276,"filename":"image_03112025_10_19_52_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/3/2f41603d9c4e0d3889f269dad4da2e27.jpg","text":"TemporaryFile(/tmp/multipartBody1215453402977291005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196926276,"filename":"image_03112025_10_19_40_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/3/4ca3fa5e3f2d2b2c3abc2401fc20f383.jpg","text":"TemporaryFile(/tmp/multipartBody4558098621132793169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196926276,"filename":"image_03112025_10_19_55_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/3/5afe53a18b2d02f991dc0330398fd771.jpg","text":"TemporaryFile(/tmp/multipartBody8353128497381553701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196926276,"filename":"image_03112025_10_19_48_2907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392134412","file1":"1392134400","file0":"1392134398","file4":"1392134476","file5":"1392134479","file3":"1392134449"},"map_files_photo_id_array":[{"photo_id":"1392134479","filename":"file5"},{"photo_id":"1392134412","filename":"file2"},{"photo_id":"1392134476","filename":"file4"},{"photo_id":"1392134400","filename":"file1"},{"photo_id":"1392134398","filename":"file0"},{"photo_id":"1392134449","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392134412":["hashtag1","hashtag2"]},{"1392134400":["hashtag1","hashtag2"]},{"1392134476":["hashtag1","hashtag2"]},{"1392134398":["hashtag1","hashtag2"]},{"1392134479":["hashtag1","hashtag2"]},{"1392134449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392134412, 1392134400, 1392134476, 1392134398, 1392134479, 1392134449)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.69484281539917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:08:44.543334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_57_2716.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_07_3011.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_10_3694.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_13_2557.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_17_3667.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_19_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/19/image_03112025_10_19_57_2716.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_07_3011.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_10_3694.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_13_2557.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_17_3667.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_19_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392134772","1392134775","1392134774","1392134768","1392134776","1392134764"],"photo_ids_order":["1392134764","1392134768","1392134772","1392134774","1392134775","1392134776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/142a1af9d18e74f136067e01536349b1.jpg","text":"TemporaryFile(/tmp/multipartBody7826694741898610732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196985405,"filename":"image_03112025_10_20_10_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/3/afe9e10668a3ff30297364c2b7f25a41.jpg","text":"TemporaryFile(/tmp/multipartBody1674096852992481911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196985405,"filename":"image_03112025_10_20_17_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a09454c26b193174b82448f7edbfa089.jpg","text":"TemporaryFile(/tmp/multipartBody3248721847042940161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196985405,"filename":"image_03112025_10_20_13_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/3/5d3a3b2d9181d2f82d0fe7e30ddb7571.jpg","text":"TemporaryFile(/tmp/multipartBody1661991111107620682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196985405,"filename":"image_03112025_10_20_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/3/0db9701e6ed359fcc8bb5851e8b90203.jpg","text":"TemporaryFile(/tmp/multipartBody1552793995140289628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196985405,"filename":"image_03112025_10_20_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/3/084bc387e8f2cbfadcbb8af29b4e6535.jpg","text":"TemporaryFile(/tmp/multipartBody2790406718498365660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762196985405,"filename":"image_03112025_10_19_57_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392134772","file1":"1392134768","file0":"1392134764","file4":"1392134775","file5":"1392134776","file3":"1392134774"},"map_files_photo_id_array":[{"photo_id":"1392134776","filename":"file5"},{"photo_id":"1392134772","filename":"file2"},{"photo_id":"1392134775","filename":"file4"},{"photo_id":"1392134768","filename":"file1"},{"photo_id":"1392134764","filename":"file0"},{"photo_id":"1392134774","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392134772":["hashtag1","hashtag2"]},{"1392134775":["hashtag1","hashtag2"]},{"1392134774":["hashtag1","hashtag2"]},{"1392134768":["hashtag1","hashtag2"]},{"1392134776":["hashtag1","hashtag2"]},{"1392134764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392134772, 1392134775, 1392134774, 1392134768, 1392134776, 1392134764)","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 = 1392134772 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_10_3694.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 66.60893630981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:10:05.590487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_22_2680.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_26_3598.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_28_2667.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_31_2649.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_34_3614.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_37_2931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_22_2680.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_26_3598.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_28_2667.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_31_2649.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_34_3614.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_37_2931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392134800","1392134799","1392134808","1392134802","1392134805","1392134798"],"photo_ids_order":["1392134798","1392134799","1392134800","1392134802","1392134805","1392134808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5886ca4d979738d4ec782b825b3799a9.jpg","text":"TemporaryFile(/tmp/multipartBody7962337998691954674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197068443,"filename":"image_03112025_10_20_28_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/3/64388c34c4e5fe243006ea2e5aaff04e.jpg","text":"TemporaryFile(/tmp/multipartBody9070988814610447270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197068443,"filename":"image_03112025_10_20_26_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/3/e4c3a658fd47a205f61ceaa9f6957a19.jpg","text":"TemporaryFile(/tmp/multipartBody7489956318080057131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197068443,"filename":"image_03112025_10_20_37_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fadb40259cdded04813a350785a440d3.jpg","text":"TemporaryFile(/tmp/multipartBody5674885172739371601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197068443,"filename":"image_03112025_10_20_31_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/3/e203d2f5e6e288200f53c5e86406e300.jpg","text":"TemporaryFile(/tmp/multipartBody338835434897006154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197068443,"filename":"image_03112025_10_20_34_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/3/f4b55a50b623573dea284d04224dc07b.jpg","text":"TemporaryFile(/tmp/multipartBody8434099968900391450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197068443,"filename":"image_03112025_10_20_22_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392134800","file1":"1392134799","file0":"1392134798","file4":"1392134805","file5":"1392134808","file3":"1392134802"},"map_files_photo_id_array":[{"photo_id":"1392134808","filename":"file5"},{"photo_id":"1392134800","filename":"file2"},{"photo_id":"1392134805","filename":"file4"},{"photo_id":"1392134799","filename":"file1"},{"photo_id":"1392134798","filename":"file0"},{"photo_id":"1392134802","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392134800":["hashtag1","hashtag2"]},{"1392134799":["hashtag1","hashtag2"]},{"1392134808":["hashtag1","hashtag2"]},{"1392134802":["hashtag1","hashtag2"]},{"1392134805":["hashtag1","hashtag2"]},{"1392134798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392134800, 1392134799, 1392134808, 1392134802, 1392134805, 1392134798)","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: 87.86451554298401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:11:42.614807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_40_2494.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_44_3693.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_46_2640.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_49_2607.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_52_3608.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_55_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_40_2494.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_44_3693.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_46_2640.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_49_2607.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_52_3608.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_55_2515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392134913","1392134907","1392134910","1392134924","1392134920","1392134917"],"photo_ids_order":["1392134907","1392134910","1392134913","1392134917","1392134920","1392134924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/62b54f6ab6d75cf1c2b3641b39dc4e25.jpg","text":"TemporaryFile(/tmp/multipartBody1806409428001623579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197163454,"filename":"image_03112025_10_20_46_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/79e127c23cc9cae15662ab814ae435c2.jpg","text":"TemporaryFile(/tmp/multipartBody61244446671687646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197163454,"filename":"image_03112025_10_20_40_2494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc884df82ba2a1931f8d09972e1cf7fb.jpg","text":"TemporaryFile(/tmp/multipartBody1271944769629174320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197163454,"filename":"image_03112025_10_20_44_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/604795b33de4c17e2e1c83d531f487ab.jpg","text":"TemporaryFile(/tmp/multipartBody161779985829599164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197163454,"filename":"image_03112025_10_20_55_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/3/29cf2141be6ed01972fb5f28b9060a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6861295669412255975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197163454,"filename":"image_03112025_10_20_52_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/3/86066bbfac782b57e1bf415930209ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5491813896050320000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197163454,"filename":"image_03112025_10_20_49_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392134913","file1":"1392134910","file0":"1392134907","file4":"1392134920","file5":"1392134924","file3":"1392134917"},"map_files_photo_id_array":[{"photo_id":"1392134924","filename":"file5"},{"photo_id":"1392134913","filename":"file2"},{"photo_id":"1392134920","filename":"file4"},{"photo_id":"1392134910","filename":"file1"},{"photo_id":"1392134907","filename":"file0"},{"photo_id":"1392134917","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392134913":["hashtag1","hashtag2"]},{"1392134907":["hashtag1","hashtag2"]},{"1392134910":["hashtag1","hashtag2"]},{"1392134924":["hashtag1","hashtag2"]},{"1392134920":["hashtag1","hashtag2"]},{"1392134917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392134913, 1392134907, 1392134910, 1392134924, 1392134920, 1392134917)","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 = 1392134913 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_46_2640.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 65.60518002510071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:13:02.701734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_58_2687.jpg', '/home/pi/Desktop/images/03112025/10/20/image_03112025_10_21_01_3685.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_04_2645.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_07_2847.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_10_3690.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_13_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_20_58_2687.jpg
/home/pi/Desktop/images/03112025/10/20/image_03112025_10_21_01_3685.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_04_2645.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_07_2847.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_10_3690.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_13_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392135117","1392135108","1392135201","1392135245","1392135131","1392135073"],"photo_ids_order":["1392135073","1392135108","1392135117","1392135131","1392135201","1392135245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3286ab098ae0efd86872f6f69683a53e.jpg","text":"TemporaryFile(/tmp/multipartBody197560976208883824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197243695,"filename":"image_03112025_10_21_04_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b692e5ebce6fc34b352ee4f0fbe3c20.jpg","text":"TemporaryFile(/tmp/multipartBody6304388630799269015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197243695,"filename":"image_03112025_10_21_01_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/3/76cadaaac795c9d8dfe198654cc0653d.jpg","text":"TemporaryFile(/tmp/multipartBody1393431665291610695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197243695,"filename":"image_03112025_10_21_10_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/3/7d083f49994262e2431f0281497b7a34.jpg","text":"TemporaryFile(/tmp/multipartBody1032197867489050595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197243695,"filename":"image_03112025_10_21_13_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/3/757d8bbfa0de1c7db6f48cd3f3f9a91e.jpg","text":"TemporaryFile(/tmp/multipartBody427963913294662865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197243695,"filename":"image_03112025_10_21_07_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/3/7ef430a7c8399d833633fced2bfc1b81.jpg","text":"TemporaryFile(/tmp/multipartBody895300512878408578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197243695,"filename":"image_03112025_10_20_58_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392135117","file1":"1392135108","file0":"1392135073","file4":"1392135201","file5":"1392135245","file3":"1392135131"},"map_files_photo_id_array":[{"photo_id":"1392135245","filename":"file5"},{"photo_id":"1392135117","filename":"file2"},{"photo_id":"1392135201","filename":"file4"},{"photo_id":"1392135108","filename":"file1"},{"photo_id":"1392135073","filename":"file0"},{"photo_id":"1392135131","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392135117":["hashtag1","hashtag2"]},{"1392135108":["hashtag1","hashtag2"]},{"1392135201":["hashtag1","hashtag2"]},{"1392135245":["hashtag1","hashtag2"]},{"1392135131":["hashtag1","hashtag2"]},{"1392135073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392135117, 1392135108, 1392135201, 1392135245, 1392135131, 1392135073)","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 = 1392135117 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_04_2645.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.24929857254028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:14:28.430060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_16_2792.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_19_3601.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_22_2870.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_25_2610.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_28_2731.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_31_3789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_16_2792.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_19_3601.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_22_2870.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_25_2610.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_28_2731.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_31_3789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392135720","1392135716","1392135725","1392135728","1392135741","1392135738"],"photo_ids_order":["1392135716","1392135720","1392135725","1392135728","1392135738","1392135741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d4f5693888352907fbb746d82db5bf63.jpg","text":"TemporaryFile(/tmp/multipartBody3624853404678926071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197329329,"filename":"image_03112025_10_21_19_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/3/eba8e4ee696536b2a37655259a9ca249.jpg","text":"TemporaryFile(/tmp/multipartBody3661520334487271032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197329329,"filename":"image_03112025_10_21_16_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/3/bf2f5fc383493b1714d3b0e9c5290103.jpg","text":"TemporaryFile(/tmp/multipartBody2975000728932736279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197329329,"filename":"image_03112025_10_21_22_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/3/f01304aefe6a9befe80cdcf6defdba04.jpg","text":"TemporaryFile(/tmp/multipartBody4005240179022298517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197329329,"filename":"image_03112025_10_21_25_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/3/d0a175cd65335f330dbaf7e158472d53.jpg","text":"TemporaryFile(/tmp/multipartBody7070767387624595811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197329329,"filename":"image_03112025_10_21_31_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/3/cc8526117b780b6c5e045c75bf7d5581.jpg","text":"TemporaryFile(/tmp/multipartBody6923548160064645566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197329329,"filename":"image_03112025_10_21_28_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392135725","file1":"1392135720","file0":"1392135716","file4":"1392135738","file5":"1392135741","file3":"1392135728"},"map_files_photo_id_array":[{"photo_id":"1392135741","filename":"file5"},{"photo_id":"1392135725","filename":"file2"},{"photo_id":"1392135738","filename":"file4"},{"photo_id":"1392135720","filename":"file1"},{"photo_id":"1392135716","filename":"file0"},{"photo_id":"1392135728","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392135720":["hashtag1","hashtag2"]},{"1392135716":["hashtag1","hashtag2"]},{"1392135725":["hashtag1","hashtag2"]},{"1392135728":["hashtag1","hashtag2"]},{"1392135741":["hashtag1","hashtag2"]},{"1392135738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392135720, 1392135716, 1392135725, 1392135728, 1392135741, 1392135738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.431174516677856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:15:22.579438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 20:15:49.356244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_34_2726.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_37_2559.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_40_3530.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_43_2538.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_46_2763.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_49_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_34_2726.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_37_2559.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_40_3530.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_43_2538.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_46_2763.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_49_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392136294","1392136222","1392136213","1392136290","1392136251","1392136326"],"photo_ids_order":["1392136213","1392136222","1392136251","1392136290","1392136294","1392136326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/50be366516760f3ec132d047c8395657.jpg","text":"TemporaryFile(/tmp/multipartBody2728818078863173076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197426738,"filename":"image_03112025_10_21_46_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/3/c42dd7992113a991c7b5ddaa1a8a22d8.jpg","text":"TemporaryFile(/tmp/multipartBody7229562163524249489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197426738,"filename":"image_03112025_10_21_37_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/3/afd267347b99e3bb967347c3d0d6b973.jpg","text":"TemporaryFile(/tmp/multipartBody5464613987003139833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197426738,"filename":"image_03112025_10_21_34_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/3/afa97f3d3ba79de0a1ae2e411971eb97.jpg","text":"TemporaryFile(/tmp/multipartBody8116265192939220502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197426738,"filename":"image_03112025_10_21_43_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/3/689c0cfdb583e0eb14935d1c4465462f.jpg","text":"TemporaryFile(/tmp/multipartBody4451194158276447991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197426738,"filename":"image_03112025_10_21_40_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/91913c4605e933b8d4c8403bdf0903f7.jpg","text":"TemporaryFile(/tmp/multipartBody1310576452197400763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197426738,"filename":"image_03112025_10_21_49_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392136251","file1":"1392136222","file0":"1392136213","file4":"1392136294","file5":"1392136326","file3":"1392136290"},"map_files_photo_id_array":[{"photo_id":"1392136326","filename":"file5"},{"photo_id":"1392136251","filename":"file2"},{"photo_id":"1392136294","filename":"file4"},{"photo_id":"1392136222","filename":"file1"},{"photo_id":"1392136213","filename":"file0"},{"photo_id":"1392136290","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392136294":["hashtag1","hashtag2"]},{"1392136222":["hashtag1","hashtag2"]},{"1392136213":["hashtag1","hashtag2"]},{"1392136290":["hashtag1","hashtag2"]},{"1392136251":["hashtag1","hashtag2"]},{"1392136326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392136294, 1392136222, 1392136213, 1392136290, 1392136251, 1392136326)","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: 124.47483730316162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:18:02.660603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_52_2694.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_55_2596.jpg', '/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_58_3613.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_01_2827.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_04_2638.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_06_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_52_2694.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_55_2596.jpg
/home/pi/Desktop/images/03112025/10/21/image_03112025_10_21_58_3613.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_01_2827.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_04_2638.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_06_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392136910","1392136907","1392136904","1392136864","1392136915","1392136899"],"photo_ids_order":["1392136864","1392136899","1392136904","1392136907","1392136910","1392136915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/20f9173b99fb0503da92b0d889efc56a.jpg","text":"TemporaryFile(/tmp/multipartBody1341119962178863361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197543527,"filename":"image_03112025_10_22_04_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/3/c1dddf9e44e0c77d62a0c99128bbe2bb.jpg","text":"TemporaryFile(/tmp/multipartBody2016690521055141656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197543527,"filename":"image_03112025_10_22_01_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/32e669e790553bc08f66e1f840954cbd.jpg","text":"TemporaryFile(/tmp/multipartBody1707050933343373673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197543527,"filename":"image_03112025_10_21_58_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/3/5d604824181808dcf2d719f3a05d91b1.jpg","text":"TemporaryFile(/tmp/multipartBody5135000393474490026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197543527,"filename":"image_03112025_10_21_52_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/3/60b1d977a3a8702e61cf53e09a2e1b41.jpg","text":"TemporaryFile(/tmp/multipartBody2315717289085529819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197543527,"filename":"image_03112025_10_22_06_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/3/788ede902820f949e6bb5bbee1f5fabd.jpg","text":"TemporaryFile(/tmp/multipartBody4063984265286237007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197543527,"filename":"image_03112025_10_21_55_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392136904","file1":"1392136899","file0":"1392136864","file4":"1392136910","file5":"1392136915","file3":"1392136907"},"map_files_photo_id_array":[{"photo_id":"1392136915","filename":"file5"},{"photo_id":"1392136904","filename":"file2"},{"photo_id":"1392136910","filename":"file4"},{"photo_id":"1392136899","filename":"file1"},{"photo_id":"1392136864","filename":"file0"},{"photo_id":"1392136907","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392136910":["hashtag1","hashtag2"]},{"1392136907":["hashtag1","hashtag2"]},{"1392136904":["hashtag1","hashtag2"]},{"1392136864":["hashtag1","hashtag2"]},{"1392136915":["hashtag1","hashtag2"]},{"1392136899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392136910, 1392136907, 1392136904, 1392136864, 1392136915, 1392136899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.094176054000854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:18:42.105640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_10_3715.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_13_2880.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_16_2573.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_19_3616.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_22_2618.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_25_3097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_10_3715.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_13_2880.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_16_2573.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_19_3616.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_22_2618.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_25_3097.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392136931","1392136934","1392136924","1392136933","1392136932","1392136929"],"photo_ids_order":["1392136924","1392136929","1392136931","1392136932","1392136933","1392136934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9147c30a907f452d21933545ff2eb8a0.jpg","text":"TemporaryFile(/tmp/multipartBody7540255975829006740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197582970,"filename":"image_03112025_10_22_16_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/3/fb7fef8276250d6ca41e5317cd298837.jpg","text":"TemporaryFile(/tmp/multipartBody8821568012275808943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197582970,"filename":"image_03112025_10_22_25_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/3/22452f7be94d52b4b122dfc76202ac02.jpg","text":"TemporaryFile(/tmp/multipartBody8656112261924087842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197582970,"filename":"image_03112025_10_22_10_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/3/9cebaad5fca03a63a3a8988d9e77254b.jpg","text":"TemporaryFile(/tmp/multipartBody2080878560812743764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197582970,"filename":"image_03112025_10_22_22_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/3/1ab49ab167f52cd63b69d3838fc99ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6678123409893007478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197582970,"filename":"image_03112025_10_22_19_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/3/52e5e64cce7bd0c668d62e0716d359d5.jpg","text":"TemporaryFile(/tmp/multipartBody7275009868040156262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197582970,"filename":"image_03112025_10_22_13_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392136931","file1":"1392136929","file0":"1392136924","file4":"1392136933","file5":"1392136934","file3":"1392136932"},"map_files_photo_id_array":[{"photo_id":"1392136934","filename":"file5"},{"photo_id":"1392136931","filename":"file2"},{"photo_id":"1392136933","filename":"file4"},{"photo_id":"1392136929","filename":"file1"},{"photo_id":"1392136924","filename":"file0"},{"photo_id":"1392136932","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392136931":["hashtag1","hashtag2"]},{"1392136934":["hashtag1","hashtag2"]},{"1392136924":["hashtag1","hashtag2"]},{"1392136933":["hashtag1","hashtag2"]},{"1392136932":["hashtag1","hashtag2"]},{"1392136929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392136931, 1392136934, 1392136924, 1392136933, 1392136932, 1392136929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.705363273620605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:19:22.194877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_28_2778.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_31_2985.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_34_3619.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_37_2675.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_40_2665.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_43_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_28_2778.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_31_2985.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_34_3619.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_37_2675.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_40_2665.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_43_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":["1392137003","1392136981","1392136969","1392136959","1392136956","1392137042"],"photo_ids_order":["1392136956","1392136959","1392136969","1392136981","1392137003","1392137042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8c86622905c457145ca9897530335a93.jpg","text":"TemporaryFile(/tmp/multipartBody2142161011982588056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197625484,"filename":"image_03112025_10_22_40_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f4f3a2ac9514b87cfd0525ae92c1d1bf.jpg","text":"TemporaryFile(/tmp/multipartBody4171877399937111636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197625484,"filename":"image_03112025_10_22_37_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aa2b9871489165d400ce12615510cb6d.jpg","text":"TemporaryFile(/tmp/multipartBody1803265539027191870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197625484,"filename":"image_03112025_10_22_34_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/3/571095cd649f0777267feae500f78cbe.jpg","text":"TemporaryFile(/tmp/multipartBody849780134970837027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197625484,"filename":"image_03112025_10_22_31_2985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/005e60c832cf311faecd57ab25a84c63.jpg","text":"TemporaryFile(/tmp/multipartBody3184570405419244232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197625484,"filename":"image_03112025_10_22_28_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e89776148d3a6c1c4a7a089cd2ca5d01.jpg","text":"TemporaryFile(/tmp/multipartBody5650270033272445677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197625484,"filename":"image_03112025_10_22_43_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392136969","file1":"1392136959","file0":"1392136956","file4":"1392137003","file5":"1392137042","file3":"1392136981"},"map_files_photo_id_array":[{"photo_id":"1392137042","filename":"file5"},{"photo_id":"1392136969","filename":"file2"},{"photo_id":"1392137003","filename":"file4"},{"photo_id":"1392136959","filename":"file1"},{"photo_id":"1392136956","filename":"file0"},{"photo_id":"1392136981","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392137003":["hashtag1","hashtag2"]},{"1392136981":["hashtag1","hashtag2"]},{"1392136969":["hashtag1","hashtag2"]},{"1392136959":["hashtag1","hashtag2"]},{"1392136956":["hashtag1","hashtag2"]},{"1392137042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392137003, 1392136981, 1392136969, 1392136959, 1392136956, 1392137042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.742512941360474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:20:22.490280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_46_2901.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_49_2745.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_52_2856.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_54_2688.jpg', '/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_58_3730.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_01_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_46_2901.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_49_2745.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_52_2856.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_54_2688.jpg
/home/pi/Desktop/images/03112025/10/22/image_03112025_10_22_58_3730.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_01_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392137053","1392137137","1392137079","1392137058","1392137112","1392137055"],"photo_ids_order":["1392137053","1392137055","1392137058","1392137079","1392137112","1392137137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/257a38d800f7d6b16f6669bef51da262.jpg","text":"TemporaryFile(/tmp/multipartBody889688882829374445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197684244,"filename":"image_03112025_10_22_46_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/3/2d4b667d350e2ec31ba38291269f827c.jpg","text":"TemporaryFile(/tmp/multipartBody9202460359394766379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197684244,"filename":"image_03112025_10_23_01_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/3/6070db3abc5db774fb369d42a025b93b.jpg","text":"TemporaryFile(/tmp/multipartBody3111039708766266628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197684244,"filename":"image_03112025_10_22_54_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/3/a208c8a0510781c495b52cbbd16978f7.jpg","text":"TemporaryFile(/tmp/multipartBody4715789917630051407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197684244,"filename":"image_03112025_10_22_52_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/3/7c71429059a67270d9048fb1ef1944dc.jpg","text":"TemporaryFile(/tmp/multipartBody1464312007908194871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197684244,"filename":"image_03112025_10_22_58_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/3/7975e982d5819e60f5530e376de8f217.jpg","text":"TemporaryFile(/tmp/multipartBody5797835061713049843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197684244,"filename":"image_03112025_10_22_49_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392137058","file1":"1392137055","file0":"1392137053","file4":"1392137112","file5":"1392137137","file3":"1392137079"},"map_files_photo_id_array":[{"photo_id":"1392137137","filename":"file5"},{"photo_id":"1392137058","filename":"file2"},{"photo_id":"1392137112","filename":"file4"},{"photo_id":"1392137055","filename":"file1"},{"photo_id":"1392137053","filename":"file0"},{"photo_id":"1392137079","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392137053":["hashtag1","hashtag2"]},{"1392137137":["hashtag1","hashtag2"]},{"1392137079":["hashtag1","hashtag2"]},{"1392137058":["hashtag1","hashtag2"]},{"1392137112":["hashtag1","hashtag2"]},{"1392137055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392137053, 1392137137, 1392137079, 1392137058, 1392137112, 1392137055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37850642204285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:21:03.457492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_03_2599.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_07_3676.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_10_2613.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_13_2765.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_16_3725.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_19_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_03_2599.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_07_3676.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_10_2613.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_13_2765.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_16_3725.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_19_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":["1392137213","1392137467","1392137428","1392137199","1392137235","1392137393"],"photo_ids_order":["1392137199","1392137213","1392137235","1392137393","1392137428","1392137467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f0e1c7a9168aefa8532092bfd8947e24.jpg","text":"TemporaryFile(/tmp/multipartBody4644788462609649077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197724555,"filename":"image_03112025_10_23_07_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/3/b3766ee15751b1edf37ff874f82e824d.jpg","text":"TemporaryFile(/tmp/multipartBody1706188088942451899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197724555,"filename":"image_03112025_10_23_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/3/8f7b623895f7f28c0c3a4b0741f7938f.jpg","text":"TemporaryFile(/tmp/multipartBody6113738932356245250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197724555,"filename":"image_03112025_10_23_16_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/3/59c124fe60728246a3e2832053a01817.jpg","text":"TemporaryFile(/tmp/multipartBody5602134743512761558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197724555,"filename":"image_03112025_10_23_03_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/3/84ae45f8e1c62d3633b44dfa29dc11cb.jpg","text":"TemporaryFile(/tmp/multipartBody5557566055340963687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197724555,"filename":"image_03112025_10_23_10_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/3/f3ee4760dfc860389dbb9f6d8d32beae.jpg","text":"TemporaryFile(/tmp/multipartBody7213765835118001372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197724555,"filename":"image_03112025_10_23_13_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392137235","file1":"1392137213","file0":"1392137199","file4":"1392137428","file5":"1392137467","file3":"1392137393"},"map_files_photo_id_array":[{"photo_id":"1392137467","filename":"file5"},{"photo_id":"1392137235","filename":"file2"},{"photo_id":"1392137428","filename":"file4"},{"photo_id":"1392137213","filename":"file1"},{"photo_id":"1392137199","filename":"file0"},{"photo_id":"1392137393","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392137213":["hashtag1","hashtag2"]},{"1392137467":["hashtag1","hashtag2"]},{"1392137428":["hashtag1","hashtag2"]},{"1392137199":["hashtag1","hashtag2"]},{"1392137235":["hashtag1","hashtag2"]},{"1392137393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392137213, 1392137467, 1392137428, 1392137199, 1392137235, 1392137393)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 80.69801449775696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:22:33.057208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_22_2665.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_25_3569.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_28_2657.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_31_2674.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_34_3595.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_37_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_22_2665.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_25_3569.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_28_2657.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_31_2674.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_34_3595.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_37_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392137797","1392137801","1392137799","1392137826","1392137808","1392137805"],"photo_ids_order":["1392137797","1392137799","1392137801","1392137805","1392137808","1392137826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b0ff8154a922f37db3d87fb433cd95c0.jpg","text":"TemporaryFile(/tmp/multipartBody56826658163065107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197813913,"filename":"image_03112025_10_23_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/3/1372313112b3d161c21699adfd8fda80.jpg","text":"TemporaryFile(/tmp/multipartBody5896671802337048192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197813913,"filename":"image_03112025_10_23_28_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/3/db3d5dc51e631c056f92832f9f8a42ec.jpg","text":"TemporaryFile(/tmp/multipartBody8426147979209182369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197813913,"filename":"image_03112025_10_23_25_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/3/365e1d4bb983d1f92167341455599f6f.jpg","text":"TemporaryFile(/tmp/multipartBody5700698555308179307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197813913,"filename":"image_03112025_10_23_37_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/3/559079d550485a2f523bde959885bafd.jpg","text":"TemporaryFile(/tmp/multipartBody1074507554907436008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197813913,"filename":"image_03112025_10_23_34_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/3/66ea19114354fc0b606fa5241ce8a14b.jpg","text":"TemporaryFile(/tmp/multipartBody7404276593459999728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197813913,"filename":"image_03112025_10_23_31_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392137801","file1":"1392137799","file0":"1392137797","file4":"1392137808","file5":"1392137826","file3":"1392137805"},"map_files_photo_id_array":[{"photo_id":"1392137826","filename":"file5"},{"photo_id":"1392137801","filename":"file2"},{"photo_id":"1392137808","filename":"file4"},{"photo_id":"1392137799","filename":"file1"},{"photo_id":"1392137797","filename":"file0"},{"photo_id":"1392137805","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392137797":["hashtag1","hashtag2"]},{"1392137801":["hashtag1","hashtag2"]},{"1392137799":["hashtag1","hashtag2"]},{"1392137826":["hashtag1","hashtag2"]},{"1392137808":["hashtag1","hashtag2"]},{"1392137805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392137797, 1392137801, 1392137799, 1392137826, 1392137808, 1392137805)","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 = 1392137801 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_28_2657.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.61327838897705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:23:42.320046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_39_2635.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_43_3613.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_46_2709.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_48_2711.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_52_3676.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_55_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_39_2635.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_43_3613.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_46_2709.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_48_2711.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_52_3676.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_55_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392138262","1392138229","1392138189","1392138263","1392138257","1392138260"],"photo_ids_order":["1392138189","1392138229","1392138257","1392138260","1392138262","1392138263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/de5666d6d6eb215ea2a30827c17ccb76.jpg","text":"TemporaryFile(/tmp/multipartBody3007067533298181500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197883148,"filename":"image_03112025_10_23_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/3/909147e17282bf67bff19e16084a972b.jpg","text":"TemporaryFile(/tmp/multipartBody5026648732630301918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197883148,"filename":"image_03112025_10_23_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/3/2723b7cad51848c980f2f933fdb7c1cf.jpg","text":"TemporaryFile(/tmp/multipartBody4280240207573757422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197883148,"filename":"image_03112025_10_23_39_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0bf8e44349941036dec2277c36c4b697.jpg","text":"TemporaryFile(/tmp/multipartBody4334197439914701397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197883148,"filename":"image_03112025_10_23_55_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/3/1fc51ff9c1843b442b7d879baee5d477.jpg","text":"TemporaryFile(/tmp/multipartBody3868731113505125962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197883148,"filename":"image_03112025_10_23_46_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/3/5b2f7b68f776ed3e9fb76eea62bb4b7a.jpg","text":"TemporaryFile(/tmp/multipartBody5997511163064002556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197883148,"filename":"image_03112025_10_23_48_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392138257","file1":"1392138229","file0":"1392138189","file4":"1392138262","file5":"1392138263","file3":"1392138260"},"map_files_photo_id_array":[{"photo_id":"1392138263","filename":"file5"},{"photo_id":"1392138257","filename":"file2"},{"photo_id":"1392138262","filename":"file4"},{"photo_id":"1392138229","filename":"file1"},{"photo_id":"1392138189","filename":"file0"},{"photo_id":"1392138260","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392138262":["hashtag1","hashtag2"]},{"1392138229":["hashtag1","hashtag2"]},{"1392138189":["hashtag1","hashtag2"]},{"1392138263":["hashtag1","hashtag2"]},{"1392138257":["hashtag1","hashtag2"]},{"1392138260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392138262, 1392138229, 1392138189, 1392138263, 1392138257, 1392138260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.124579429626465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:24:22.592635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_57_2666.jpg', '/home/pi/Desktop/images/03112025/10/23/image_03112025_10_24_01_3547.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_04_2734.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_06_2693.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_10_3630.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_13_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_23_57_2666.jpg
/home/pi/Desktop/images/03112025/10/23/image_03112025_10_24_01_3547.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_04_2734.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_06_2693.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_10_3630.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_13_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392138418","1392138403","1392138409","1392138471","1392138432","1392138519"],"photo_ids_order":["1392138403","1392138409","1392138418","1392138432","1392138471","1392138519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a769ea4925f0b928fc2b485b3ee3940e.jpg","text":"TemporaryFile(/tmp/multipartBody5930904433999412341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197923417,"filename":"image_03112025_10_24_04_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/3/55babf3125911ef0b9054b6b40c8d14b.jpg","text":"TemporaryFile(/tmp/multipartBody762451806198516181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197923417,"filename":"image_03112025_10_23_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/3/338f0037c536ff1a0ea1b99e7a518068.jpg","text":"TemporaryFile(/tmp/multipartBody6749316559300704742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197923417,"filename":"image_03112025_10_24_01_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/3/a089850e7c8faf182aeeffdc81befdc6.jpg","text":"TemporaryFile(/tmp/multipartBody2232635426919766746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197923417,"filename":"image_03112025_10_24_10_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/3/1209a4e3df2b119566697c32eb6e1ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3553514431331488077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197923417,"filename":"image_03112025_10_24_06_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/3/4c148b7805fa4015f7cad7463e552e1a.jpg","text":"TemporaryFile(/tmp/multipartBody7861046932965800515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197923417,"filename":"image_03112025_10_24_13_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392138418","file1":"1392138409","file0":"1392138403","file4":"1392138471","file5":"1392138519","file3":"1392138432"},"map_files_photo_id_array":[{"photo_id":"1392138519","filename":"file5"},{"photo_id":"1392138418","filename":"file2"},{"photo_id":"1392138471","filename":"file4"},{"photo_id":"1392138409","filename":"file1"},{"photo_id":"1392138403","filename":"file0"},{"photo_id":"1392138432","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392138418":["hashtag1","hashtag2"]},{"1392138403":["hashtag1","hashtag2"]},{"1392138409":["hashtag1","hashtag2"]},{"1392138471":["hashtag1","hashtag2"]},{"1392138432":["hashtag1","hashtag2"]},{"1392138519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392138418, 1392138403, 1392138409, 1392138471, 1392138432, 1392138519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.696080446243286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:25:03.415676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_16_3577.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_19_2759.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_22_2559.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_25_3584.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_28_2628.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_30_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_16_3577.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_19_2759.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_22_2559.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_25_3584.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_28_2628.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_30_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392138684","1392138764","1392138752","1392138722","1392138716","1392138781"],"photo_ids_order":["1392138684","1392138716","1392138722","1392138752","1392138764","1392138781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fd59b9100a360f6428e9c64c140258b7.jpg","text":"TemporaryFile(/tmp/multipartBody3803148112823399270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197964591,"filename":"image_03112025_10_24_16_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/3/b5aa178e5c227bb1097828e62c6e93c5.jpg","text":"TemporaryFile(/tmp/multipartBody2029980583223558978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197964591,"filename":"image_03112025_10_24_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/3/b72bb3e7bec682cd27f68ec60deec514.jpg","text":"TemporaryFile(/tmp/multipartBody8665989166496663099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197964591,"filename":"image_03112025_10_24_25_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/3/33b77b5c88d00735388911e16682ff8f.jpg","text":"TemporaryFile(/tmp/multipartBody9146547467928065344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197964591,"filename":"image_03112025_10_24_22_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/caa6631475afd5f9682ba7af83213ee9.jpg","text":"TemporaryFile(/tmp/multipartBody226465726452751410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197964591,"filename":"image_03112025_10_24_19_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/3/cf0e647996871cdc94c47487985464ac.jpg","text":"TemporaryFile(/tmp/multipartBody1934082086145076165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762197964591,"filename":"image_03112025_10_24_30_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392138722","file1":"1392138716","file0":"1392138684","file4":"1392138764","file5":"1392138781","file3":"1392138752"},"map_files_photo_id_array":[{"photo_id":"1392138781","filename":"file5"},{"photo_id":"1392138722","filename":"file2"},{"photo_id":"1392138764","filename":"file4"},{"photo_id":"1392138716","filename":"file1"},{"photo_id":"1392138684","filename":"file0"},{"photo_id":"1392138752","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392138684":["hashtag1","hashtag2"]},{"1392138764":["hashtag1","hashtag2"]},{"1392138752":["hashtag1","hashtag2"]},{"1392138722":["hashtag1","hashtag2"]},{"1392138716":["hashtag1","hashtag2"]},{"1392138781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392138684, 1392138764, 1392138752, 1392138722, 1392138716, 1392138781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47760057449341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:25:42.772724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_34_3773.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_37_2604.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_39_2582.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_43_3680.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_46_2684.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_48_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_34_3773.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_37_2604.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_39_2582.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_43_3680.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_46_2684.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_48_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392138808","1392138823","1392138817","1392138810","1392138813","1392138815"],"photo_ids_order":["1392138808","1392138810","1392138813","1392138815","1392138817","1392138823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8f9cc07361a29d49eda07a250104b000.jpg","text":"TemporaryFile(/tmp/multipartBody873169547774607773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198003638,"filename":"image_03112025_10_24_34_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/3/d5d5ca0d9d87a9ae457c24d8685f2b1c.jpg","text":"TemporaryFile(/tmp/multipartBody1820565836459815291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198003638,"filename":"image_03112025_10_24_48_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/3/1befe2763f744f68acdf94f3923ee7a4.jpg","text":"TemporaryFile(/tmp/multipartBody1734660254059508140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198003638,"filename":"image_03112025_10_24_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/3/37f8a435a58623a2694f31099db076a1.jpg","text":"TemporaryFile(/tmp/multipartBody2321332387450217370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198003638,"filename":"image_03112025_10_24_37_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/164a51bae5cdbd38b346e04ea9ade476.jpg","text":"TemporaryFile(/tmp/multipartBody1667485636323953308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198003638,"filename":"image_03112025_10_24_39_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1927965f7494b28d39df7e2d77a66c5.jpg","text":"TemporaryFile(/tmp/multipartBody8351408326774426407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198003638,"filename":"image_03112025_10_24_43_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392138813","file1":"1392138810","file0":"1392138808","file4":"1392138817","file5":"1392138823","file3":"1392138815"},"map_files_photo_id_array":[{"photo_id":"1392138823","filename":"file5"},{"photo_id":"1392138813","filename":"file2"},{"photo_id":"1392138817","filename":"file4"},{"photo_id":"1392138810","filename":"file1"},{"photo_id":"1392138808","filename":"file0"},{"photo_id":"1392138815","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392138808":["hashtag1","hashtag2"]},{"1392138823":["hashtag1","hashtag2"]},{"1392138817":["hashtag1","hashtag2"]},{"1392138810":["hashtag1","hashtag2"]},{"1392138813":["hashtag1","hashtag2"]},{"1392138815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392138808, 1392138823, 1392138817, 1392138810, 1392138813, 1392138815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.274574756622314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:26:21.919553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_52_3744.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_55_2895.jpg', '/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_58_2728.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_07_3010.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_10_3596.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_13_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_52_3744.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_55_2895.jpg
/home/pi/Desktop/images/03112025/10/24/image_03112025_10_24_58_2728.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_07_3010.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_10_3596.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_13_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392138922","1392138915","1392138918","1392138912","1392138906","1392138909"],"photo_ids_order":["1392138906","1392138909","1392138912","1392138915","1392138918","1392138922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/02fbaf5697e38f337d2af357e2a0074d.jpg","text":"TemporaryFile(/tmp/multipartBody5133777562708397520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198042789,"filename":"image_03112025_10_25_13_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/70d14f087dd8d22feb6df75bd1f41547.jpg","text":"TemporaryFile(/tmp/multipartBody2775447934918593896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198042789,"filename":"image_03112025_10_25_07_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/3/2360a08986903dd9751f78ba094710c4.jpg","text":"TemporaryFile(/tmp/multipartBody797923400391548824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198042789,"filename":"image_03112025_10_25_10_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/3/672feb2cc2fc11dbe8a7eb3bc7bd960c.jpg","text":"TemporaryFile(/tmp/multipartBody8210692872580055829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198042789,"filename":"image_03112025_10_24_58_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/3/f00b38afa58dcc6519eea373c4d4f40b.jpg","text":"TemporaryFile(/tmp/multipartBody7245703249435264276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198042789,"filename":"image_03112025_10_24_52_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/3/d38ebf35c5072a1d28144fd34bf2bcb0.jpg","text":"TemporaryFile(/tmp/multipartBody2911024012040873429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198042789,"filename":"image_03112025_10_24_55_2895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392138912","file1":"1392138909","file0":"1392138906","file4":"1392138918","file5":"1392138922","file3":"1392138915"},"map_files_photo_id_array":[{"photo_id":"1392138922","filename":"file5"},{"photo_id":"1392138912","filename":"file2"},{"photo_id":"1392138918","filename":"file4"},{"photo_id":"1392138909","filename":"file1"},{"photo_id":"1392138906","filename":"file0"},{"photo_id":"1392138915","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392138922":["hashtag1","hashtag2"]},{"1392138915":["hashtag1","hashtag2"]},{"1392138918":["hashtag1","hashtag2"]},{"1392138912":["hashtag1","hashtag2"]},{"1392138906":["hashtag1","hashtag2"]},{"1392138909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392138922, 1392138915, 1392138918, 1392138912, 1392138906, 1392138909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00054621696472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:27:02.782809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_16_3676.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_19_2745.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_22_2552.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_25_2758.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_28_3748.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_31_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_16_3676.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_19_2745.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_22_2552.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_25_2758.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_28_3748.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_31_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392138949","1392138940","1392138945","1392138932","1392138935","1392138938"],"photo_ids_order":["1392138932","1392138935","1392138938","1392138940","1392138945","1392138949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/04455b22495279938b0ae5e763fee3ab.jpg","text":"TemporaryFile(/tmp/multipartBody1728843154413354443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198083788,"filename":"image_03112025_10_25_31_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/632bbc9034e1ee4cf628d98e01667b30.jpg","text":"TemporaryFile(/tmp/multipartBody4930449400468627259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198083788,"filename":"image_03112025_10_25_25_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/088e90b5c9ff9aa740ce57a7fb0d7da9.jpg","text":"TemporaryFile(/tmp/multipartBody3251345442996125648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198083788,"filename":"image_03112025_10_25_28_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d6ad4b1dc2b3f9dfa49b146c2afd049.jpg","text":"TemporaryFile(/tmp/multipartBody2788691086180642305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198083788,"filename":"image_03112025_10_25_16_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/3/3e0e17f60808c5ae277eebd068d94abe.jpg","text":"TemporaryFile(/tmp/multipartBody6804151397932608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198083788,"filename":"image_03112025_10_25_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/3/8e6276190c9487b10985dacf697c3f2e.jpg","text":"TemporaryFile(/tmp/multipartBody133115105810663778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198083788,"filename":"image_03112025_10_25_22_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392138938","file1":"1392138935","file0":"1392138932","file4":"1392138945","file5":"1392138949","file3":"1392138940"},"map_files_photo_id_array":[{"photo_id":"1392138949","filename":"file5"},{"photo_id":"1392138938","filename":"file2"},{"photo_id":"1392138945","filename":"file4"},{"photo_id":"1392138935","filename":"file1"},{"photo_id":"1392138932","filename":"file0"},{"photo_id":"1392138940","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392138949":["hashtag1","hashtag2"]},{"1392138940":["hashtag1","hashtag2"]},{"1392138945":["hashtag1","hashtag2"]},{"1392138932":["hashtag1","hashtag2"]},{"1392138935":["hashtag1","hashtag2"]},{"1392138938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392138949, 1392138940, 1392138945, 1392138932, 1392138935, 1392138938)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.94144415855408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:28:02.957174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_34_2746.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_37_3620.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_40_2823.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_43_2578.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_46_3678.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_49_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_34_2746.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_37_3620.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_40_2823.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_43_2578.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_46_3678.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_49_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392139066","1392139062","1392139034","1392139072","1392139069","1392139042"],"photo_ids_order":["1392139034","1392139042","1392139062","1392139066","1392139069","1392139072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6e0ca16bfdb15cd710d5baf34fb87af7.jpg","text":"TemporaryFile(/tmp/multipartBody5661434523590563703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198143862,"filename":"image_03112025_10_25_43_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/3/33a8a17769efbcea834b5c8a220c71bf.jpg","text":"TemporaryFile(/tmp/multipartBody7750623287335171517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198143862,"filename":"image_03112025_10_25_40_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/3/19f67629a2e74060391f76d7aea4748d.jpg","text":"TemporaryFile(/tmp/multipartBody3218749556373228320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198143862,"filename":"image_03112025_10_25_34_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/88afd4ccdcd72f83ded72f57919775fa.jpg","text":"TemporaryFile(/tmp/multipartBody6523364088254798604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198143862,"filename":"image_03112025_10_25_49_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/3/9dbbb51c8bb83dae3f1a92beae1d8507.jpg","text":"TemporaryFile(/tmp/multipartBody1998759820268518094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198143862,"filename":"image_03112025_10_25_46_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/3/255be0e78ef1eae750c8fbdb82d77127.jpg","text":"TemporaryFile(/tmp/multipartBody2766078649137845416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198143862,"filename":"image_03112025_10_25_37_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392139062","file1":"1392139042","file0":"1392139034","file4":"1392139069","file5":"1392139072","file3":"1392139066"},"map_files_photo_id_array":[{"photo_id":"1392139072","filename":"file5"},{"photo_id":"1392139062","filename":"file2"},{"photo_id":"1392139069","filename":"file4"},{"photo_id":"1392139042","filename":"file1"},{"photo_id":"1392139034","filename":"file0"},{"photo_id":"1392139066","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392139066":["hashtag1","hashtag2"]},{"1392139062":["hashtag1","hashtag2"]},{"1392139034":["hashtag1","hashtag2"]},{"1392139072":["hashtag1","hashtag2"]},{"1392139069":["hashtag1","hashtag2"]},{"1392139042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392139066, 1392139062, 1392139034, 1392139072, 1392139069, 1392139042)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.06083297729492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:29:08.073157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 20:29:22.563541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 20:29:42.565868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_52_2699.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_55_3579.jpg', '/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_58_2638.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_01_2800.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_04_2821.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_07_3513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_52_2699.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_55_3579.jpg
/home/pi/Desktop/images/03112025/10/25/image_03112025_10_25_58_2638.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_01_2800.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_04_2821.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_07_3513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392139176","1392139187","1392139169","1392139118","1392139195","1392139153"],"photo_ids_order":["1392139118","1392139153","1392139169","1392139176","1392139187","1392139195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/851814029995932baadea484c7d18340.jpg","text":"TemporaryFile(/tmp/multipartBody202754013320338920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198247165,"filename":"image_03112025_10_26_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/3/4ee6e30c0a0e7cf366a10e5201f76776.jpg","text":"TemporaryFile(/tmp/multipartBody804565860280407631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198247165,"filename":"image_03112025_10_26_04_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/3/ccfbc0f44bfe5f3977cfcdd5ac973490.jpg","text":"TemporaryFile(/tmp/multipartBody3588351663702031657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198247165,"filename":"image_03112025_10_25_58_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/3/13cd283a409e246310ff393f47affce6.jpg","text":"TemporaryFile(/tmp/multipartBody269877001276604277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198247165,"filename":"image_03112025_10_25_52_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/3/4affe3a6c79bfa29010c7cb87163a9cf.jpg","text":"TemporaryFile(/tmp/multipartBody2193119272331777190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198247165,"filename":"image_03112025_10_26_07_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a15121fea77e2e41627cf03cb3fd4d54.jpg","text":"TemporaryFile(/tmp/multipartBody2562384153443753643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198247165,"filename":"image_03112025_10_25_55_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392139169","file1":"1392139153","file0":"1392139118","file4":"1392139187","file5":"1392139195","file3":"1392139176"},"map_files_photo_id_array":[{"photo_id":"1392139195","filename":"file5"},{"photo_id":"1392139169","filename":"file2"},{"photo_id":"1392139187","filename":"file4"},{"photo_id":"1392139153","filename":"file1"},{"photo_id":"1392139118","filename":"file0"},{"photo_id":"1392139176","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392139176":["hashtag1","hashtag2"]},{"1392139187":["hashtag1","hashtag2"]},{"1392139169":["hashtag1","hashtag2"]},{"1392139118":["hashtag1","hashtag2"]},{"1392139195":["hashtag1","hashtag2"]},{"1392139153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392139176, 1392139187, 1392139169, 1392139118, 1392139195, 1392139153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65179944038391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:30:42.417486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_10_2550.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_13_3680.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_16_2643.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_19_2557.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_22_3698.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_25_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_10_2550.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_13_3680.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_16_2643.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_19_2557.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_22_3698.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_25_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392139306","1392139302","1392139310","1392139304","1392139307","1392139297"],"photo_ids_order":["1392139297","1392139302","1392139304","1392139306","1392139307","1392139310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/588c0b9db8743b00e3b6121ba37711d5.jpg","text":"TemporaryFile(/tmp/multipartBody5223618865005860770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198303283,"filename":"image_03112025_10_26_19_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/3/da48108a95850055ebb64435e230aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody2046916257129070877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198303283,"filename":"image_03112025_10_26_13_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/3/529757179354005357e7c1da0d8ea167.jpg","text":"TemporaryFile(/tmp/multipartBody5838216457407276525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198303283,"filename":"image_03112025_10_26_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/3/af2d693d30149eeb0259154648a36811.jpg","text":"TemporaryFile(/tmp/multipartBody6875113869537050799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198303283,"filename":"image_03112025_10_26_16_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/3/5c4ffa5d5c1f183f565ba862dd81ee35.jpg","text":"TemporaryFile(/tmp/multipartBody4153415928453479656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198303283,"filename":"image_03112025_10_26_22_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/3/e82915fcda2aa89aa7711a4e10ed1acb.jpg","text":"TemporaryFile(/tmp/multipartBody7159559768272398494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198303283,"filename":"image_03112025_10_26_10_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392139304","file1":"1392139302","file0":"1392139297","file4":"1392139307","file5":"1392139310","file3":"1392139306"},"map_files_photo_id_array":[{"photo_id":"1392139310","filename":"file5"},{"photo_id":"1392139304","filename":"file2"},{"photo_id":"1392139307","filename":"file4"},{"photo_id":"1392139302","filename":"file1"},{"photo_id":"1392139297","filename":"file0"},{"photo_id":"1392139306","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392139306":["hashtag1","hashtag2"]},{"1392139302":["hashtag1","hashtag2"]},{"1392139310":["hashtag1","hashtag2"]},{"1392139304":["hashtag1","hashtag2"]},{"1392139307":["hashtag1","hashtag2"]},{"1392139297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392139306, 1392139302, 1392139310, 1392139304, 1392139307, 1392139297)","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 = 1392139304 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_16_2643.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 71.01961779594421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:32:02.562750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_28_2645.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_31_3555.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_34_2808.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_37_2685.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_40_3600.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_43_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_28_2645.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_31_3555.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_34_2808.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_37_2685.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_40_3600.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_43_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392139794","1392139731","1392139693","1392139849","1392139657","1392139858"],"photo_ids_order":["1392139657","1392139693","1392139731","1392139794","1392139849","1392139858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ba4a7f0b6b5ee289acfc9e6c55641f37.jpg","text":"TemporaryFile(/tmp/multipartBody5085547125813276080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198386750,"filename":"image_03112025_10_26_37_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0ca10816fe6f4e4c0e58566d7c1bfa55.jpg","text":"TemporaryFile(/tmp/multipartBody7258766209138020077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198386750,"filename":"image_03112025_10_26_34_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/3/17807c184a2471cfbe7813391a09a9ff.jpg","text":"TemporaryFile(/tmp/multipartBody5947851513646305745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198386750,"filename":"image_03112025_10_26_31_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/3/c035570520e0d618a7d84a4382eee222.jpg","text":"TemporaryFile(/tmp/multipartBody4477529558448275512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198386750,"filename":"image_03112025_10_26_40_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/3/a3909a03e6882571a72c9d892f822423.jpg","text":"TemporaryFile(/tmp/multipartBody3319792603094312547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198386750,"filename":"image_03112025_10_26_28_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/3/90ad40f8a444db18470cb090f7386668.jpg","text":"TemporaryFile(/tmp/multipartBody6566001684014241493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198386750,"filename":"image_03112025_10_26_43_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392139731","file1":"1392139693","file0":"1392139657","file4":"1392139849","file5":"1392139858","file3":"1392139794"},"map_files_photo_id_array":[{"photo_id":"1392139858","filename":"file5"},{"photo_id":"1392139731","filename":"file2"},{"photo_id":"1392139849","filename":"file4"},{"photo_id":"1392139693","filename":"file1"},{"photo_id":"1392139657","filename":"file0"},{"photo_id":"1392139794","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392139794":["hashtag1","hashtag2"]},{"1392139731":["hashtag1","hashtag2"]},{"1392139693":["hashtag1","hashtag2"]},{"1392139849":["hashtag1","hashtag2"]},{"1392139657":["hashtag1","hashtag2"]},{"1392139858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392139794, 1392139731, 1392139693, 1392139849, 1392139657, 1392139858)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 92.20933675765991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:33:52.321344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_46_2660.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_49_3669.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_52_2616.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_55_2718.jpg', '/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_58_3652.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_01_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_46_2660.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_49_3669.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_52_2616.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_55_2718.jpg
/home/pi/Desktop/images/03112025/10/26/image_03112025_10_26_58_3652.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_01_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":["1392139939","1392139950","1392139937","1392139946","1392139940","1392139942"],"photo_ids_order":["1392139937","1392139939","1392139940","1392139942","1392139946","1392139950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71a5c668d493167826857843833caeeb.jpg","text":"TemporaryFile(/tmp/multipartBody5592060264977217121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198512325,"filename":"image_03112025_10_26_49_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/3/171cdf3631db133734bde4a0b1095a16.jpg","text":"TemporaryFile(/tmp/multipartBody88511507359193704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198512325,"filename":"image_03112025_10_27_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/3/58987c842714d6cc234ca71900669a8c.jpg","text":"TemporaryFile(/tmp/multipartBody6214852601065702019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198512325,"filename":"image_03112025_10_26_46_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d14af5f215bda0c98f79b90fdb929609.jpg","text":"TemporaryFile(/tmp/multipartBody520041485698641554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198512325,"filename":"image_03112025_10_26_58_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/3/da8e6d0c5eee11cb4564ad17da026565.jpg","text":"TemporaryFile(/tmp/multipartBody5496499007849004260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198512325,"filename":"image_03112025_10_26_52_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6839405e3e4b38b76f6c5b88ef770566.jpg","text":"TemporaryFile(/tmp/multipartBody2292673265234418941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198512325,"filename":"image_03112025_10_26_55_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392139940","file1":"1392139939","file0":"1392139937","file4":"1392139946","file5":"1392139950","file3":"1392139942"},"map_files_photo_id_array":[{"photo_id":"1392139950","filename":"file5"},{"photo_id":"1392139940","filename":"file2"},{"photo_id":"1392139946","filename":"file4"},{"photo_id":"1392139939","filename":"file1"},{"photo_id":"1392139937","filename":"file0"},{"photo_id":"1392139942","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392139939":["hashtag1","hashtag2"]},{"1392139950":["hashtag1","hashtag2"]},{"1392139937":["hashtag1","hashtag2"]},{"1392139946":["hashtag1","hashtag2"]},{"1392139940":["hashtag1","hashtag2"]},{"1392139942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392139939, 1392139950, 1392139937, 1392139946, 1392139940, 1392139942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.23252081871033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:34:52.181768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_06_2742.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_10_3745.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_19_8866.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_21_1695.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_24_3354.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_29_3456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_06_2742.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_10_3745.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_19_8866.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_21_1695.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_24_3354.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_29_3456.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7920429706573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:35:03.020493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_06_2742.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_10_3745.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_19_8866.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_21_1695.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_24_3354.jpg', '/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_29_3456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_06_2742.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_10_3745.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_19_8866.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_21_1695.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_24_3354.jpg
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_29_3456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392140244","1392140223","1392140168","1392140225","1392140228","1392140207"],"photo_ids_order":["1392140168","1392140207","1392140223","1392140225","1392140228","1392140244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/07a7c77b38de57b4ff033967906d70cd.jpg","text":"TemporaryFile(/tmp/multipartBody8883937185225491991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198567186,"filename":"image_03112025_10_27_29_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/3/0026cfb821e255f49dc7e8177f48fc5e.jpg","text":"TemporaryFile(/tmp/multipartBody3122118218977189727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198567186,"filename":"image_03112025_10_27_19_8866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ddaf4f9df364bc4fdb517a1fc93693c1.jpg","text":"TemporaryFile(/tmp/multipartBody8922292555658358853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198567186,"filename":"image_03112025_10_27_06_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/3/3639ccfc4bc4b358f812fa485f6e3202.jpg","text":"TemporaryFile(/tmp/multipartBody7922247101284250845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198567186,"filename":"image_03112025_10_27_21_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/3/2c1fb67c62c60b11ea39a951e437810b.jpg","text":"TemporaryFile(/tmp/multipartBody7701136503620632690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198567186,"filename":"image_03112025_10_27_24_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/3/8c42734690d4a9041b7b44c5f39f9e54.jpg","text":"TemporaryFile(/tmp/multipartBody1606454960154777002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198567186,"filename":"image_03112025_10_27_10_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392140223","file1":"1392140207","file0":"1392140168","file4":"1392140228","file5":"1392140244","file3":"1392140225"},"map_files_photo_id_array":[{"photo_id":"1392140244","filename":"file5"},{"photo_id":"1392140223","filename":"file2"},{"photo_id":"1392140228","filename":"file4"},{"photo_id":"1392140207","filename":"file1"},{"photo_id":"1392140168","filename":"file0"},{"photo_id":"1392140225","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392140244":["hashtag1","hashtag2"]},{"1392140223":["hashtag1","hashtag2"]},{"1392140168":["hashtag1","hashtag2"]},{"1392140225":["hashtag1","hashtag2"]},{"1392140228":["hashtag1","hashtag2"]},{"1392140207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392140244, 1392140223, 1392140168, 1392140225, 1392140228, 1392140207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.752657890319824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:36:03.077887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_40_2618.jpg', '/home/pi/Desktop/images/03112025/10/28/image_03112025_10_28_31_1641.jpg', '/home/pi/Desktop/images/03112025/10/28/image_03112025_10_28_54_2882.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_07_2841.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_19_2659.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_21_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/27/image_03112025_10_27_40_2618.jpg
/home/pi/Desktop/images/03112025/10/28/image_03112025_10_28_31_1641.jpg
/home/pi/Desktop/images/03112025/10/28/image_03112025_10_28_54_2882.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_07_2841.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_19_2659.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_21_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":["1392140674","1392140594","1392140714","1392140636","1392140590","1392140587"],"photo_ids_order":["1392140587","1392140590","1392140594","1392140636","1392140674","1392140714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b8283981db982c115b3a151bdd77709a.jpg","text":"TemporaryFile(/tmp/multipartBody7906540066036591511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198637877,"filename":"image_03112025_10_29_19_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/3/08b89e12edda71b7609256f2edafbfc5.jpg","text":"TemporaryFile(/tmp/multipartBody7167867716517472004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198637877,"filename":"image_03112025_10_28_54_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/3/2b085c3ff0a60a1a6ca06ccc3c68b453.jpg","text":"TemporaryFile(/tmp/multipartBody3765462798990431659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198637877,"filename":"image_03112025_10_29_21_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/3/918b3ed59520a1601028d3524c73361b.jpg","text":"TemporaryFile(/tmp/multipartBody3047997547225312734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198637877,"filename":"image_03112025_10_29_07_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/3/d648b4f6995e96fa14f905613fedc55a.jpg","text":"TemporaryFile(/tmp/multipartBody5853944065688857944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198637877,"filename":"image_03112025_10_28_31_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/3/6ab0cdc833c9d20f12eaf7d4b8da41dd.jpg","text":"TemporaryFile(/tmp/multipartBody3192026471096491951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198637877,"filename":"image_03112025_10_27_40_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392140594","file1":"1392140590","file0":"1392140587","file4":"1392140674","file5":"1392140714","file3":"1392140636"},"map_files_photo_id_array":[{"photo_id":"1392140714","filename":"file5"},{"photo_id":"1392140594","filename":"file2"},{"photo_id":"1392140674","filename":"file4"},{"photo_id":"1392140590","filename":"file1"},{"photo_id":"1392140587","filename":"file0"},{"photo_id":"1392140636","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392140674":["hashtag1","hashtag2"]},{"1392140594":["hashtag1","hashtag2"]},{"1392140714":["hashtag1","hashtag2"]},{"1392140636":["hashtag1","hashtag2"]},{"1392140590":["hashtag1","hashtag2"]},{"1392140587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392140674, 1392140594, 1392140714, 1392140636, 1392140590, 1392140587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.952420234680176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:37:03.477669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_24_2641.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_28_3707.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_30_2528.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_34_3673.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_37_2698.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_40_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_24_2641.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_28_3707.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_30_2528.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_34_3673.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_37_2698.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_40_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392140776","1392140799","1392140787","1392140786","1392140765","1392140785"],"photo_ids_order":["1392140765","1392140776","1392140785","1392140786","1392140787","1392140799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dde20e4829059ffcdcd0bff802594796.jpg","text":"TemporaryFile(/tmp/multipartBody1376922802005026681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198684378,"filename":"image_03112025_10_29_28_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/3/28f2f25810393f3129fbaa3aa332c1dd.jpg","text":"TemporaryFile(/tmp/multipartBody4937849127433476678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198684378,"filename":"image_03112025_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/3/7142690df42378ed459fae5da2f9715e.jpg","text":"TemporaryFile(/tmp/multipartBody5187082337468201731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198684378,"filename":"image_03112025_10_29_37_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/3/e86c0405138b00b66d58679b92113056.jpg","text":"TemporaryFile(/tmp/multipartBody7526000849770393794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198684378,"filename":"image_03112025_10_29_34_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2b12dfb3c289baf4e98f309e416fd37b.jpg","text":"TemporaryFile(/tmp/multipartBody4872408437164422514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198684378,"filename":"image_03112025_10_29_24_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/3/7f3e23ebf124e78d7afa6739f7010569.jpg","text":"TemporaryFile(/tmp/multipartBody6462576916609033329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198684378,"filename":"image_03112025_10_29_30_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392140785","file1":"1392140776","file0":"1392140765","file4":"1392140787","file5":"1392140799","file3":"1392140786"},"map_files_photo_id_array":[{"photo_id":"1392140799","filename":"file5"},{"photo_id":"1392140785","filename":"file2"},{"photo_id":"1392140787","filename":"file4"},{"photo_id":"1392140776","filename":"file1"},{"photo_id":"1392140765","filename":"file0"},{"photo_id":"1392140786","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392140776":["hashtag1","hashtag2"]},{"1392140799":["hashtag1","hashtag2"]},{"1392140787":["hashtag1","hashtag2"]},{"1392140786":["hashtag1","hashtag2"]},{"1392140765":["hashtag1","hashtag2"]},{"1392140785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392140776, 1392140799, 1392140787, 1392140786, 1392140765, 1392140785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43545961380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:37:42.703252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_42_2652.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_46_3591.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_48_2676.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_51_2712.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_55_3756.jpg', '/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_58_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_42_2652.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_46_3591.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_48_2676.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_51_2712.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_55_3756.jpg
/home/pi/Desktop/images/03112025/10/29/image_03112025_10_29_58_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392141016","1392140947","1392140875","1392141010","1392140911","1392140814"],"photo_ids_order":["1392140814","1392140875","1392140911","1392140947","1392141010","1392141016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/58ce17723704c296ce0e355d54778589.jpg","text":"TemporaryFile(/tmp/multipartBody7743561721223010194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198723538,"filename":"image_03112025_10_29_58_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/3/b7148c3811c04d26cc111c0d07633bc8.jpg","text":"TemporaryFile(/tmp/multipartBody5846225977662754749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198723538,"filename":"image_03112025_10_29_51_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/3/77d4a39a81cce5b6b7e348280564e36e.jpg","text":"TemporaryFile(/tmp/multipartBody8122534448278918035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198723538,"filename":"image_03112025_10_29_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/3/a4430518d52a4b1a6fbcb2a66d021663.jpg","text":"TemporaryFile(/tmp/multipartBody4129188356779085132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198723538,"filename":"image_03112025_10_29_55_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/3/d0c4db573b382dff3cf691350c257a71.jpg","text":"TemporaryFile(/tmp/multipartBody7029959252959763103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198723538,"filename":"image_03112025_10_29_48_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b886fa425b35770e1c8b75115150f16.jpg","text":"TemporaryFile(/tmp/multipartBody7196360819670698884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198723538,"filename":"image_03112025_10_29_42_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392140911","file1":"1392140875","file0":"1392140814","file4":"1392141010","file5":"1392141016","file3":"1392140947"},"map_files_photo_id_array":[{"photo_id":"1392141016","filename":"file5"},{"photo_id":"1392140911","filename":"file2"},{"photo_id":"1392141010","filename":"file4"},{"photo_id":"1392140875","filename":"file1"},{"photo_id":"1392140814","filename":"file0"},{"photo_id":"1392140947","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392141016":["hashtag1","hashtag2"]},{"1392140947":["hashtag1","hashtag2"]},{"1392140875":["hashtag1","hashtag2"]},{"1392141010":["hashtag1","hashtag2"]},{"1392140911":["hashtag1","hashtag2"]},{"1392140814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392141016, 1392140947, 1392140875, 1392141010, 1392140911, 1392140814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.939218282699585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:38:21.848932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_07_3011.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_11_3728.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_14_2721.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_16_2822.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_20_3628.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_23_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_07_3011.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_11_3728.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_14_2721.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_16_2822.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_20_3628.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_23_2763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392141205","1392141120","1392141173","1392141295","1392141268","1392141169"],"photo_ids_order":["1392141120","1392141169","1392141173","1392141205","1392141268","1392141295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b357c49c73469105b0adf5270644919c.jpg","text":"TemporaryFile(/tmp/multipartBody112445984931868978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198763946,"filename":"image_03112025_10_30_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/3/69d116fd4603eeaa01a7f49a77122f8e.jpg","text":"TemporaryFile(/tmp/multipartBody7194630830752789904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198763946,"filename":"image_03112025_10_30_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/3/dea9638dd25d42cb81551459f856f48b.jpg","text":"TemporaryFile(/tmp/multipartBody2637893349887969491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198763946,"filename":"image_03112025_10_30_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/3/92b490415ec570698741b4e174f08321.jpg","text":"TemporaryFile(/tmp/multipartBody8673416326917515506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198763946,"filename":"image_03112025_10_30_23_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/79e8b627c1e5d3c6f169b0cddc32903d.jpg","text":"TemporaryFile(/tmp/multipartBody7838260518342460806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198763946,"filename":"image_03112025_10_30_20_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/3/b42bed4998c5813392e6779be4d16ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1170834056047421629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198763946,"filename":"image_03112025_10_30_11_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392141173","file1":"1392141169","file0":"1392141120","file4":"1392141268","file5":"1392141295","file3":"1392141205"},"map_files_photo_id_array":[{"photo_id":"1392141295","filename":"file5"},{"photo_id":"1392141173","filename":"file2"},{"photo_id":"1392141268","filename":"file4"},{"photo_id":"1392141169","filename":"file1"},{"photo_id":"1392141120","filename":"file0"},{"photo_id":"1392141205","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392141205":["hashtag1","hashtag2"]},{"1392141120":["hashtag1","hashtag2"]},{"1392141173":["hashtag1","hashtag2"]},{"1392141295":["hashtag1","hashtag2"]},{"1392141268":["hashtag1","hashtag2"]},{"1392141169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392141205, 1392141120, 1392141173, 1392141295, 1392141268, 1392141169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31398677825928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:39:22.076748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_25_2523.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_28_2787.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_32_3705.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_34_2358.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_38_3784.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_41_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_25_2523.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_28_2787.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_32_3705.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_34_2358.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_38_3784.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_41_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":["1392141502","1392141495","1392141489","1392141477","1392141492","1392141499"],"photo_ids_order":["1392141477","1392141489","1392141492","1392141495","1392141499","1392141502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40d82f6da5d2ebee5d2d9afa17e54151.jpg","text":"TemporaryFile(/tmp/multipartBody8066822661023260366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198822874,"filename":"image_03112025_10_30_41_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/3/d58141c1e450bbb78e0128b988c83d14.jpg","text":"TemporaryFile(/tmp/multipartBody6672837097075056211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198822874,"filename":"image_03112025_10_30_34_2358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f6eab894acd6aa81b7799d8f6870ccc2.jpg","text":"TemporaryFile(/tmp/multipartBody5353257691582122295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198822874,"filename":"image_03112025_10_30_28_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d5b6ab4bddf2225a43b3e436baee5b59.jpg","text":"TemporaryFile(/tmp/multipartBody1393724596934744796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198822874,"filename":"image_03112025_10_30_25_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/3/93c7d756e7aa4ece57a80489d8f60f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4285711297443672468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198822874,"filename":"image_03112025_10_30_32_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/3/87790bdc27e5548668bc55f69f56d266.jpg","text":"TemporaryFile(/tmp/multipartBody9209593390103289485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198822874,"filename":"image_03112025_10_30_38_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392141492","file1":"1392141489","file0":"1392141477","file4":"1392141499","file5":"1392141502","file3":"1392141495"},"map_files_photo_id_array":[{"photo_id":"1392141502","filename":"file5"},{"photo_id":"1392141492","filename":"file2"},{"photo_id":"1392141499","filename":"file4"},{"photo_id":"1392141489","filename":"file1"},{"photo_id":"1392141477","filename":"file0"},{"photo_id":"1392141495","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392141502":["hashtag1","hashtag2"]},{"1392141495":["hashtag1","hashtag2"]},{"1392141489":["hashtag1","hashtag2"]},{"1392141477":["hashtag1","hashtag2"]},{"1392141492":["hashtag1","hashtag2"]},{"1392141499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392141502, 1392141495, 1392141489, 1392141477, 1392141492, 1392141499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.381535053253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:40:22.256784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_43_2777.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_47_3665.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_50_2714.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_52_2584.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_56_3583.jpg', '/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_58_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_43_2777.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_47_3665.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_50_2714.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_52_2584.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_56_3583.jpg
/home/pi/Desktop/images/03112025/10/30/image_03112025_10_30_58_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392141618","1392141557","1392141629","1392141571","1392141559","1392141574"],"photo_ids_order":["1392141557","1392141559","1392141571","1392141574","1392141618","1392141629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1305c2b74abdfdb28d107d4533d62173.jpg","text":"TemporaryFile(/tmp/multipartBody2547937985207014509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198883100,"filename":"image_03112025_10_30_56_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/3/5c884e19e3f90dd3b5b5a6db3745c1d9.jpg","text":"TemporaryFile(/tmp/multipartBody3165241526418287228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198883100,"filename":"image_03112025_10_30_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/3/4e6400e5aa8e4437d9afd3db685697f1.jpg","text":"TemporaryFile(/tmp/multipartBody5050965500422797771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198883100,"filename":"image_03112025_10_30_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/3/d010eea04bec779feb0d648266c31b00.jpg","text":"TemporaryFile(/tmp/multipartBody7061353607649528280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198883100,"filename":"image_03112025_10_30_50_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1c047a7083ac6035032775a86868446c.jpg","text":"TemporaryFile(/tmp/multipartBody4997810788704271269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198883100,"filename":"image_03112025_10_30_47_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/3/d89fda8eb704ab3e28449b60f58f4d2e.jpg","text":"TemporaryFile(/tmp/multipartBody790297015473480700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198883100,"filename":"image_03112025_10_30_52_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392141571","file1":"1392141559","file0":"1392141557","file4":"1392141618","file5":"1392141629","file3":"1392141574"},"map_files_photo_id_array":[{"photo_id":"1392141629","filename":"file5"},{"photo_id":"1392141571","filename":"file2"},{"photo_id":"1392141618","filename":"file4"},{"photo_id":"1392141559","filename":"file1"},{"photo_id":"1392141557","filename":"file0"},{"photo_id":"1392141574","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392141618":["hashtag1","hashtag2"]},{"1392141557":["hashtag1","hashtag2"]},{"1392141629":["hashtag1","hashtag2"]},{"1392141571":["hashtag1","hashtag2"]},{"1392141559":["hashtag1","hashtag2"]},{"1392141574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392141618, 1392141557, 1392141629, 1392141571, 1392141559, 1392141574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13847780227661 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-03 20:41:22.937975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_01_2648.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_05_3594.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_07_2692.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_10_2768.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_14_3795.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_17_2902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_01_2648.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_05_3594.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_07_2692.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_10_2768.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_14_3795.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_17_2902.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392141861","1392141849","1392141828","1392141956","1392141911","1392141985"],"photo_ids_order":["1392141828","1392141849","1392141861","1392141911","1392141956","1392141985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/31c76b652f2aeee6a6f0c5daaf0fd0c5.jpg","text":"TemporaryFile(/tmp/multipartBody7377181402075090888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198943749,"filename":"image_03112025_10_31_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/3/a3bd47b820f05e3f1f7e322ce9de937f.jpg","text":"TemporaryFile(/tmp/multipartBody8077863823500833133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198943749,"filename":"image_03112025_10_31_05_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/3/b1ba9e6cb9f9cf4fc10452e6bff259f3.jpg","text":"TemporaryFile(/tmp/multipartBody7094547611526875138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198943749,"filename":"image_03112025_10_31_01_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6439c309e4b59b493b373837d2a48d10.jpg","text":"TemporaryFile(/tmp/multipartBody1236266419833859826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198943749,"filename":"image_03112025_10_31_14_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/3/c07f2852819e8943b265c2f2eeb43cd6.jpg","text":"TemporaryFile(/tmp/multipartBody7191600918403738001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198943749,"filename":"image_03112025_10_31_10_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/3/98d81b632466c85246eab967ea54c282.jpg","text":"TemporaryFile(/tmp/multipartBody9081636218259113837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198943749,"filename":"image_03112025_10_31_17_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392141861","file1":"1392141849","file0":"1392141828","file4":"1392141956","file5":"1392141985","file3":"1392141911"},"map_files_photo_id_array":[{"photo_id":"1392141985","filename":"file5"},{"photo_id":"1392141861","filename":"file2"},{"photo_id":"1392141956","filename":"file4"},{"photo_id":"1392141849","filename":"file1"},{"photo_id":"1392141828","filename":"file0"},{"photo_id":"1392141911","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392141861":["hashtag1","hashtag2"]},{"1392141849":["hashtag1","hashtag2"]},{"1392141828":["hashtag1","hashtag2"]},{"1392141956":["hashtag1","hashtag2"]},{"1392141911":["hashtag1","hashtag2"]},{"1392141985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392141861, 1392141849, 1392141828, 1392141956, 1392141911, 1392141985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19538998603821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:42:02.701855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_20_2637.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_22_2758.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_26_3666.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_29_2679.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_31_2621.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_37_5801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_20_2637.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_22_2758.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_26_3666.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_29_2679.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_31_2621.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_37_5801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142119","1392142031","1392142034","1392142028","1392142057","1392142095"],"photo_ids_order":["1392142028","1392142031","1392142034","1392142057","1392142095","1392142119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3cb0cc7d402e08b9dc9159df802a5f88.jpg","text":"TemporaryFile(/tmp/multipartBody5971623294029447948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198983809,"filename":"image_03112025_10_31_37_5801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2d7a5b7a5ac405cb3a708f19e1f10fbd.jpg","text":"TemporaryFile(/tmp/multipartBody2958261084034521709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198983809,"filename":"image_03112025_10_31_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/3/99071cf8378bf012dce93b448fac2fe0.jpg","text":"TemporaryFile(/tmp/multipartBody5715568243279671837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198983809,"filename":"image_03112025_10_31_26_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b94c52e47400a94b15a74a53e13250ed.jpg","text":"TemporaryFile(/tmp/multipartBody2003313870503731251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198983809,"filename":"image_03112025_10_31_20_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9e66558a448ae37354c94284be24fb83.jpg","text":"TemporaryFile(/tmp/multipartBody8738572793087125027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198983809,"filename":"image_03112025_10_31_29_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e4c2f91c0910d3fe96e084d42b2a4f7.jpg","text":"TemporaryFile(/tmp/multipartBody1597047084897805214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762198983809,"filename":"image_03112025_10_31_31_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142034","file1":"1392142031","file0":"1392142028","file4":"1392142095","file5":"1392142119","file3":"1392142057"},"map_files_photo_id_array":[{"photo_id":"1392142119","filename":"file5"},{"photo_id":"1392142034","filename":"file2"},{"photo_id":"1392142095","filename":"file4"},{"photo_id":"1392142031","filename":"file1"},{"photo_id":"1392142028","filename":"file0"},{"photo_id":"1392142057","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142119":["hashtag1","hashtag2"]},{"1392142031":["hashtag1","hashtag2"]},{"1392142034":["hashtag1","hashtag2"]},{"1392142028":["hashtag1","hashtag2"]},{"1392142057":["hashtag1","hashtag2"]},{"1392142095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142119, 1392142031, 1392142034, 1392142028, 1392142057, 1392142095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24882435798645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:42:42.104258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_39_1663.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_40_1667.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_44_3566.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_47_2667.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_49_2649.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_52_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_39_1663.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_40_1667.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_44_3566.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_47_2667.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_49_2649.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_52_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142128","1392142137","1392142187","1392142229","1392142135","1392142132"],"photo_ids_order":["1392142128","1392142132","1392142135","1392142137","1392142187","1392142229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1929ed3bcdfd591541883eacc0825cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5197476321616074565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199022972,"filename":"image_03112025_10_31_39_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/3/e5e83f82fe608785218b2927daa55ea0.jpg","text":"TemporaryFile(/tmp/multipartBody9074213433540429815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199022972,"filename":"image_03112025_10_31_47_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/3/675d2fdbd255379dbbd88023ffcc7517.jpg","text":"TemporaryFile(/tmp/multipartBody688949239969900035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199022972,"filename":"image_03112025_10_31_49_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/3/2041ce4a382edf6cb41a6fc171bba273.jpg","text":"TemporaryFile(/tmp/multipartBody6145676633605513386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199022972,"filename":"image_03112025_10_31_52_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/71d5b76303aa819395798b16342f4d3b.jpg","text":"TemporaryFile(/tmp/multipartBody3544771113573160210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199022972,"filename":"image_03112025_10_31_44_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/3/2522fbba49e14bacdb5a351c3ae568ca.jpg","text":"TemporaryFile(/tmp/multipartBody4567361389401105579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199022972,"filename":"image_03112025_10_31_40_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142135","file1":"1392142132","file0":"1392142128","file4":"1392142187","file5":"1392142229","file3":"1392142137"},"map_files_photo_id_array":[{"photo_id":"1392142229","filename":"file5"},{"photo_id":"1392142135","filename":"file2"},{"photo_id":"1392142187","filename":"file4"},{"photo_id":"1392142132","filename":"file1"},{"photo_id":"1392142128","filename":"file0"},{"photo_id":"1392142137","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142128":["hashtag1","hashtag2"]},{"1392142137":["hashtag1","hashtag2"]},{"1392142187":["hashtag1","hashtag2"]},{"1392142229":["hashtag1","hashtag2"]},{"1392142135":["hashtag1","hashtag2"]},{"1392142132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142128, 1392142137, 1392142187, 1392142229, 1392142135, 1392142132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43784689903259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:43:22.252254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_56_3628.jpg', '/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_58_2703.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_01_2744.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_05_3643.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_07_2720.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_10_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_56_3628.jpg
/home/pi/Desktop/images/03112025/10/31/image_03112025_10_31_58_2703.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_01_2744.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_05_3643.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_07_2720.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_10_2519.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142299","1392142338","1392142329","1392142337","1392142270","1392142296"],"photo_ids_order":["1392142270","1392142296","1392142299","1392142329","1392142337","1392142338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bede9b98a6f7bc7d4734f349e1c1ff9b.jpg","text":"TemporaryFile(/tmp/multipartBody8440138677285894394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199063166,"filename":"image_03112025_10_32_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/3/1fd57b2afa4519cddda2c331f4acfcff.jpg","text":"TemporaryFile(/tmp/multipartBody3423450985348922886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199063166,"filename":"image_03112025_10_32_10_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/3/fb35e8bc2b73486efb804f391b9692b6.jpg","text":"TemporaryFile(/tmp/multipartBody5914750973433183914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199063166,"filename":"image_03112025_10_32_05_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/3/2243404158506c9dc93fea8d97cdf7b8.jpg","text":"TemporaryFile(/tmp/multipartBody5053369453922643737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199063166,"filename":"image_03112025_10_32_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/3/c359330ac70add1f61f1ac6bc20143a0.jpg","text":"TemporaryFile(/tmp/multipartBody9068193429774928034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199063166,"filename":"image_03112025_10_31_56_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d4ffbe3ad8750dfd9047a7d38fb7786d.jpg","text":"TemporaryFile(/tmp/multipartBody5800726466146212634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199063166,"filename":"image_03112025_10_31_58_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142299","file1":"1392142296","file0":"1392142270","file4":"1392142337","file5":"1392142338","file3":"1392142329"},"map_files_photo_id_array":[{"photo_id":"1392142338","filename":"file5"},{"photo_id":"1392142299","filename":"file2"},{"photo_id":"1392142337","filename":"file4"},{"photo_id":"1392142296","filename":"file1"},{"photo_id":"1392142270","filename":"file0"},{"photo_id":"1392142329","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142299":["hashtag1","hashtag2"]},{"1392142338":["hashtag1","hashtag2"]},{"1392142329":["hashtag1","hashtag2"]},{"1392142337":["hashtag1","hashtag2"]},{"1392142270":["hashtag1","hashtag2"]},{"1392142296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142299, 1392142338, 1392142329, 1392142337, 1392142270, 1392142296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61544322967529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:44:03.131226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_14_3830.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_17_2713.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_20_3907.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_22_1666.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_26_3709.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_29_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_14_3830.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_17_2713.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_20_3907.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_22_1666.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_26_3709.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_29_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142365","1392142413","1392142382","1392142364","1392142384","1392142380"],"photo_ids_order":["1392142364","1392142365","1392142380","1392142382","1392142384","1392142413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9ba89ce2b5d57c691a076cbedf9c0b24.jpg","text":"TemporaryFile(/tmp/multipartBody879301961774039800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199104090,"filename":"image_03112025_10_32_17_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dfc9c5e439be727e518e492e95920513.jpg","text":"TemporaryFile(/tmp/multipartBody7833612034014149651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199104090,"filename":"image_03112025_10_32_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/3/2686a1b786861b8c75a8a08a18411986.jpg","text":"TemporaryFile(/tmp/multipartBody8984578759008945692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199104090,"filename":"image_03112025_10_32_22_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/3/9f168e3d6849fba4f9bae93543df7bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8620207503297376874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199104090,"filename":"image_03112025_10_32_14_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/3/9dc9209d7e290e4d221388908e208119.jpg","text":"TemporaryFile(/tmp/multipartBody3475904682801245048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199104090,"filename":"image_03112025_10_32_26_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/3/83b2ad68f330d20692f41e93bf6962d9.jpg","text":"TemporaryFile(/tmp/multipartBody8757274422503279957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199104090,"filename":"image_03112025_10_32_20_3907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142380","file1":"1392142365","file0":"1392142364","file4":"1392142384","file5":"1392142413","file3":"1392142382"},"map_files_photo_id_array":[{"photo_id":"1392142413","filename":"file5"},{"photo_id":"1392142380","filename":"file2"},{"photo_id":"1392142384","filename":"file4"},{"photo_id":"1392142365","filename":"file1"},{"photo_id":"1392142364","filename":"file0"},{"photo_id":"1392142382","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142365":["hashtag1","hashtag2"]},{"1392142413":["hashtag1","hashtag2"]},{"1392142382":["hashtag1","hashtag2"]},{"1392142364":["hashtag1","hashtag2"]},{"1392142384":["hashtag1","hashtag2"]},{"1392142380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142365, 1392142413, 1392142382, 1392142364, 1392142384, 1392142380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.568819761276245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:44:42.382554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_31_2630.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_34_2713.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_37_3433.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_40_2565.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_44_3778.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_46_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_31_2630.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_34_2713.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_37_3433.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_40_2565.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_44_3778.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_46_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142482","1392142496","1392142480","1392142498","1392142477","1392142494"],"photo_ids_order":["1392142477","1392142480","1392142482","1392142494","1392142496","1392142498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5477ecaa8e34bc92d36ae1f259fbc05e.jpg","text":"TemporaryFile(/tmp/multipartBody3092937649871239835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199143200,"filename":"image_03112025_10_32_37_3433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/291542909530907d0e135e04ec32363a.jpg","text":"TemporaryFile(/tmp/multipartBody3642134918152054142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199143200,"filename":"image_03112025_10_32_44_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/40e123f08b1d1ded27084d03a56476bf.jpg","text":"TemporaryFile(/tmp/multipartBody4853772293100934169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199143200,"filename":"image_03112025_10_32_34_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/3/2d0c16677fd2aa8fed7c82b940bab3cd.jpg","text":"TemporaryFile(/tmp/multipartBody2431308619953620643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199143200,"filename":"image_03112025_10_32_46_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c6dbd6c67754071c1990c302bd910c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8468470954735006092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199143200,"filename":"image_03112025_10_32_31_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef76977b7adf18aa2e662113fdc0cf37.jpg","text":"TemporaryFile(/tmp/multipartBody6338202419805130629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199143200,"filename":"image_03112025_10_32_40_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142482","file1":"1392142480","file0":"1392142477","file4":"1392142496","file5":"1392142498","file3":"1392142494"},"map_files_photo_id_array":[{"photo_id":"1392142498","filename":"file5"},{"photo_id":"1392142482","filename":"file2"},{"photo_id":"1392142496","filename":"file4"},{"photo_id":"1392142480","filename":"file1"},{"photo_id":"1392142477","filename":"file0"},{"photo_id":"1392142494","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142482":["hashtag1","hashtag2"]},{"1392142496":["hashtag1","hashtag2"]},{"1392142480":["hashtag1","hashtag2"]},{"1392142498":["hashtag1","hashtag2"]},{"1392142477":["hashtag1","hashtag2"]},{"1392142494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142482, 1392142496, 1392142480, 1392142498, 1392142477, 1392142494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0090594291687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:45:22.599381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_49_2813.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_53_3592.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_55_2573.jpg', '/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_58_2755.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_01_2900.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_05_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_49_2813.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_53_3592.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_55_2573.jpg
/home/pi/Desktop/images/03112025/10/32/image_03112025_10_32_58_2755.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_01_2900.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_05_3698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142512","1392142514","1392142517","1392142505","1392142508","1392142510"],"photo_ids_order":["1392142505","1392142508","1392142510","1392142512","1392142514","1392142517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/13f90bf481f3ad65f944154c3b1187fa.jpg","text":"TemporaryFile(/tmp/multipartBody2688276935340312433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199183440,"filename":"image_03112025_10_32_58_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/3/7a844c3ee5ea98f398f189027a78bc92.jpg","text":"TemporaryFile(/tmp/multipartBody6988492557203662009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199183440,"filename":"image_03112025_10_33_01_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/3/1a386a620657966e8a667a36028a5350.jpg","text":"TemporaryFile(/tmp/multipartBody6329366445584949164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199183440,"filename":"image_03112025_10_33_05_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/3/ebd542eed326e2b87a71e4b81458b39e.jpg","text":"TemporaryFile(/tmp/multipartBody8247675787020080739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199183440,"filename":"image_03112025_10_32_49_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/3/f7ffa56a9026903f40af6de706d33b1a.jpg","text":"TemporaryFile(/tmp/multipartBody7126437642599001235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199183440,"filename":"image_03112025_10_32_53_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/36ca422a583a76e6cd7f4d72f4f2fabc.jpg","text":"TemporaryFile(/tmp/multipartBody6959026208084849947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199183440,"filename":"image_03112025_10_32_55_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142510","file1":"1392142508","file0":"1392142505","file4":"1392142514","file5":"1392142517","file3":"1392142512"},"map_files_photo_id_array":[{"photo_id":"1392142517","filename":"file5"},{"photo_id":"1392142510","filename":"file2"},{"photo_id":"1392142514","filename":"file4"},{"photo_id":"1392142508","filename":"file1"},{"photo_id":"1392142505","filename":"file0"},{"photo_id":"1392142512","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142512":["hashtag1","hashtag2"]},{"1392142514":["hashtag1","hashtag2"]},{"1392142517":["hashtag1","hashtag2"]},{"1392142505":["hashtag1","hashtag2"]},{"1392142508":["hashtag1","hashtag2"]},{"1392142510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142512, 1392142514, 1392142517, 1392142505, 1392142508, 1392142510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13029193878174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:46:03.212621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_07_2666.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_10_2709.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_13_2855.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_17_3688.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_19_2688.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_22_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_07_2666.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_10_2709.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_13_2855.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_17_3688.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_19_2688.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_22_2554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142578","1392142611","1392142523","1392142579","1392142534","1392142600"],"photo_ids_order":["1392142523","1392142534","1392142578","1392142579","1392142600","1392142611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12ceb8d31fb2ba6474a1367d0c24d27b.jpg","text":"TemporaryFile(/tmp/multipartBody171092625587383619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199224164,"filename":"image_03112025_10_33_13_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/3/2909303e1978e2a2d7477bbc4aaef1f8.jpg","text":"TemporaryFile(/tmp/multipartBody1396056047469314118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199224164,"filename":"image_03112025_10_33_22_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/3/d49dc3c641e4f8ae7d51ed94c2b3e504.jpg","text":"TemporaryFile(/tmp/multipartBody4888132912559456469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199224164,"filename":"image_03112025_10_33_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/3/254a77b0f49ca781999886e34146067e.jpg","text":"TemporaryFile(/tmp/multipartBody2794741939301213150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199224164,"filename":"image_03112025_10_33_17_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/df04940eca95c2cc2f9ae941cbbf5d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7606662222758917496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199224164,"filename":"image_03112025_10_33_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/3/d9a13b276d7b8bbc2c19ee51470c61e7.jpg","text":"TemporaryFile(/tmp/multipartBody4658059638672218867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199224164,"filename":"image_03112025_10_33_19_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142578","file1":"1392142534","file0":"1392142523","file4":"1392142600","file5":"1392142611","file3":"1392142579"},"map_files_photo_id_array":[{"photo_id":"1392142611","filename":"file5"},{"photo_id":"1392142578","filename":"file2"},{"photo_id":"1392142600","filename":"file4"},{"photo_id":"1392142534","filename":"file1"},{"photo_id":"1392142523","filename":"file0"},{"photo_id":"1392142579","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142578":["hashtag1","hashtag2"]},{"1392142611":["hashtag1","hashtag2"]},{"1392142523":["hashtag1","hashtag2"]},{"1392142579":["hashtag1","hashtag2"]},{"1392142534":["hashtag1","hashtag2"]},{"1392142600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142578, 1392142611, 1392142523, 1392142579, 1392142534, 1392142600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.765499114990234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:46:42.670027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_29_7020.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_31_1645.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_32_1688.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_38_5389.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_39_1577.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_41_1765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_29_7020.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_31_1645.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_32_1688.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_38_5389.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_39_1577.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_41_1765.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.734997034072876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:47:02.584975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_29_7020.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_31_1645.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_32_1688.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_38_5389.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_39_1577.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_41_1765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_29_7020.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_31_1645.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_32_1688.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_38_5389.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_39_1577.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_41_1765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142794","1392142809","1392142800","1392142812","1392142768","1392142764"],"photo_ids_order":["1392142764","1392142768","1392142794","1392142800","1392142809","1392142812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e8f6ba1cc340a6a5b5c9f6c1112e3d0.jpg","text":"TemporaryFile(/tmp/multipartBody5918199075590085834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199283409,"filename":"image_03112025_10_33_32_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/3/d663665437d9e089c903390884a9964a.jpg","text":"TemporaryFile(/tmp/multipartBody2303787466827780658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199283409,"filename":"image_03112025_10_33_39_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/3/da458652156eb820df73d79ecdb9b025.jpg","text":"TemporaryFile(/tmp/multipartBody4642906762343182558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199283409,"filename":"image_03112025_10_33_38_5389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c61739222017a9e0ba218012c5ddb460.jpg","text":"TemporaryFile(/tmp/multipartBody4641370292501899093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199283409,"filename":"image_03112025_10_33_41_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/3/4c31aa77690a12189e827730efc937b0.jpg","text":"TemporaryFile(/tmp/multipartBody8444327690050417535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199283409,"filename":"image_03112025_10_33_31_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/3/f2a26facd386a8f923c6ccc203db46bd.jpg","text":"TemporaryFile(/tmp/multipartBody3367611810890530754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199283409,"filename":"image_03112025_10_33_29_7020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142794","file1":"1392142768","file0":"1392142764","file4":"1392142809","file5":"1392142812","file3":"1392142800"},"map_files_photo_id_array":[{"photo_id":"1392142812","filename":"file5"},{"photo_id":"1392142794","filename":"file2"},{"photo_id":"1392142809","filename":"file4"},{"photo_id":"1392142768","filename":"file1"},{"photo_id":"1392142764","filename":"file0"},{"photo_id":"1392142800","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142794":["hashtag1","hashtag2"]},{"1392142809":["hashtag1","hashtag2"]},{"1392142800":["hashtag1","hashtag2"]},{"1392142812":["hashtag1","hashtag2"]},{"1392142768":["hashtag1","hashtag2"]},{"1392142764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142794, 1392142809, 1392142800, 1392142812, 1392142768, 1392142764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62062406539917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:47:41.880996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_44_2568.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_46_2654.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_49_2700.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_52_3596.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_55_2628.jpg', '/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_59_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_44_2568.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_46_2654.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_49_2700.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_52_3596.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_55_2628.jpg
/home/pi/Desktop/images/03112025/10/33/image_03112025_10_33_59_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142893","1392142872","1392142889","1392142832","1392142891","1392142890"],"photo_ids_order":["1392142832","1392142872","1392142889","1392142890","1392142891","1392142893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/402ae4dff2a6fd9099ced4e96fe05b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5470108258081399661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199322717,"filename":"image_03112025_10_33_59_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/3/098725500f835c5a823cc075997af9c4.jpg","text":"TemporaryFile(/tmp/multipartBody5790616672756322377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199322717,"filename":"image_03112025_10_33_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/3/604a8b80ef36ea63e701c975333fd8a2.jpg","text":"TemporaryFile(/tmp/multipartBody8430231818449373928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199322717,"filename":"image_03112025_10_33_49_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/3/0b043f68984acd673adc15f9a40b916e.jpg","text":"TemporaryFile(/tmp/multipartBody5145324337026986509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199322717,"filename":"image_03112025_10_33_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/3/235cb63bc2ef0ac80c54bcb68860cde0.jpg","text":"TemporaryFile(/tmp/multipartBody7990883089875780667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199322717,"filename":"image_03112025_10_33_55_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/3/091e6d05ab3d16a4aa109ca86d80f736.jpg","text":"TemporaryFile(/tmp/multipartBody992316961938339993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199322717,"filename":"image_03112025_10_33_52_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142889","file1":"1392142872","file0":"1392142832","file4":"1392142891","file5":"1392142893","file3":"1392142890"},"map_files_photo_id_array":[{"photo_id":"1392142893","filename":"file5"},{"photo_id":"1392142889","filename":"file2"},{"photo_id":"1392142891","filename":"file4"},{"photo_id":"1392142872","filename":"file1"},{"photo_id":"1392142832","filename":"file0"},{"photo_id":"1392142890","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142893":["hashtag1","hashtag2"]},{"1392142872":["hashtag1","hashtag2"]},{"1392142889":["hashtag1","hashtag2"]},{"1392142832":["hashtag1","hashtag2"]},{"1392142891":["hashtag1","hashtag2"]},{"1392142890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142893, 1392142872, 1392142889, 1392142832, 1392142891, 1392142890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57215976715088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:48:22.202524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_01_2606.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_04_2655.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_07_2743.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_10_3566.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_13_2622.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_17_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_01_2606.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_04_2655.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_07_2743.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_10_3566.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_13_2622.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_17_3712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142929","1392142937","1392142931","1392142933","1392142942","1392142939"],"photo_ids_order":["1392142929","1392142931","1392142933","1392142937","1392142939","1392142942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/661e336609b6aa76d6e1bd6b73a2094c.jpg","text":"TemporaryFile(/tmp/multipartBody5781651867274601302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199363129,"filename":"image_03112025_10_34_01_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d59d09e7ecb4d69db0486545ab28091a.jpg","text":"TemporaryFile(/tmp/multipartBody8445995670829354385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199363129,"filename":"image_03112025_10_34_10_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/3/e3a9e72fdb0bc41e208caab8af0f3bee.jpg","text":"TemporaryFile(/tmp/multipartBody1437847792872644161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199363129,"filename":"image_03112025_10_34_04_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b81ade2e2c9aaa0308de3740bacf411b.jpg","text":"TemporaryFile(/tmp/multipartBody6027688519955299077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199363129,"filename":"image_03112025_10_34_07_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/3/ee016a101c9fe32812e2efc10872fd10.jpg","text":"TemporaryFile(/tmp/multipartBody5916568679028741723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199363129,"filename":"image_03112025_10_34_17_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/563859acfa9523bb1f595bf0f31a0fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5641558384356644816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199363129,"filename":"image_03112025_10_34_13_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142933","file1":"1392142931","file0":"1392142929","file4":"1392142939","file5":"1392142942","file3":"1392142937"},"map_files_photo_id_array":[{"photo_id":"1392142942","filename":"file5"},{"photo_id":"1392142933","filename":"file2"},{"photo_id":"1392142939","filename":"file4"},{"photo_id":"1392142931","filename":"file1"},{"photo_id":"1392142929","filename":"file0"},{"photo_id":"1392142937","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142929":["hashtag1","hashtag2"]},{"1392142937":["hashtag1","hashtag2"]},{"1392142931":["hashtag1","hashtag2"]},{"1392142933":["hashtag1","hashtag2"]},{"1392142942":["hashtag1","hashtag2"]},{"1392142939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142929, 1392142937, 1392142931, 1392142933, 1392142942, 1392142939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83187675476074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:49:03.303997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_19_2748.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_22_2759.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_26_3542.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_28_2728.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_31_2640.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_35_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_19_2748.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_22_2759.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_26_3542.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_28_2728.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_31_2640.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_35_3550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392142959","1392142956","1392142955","1392142951","1392142954","1392142957"],"photo_ids_order":["1392142951","1392142954","1392142955","1392142956","1392142957","1392142959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/06be45fc963d08031fe2bef3790899dc.jpg","text":"TemporaryFile(/tmp/multipartBody1563797487106487488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199404340,"filename":"image_03112025_10_34_35_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/3/a73ad9b9cc69eb408b90c695767075fc.jpg","text":"TemporaryFile(/tmp/multipartBody7661869550673191819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199404340,"filename":"image_03112025_10_34_28_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/3/80537e9ca071430d42aec1e21df1e9d2.jpg","text":"TemporaryFile(/tmp/multipartBody7854435598508807602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199404340,"filename":"image_03112025_10_34_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/3/5e8970699e99aca49e15edbd64d807b1.jpg","text":"TemporaryFile(/tmp/multipartBody3182529670900792512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199404340,"filename":"image_03112025_10_34_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/3/5d9e38d4353d6ee56cb8685cd07508a9.jpg","text":"TemporaryFile(/tmp/multipartBody2657209488452807566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199404340,"filename":"image_03112025_10_34_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/3/6cf3c9e60f070c7d56021a02713ae127.jpg","text":"TemporaryFile(/tmp/multipartBody6239584966605468110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199404340,"filename":"image_03112025_10_34_31_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392142955","file1":"1392142954","file0":"1392142951","file4":"1392142957","file5":"1392142959","file3":"1392142956"},"map_files_photo_id_array":[{"photo_id":"1392142959","filename":"file5"},{"photo_id":"1392142955","filename":"file2"},{"photo_id":"1392142957","filename":"file4"},{"photo_id":"1392142954","filename":"file1"},{"photo_id":"1392142951","filename":"file0"},{"photo_id":"1392142956","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392142959":["hashtag1","hashtag2"]},{"1392142956":["hashtag1","hashtag2"]},{"1392142955":["hashtag1","hashtag2"]},{"1392142951":["hashtag1","hashtag2"]},{"1392142954":["hashtag1","hashtag2"]},{"1392142957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392142959, 1392142956, 1392142955, 1392142951, 1392142954, 1392142957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.484397649765015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:49:42.363382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_37_2547.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_40_2671.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_43_3611.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_46_2761.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_49_2605.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_53_3769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_37_2547.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_40_2671.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_43_3611.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_46_2761.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_49_2605.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_53_3769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392143087","1392143153","1392143158","1392143128","1392142995","1392143046"],"photo_ids_order":["1392142995","1392143046","1392143087","1392143128","1392143153","1392143158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef23e073a06854c560f8cde441e02a46.jpg","text":"TemporaryFile(/tmp/multipartBody7790561968837306547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199443185,"filename":"image_03112025_10_34_43_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/3/3923107bbdd1f883189034943d4153b8.jpg","text":"TemporaryFile(/tmp/multipartBody872182911675621600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199443185,"filename":"image_03112025_10_34_49_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/3/2372c4c2a6f7c6e4935f2c9ead016d50.jpg","text":"TemporaryFile(/tmp/multipartBody3648393688699793985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199443185,"filename":"image_03112025_10_34_53_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/3/15980f36e6c19469e9843d2b6c487382.jpg","text":"TemporaryFile(/tmp/multipartBody3543495880562384630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199443185,"filename":"image_03112025_10_34_46_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/3/f8b33b01e81adcf229854234bb48aa20.jpg","text":"TemporaryFile(/tmp/multipartBody4444652674770193992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199443185,"filename":"image_03112025_10_34_37_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/3/e3aef544e29a083672caf54e0d127de3.jpg","text":"TemporaryFile(/tmp/multipartBody1321678232850952405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199443185,"filename":"image_03112025_10_34_40_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392143087","file1":"1392143046","file0":"1392142995","file4":"1392143153","file5":"1392143158","file3":"1392143128"},"map_files_photo_id_array":[{"photo_id":"1392143158","filename":"file5"},{"photo_id":"1392143087","filename":"file2"},{"photo_id":"1392143153","filename":"file4"},{"photo_id":"1392143046","filename":"file1"},{"photo_id":"1392142995","filename":"file0"},{"photo_id":"1392143128","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392143087":["hashtag1","hashtag2"]},{"1392143153":["hashtag1","hashtag2"]},{"1392143158":["hashtag1","hashtag2"]},{"1392143128":["hashtag1","hashtag2"]},{"1392142995":["hashtag1","hashtag2"]},{"1392143046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392143087, 1392143153, 1392143158, 1392143128, 1392142995, 1392143046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.051642179489136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 20:50:22.555253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_55_2780.jpg', '/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_58_2761.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_01_2687.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_07_3015.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_11_3583.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_15_3805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_55_2780.jpg
/home/pi/Desktop/images/03112025/10/34/image_03112025_10_34_58_2761.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_01_2687.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_07_3015.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_11_3583.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_15_3805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392143220","1392143288","1392143327","1392143330","1392143272","1392143259"],"photo_ids_order":["1392143220","1392143259","1392143272","1392143288","1392143327","1392143330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b996c2c373ab01bb6186c33633af1117.jpg","text":"TemporaryFile(/tmp/multipartBody3063007350602421615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199483486,"filename":"image_03112025_10_34_55_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/3/83fa9c8b9993ddeb6732f729097b2833.jpg","text":"TemporaryFile(/tmp/multipartBody7707993413042581606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199483486,"filename":"image_03112025_10_35_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/3/f6781ad40782be8725b439aaa5f458da.jpg","text":"TemporaryFile(/tmp/multipartBody1774084079719869734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199483486,"filename":"image_03112025_10_35_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/3/5f46bb8ccb1f27e49d85612d37f185c4.jpg","text":"TemporaryFile(/tmp/multipartBody3713416357305030911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199483486,"filename":"image_03112025_10_35_15_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/3/05d934df1272f342075a286b1b16477a.jpg","text":"TemporaryFile(/tmp/multipartBody5585015442654806275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199483486,"filename":"image_03112025_10_35_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/3/9d2e86e00f108f7f27d2c4d539273a31.jpg","text":"TemporaryFile(/tmp/multipartBody5017659520046445163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199483486,"filename":"image_03112025_10_34_58_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392143272","file1":"1392143259","file0":"1392143220","file4":"1392143327","file5":"1392143330","file3":"1392143288"},"map_files_photo_id_array":[{"photo_id":"1392143330","filename":"file5"},{"photo_id":"1392143272","filename":"file2"},{"photo_id":"1392143327","filename":"file4"},{"photo_id":"1392143259","filename":"file1"},{"photo_id":"1392143220","filename":"file0"},{"photo_id":"1392143288","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392143220":["hashtag1","hashtag2"]},{"1392143288":["hashtag1","hashtag2"]},{"1392143327":["hashtag1","hashtag2"]},{"1392143330":["hashtag1","hashtag2"]},{"1392143272":["hashtag1","hashtag2"]},{"1392143259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392143220, 1392143288, 1392143327, 1392143330, 1392143272, 1392143259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.841994762420654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:51:03.412777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_16_1602.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_20_4179.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_23_2645.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_26_2810.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_28_2564.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_32_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_16_1602.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_20_4179.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_23_2645.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_26_2810.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_28_2564.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_32_3633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392143502","1392143485","1392143437","1392143335","1392143385","1392143337"],"photo_ids_order":["1392143335","1392143337","1392143385","1392143437","1392143485","1392143502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/247edb7c99af7e4bfb200131905c1a00.jpg","text":"TemporaryFile(/tmp/multipartBody4294498253387723786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199525868,"filename":"image_03112025_10_35_32_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/3/95b910b0e9f228208e31e362f4ff04c6.jpg","text":"TemporaryFile(/tmp/multipartBody3212099692483595154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199525868,"filename":"image_03112025_10_35_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/3/2dc07bb3c7766c05561feaa5cb88c806.jpg","text":"TemporaryFile(/tmp/multipartBody3609749743774144669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199525868,"filename":"image_03112025_10_35_26_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/3/4cbc3d0ecdb4c4702718363fb23a88b6.jpg","text":"TemporaryFile(/tmp/multipartBody7827309253055043542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199525868,"filename":"image_03112025_10_35_16_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/3/8cb9473b63f69ee71576d2c67d5aecc1.jpg","text":"TemporaryFile(/tmp/multipartBody3016399631817101280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199525868,"filename":"image_03112025_10_35_23_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/3/6c8bfce4ec8388a14a73257c4750557a.jpg","text":"TemporaryFile(/tmp/multipartBody3502563101617511986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199525868,"filename":"image_03112025_10_35_20_4179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392143385","file1":"1392143337","file0":"1392143335","file4":"1392143485","file5":"1392143502","file3":"1392143437"},"map_files_photo_id_array":[{"photo_id":"1392143502","filename":"file5"},{"photo_id":"1392143385","filename":"file2"},{"photo_id":"1392143485","filename":"file4"},{"photo_id":"1392143337","filename":"file1"},{"photo_id":"1392143335","filename":"file0"},{"photo_id":"1392143437","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392143502":["hashtag1","hashtag2"]},{"1392143485":["hashtag1","hashtag2"]},{"1392143437":["hashtag1","hashtag2"]},{"1392143335":["hashtag1","hashtag2"]},{"1392143385":["hashtag1","hashtag2"]},{"1392143337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392143502, 1392143485, 1392143437, 1392143335, 1392143385, 1392143337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00841975212097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:52:02.380176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_35_2708.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_37_2772.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_41_3582.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_44_2593.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_46_2740.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_49_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_35_2708.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_37_2772.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_41_3582.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_44_2593.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_46_2740.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_49_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392143582","1392143585","1392143615","1392143617","1392143614","1392143586"],"photo_ids_order":["1392143582","1392143585","1392143586","1392143614","1392143615","1392143617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a3c55cf03d7dac935e1db13ea244732.jpg","text":"TemporaryFile(/tmp/multipartBody8790560185053779799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199583237,"filename":"image_03112025_10_35_35_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/3/73bfb27a901d414b34a31cfb14fc6a7c.jpg","text":"TemporaryFile(/tmp/multipartBody9080023866148218692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199583237,"filename":"image_03112025_10_35_37_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/3/fbec1a16a8d97a76e50d0fdeae40fddb.jpg","text":"TemporaryFile(/tmp/multipartBody599583513091976477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199583237,"filename":"image_03112025_10_35_46_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b0aeb2e95e3fc19fc56abf91c6694cd.jpg","text":"TemporaryFile(/tmp/multipartBody7752350493761126721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199583237,"filename":"image_03112025_10_35_49_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ccfa346abc2df82a47a97bb57bd8f4c1.jpg","text":"TemporaryFile(/tmp/multipartBody3487314663021823578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199583237,"filename":"image_03112025_10_35_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/3/ecc673a2a32d2d7c65f27ca4519b3c12.jpg","text":"TemporaryFile(/tmp/multipartBody4374046897156632347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199583237,"filename":"image_03112025_10_35_41_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392143586","file1":"1392143585","file0":"1392143582","file4":"1392143615","file5":"1392143617","file3":"1392143614"},"map_files_photo_id_array":[{"photo_id":"1392143617","filename":"file5"},{"photo_id":"1392143586","filename":"file2"},{"photo_id":"1392143615","filename":"file4"},{"photo_id":"1392143585","filename":"file1"},{"photo_id":"1392143582","filename":"file0"},{"photo_id":"1392143614","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392143582":["hashtag1","hashtag2"]},{"1392143585":["hashtag1","hashtag2"]},{"1392143615":["hashtag1","hashtag2"]},{"1392143617":["hashtag1","hashtag2"]},{"1392143614":["hashtag1","hashtag2"]},{"1392143586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392143582, 1392143585, 1392143615, 1392143617, 1392143614, 1392143586)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.4671049118042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:53:03.166951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_53_3596.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_55_2598.jpg', '/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_59_3681.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_01_2559.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_04_2613.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_08_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_53_3596.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_55_2598.jpg
/home/pi/Desktop/images/03112025/10/35/image_03112025_10_35_59_3681.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_01_2559.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_04_2613.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_08_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392143657","1392143639","1392143633","1392143661","1392143655","1392143634"],"photo_ids_order":["1392143633","1392143634","1392143639","1392143655","1392143657","1392143661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bbd69de211f03dc031fc8009ac20548c.jpg","text":"TemporaryFile(/tmp/multipartBody8323044042447227111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199644166,"filename":"image_03112025_10_36_04_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/3/593316095d02b785122adaf8ac28badd.jpg","text":"TemporaryFile(/tmp/multipartBody6988685350318327273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199644166,"filename":"image_03112025_10_35_59_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/3/7f93c71d844884e38be75b018bcf7da0.jpg","text":"TemporaryFile(/tmp/multipartBody7916795375884929164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199644166,"filename":"image_03112025_10_35_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/3/f46cb68feee67e64277e5ea9b3f3bc99.jpg","text":"TemporaryFile(/tmp/multipartBody3051125065720766661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199644166,"filename":"image_03112025_10_36_08_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e98bac4a4c26c87f6c7187c0a9d82531.jpg","text":"TemporaryFile(/tmp/multipartBody1438923287059355305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199644166,"filename":"image_03112025_10_36_01_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/3/bc899d1e7b4567246e10d4fdbf130316.jpg","text":"TemporaryFile(/tmp/multipartBody2548491355382538907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199644166,"filename":"image_03112025_10_35_55_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392143639","file1":"1392143634","file0":"1392143633","file4":"1392143657","file5":"1392143661","file3":"1392143655"},"map_files_photo_id_array":[{"photo_id":"1392143661","filename":"file5"},{"photo_id":"1392143639","filename":"file2"},{"photo_id":"1392143657","filename":"file4"},{"photo_id":"1392143634","filename":"file1"},{"photo_id":"1392143633","filename":"file0"},{"photo_id":"1392143655","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392143657":["hashtag1","hashtag2"]},{"1392143639":["hashtag1","hashtag2"]},{"1392143633":["hashtag1","hashtag2"]},{"1392143661":["hashtag1","hashtag2"]},{"1392143655":["hashtag1","hashtag2"]},{"1392143634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392143657, 1392143639, 1392143633, 1392143661, 1392143655, 1392143634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.490639209747314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:53:42.604294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_11_3238.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_14_2604.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_16_2670.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_20_3659.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_23_2782.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_25_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_11_3238.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_14_2604.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_16_2670.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_20_3659.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_23_2782.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_25_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392143873","1392143741","1392143837","1392143746","1392143781","1392143739"],"photo_ids_order":["1392143739","1392143741","1392143746","1392143781","1392143837","1392143873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d125c122f935f08f2e617ae13d067d42.jpg","text":"TemporaryFile(/tmp/multipartBody628262239668941282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199683436,"filename":"image_03112025_10_36_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/3/05967897ce431154044c65cafa490729.jpg","text":"TemporaryFile(/tmp/multipartBody4593896557583458399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199683436,"filename":"image_03112025_10_36_14_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/3/e343eeb93a51cd2f6fc7af2eb7a9070c.jpg","text":"TemporaryFile(/tmp/multipartBody5637688342473118299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199683436,"filename":"image_03112025_10_36_23_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/3/2839f4fd438d355414683fd513688f8d.jpg","text":"TemporaryFile(/tmp/multipartBody1147620023977653212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199683436,"filename":"image_03112025_10_36_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/3/7b87625b73c47f98028a75e3fd235d88.jpg","text":"TemporaryFile(/tmp/multipartBody2674812378809700314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199683436,"filename":"image_03112025_10_36_20_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/3/24b47ea0e830c9f48393093bee81d1ba.jpg","text":"TemporaryFile(/tmp/multipartBody6127696724215871361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199683436,"filename":"image_03112025_10_36_11_3238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392143746","file1":"1392143741","file0":"1392143739","file4":"1392143837","file5":"1392143873","file3":"1392143781"},"map_files_photo_id_array":[{"photo_id":"1392143873","filename":"file5"},{"photo_id":"1392143746","filename":"file2"},{"photo_id":"1392143837","filename":"file4"},{"photo_id":"1392143741","filename":"file1"},{"photo_id":"1392143739","filename":"file0"},{"photo_id":"1392143781","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392143873":["hashtag1","hashtag2"]},{"1392143741":["hashtag1","hashtag2"]},{"1392143837":["hashtag1","hashtag2"]},{"1392143746":["hashtag1","hashtag2"]},{"1392143781":["hashtag1","hashtag2"]},{"1392143739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392143873, 1392143741, 1392143837, 1392143746, 1392143781, 1392143739)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.03807497024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:54:52.809280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_28_2597.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_32_3777.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_34_2569.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_37_2809.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_41_3649.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_43_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_28_2597.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_32_3777.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_34_2569.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_37_2809.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_41_3649.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_43_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392144188","1392144152","1392144128","1392144122","1392144119","1392144126"],"photo_ids_order":["1392144119","1392144122","1392144126","1392144128","1392144152","1392144188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7731fc0bf8b1494aa114fa8d0fad55a2.jpg","text":"TemporaryFile(/tmp/multipartBody5435901738146162779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199756657,"filename":"image_03112025_10_36_43_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/3/fed635606e550befcd375a68a25b53be.jpg","text":"TemporaryFile(/tmp/multipartBody5359471021121728464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199756657,"filename":"image_03112025_10_36_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/3/985dfd5629bb1ec9f3241a1fd666b422.jpg","text":"TemporaryFile(/tmp/multipartBody2461179485275179375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199756657,"filename":"image_03112025_10_36_37_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/3/c4563b2e59d5cec701e818737508352d.jpg","text":"TemporaryFile(/tmp/multipartBody6168415519815258794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199756657,"filename":"image_03112025_10_36_32_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/3/880e302728a317588966d691f8570988.jpg","text":"TemporaryFile(/tmp/multipartBody1721419181537239130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199756657,"filename":"image_03112025_10_36_28_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/3/2221938729479debee7b68fd4c235f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3625779982470988218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199756657,"filename":"image_03112025_10_36_34_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392144126","file1":"1392144122","file0":"1392144119","file4":"1392144152","file5":"1392144188","file3":"1392144128"},"map_files_photo_id_array":[{"photo_id":"1392144188","filename":"file5"},{"photo_id":"1392144126","filename":"file2"},{"photo_id":"1392144152","filename":"file4"},{"photo_id":"1392144122","filename":"file1"},{"photo_id":"1392144119","filename":"file0"},{"photo_id":"1392144128","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392144188":["hashtag1","hashtag2"]},{"1392144152":["hashtag1","hashtag2"]},{"1392144128":["hashtag1","hashtag2"]},{"1392144122":["hashtag1","hashtag2"]},{"1392144119":["hashtag1","hashtag2"]},{"1392144126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392144188, 1392144152, 1392144128, 1392144122, 1392144119, 1392144126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.90849280357361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:55:41.929662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_46_2673.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_50_3617.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_52_2708.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_55_2800.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_59_3677.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_01_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_46_2673.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_50_3617.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_52_2708.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_55_2800.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_59_3677.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_01_2602.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7405040264129639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:56:02.673746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_46_2673.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_50_3617.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_52_2708.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_55_2800.jpg', '/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_59_3677.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_01_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_46_2673.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_50_3617.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_52_2708.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_55_2800.jpg
/home/pi/Desktop/images/03112025/10/36/image_03112025_10_36_59_3677.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_01_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392144496","1392144475","1392144381","1392144508","1392144483","1392144438"],"photo_ids_order":["1392144381","1392144438","1392144475","1392144483","1392144496","1392144508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/494b31bf1d02cf27433339a7131943c4.jpg","text":"TemporaryFile(/tmp/multipartBody1599545194551540437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199823427,"filename":"image_03112025_10_36_59_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/3/0dbc4329efcf2aa369e47b0c5bfd0a14.jpg","text":"TemporaryFile(/tmp/multipartBody2032029741227661334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199823427,"filename":"image_03112025_10_36_52_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/3/6c98c5e32bd30c3b38ab275b9691d01b.jpg","text":"TemporaryFile(/tmp/multipartBody7266612008781762397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199823427,"filename":"image_03112025_10_36_46_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/3/d617221e85c8cb69167e38e28b266d99.jpg","text":"TemporaryFile(/tmp/multipartBody4637422852160404577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199823427,"filename":"image_03112025_10_37_01_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/3/8023ebcd09251ff9136362b3e4f00e32.jpg","text":"TemporaryFile(/tmp/multipartBody1521340786144506955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199823427,"filename":"image_03112025_10_36_55_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/3/02d7330a0f1beb2ed469fc16ca0a555e.jpg","text":"TemporaryFile(/tmp/multipartBody2225990502111171011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199823427,"filename":"image_03112025_10_36_50_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392144475","file1":"1392144438","file0":"1392144381","file4":"1392144496","file5":"1392144508","file3":"1392144483"},"map_files_photo_id_array":[{"photo_id":"1392144508","filename":"file5"},{"photo_id":"1392144475","filename":"file2"},{"photo_id":"1392144496","filename":"file4"},{"photo_id":"1392144438","filename":"file1"},{"photo_id":"1392144381","filename":"file0"},{"photo_id":"1392144483","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392144496":["hashtag1","hashtag2"]},{"1392144475":["hashtag1","hashtag2"]},{"1392144381":["hashtag1","hashtag2"]},{"1392144508":["hashtag1","hashtag2"]},{"1392144483":["hashtag1","hashtag2"]},{"1392144438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392144496, 1392144475, 1392144381, 1392144508, 1392144483, 1392144438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7618842124939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:56:42.167929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_04_2698.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_08_3644.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_10_2607.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_13_2721.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_17_3607.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_20_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_04_2698.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_08_3644.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_10_2607.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_13_2721.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_17_3607.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_20_2777.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7769367694854736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:57:03.105222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_04_2698.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_08_3644.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_10_2607.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_13_2721.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_17_3607.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_20_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_04_2698.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_08_3644.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_10_2607.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_13_2721.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_17_3607.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_20_2777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392144758","1392144722","1392144719","1392144727","1392144715","1392144753"],"photo_ids_order":["1392144715","1392144719","1392144722","1392144727","1392144753","1392144758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/94f39a66b5538ae23c111c8076de6385.jpg","text":"TemporaryFile(/tmp/multipartBody5958246765542282135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199883900,"filename":"image_03112025_10_37_20_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/3/3edf01254da6b0fd0023e5704c21c656.jpg","text":"TemporaryFile(/tmp/multipartBody1419054810256689517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199883900,"filename":"image_03112025_10_37_10_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/3/c6b55b82cc6f005c01c59f1cbfce8f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6530714150225990811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199883900,"filename":"image_03112025_10_37_08_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2496f5aa0c49e8eccbcae430073ca724.jpg","text":"TemporaryFile(/tmp/multipartBody9127149473835682558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199883900,"filename":"image_03112025_10_37_13_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/3/907305683355865f7e86ff09404848f3.jpg","text":"TemporaryFile(/tmp/multipartBody27413106226328396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199883900,"filename":"image_03112025_10_37_04_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/582791115935e0d6d3ec1db32ccc56dc.jpg","text":"TemporaryFile(/tmp/multipartBody3048288671310892253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199883900,"filename":"image_03112025_10_37_17_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392144722","file1":"1392144719","file0":"1392144715","file4":"1392144753","file5":"1392144758","file3":"1392144727"},"map_files_photo_id_array":[{"photo_id":"1392144758","filename":"file5"},{"photo_id":"1392144722","filename":"file2"},{"photo_id":"1392144753","filename":"file4"},{"photo_id":"1392144719","filename":"file1"},{"photo_id":"1392144715","filename":"file0"},{"photo_id":"1392144727","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392144758":["hashtag1","hashtag2"]},{"1392144722":["hashtag1","hashtag2"]},{"1392144719":["hashtag1","hashtag2"]},{"1392144727":["hashtag1","hashtag2"]},{"1392144715":["hashtag1","hashtag2"]},{"1392144753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392144758, 1392144722, 1392144719, 1392144727, 1392144715, 1392144753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.131096839904785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:57:42.273757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_22_2678.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_26_3668.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_29_2773.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_32_2901.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_34_2641.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_38_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_22_2678.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_26_3668.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_29_2773.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_32_2901.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_34_2641.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_38_3682.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392144809","1392144917","1392144844","1392144798","1392144879","1392144797"],"photo_ids_order":["1392144797","1392144798","1392144809","1392144844","1392144879","1392144917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bbe064f6d9a27d78016f8c928b215504.jpg","text":"TemporaryFile(/tmp/multipartBody3927466909276001768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199923109,"filename":"image_03112025_10_37_29_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/3/a295537012fee91d7db61861260cd9b4.jpg","text":"TemporaryFile(/tmp/multipartBody874837977855586104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199923109,"filename":"image_03112025_10_37_38_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/3/cb2ba66f4dc95c20da18173d6ec703a0.jpg","text":"TemporaryFile(/tmp/multipartBody1012300938678847376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199923109,"filename":"image_03112025_10_37_32_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/3/95c9ac549ea470caff5e90e7086dded5.jpg","text":"TemporaryFile(/tmp/multipartBody104303708843383621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199923109,"filename":"image_03112025_10_37_26_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/3/47cddc0ddef035d0202d2be27262a1d2.jpg","text":"TemporaryFile(/tmp/multipartBody428532275775773842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199923109,"filename":"image_03112025_10_37_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/3/9d74fe75a81db8a147bbb0b9f10a5d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6773672706458580188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762199923109,"filename":"image_03112025_10_37_22_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392144809","file1":"1392144798","file0":"1392144797","file4":"1392144879","file5":"1392144917","file3":"1392144844"},"map_files_photo_id_array":[{"photo_id":"1392144917","filename":"file5"},{"photo_id":"1392144809","filename":"file2"},{"photo_id":"1392144879","filename":"file4"},{"photo_id":"1392144798","filename":"file1"},{"photo_id":"1392144797","filename":"file0"},{"photo_id":"1392144844","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392144809":["hashtag1","hashtag2"]},{"1392144917":["hashtag1","hashtag2"]},{"1392144844":["hashtag1","hashtag2"]},{"1392144798":["hashtag1","hashtag2"]},{"1392144879":["hashtag1","hashtag2"]},{"1392144797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392144809, 1392144917, 1392144844, 1392144798, 1392144879, 1392144797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41209626197815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 20:59:03.568378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_41_2667.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_43_2598.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_47_3568.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_49_2572.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_53_3484.jpg', '/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_55_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_41_2667.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_43_2598.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_47_3568.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_49_2572.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_53_3484.jpg
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_55_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392145996","1392145933","1392145787","1392145898","1392145862","1392145823"],"photo_ids_order":["1392145787","1392145823","1392145862","1392145898","1392145933","1392145996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/63fec8e7fbf0401abf91db766ee02308.jpg","text":"TemporaryFile(/tmp/multipartBody2257815093548048149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200004589,"filename":"image_03112025_10_37_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/3/17e9198f9ac21baa305b1af8ae57b4df.jpg","text":"TemporaryFile(/tmp/multipartBody8277240327541804339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200004589,"filename":"image_03112025_10_37_53_3484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dfd86718d355b4cc1f241e0184ec5a79.jpg","text":"TemporaryFile(/tmp/multipartBody4357605869030201443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200004589,"filename":"image_03112025_10_37_41_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/3/f9dcb03e4c874423d27f461ea1504d28.jpg","text":"TemporaryFile(/tmp/multipartBody4020877901473584342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200004589,"filename":"image_03112025_10_37_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/3/72a22827bb6d733b7975f5e63110d17e.jpg","text":"TemporaryFile(/tmp/multipartBody1053891950065642839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200004589,"filename":"image_03112025_10_37_47_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/901b92041614a627c7620fc3ee0e2e7f.jpg","text":"TemporaryFile(/tmp/multipartBody3183806044102367823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200004589,"filename":"image_03112025_10_37_43_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392145862","file1":"1392145823","file0":"1392145787","file4":"1392145933","file5":"1392145996","file3":"1392145898"},"map_files_photo_id_array":[{"photo_id":"1392145996","filename":"file5"},{"photo_id":"1392145862","filename":"file2"},{"photo_id":"1392145933","filename":"file4"},{"photo_id":"1392145823","filename":"file1"},{"photo_id":"1392145787","filename":"file0"},{"photo_id":"1392145898","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392145996":["hashtag1","hashtag2"]},{"1392145933":["hashtag1","hashtag2"]},{"1392145787":["hashtag1","hashtag2"]},{"1392145898":["hashtag1","hashtag2"]},{"1392145862":["hashtag1","hashtag2"]},{"1392145823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392145996, 1392145933, 1392145787, 1392145898, 1392145862, 1392145823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94504237174988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 20:59:42.745296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_58_2696.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_02_3711.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_05_2749.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_07_2529.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_11_3625.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_13_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/37/image_03112025_10_37_58_2696.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_02_3711.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_05_2749.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_07_2529.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_11_3625.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_13_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392146157","1392146136","1392146171","1392146120","1392146204","1392146188"],"photo_ids_order":["1392146120","1392146136","1392146157","1392146171","1392146188","1392146204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a882e6b71792dc6f1c69413c6fda13ed.jpg","text":"TemporaryFile(/tmp/multipartBody6052162122672517699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200046369,"filename":"image_03112025_10_38_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/3/2dbac0850af84184f15607994aad50ef.jpg","text":"TemporaryFile(/tmp/multipartBody7687676509981960425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200046369,"filename":"image_03112025_10_38_02_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/3/b423c501f90cf38e4393a699f5c23698.jpg","text":"TemporaryFile(/tmp/multipartBody7902836520166187411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200046369,"filename":"image_03112025_10_38_07_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/3/cb42f1771c3e1127b2e4bffa618dd552.jpg","text":"TemporaryFile(/tmp/multipartBody2034925412112640448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200046369,"filename":"image_03112025_10_37_58_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9ff35aa085b6c92866b82287a1e4ca41.jpg","text":"TemporaryFile(/tmp/multipartBody6005518804584059822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200046369,"filename":"image_03112025_10_38_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/3/dd462dc9cb595a781cb7ccfa7ac8578f.jpg","text":"TemporaryFile(/tmp/multipartBody2526119518715602016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200046369,"filename":"image_03112025_10_38_11_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392146157","file1":"1392146136","file0":"1392146120","file4":"1392146188","file5":"1392146204","file3":"1392146171"},"map_files_photo_id_array":[{"photo_id":"1392146204","filename":"file5"},{"photo_id":"1392146157","filename":"file2"},{"photo_id":"1392146188","filename":"file4"},{"photo_id":"1392146136","filename":"file1"},{"photo_id":"1392146120","filename":"file0"},{"photo_id":"1392146171","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392146157":["hashtag1","hashtag2"]},{"1392146136":["hashtag1","hashtag2"]},{"1392146171":["hashtag1","hashtag2"]},{"1392146120":["hashtag1","hashtag2"]},{"1392146204":["hashtag1","hashtag2"]},{"1392146188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392146157, 1392146136, 1392146171, 1392146120, 1392146204, 1392146188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.93780207633972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:00:41.914834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_16_2658.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_19_2769.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_23_3692.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_25_2662.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_29_3534.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_31_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_16_2658.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_19_2769.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_23_3692.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_25_2662.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_29_3534.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_31_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392146806","1392146583","1392146862","1392146693","1392146406","1392146485"],"photo_ids_order":["1392146406","1392146485","1392146583","1392146693","1392146806","1392146862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1616d5ba506f43c3d8cc478a58635f86.jpg","text":"TemporaryFile(/tmp/multipartBody9085305085044366192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200104226,"filename":"image_03112025_10_38_29_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/3/cd1e8ef51c2aee6911a7ba88f74e814d.jpg","text":"TemporaryFile(/tmp/multipartBody2492067298504538641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200104226,"filename":"image_03112025_10_38_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/3/78ba81801ab548bdc95bbb26a73d83b3.jpg","text":"TemporaryFile(/tmp/multipartBody4311090657971118034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200104226,"filename":"image_03112025_10_38_31_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8a96effc25f7c74ba23955ea0e56042f.jpg","text":"TemporaryFile(/tmp/multipartBody5414330977676709888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200104226,"filename":"image_03112025_10_38_25_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/3/bfa7f492edc54518289bba17125308f1.jpg","text":"TemporaryFile(/tmp/multipartBody8142392940104180072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200104226,"filename":"image_03112025_10_38_16_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1ffffe84e14d8d19d9e4e1c96c9dd474.jpg","text":"TemporaryFile(/tmp/multipartBody2738923122641057888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200104226,"filename":"image_03112025_10_38_19_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392146583","file1":"1392146485","file0":"1392146406","file4":"1392146806","file5":"1392146862","file3":"1392146693"},"map_files_photo_id_array":[{"photo_id":"1392146862","filename":"file5"},{"photo_id":"1392146583","filename":"file2"},{"photo_id":"1392146806","filename":"file4"},{"photo_id":"1392146485","filename":"file1"},{"photo_id":"1392146406","filename":"file0"},{"photo_id":"1392146693","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392146806":["hashtag1","hashtag2"]},{"1392146583":["hashtag1","hashtag2"]},{"1392146862":["hashtag1","hashtag2"]},{"1392146693":["hashtag1","hashtag2"]},{"1392146406":["hashtag1","hashtag2"]},{"1392146485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392146806, 1392146583, 1392146862, 1392146693, 1392146406, 1392146485)","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 = 1392146583 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_23_3692.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.81278324127197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:02:02.885693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_34_2667.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_38_3653.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_40_2650.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_43_2729.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_47_3568.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_49_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_34_2667.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_38_3653.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_40_2650.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_43_2729.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_47_3568.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_49_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392147492","1392147495","1392147483","1392147485","1392147490","1392147487"],"photo_ids_order":["1392147483","1392147485","1392147487","1392147490","1392147492","1392147495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/61e521154fe1ced758727bb4bede47b3.jpg","text":"TemporaryFile(/tmp/multipartBody7412146291516771200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200183896,"filename":"image_03112025_10_38_47_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/75c1787a9d289af17ac6f002d7ab5197.jpg","text":"TemporaryFile(/tmp/multipartBody7734711125686693125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200183896,"filename":"image_03112025_10_38_49_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/3/9eb3487bf33fe95dbca0a8f5f3019293.jpg","text":"TemporaryFile(/tmp/multipartBody2876197414224593150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200183896,"filename":"image_03112025_10_38_34_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f1c048eb939897579cb34cc2b3533c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2159663460003287485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200183896,"filename":"image_03112025_10_38_38_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/3/927d499e96624d994edb282e09b6215e.jpg","text":"TemporaryFile(/tmp/multipartBody929383128059603110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200183896,"filename":"image_03112025_10_38_43_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3ff6d7d5f964911f70c838f4d28f13ec.jpg","text":"TemporaryFile(/tmp/multipartBody9135273896799238492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200183896,"filename":"image_03112025_10_38_40_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392147487","file1":"1392147485","file0":"1392147483","file4":"1392147492","file5":"1392147495","file3":"1392147490"},"map_files_photo_id_array":[{"photo_id":"1392147495","filename":"file5"},{"photo_id":"1392147487","filename":"file2"},{"photo_id":"1392147492","filename":"file4"},{"photo_id":"1392147485","filename":"file1"},{"photo_id":"1392147483","filename":"file0"},{"photo_id":"1392147490","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392147492":["hashtag1","hashtag2"]},{"1392147495":["hashtag1","hashtag2"]},{"1392147483":["hashtag1","hashtag2"]},{"1392147485":["hashtag1","hashtag2"]},{"1392147490":["hashtag1","hashtag2"]},{"1392147487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392147492, 1392147495, 1392147483, 1392147485, 1392147490, 1392147487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72166585922241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:02:42.468723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_52_2635.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_56_3604.jpg', '/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_58_2629.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_01_2607.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_05_3719.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_07_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_52_2635.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_56_3604.jpg
/home/pi/Desktop/images/03112025/10/38/image_03112025_10_38_58_2629.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_01_2607.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_05_3719.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_07_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392147729","1392147992","1392147912","1392147662","1392147620","1392147824"],"photo_ids_order":["1392147620","1392147662","1392147729","1392147824","1392147912","1392147992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b26ba81930da59e9916051c51f5405dc.jpg","text":"TemporaryFile(/tmp/multipartBody3453217291513599674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200223352,"filename":"image_03112025_10_38_58_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/3/fc665aab1f48149e649d83783db01d79.jpg","text":"TemporaryFile(/tmp/multipartBody3153939731753647384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200223352,"filename":"image_03112025_10_39_07_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/3/e6563206800c8bb2cdf87b1bf081b28f.jpg","text":"TemporaryFile(/tmp/multipartBody2940469312386895056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200223352,"filename":"image_03112025_10_39_05_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/3/9e04f45be9260f9cb573d349370aec95.jpg","text":"TemporaryFile(/tmp/multipartBody779263648157439546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200223352,"filename":"image_03112025_10_38_56_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/3/32315f394be0ac9910fedf65118c11c5.jpg","text":"TemporaryFile(/tmp/multipartBody5184599180667097583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200223352,"filename":"image_03112025_10_38_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/3/d1f0c8370e0fdc13e196b291796d7b80.jpg","text":"TemporaryFile(/tmp/multipartBody4757132470841516668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200223352,"filename":"image_03112025_10_39_01_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392147729","file1":"1392147662","file0":"1392147620","file4":"1392147912","file5":"1392147992","file3":"1392147824"},"map_files_photo_id_array":[{"photo_id":"1392147992","filename":"file5"},{"photo_id":"1392147729","filename":"file2"},{"photo_id":"1392147912","filename":"file4"},{"photo_id":"1392147662","filename":"file1"},{"photo_id":"1392147620","filename":"file0"},{"photo_id":"1392147824","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392147729":["hashtag1","hashtag2"]},{"1392147992":["hashtag1","hashtag2"]},{"1392147912":["hashtag1","hashtag2"]},{"1392147662":["hashtag1","hashtag2"]},{"1392147620":["hashtag1","hashtag2"]},{"1392147824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392147729, 1392147992, 1392147912, 1392147662, 1392147620, 1392147824)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.55766463279724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:03:42.857533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_10_2602.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_14_3864.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_16_2711.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_19_2674.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_22_2657.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_25_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_10_2602.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_14_3864.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_16_2711.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_19_2674.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_22_2657.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_25_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":["1392148560","1392148592","1392148616","1392148594","1392148618","1392148519"],"photo_ids_order":["1392148519","1392148560","1392148592","1392148594","1392148616","1392148618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d5ffbec0cd489b37c057fb69c49fc40.jpg","text":"TemporaryFile(/tmp/multipartBody5960503324185153580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200288242,"filename":"image_03112025_10_39_14_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/3/658ce223e0c403103ea1f901491a467d.jpg","text":"TemporaryFile(/tmp/multipartBody285909417816210608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200288242,"filename":"image_03112025_10_39_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/3/7149de440e9a1a3aa7b71997815758c8.jpg","text":"TemporaryFile(/tmp/multipartBody536325579967223699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200288242,"filename":"image_03112025_10_39_22_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/3/cf1a154702a80c2fb6e76f18fcdc2b8c.jpg","text":"TemporaryFile(/tmp/multipartBody7985048255862540771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200288242,"filename":"image_03112025_10_39_19_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/3/6ba239be7fe5761253e3e1916d7fc13e.jpg","text":"TemporaryFile(/tmp/multipartBody3629941447663224559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200288242,"filename":"image_03112025_10_39_25_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/3/d45dc07b509bcecdefa1d465ade62401.jpg","text":"TemporaryFile(/tmp/multipartBody6215809127473624967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200288242,"filename":"image_03112025_10_39_10_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392148592","file1":"1392148560","file0":"1392148519","file4":"1392148616","file5":"1392148618","file3":"1392148594"},"map_files_photo_id_array":[{"photo_id":"1392148618","filename":"file5"},{"photo_id":"1392148592","filename":"file2"},{"photo_id":"1392148616","filename":"file4"},{"photo_id":"1392148560","filename":"file1"},{"photo_id":"1392148519","filename":"file0"},{"photo_id":"1392148594","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392148560":["hashtag1","hashtag2"]},{"1392148592":["hashtag1","hashtag2"]},{"1392148616":["hashtag1","hashtag2"]},{"1392148594":["hashtag1","hashtag2"]},{"1392148618":["hashtag1","hashtag2"]},{"1392148519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392148560, 1392148592, 1392148616, 1392148594, 1392148618, 1392148519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.03934073448181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:04:42.025900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_28_2771.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_31_2751.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_35_3779.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_37_2589.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_40_2629.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_43_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_28_2771.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_31_2751.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_35_3779.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_37_2589.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_40_2629.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_43_2814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392148830","1392148795","1392148828","1392148756","1392148843","1392148714"],"photo_ids_order":["1392148714","1392148756","1392148795","1392148828","1392148830","1392148843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7643078c05416431a11fd98468da6ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7632023479751906549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200342897,"filename":"image_03112025_10_39_40_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/3/0ce14f58010f9d41e42e4f417c5c65f6.jpg","text":"TemporaryFile(/tmp/multipartBody263308117158584081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200342897,"filename":"image_03112025_10_39_35_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/3/74e81cc764185133e67e154eee5fa962.jpg","text":"TemporaryFile(/tmp/multipartBody1353590859542717391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200342897,"filename":"image_03112025_10_39_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/3/43eb7b560e39498f6ca479a4978afc66.jpg","text":"TemporaryFile(/tmp/multipartBody4801248672556450667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200342897,"filename":"image_03112025_10_39_31_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/3/058db65883882a1a17304248e7555d15.jpg","text":"TemporaryFile(/tmp/multipartBody8350565388836487734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200342897,"filename":"image_03112025_10_39_43_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/3/14dc934cc54139e866e1e4396ad03b36.jpg","text":"TemporaryFile(/tmp/multipartBody7813391412472662645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200342897,"filename":"image_03112025_10_39_28_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392148795","file1":"1392148756","file0":"1392148714","file4":"1392148830","file5":"1392148843","file3":"1392148828"},"map_files_photo_id_array":[{"photo_id":"1392148843","filename":"file5"},{"photo_id":"1392148795","filename":"file2"},{"photo_id":"1392148830","filename":"file4"},{"photo_id":"1392148756","filename":"file1"},{"photo_id":"1392148714","filename":"file0"},{"photo_id":"1392148828","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392148830":["hashtag1","hashtag2"]},{"1392148795":["hashtag1","hashtag2"]},{"1392148828":["hashtag1","hashtag2"]},{"1392148756":["hashtag1","hashtag2"]},{"1392148843":["hashtag1","hashtag2"]},{"1392148714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392148830, 1392148795, 1392148828, 1392148756, 1392148843, 1392148714)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.875616788864136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:05:42.306011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_46_3616.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_49_2681.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_52_2830.jpg', '/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_55_3686.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_06_3011.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_10_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_46_3616.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_49_2681.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_52_2830.jpg
/home/pi/Desktop/images/03112025/10/39/image_03112025_10_39_55_3686.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_06_3011.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_10_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392149127","1392149123","1392149111","1392149125","1392149101","1392149124"],"photo_ids_order":["1392149101","1392149111","1392149123","1392149124","1392149125","1392149127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ccdc13c1bf516967f2fa2ee0db16a738.jpg","text":"TemporaryFile(/tmp/multipartBody232760229916423637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200403202,"filename":"image_03112025_10_41_10_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/3/d71e4dda54b10398a737099bb7ca06b2.jpg","text":"TemporaryFile(/tmp/multipartBody648964900498169188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200403202,"filename":"image_03112025_10_39_52_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/3/f1765d156472ea0a6f4243d31b9649b8.jpg","text":"TemporaryFile(/tmp/multipartBody6358430894454774611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200403202,"filename":"image_03112025_10_39_49_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/469a85320a101fb34ef5eb12c16a70a3.jpg","text":"TemporaryFile(/tmp/multipartBody4983084973624539738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200403202,"filename":"image_03112025_10_41_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/3/25f08f42630dd22e0418a15fd9098760.jpg","text":"TemporaryFile(/tmp/multipartBody3546162154794920573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200403202,"filename":"image_03112025_10_39_46_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/988b0f911e82cffbdbf445e50201205c.jpg","text":"TemporaryFile(/tmp/multipartBody7540420494808090420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200403202,"filename":"image_03112025_10_39_55_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392149123","file1":"1392149111","file0":"1392149101","file4":"1392149125","file5":"1392149127","file3":"1392149124"},"map_files_photo_id_array":[{"photo_id":"1392149127","filename":"file5"},{"photo_id":"1392149123","filename":"file2"},{"photo_id":"1392149125","filename":"file4"},{"photo_id":"1392149111","filename":"file1"},{"photo_id":"1392149101","filename":"file0"},{"photo_id":"1392149124","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392149127":["hashtag1","hashtag2"]},{"1392149123":["hashtag1","hashtag2"]},{"1392149111":["hashtag1","hashtag2"]},{"1392149125":["hashtag1","hashtag2"]},{"1392149101":["hashtag1","hashtag2"]},{"1392149124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392149127, 1392149123, 1392149111, 1392149125, 1392149101, 1392149124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.082353353500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:06:22.539638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_13_2761.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_15_2721.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_19_3598.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_22_2573.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_25_3456.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_28_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_13_2761.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_15_2721.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_19_3598.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_22_2573.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_25_3456.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_28_2839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392149147","1392149141","1392149143","1392149152","1392149149","1392149145"],"photo_ids_order":["1392149141","1392149143","1392149145","1392149147","1392149149","1392149152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cade2cfb62fb80455defc5e4cf87dfc0.jpg","text":"TemporaryFile(/tmp/multipartBody42561574826912714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200448455,"filename":"image_03112025_10_41_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/3/80de4075b7f65d1e3343631ea460d4d6.jpg","text":"TemporaryFile(/tmp/multipartBody765542270488572620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200448455,"filename":"image_03112025_10_41_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/3/6217b6c88b439978f4fd0573e50314cd.jpg","text":"TemporaryFile(/tmp/multipartBody1204928806901093345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200448455,"filename":"image_03112025_10_41_15_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/3/95be983ce5b9d991634318762f028949.jpg","text":"TemporaryFile(/tmp/multipartBody8146619953976047731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200448455,"filename":"image_03112025_10_41_28_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/3/33015acdead63cd43899831d341eb7a0.jpg","text":"TemporaryFile(/tmp/multipartBody3549207251576734777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200448455,"filename":"image_03112025_10_41_25_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/3/170efbb66afd85b1f2d4bfe79130bdf1.jpg","text":"TemporaryFile(/tmp/multipartBody2207019252041277173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200448455,"filename":"image_03112025_10_41_19_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392149145","file1":"1392149143","file0":"1392149141","file4":"1392149149","file5":"1392149152","file3":"1392149147"},"map_files_photo_id_array":[{"photo_id":"1392149152","filename":"file5"},{"photo_id":"1392149145","filename":"file2"},{"photo_id":"1392149149","filename":"file4"},{"photo_id":"1392149143","filename":"file1"},{"photo_id":"1392149141","filename":"file0"},{"photo_id":"1392149147","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392149147":["hashtag1","hashtag2"]},{"1392149141":["hashtag1","hashtag2"]},{"1392149143":["hashtag1","hashtag2"]},{"1392149152":["hashtag1","hashtag2"]},{"1392149149":["hashtag1","hashtag2"]},{"1392149145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392149147, 1392149141, 1392149143, 1392149152, 1392149149, 1392149145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10356783866882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:07:22.711731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_31_2816.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_34_2920.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_40_2679.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_42_2666.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_46_3929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_31_2816.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_34_2920.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_40_2679.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_42_2666.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_46_3929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392149195","1392149192","1392149189","1392149204","1392149199","1392149202"],"photo_ids_order":["1392149189","1392149192","1392149195","1392149199","1392149202","1392149204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eac8ce422a9bd810522d24bfd16e2c5c.jpg","text":"TemporaryFile(/tmp/multipartBody6894479159542197542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200511443,"filename":"image_03112025_10_41_37_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/feedf12e95facebb894751c58d3dfda9.jpg","text":"TemporaryFile(/tmp/multipartBody1119332488060863283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200511443,"filename":"image_03112025_10_41_34_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/3/296478997e2de3d99fb8c79f45de78e1.jpg","text":"TemporaryFile(/tmp/multipartBody2960593414561178513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200511443,"filename":"image_03112025_10_41_31_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/3/b7280dd675dc7b438cf26c6f9f0d8c7c.jpg","text":"TemporaryFile(/tmp/multipartBody6588809094096339809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200511443,"filename":"image_03112025_10_41_46_3929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/688a4ca8e3db821b6e004b37950221ca.jpg","text":"TemporaryFile(/tmp/multipartBody8892130552359477702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200511443,"filename":"image_03112025_10_41_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/3/c926f5d7c7fa1fd14d73cd6331b90e62.jpg","text":"TemporaryFile(/tmp/multipartBody1808447640552945318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200511443,"filename":"image_03112025_10_41_42_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392149195","file1":"1392149192","file0":"1392149189","file4":"1392149202","file5":"1392149204","file3":"1392149199"},"map_files_photo_id_array":[{"photo_id":"1392149204","filename":"file5"},{"photo_id":"1392149195","filename":"file2"},{"photo_id":"1392149202","filename":"file4"},{"photo_id":"1392149192","filename":"file1"},{"photo_id":"1392149189","filename":"file0"},{"photo_id":"1392149199","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392149195":["hashtag1","hashtag2"]},{"1392149192":["hashtag1","hashtag2"]},{"1392149189":["hashtag1","hashtag2"]},{"1392149204":["hashtag1","hashtag2"]},{"1392149199":["hashtag1","hashtag2"]},{"1392149202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392149195, 1392149192, 1392149189, 1392149204, 1392149199, 1392149202)","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 = 1392149195 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392149195 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg";
uploaded 6 photos
time to upload: 73.08629131317139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:08:45.852003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_31_2816.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_34_2920.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_40_2679.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_42_2666.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_46_3929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_31_2816.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_34_2920.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_40_2679.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_42_2666.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_46_3929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392149333","1392149300","1392149335","1392149305","1392149340","1392149337"],"photo_ids_order":["1392149300","1392149305","1392149333","1392149335","1392149337","1392149340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/adc3bf3303fc6a12baa8477319a9a85f.jpg","text":"TemporaryFile(/tmp/multipartBody8588921074391750710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200586570,"filename":"image_03112025_10_41_37_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/659a6ae55a64023d6e92b5039ba24b16.jpg","text":"TemporaryFile(/tmp/multipartBody5010855140447168758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200586570,"filename":"image_03112025_10_41_31_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/3/55be38cf3bf4fc73d81366d1675aef43.jpg","text":"TemporaryFile(/tmp/multipartBody4350989097690382906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200586570,"filename":"image_03112025_10_41_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/3/08aa9b3aa46244d4bd12613d2aaa79fa.jpg","text":"TemporaryFile(/tmp/multipartBody5555058507813778513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200586570,"filename":"image_03112025_10_41_34_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/3/d52691db2f72e57b26aa369006ea7503.jpg","text":"TemporaryFile(/tmp/multipartBody8103154192705811318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200586570,"filename":"image_03112025_10_41_46_3929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae25457c99bc16107611ac8177a6ee84.jpg","text":"TemporaryFile(/tmp/multipartBody8644383252794706620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200586570,"filename":"image_03112025_10_41_42_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392149333","file1":"1392149305","file0":"1392149300","file4":"1392149337","file5":"1392149340","file3":"1392149335"},"map_files_photo_id_array":[{"photo_id":"1392149340","filename":"file5"},{"photo_id":"1392149333","filename":"file2"},{"photo_id":"1392149337","filename":"file4"},{"photo_id":"1392149305","filename":"file1"},{"photo_id":"1392149300","filename":"file0"},{"photo_id":"1392149335","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392149333":["hashtag1","hashtag2"]},{"1392149300":["hashtag1","hashtag2"]},{"1392149335":["hashtag1","hashtag2"]},{"1392149305":["hashtag1","hashtag2"]},{"1392149340":["hashtag1","hashtag2"]},{"1392149337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392149333, 1392149300, 1392149335, 1392149305, 1392149340, 1392149337)","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 = 1392149333 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392149333 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg";
uploaded 6 photos
time to upload: 71.60326528549194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:10:15.644929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_31_2816.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_34_2920.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_40_2679.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_42_2666.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_46_3929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_31_2816.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_34_2920.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_37_3571.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_40_2679.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_42_2666.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_46_3929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392149900","1392149825","1392149578","1392149859","1392149706","1392149640"],"photo_ids_order":["1392149578","1392149640","1392149706","1392149825","1392149859","1392149900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a0813590404b437c1df1205831ec55d9.jpg","text":"TemporaryFile(/tmp/multipartBody2432253321545355256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200678017,"filename":"image_03112025_10_41_46_3929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/08ffc385ae9f65e7467347405257a79e.jpg","text":"TemporaryFile(/tmp/multipartBody4930427719563824819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200678017,"filename":"image_03112025_10_41_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/3/10bc128629ecd7ae2fac7afe47b43f4d.jpg","text":"TemporaryFile(/tmp/multipartBody6335769008723599657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200678017,"filename":"image_03112025_10_41_31_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/3/c549f2fb3655874f37ffa23b756da4aa.jpg","text":"TemporaryFile(/tmp/multipartBody2633595759663323953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200678017,"filename":"image_03112025_10_41_42_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/3/7aee446ad3eeabdd9dfbfe7716c93878.jpg","text":"TemporaryFile(/tmp/multipartBody8621281261464462812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200678017,"filename":"image_03112025_10_41_37_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3b41c78e1a94e2b5002ba7d364a4125b.jpg","text":"TemporaryFile(/tmp/multipartBody5047641658417982047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200678017,"filename":"image_03112025_10_41_34_2920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392149706","file1":"1392149640","file0":"1392149578","file4":"1392149859","file5":"1392149900","file3":"1392149825"},"map_files_photo_id_array":[{"photo_id":"1392149900","filename":"file5"},{"photo_id":"1392149706","filename":"file2"},{"photo_id":"1392149859","filename":"file4"},{"photo_id":"1392149640","filename":"file1"},{"photo_id":"1392149578","filename":"file0"},{"photo_id":"1392149825","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392149900":["hashtag1","hashtag2"]},{"1392149825":["hashtag1","hashtag2"]},{"1392149578":["hashtag1","hashtag2"]},{"1392149859":["hashtag1","hashtag2"]},{"1392149706":["hashtag1","hashtag2"]},{"1392149640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392149900, 1392149825, 1392149578, 1392149859, 1392149706, 1392149640)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.49612069129944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:11:27.182040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_49_2596.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_52_2842.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_58_3601.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_03_5133.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_05_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_49_2596.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_52_2842.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_58_3601.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_03_5133.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_05_1594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392150176","1392150196","1392150169","1392150277","1392150241","1392150165"],"photo_ids_order":["1392150165","1392150169","1392150176","1392150196","1392150241","1392150277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e1ac4dd6c76b48b9bbfa710f623d15e1.jpg","text":"TemporaryFile(/tmp/multipartBody8396886811058519641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200748077,"filename":"image_03112025_10_41_54_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/3/a54eb82caf8df9094c4b53140dd947bb.jpg","text":"TemporaryFile(/tmp/multipartBody8667189519868249548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200748077,"filename":"image_03112025_10_41_58_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/3/7ef127ab1902b4ba54acecf62c6ccb33.jpg","text":"TemporaryFile(/tmp/multipartBody2946590043835694706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200748077,"filename":"image_03112025_10_41_52_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/66fcce5b01443ad597b67ee4cf160ffc.jpg","text":"TemporaryFile(/tmp/multipartBody8951282477852627108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200748077,"filename":"image_03112025_10_42_05_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/3/eee9a496aa5355a9820058798252d9d3.jpg","text":"TemporaryFile(/tmp/multipartBody7220450323899839704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200748077,"filename":"image_03112025_10_42_03_5133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e8dab9f21c9960fe8be368dba7e81444.jpg","text":"TemporaryFile(/tmp/multipartBody8022038851019675401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200748077,"filename":"image_03112025_10_41_49_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392150176","file1":"1392150169","file0":"1392150165","file4":"1392150241","file5":"1392150277","file3":"1392150196"},"map_files_photo_id_array":[{"photo_id":"1392150277","filename":"file5"},{"photo_id":"1392150176","filename":"file2"},{"photo_id":"1392150241","filename":"file4"},{"photo_id":"1392150169","filename":"file1"},{"photo_id":"1392150165","filename":"file0"},{"photo_id":"1392150196","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392150176":["hashtag1","hashtag2"]},{"1392150196":["hashtag1","hashtag2"]},{"1392150169":["hashtag1","hashtag2"]},{"1392150277":["hashtag1","hashtag2"]},{"1392150241":["hashtag1","hashtag2"]},{"1392150165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392150176, 1392150196, 1392150169, 1392150277, 1392150241, 1392150165)","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 = 1392150176 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392150176 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg";
uploaded 6 photos
time to upload: 69.59481835365295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:12:42.455490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 21:13:02.582200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 21:13:22.053733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 21:13:42.164322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_49_2596.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_52_2842.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_58_3601.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_03_5133.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_05_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_49_2596.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_52_2842.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_58_3601.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_03_5133.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_05_1594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392150948","1392150843","1392150804","1392150967","1392150931","1392150891"],"photo_ids_order":["1392150804","1392150843","1392150891","1392150931","1392150948","1392150967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/622c6b4371ca7c4d16105800c0fe2282.jpg","text":"TemporaryFile(/tmp/multipartBody1254028174560535784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200882915,"filename":"image_03112025_10_42_03_5133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ddeee8c1d8533ea1d7e131ba4b9b9ddc.jpg","text":"TemporaryFile(/tmp/multipartBody2480322688978055163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200882915,"filename":"image_03112025_10_41_52_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d15cbfb4183f027bd1ca6eb6187fd54.jpg","text":"TemporaryFile(/tmp/multipartBody2492184401984269696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200882915,"filename":"image_03112025_10_41_49_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/3/fae4c8e3da45dcf0d6cb3fd8b9ad536b.jpg","text":"TemporaryFile(/tmp/multipartBody3081755563358698467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200882915,"filename":"image_03112025_10_42_05_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/3/662fe874083fa6f223ff69a79b326174.jpg","text":"TemporaryFile(/tmp/multipartBody1593140076960022432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200882915,"filename":"image_03112025_10_41_58_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/3/f40cba7d7f18e150b9908133b327169e.jpg","text":"TemporaryFile(/tmp/multipartBody2889742720832219638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200882915,"filename":"image_03112025_10_41_54_2363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392150891","file1":"1392150843","file0":"1392150804","file4":"1392150948","file5":"1392150967","file3":"1392150931"},"map_files_photo_id_array":[{"photo_id":"1392150967","filename":"file5"},{"photo_id":"1392150891","filename":"file2"},{"photo_id":"1392150948","filename":"file4"},{"photo_id":"1392150843","filename":"file1"},{"photo_id":"1392150804","filename":"file0"},{"photo_id":"1392150931","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392150948":["hashtag1","hashtag2"]},{"1392150843":["hashtag1","hashtag2"]},{"1392150804":["hashtag1","hashtag2"]},{"1392150967":["hashtag1","hashtag2"]},{"1392150931":["hashtag1","hashtag2"]},{"1392150891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392150948, 1392150843, 1392150804, 1392150967, 1392150931, 1392150891)","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 = 1392150891 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392150891 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg";
uploaded 6 photos
time to upload: 64.70743608474731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:15:02.648188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_49_2596.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_52_2842.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg', '/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_58_3601.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_03_5133.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_05_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_49_2596.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_52_2842.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_54_2363.jpg
/home/pi/Desktop/images/03112025/10/41/image_03112025_10_41_58_3601.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_03_5133.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_05_1594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392151329","1392151379","1392151370","1392151331","1392151325","1392151362"],"photo_ids_order":["1392151325","1392151329","1392151331","1392151362","1392151370","1392151379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/04a2d0bbaed236f44a5a2b9bd7538aa9.jpg","text":"TemporaryFile(/tmp/multipartBody3302657056105757570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200963533,"filename":"image_03112025_10_41_52_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/540345144fd30a21bc707e8ca0a24402.jpg","text":"TemporaryFile(/tmp/multipartBody6515035102895796414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200963533,"filename":"image_03112025_10_42_05_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/3/88bb7d349feb8e5ae8f99aef31a7bdc9.jpg","text":"TemporaryFile(/tmp/multipartBody1666437814440243445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200963533,"filename":"image_03112025_10_42_03_5133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eaf7eaf52438483ec4bf22661150172c.jpg","text":"TemporaryFile(/tmp/multipartBody5947137979942492020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200963533,"filename":"image_03112025_10_41_54_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/3/f551b30bd59da89a672b4edbb86d44a2.jpg","text":"TemporaryFile(/tmp/multipartBody5998271868565618281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200963533,"filename":"image_03112025_10_41_49_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/3/6d63da2334faf92091be727618ac22f6.jpg","text":"TemporaryFile(/tmp/multipartBody1630306411482016181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762200963533,"filename":"image_03112025_10_41_58_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392151331","file1":"1392151329","file0":"1392151325","file4":"1392151370","file5":"1392151379","file3":"1392151362"},"map_files_photo_id_array":[{"photo_id":"1392151379","filename":"file5"},{"photo_id":"1392151331","filename":"file2"},{"photo_id":"1392151370","filename":"file4"},{"photo_id":"1392151329","filename":"file1"},{"photo_id":"1392151325","filename":"file0"},{"photo_id":"1392151362","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392151329":["hashtag1","hashtag2"]},{"1392151379":["hashtag1","hashtag2"]},{"1392151370":["hashtag1","hashtag2"]},{"1392151331":["hashtag1","hashtag2"]},{"1392151325":["hashtag1","hashtag2"]},{"1392151362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392151329, 1392151379, 1392151370, 1392151331, 1392151325, 1392151362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63361644744873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:16:14.386620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_06_1644.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_10_3643.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_13_3036.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_15_2551.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_19_3593.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_22_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_06_1644.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_10_3643.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_13_3036.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_15_2551.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_19_3593.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_22_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":["1392151493","1392151507","1392151491","1392151479","1392151473","1392151431"],"photo_ids_order":["1392151431","1392151473","1392151479","1392151491","1392151493","1392151507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb193f1343ad0f780313eacf8199cb9c.jpg","text":"TemporaryFile(/tmp/multipartBody4658316855016091294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201035261,"filename":"image_03112025_10_42_19_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/3/ed02fa38e87a93a8806381c48bfefd2a.jpg","text":"TemporaryFile(/tmp/multipartBody6453790322749531233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201035261,"filename":"image_03112025_10_42_22_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/3/fc63bb248401180032867541698c237e.jpg","text":"TemporaryFile(/tmp/multipartBody6819417177971136023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201035261,"filename":"image_03112025_10_42_15_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/3/b685a860560eeadec3f80bfedeb9029b.jpg","text":"TemporaryFile(/tmp/multipartBody2305183578366207024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201035261,"filename":"image_03112025_10_42_13_3036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d76e8197c09126c0e4ef5ec1a8ba859.jpg","text":"TemporaryFile(/tmp/multipartBody6155560593265893737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201035261,"filename":"image_03112025_10_42_10_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/3/d5525b3483776e4858b516453a4de9ed.jpg","text":"TemporaryFile(/tmp/multipartBody1758196880991750805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201035261,"filename":"image_03112025_10_42_06_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392151479","file1":"1392151473","file0":"1392151431","file4":"1392151493","file5":"1392151507","file3":"1392151491"},"map_files_photo_id_array":[{"photo_id":"1392151507","filename":"file5"},{"photo_id":"1392151479","filename":"file2"},{"photo_id":"1392151493","filename":"file4"},{"photo_id":"1392151473","filename":"file1"},{"photo_id":"1392151431","filename":"file0"},{"photo_id":"1392151491","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392151493":["hashtag1","hashtag2"]},{"1392151507":["hashtag1","hashtag2"]},{"1392151491":["hashtag1","hashtag2"]},{"1392151479":["hashtag1","hashtag2"]},{"1392151473":["hashtag1","hashtag2"]},{"1392151431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392151493, 1392151507, 1392151491, 1392151479, 1392151473, 1392151431)","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: 87.70877385139465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:17:45.716738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_24_2686.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_31_3784.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_33_2554.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_36_2786.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_40_3574.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_42_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_24_2686.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_31_3784.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_33_2554.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_36_2786.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_40_3574.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_42_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392151580","1392151583","1392151585","1392151590","1392151587","1392151581"],"photo_ids_order":["1392151580","1392151581","1392151583","1392151585","1392151587","1392151590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/79cc0e94277e5d5562b617b20645470f.jpg","text":"TemporaryFile(/tmp/multipartBody5302553413136519545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201126636,"filename":"image_03112025_10_42_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/3/e6dbcef8d3ab595304bea2007c10a345.jpg","text":"TemporaryFile(/tmp/multipartBody4944478252142038154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201126636,"filename":"image_03112025_10_42_33_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/3/37106210c0d8d041b467fd4923f4d431.jpg","text":"TemporaryFile(/tmp/multipartBody6381455300381076898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201126636,"filename":"image_03112025_10_42_36_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/3/1b56453b3ce4c415da11ba5aa151dbfe.jpg","text":"TemporaryFile(/tmp/multipartBody1156526889934545031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201126636,"filename":"image_03112025_10_42_42_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/3/890b1b626a70ee783eb2749ee6c60d52.jpg","text":"TemporaryFile(/tmp/multipartBody7290386820237154636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201126636,"filename":"image_03112025_10_42_40_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/3/a2aee91240d8fa633d5aca9c81dbe1ab.jpg","text":"TemporaryFile(/tmp/multipartBody3540450548419734137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201126636,"filename":"image_03112025_10_42_31_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392151583","file1":"1392151581","file0":"1392151580","file4":"1392151587","file5":"1392151590","file3":"1392151585"},"map_files_photo_id_array":[{"photo_id":"1392151590","filename":"file5"},{"photo_id":"1392151583","filename":"file2"},{"photo_id":"1392151587","filename":"file4"},{"photo_id":"1392151581","filename":"file1"},{"photo_id":"1392151580","filename":"file0"},{"photo_id":"1392151585","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392151580":["hashtag1","hashtag2"]},{"1392151583":["hashtag1","hashtag2"]},{"1392151585":["hashtag1","hashtag2"]},{"1392151590":["hashtag1","hashtag2"]},{"1392151587":["hashtag1","hashtag2"]},{"1392151581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392151580, 1392151583, 1392151585, 1392151590, 1392151587, 1392151581)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.50120139122009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:18:45.231249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_46_3603.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_49_2837.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_52_2754.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_54_2601.jpg', '/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_58_3801.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_01_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_46_3603.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_49_2837.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_52_2754.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_54_2601.jpg
/home/pi/Desktop/images/03112025/10/42/image_03112025_10_42_58_3801.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_01_2556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392151640","1392151637","1392151660","1392151633","1392151659","1392151656"],"photo_ids_order":["1392151633","1392151637","1392151640","1392151656","1392151659","1392151660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c6d60152a6dc27f0896ef245ac3e5a59.jpg","text":"TemporaryFile(/tmp/multipartBody6889760960840895856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201241033,"filename":"image_03112025_10_42_52_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/3/ae2765bceb9425f4bb4cfb8b637a2394.jpg","text":"TemporaryFile(/tmp/multipartBody6966902523973239774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201241033,"filename":"image_03112025_10_42_49_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/3/a573db881edf3c895a0b91320318b0bf.jpg","text":"TemporaryFile(/tmp/multipartBody237322019500380831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201241033,"filename":"image_03112025_10_43_01_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/681fdd61700377d5481d3721a56ef7e2.jpg","text":"TemporaryFile(/tmp/multipartBody7604706024067030562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201241033,"filename":"image_03112025_10_42_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/3/4bbfa22eb67ae13f9bcceffb60dfca7e.jpg","text":"TemporaryFile(/tmp/multipartBody5959283324780192055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201241033,"filename":"image_03112025_10_42_58_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/3/c595895d6b39327fef15112f10622786.jpg","text":"TemporaryFile(/tmp/multipartBody1666285835554384507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201241033,"filename":"image_03112025_10_42_54_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392151640","file1":"1392151637","file0":"1392151633","file4":"1392151659","file5":"1392151660","file3":"1392151656"},"map_files_photo_id_array":[{"photo_id":"1392151660","filename":"file5"},{"photo_id":"1392151640","filename":"file2"},{"photo_id":"1392151659","filename":"file4"},{"photo_id":"1392151637","filename":"file1"},{"photo_id":"1392151633","filename":"file0"},{"photo_id":"1392151656","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392151640":["hashtag1","hashtag2"]},{"1392151637":["hashtag1","hashtag2"]},{"1392151660":["hashtag1","hashtag2"]},{"1392151633":["hashtag1","hashtag2"]},{"1392151659":["hashtag1","hashtag2"]},{"1392151656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392151640, 1392151637, 1392151660, 1392151633, 1392151659, 1392151656)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 103.68638324737549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:20:50.021299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_03_2807.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_07_3621.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_10_2735.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_12_2625.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_16_3578.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_18_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_03_2807.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_07_3621.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_10_2735.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_12_2625.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_16_3578.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_18_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392151760","1392151763","1392151757","1392151753","1392151758","1392151767"],"photo_ids_order":["1392151753","1392151757","1392151758","1392151760","1392151763","1392151767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/981fc361b7033404324ac9af48928d66.jpg","text":"TemporaryFile(/tmp/multipartBody5926857861755485221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201313344,"filename":"image_03112025_10_43_12_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/3/afc286b2f07dffa3a12f4c203fea4d28.jpg","text":"TemporaryFile(/tmp/multipartBody4698517167748534604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201313344,"filename":"image_03112025_10_43_16_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/3/cca70e26c2ad301f6ff21ab386357319.jpg","text":"TemporaryFile(/tmp/multipartBody6910374419443618250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201313344,"filename":"image_03112025_10_43_07_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/3/6f2baf987a398afa797f1c7493f96a83.jpg","text":"TemporaryFile(/tmp/multipartBody8338716429996338442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201313344,"filename":"image_03112025_10_43_03_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/3/5dc341a8d761716b2d63e216a91406a6.jpg","text":"TemporaryFile(/tmp/multipartBody2193027863377401160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201313344,"filename":"image_03112025_10_43_10_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/3/429945ac9dac7da1a012c12d4cd117c1.jpg","text":"TemporaryFile(/tmp/multipartBody1788914124122528135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201313344,"filename":"image_03112025_10_43_18_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392151758","file1":"1392151757","file0":"1392151753","file4":"1392151763","file5":"1392151767","file3":"1392151760"},"map_files_photo_id_array":[{"photo_id":"1392151767","filename":"file5"},{"photo_id":"1392151758","filename":"file2"},{"photo_id":"1392151763","filename":"file4"},{"photo_id":"1392151757","filename":"file1"},{"photo_id":"1392151753","filename":"file0"},{"photo_id":"1392151760","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392151760":["hashtag1","hashtag2"]},{"1392151763":["hashtag1","hashtag2"]},{"1392151757":["hashtag1","hashtag2"]},{"1392151753":["hashtag1","hashtag2"]},{"1392151758":["hashtag1","hashtag2"]},{"1392151767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392151760, 1392151763, 1392151757, 1392151753, 1392151758, 1392151767)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 64.17339515686035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:22:04.348135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_21_2612.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_25_3643.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_27_2608.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_30_2664.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_34_3773.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_36_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_21_2612.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_25_3643.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_27_2608.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_30_2664.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_34_3773.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_36_2699.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":["1392151823","1392151826","1392151808","1392151834","1392151831","1392151819"],"photo_ids_order":["1392151808","1392151819","1392151823","1392151826","1392151831","1392151834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b0a4670bdea2a3a7d90af496371cc766.jpg","text":"TemporaryFile(/tmp/multipartBody6773539115829237051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201385242,"filename":"image_03112025_10_43_27_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/3/6c84e0ca264ccfad64cdf12032420bb7.jpg","text":"TemporaryFile(/tmp/multipartBody2626120545239336517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201385242,"filename":"image_03112025_10_43_30_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/3/15fca3e1b0348419d5cccc65272fa35d.jpg","text":"TemporaryFile(/tmp/multipartBody4029502331141439508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201385242,"filename":"image_03112025_10_43_21_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/3/fe61e55c153fc8320d07edddc44cdde7.jpg","text":"TemporaryFile(/tmp/multipartBody4554043197380183086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201385242,"filename":"image_03112025_10_43_36_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/3/f47eba2cbb82f589ee4c07b545d47072.jpg","text":"TemporaryFile(/tmp/multipartBody4809738194136144932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201385242,"filename":"image_03112025_10_43_34_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/3/70af8aeab7cbc7ef905a88e3e20c9d08.jpg","text":"TemporaryFile(/tmp/multipartBody2647729953568942597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201385242,"filename":"image_03112025_10_43_25_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392151823","file1":"1392151819","file0":"1392151808","file4":"1392151831","file5":"1392151834","file3":"1392151826"},"map_files_photo_id_array":[{"photo_id":"1392151834","filename":"file5"},{"photo_id":"1392151823","filename":"file2"},{"photo_id":"1392151831","filename":"file4"},{"photo_id":"1392151819","filename":"file1"},{"photo_id":"1392151808","filename":"file0"},{"photo_id":"1392151826","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392151823":["hashtag1","hashtag2"]},{"1392151826":["hashtag1","hashtag2"]},{"1392151808":["hashtag1","hashtag2"]},{"1392151834":["hashtag1","hashtag2"]},{"1392151831":["hashtag1","hashtag2"]},{"1392151819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392151823, 1392151826, 1392151808, 1392151834, 1392151831, 1392151819)","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.35439896583557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:23:42.387331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_39_2606.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_43_3604.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_45_2633.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_48_2820.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_52_3563.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_55_2924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_39_2606.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_43_3604.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_45_2633.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_48_2820.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_52_3563.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_55_2924.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392151922","1392151925","1392151928","1392151927","1392151930","1392151926"],"photo_ids_order":["1392151922","1392151925","1392151926","1392151927","1392151928","1392151930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/50919f0374bd64d200a8449cc4257f56.jpg","text":"TemporaryFile(/tmp/multipartBody2342168842000459359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201483152,"filename":"image_03112025_10_43_39_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/3/ef9a8b9d37ac7758ea7bb776cb31f54d.jpg","text":"TemporaryFile(/tmp/multipartBody7134958459850483020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201483152,"filename":"image_03112025_10_43_43_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/3/82a784726b37e6b116573c3bb078b150.jpg","text":"TemporaryFile(/tmp/multipartBody3479556384009919937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201483152,"filename":"image_03112025_10_43_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/3/bc807ebcb377346f615e401f89fb8048.jpg","text":"TemporaryFile(/tmp/multipartBody698069773556458649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201483152,"filename":"image_03112025_10_43_48_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/3/ba1ea4916ea7acc5084c734b36943bae.jpg","text":"TemporaryFile(/tmp/multipartBody6123079945515808803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201483152,"filename":"image_03112025_10_43_55_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/3/d14b3d5467c123e35eb9e1c9059de576.jpg","text":"TemporaryFile(/tmp/multipartBody3777998260243725317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201483152,"filename":"image_03112025_10_43_45_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392151926","file1":"1392151925","file0":"1392151922","file4":"1392151928","file5":"1392151930","file3":"1392151927"},"map_files_photo_id_array":[{"photo_id":"1392151930","filename":"file5"},{"photo_id":"1392151926","filename":"file2"},{"photo_id":"1392151928","filename":"file4"},{"photo_id":"1392151925","filename":"file1"},{"photo_id":"1392151922","filename":"file0"},{"photo_id":"1392151927","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392151922":["hashtag1","hashtag2"]},{"1392151925":["hashtag1","hashtag2"]},{"1392151928":["hashtag1","hashtag2"]},{"1392151927":["hashtag1","hashtag2"]},{"1392151930":["hashtag1","hashtag2"]},{"1392151926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392151922, 1392151925, 1392151928, 1392151927, 1392151930, 1392151926)","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.34586501121521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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-03 21:25:08.026286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_57_2673.jpg', '/home/pi/Desktop/images/03112025/10/43/image_03112025_10_44_01_3553.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_04_2787.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_06_2536.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_09_2824.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_12_3190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_43_57_2673.jpg
/home/pi/Desktop/images/03112025/10/43/image_03112025_10_44_01_3553.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_04_2787.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_06_2536.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_09_2824.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_12_3190.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392151973","1392151982","1392151981","1392151978","1392151975","1392152005"],"photo_ids_order":["1392151973","1392151975","1392151978","1392151981","1392151982","1392152005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c4cbc7d54dfa83544bfdf23be7f8ad98.jpg","text":"TemporaryFile(/tmp/multipartBody6974838925473419092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201573505,"filename":"image_03112025_10_43_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/3/c681879a4902941ece3cf350f7b71445.jpg","text":"TemporaryFile(/tmp/multipartBody4453586513247869661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201573505,"filename":"image_03112025_10_44_09_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/3/a6b8d6a74ca80a38acf0b37be7cf9b45.jpg","text":"TemporaryFile(/tmp/multipartBody3453468747062372980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201573505,"filename":"image_03112025_10_44_06_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/3/2ec1f66b6b08f0d6194756df2ff55f79.jpg","text":"TemporaryFile(/tmp/multipartBody4347086667201168434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201573505,"filename":"image_03112025_10_44_04_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/3/ca9045fbddfb3d013d7125cdcb98328a.jpg","text":"TemporaryFile(/tmp/multipartBody2169572767044664724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201573505,"filename":"image_03112025_10_44_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/3/575ad9cd4a3594651843b6fd9161d6be.jpg","text":"TemporaryFile(/tmp/multipartBody6369612677333370138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201573505,"filename":"image_03112025_10_44_12_3190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392151978","file1":"1392151975","file0":"1392151973","file4":"1392151982","file5":"1392152005","file3":"1392151981"},"map_files_photo_id_array":[{"photo_id":"1392152005","filename":"file5"},{"photo_id":"1392151978","filename":"file2"},{"photo_id":"1392151982","filename":"file4"},{"photo_id":"1392151975","filename":"file1"},{"photo_id":"1392151973","filename":"file0"},{"photo_id":"1392151981","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392151973":["hashtag1","hashtag2"]},{"1392151982":["hashtag1","hashtag2"]},{"1392151981":["hashtag1","hashtag2"]},{"1392151978":["hashtag1","hashtag2"]},{"1392151975":["hashtag1","hashtag2"]},{"1392152005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392151973, 1392151982, 1392151981, 1392151978, 1392151975, 1392152005)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.28827142715454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:26:22.644733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_15_2734.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_18_3567.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_21_2812.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_24_3014.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_27_2732.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_31_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_15_2734.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_18_3567.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_21_2812.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_24_3014.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_27_2732.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_31_3704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392152609","1392152662","1392152694","1392152742","1392152736","1392152675"],"photo_ids_order":["1392152609","1392152662","1392152675","1392152694","1392152736","1392152742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9dd4210fe9b6b9611985e4a79dec8360.jpg","text":"TemporaryFile(/tmp/multipartBody4869541910285548470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201643508,"filename":"image_03112025_10_44_15_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/3/53f73a6d2a5185c8d1fdce0a6c77b2d5.jpg","text":"TemporaryFile(/tmp/multipartBody5404478280909098922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201643508,"filename":"image_03112025_10_44_18_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/3/53d43c5359058398368f845fa6d645b1.jpg","text":"TemporaryFile(/tmp/multipartBody6093296265836582148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201643508,"filename":"image_03112025_10_44_24_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/3/c25383bb54ee37427dbb8baf10eb305e.jpg","text":"TemporaryFile(/tmp/multipartBody5595087772210956188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201643508,"filename":"image_03112025_10_44_31_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/3/fbdd869b2922ed66f66c068912b2bb1d.jpg","text":"TemporaryFile(/tmp/multipartBody8219803992559782584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201643508,"filename":"image_03112025_10_44_27_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/3/0adcb271de4a7ac56afb4dfb6fb2756a.jpg","text":"TemporaryFile(/tmp/multipartBody1617109207541767668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201643508,"filename":"image_03112025_10_44_21_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392152675","file1":"1392152662","file0":"1392152609","file4":"1392152736","file5":"1392152742","file3":"1392152694"},"map_files_photo_id_array":[{"photo_id":"1392152742","filename":"file5"},{"photo_id":"1392152675","filename":"file2"},{"photo_id":"1392152736","filename":"file4"},{"photo_id":"1392152662","filename":"file1"},{"photo_id":"1392152609","filename":"file0"},{"photo_id":"1392152694","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392152609":["hashtag1","hashtag2"]},{"1392152662":["hashtag1","hashtag2"]},{"1392152694":["hashtag1","hashtag2"]},{"1392152742":["hashtag1","hashtag2"]},{"1392152736":["hashtag1","hashtag2"]},{"1392152675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392152609, 1392152662, 1392152694, 1392152742, 1392152736, 1392152675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.733311891555786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:27:03.052727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_33_2702.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_36_2880.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_39_2744.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_43_3559.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_45_2695.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_48_3138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_33_2702.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_36_2880.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_39_2744.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_43_3559.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_45_2695.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_48_3138.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392152918","1392152938","1392152926","1392152935","1392152929","1392152943"],"photo_ids_order":["1392152918","1392152926","1392152929","1392152935","1392152938","1392152943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c40464c22b14a3d504d4e7a8e418b4f0.jpg","text":"TemporaryFile(/tmp/multipartBody4852981142644136837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201683957,"filename":"image_03112025_10_44_33_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/3/e9fa15e322a8651a05cfae3b6cb29ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7822307046681203682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201683957,"filename":"image_03112025_10_44_45_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/3/72cb4677373da26e3764ebe3cc353f91.jpg","text":"TemporaryFile(/tmp/multipartBody3398155171307531443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201683957,"filename":"image_03112025_10_44_36_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/3/216ddc70a6be7844e822904d3a0f1e71.jpg","text":"TemporaryFile(/tmp/multipartBody5861743040277987183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201683957,"filename":"image_03112025_10_44_43_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/3/7a317c42761b69940bf55de0beb05b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7751090270561485948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201683957,"filename":"image_03112025_10_44_39_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/3/5e4d9f4dd6670f7502f161b13e737fd5.jpg","text":"TemporaryFile(/tmp/multipartBody3480625756968171123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201683957,"filename":"image_03112025_10_44_48_3138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392152929","file1":"1392152926","file0":"1392152918","file4":"1392152938","file5":"1392152943","file3":"1392152935"},"map_files_photo_id_array":[{"photo_id":"1392152943","filename":"file5"},{"photo_id":"1392152929","filename":"file2"},{"photo_id":"1392152938","filename":"file4"},{"photo_id":"1392152926","filename":"file1"},{"photo_id":"1392152918","filename":"file0"},{"photo_id":"1392152935","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392152918":["hashtag1","hashtag2"]},{"1392152938":["hashtag1","hashtag2"]},{"1392152926":["hashtag1","hashtag2"]},{"1392152935":["hashtag1","hashtag2"]},{"1392152929":["hashtag1","hashtag2"]},{"1392152943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392152918, 1392152938, 1392152926, 1392152935, 1392152929, 1392152943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8696608543396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:27:42.386177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_51_2761.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_54_2665.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_58_3630.jpg', '/home/pi/Desktop/images/03112025/10/44/image_03112025_10_45_00_2713.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_07_3015.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_10_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_51_2761.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_54_2665.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_44_58_3630.jpg
/home/pi/Desktop/images/03112025/10/44/image_03112025_10_45_00_2713.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_07_3015.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_10_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392152960","1392152957","1392152962","1392152964","1392152963","1392152966"],"photo_ids_order":["1392152957","1392152960","1392152962","1392152963","1392152964","1392152966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/068c900c38559df63477c9a0ef999a1b.jpg","text":"TemporaryFile(/tmp/multipartBody5578699325639544849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201723234,"filename":"image_03112025_10_44_54_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/3/56728468868f245bd556bcf4887e6d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4042152494905720236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201723234,"filename":"image_03112025_10_44_51_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/3/7d0037550e7a3872d35d719de8d4e2ff.jpg","text":"TemporaryFile(/tmp/multipartBody7835583160362897006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201723234,"filename":"image_03112025_10_44_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/3/dc742e46d98723eda4711c02178c8b69.jpg","text":"TemporaryFile(/tmp/multipartBody7040279596798226044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201723234,"filename":"image_03112025_10_46_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/3/05e96e32050c8f6b9dfc67130b91752b.jpg","text":"TemporaryFile(/tmp/multipartBody3186812928888979519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201723234,"filename":"image_03112025_10_45_00_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/3/fc237ed1a0560e6256bda1f2420403ef.jpg","text":"TemporaryFile(/tmp/multipartBody540804401547710691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201723234,"filename":"image_03112025_10_46_10_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392152962","file1":"1392152960","file0":"1392152957","file4":"1392152964","file5":"1392152966","file3":"1392152963"},"map_files_photo_id_array":[{"photo_id":"1392152966","filename":"file5"},{"photo_id":"1392152962","filename":"file2"},{"photo_id":"1392152964","filename":"file4"},{"photo_id":"1392152960","filename":"file1"},{"photo_id":"1392152957","filename":"file0"},{"photo_id":"1392152963","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392152960":["hashtag1","hashtag2"]},{"1392152957":["hashtag1","hashtag2"]},{"1392152962":["hashtag1","hashtag2"]},{"1392152964":["hashtag1","hashtag2"]},{"1392152963":["hashtag1","hashtag2"]},{"1392152966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392152960, 1392152957, 1392152962, 1392152964, 1392152963, 1392152966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39876341819763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:28:22.587841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_22_11541.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_23_1591.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_25_1675.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_27_1751.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_28_1555.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_30_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_22_11541.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_23_1591.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_25_1675.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_27_1751.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_28_1555.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_30_1644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392153005","1392152983","1392152997","1392152978","1392153008","1392152987"],"photo_ids_order":["1392152978","1392152983","1392152987","1392152997","1392153005","1392153008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae46c0b81c85f3fc1c740e3fb6d75ee3.jpg","text":"TemporaryFile(/tmp/multipartBody1503858203617853466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201765584,"filename":"image_03112025_10_46_28_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/3/4ebacc6eb31fbb5b3805383bd52cfeb2.jpg","text":"TemporaryFile(/tmp/multipartBody3329812684092101018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201765584,"filename":"image_03112025_10_46_23_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/3/e720b729e31ad04c04c442630ff7b047.jpg","text":"TemporaryFile(/tmp/multipartBody3565557002367169904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201765584,"filename":"image_03112025_10_46_27_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/3/cea811bc793eed5d26e46cd98decfb25.jpg","text":"TemporaryFile(/tmp/multipartBody6763366150327944583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201765584,"filename":"image_03112025_10_46_22_11541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f748a12d5ec9629cabd3b6d70534ede.jpg","text":"TemporaryFile(/tmp/multipartBody155149553662258729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201765584,"filename":"image_03112025_10_46_30_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/3/bd390ed2723a06a2397df170a3a3c7fd.jpg","text":"TemporaryFile(/tmp/multipartBody1802216848473539297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201765584,"filename":"image_03112025_10_46_25_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392152987","file1":"1392152983","file0":"1392152978","file4":"1392153005","file5":"1392153008","file3":"1392152997"},"map_files_photo_id_array":[{"photo_id":"1392153008","filename":"file5"},{"photo_id":"1392152987","filename":"file2"},{"photo_id":"1392153005","filename":"file4"},{"photo_id":"1392152983","filename":"file1"},{"photo_id":"1392152978","filename":"file0"},{"photo_id":"1392152997","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392153005":["hashtag1","hashtag2"]},{"1392152983":["hashtag1","hashtag2"]},{"1392152997":["hashtag1","hashtag2"]},{"1392152978":["hashtag1","hashtag2"]},{"1392153008":["hashtag1","hashtag2"]},{"1392152987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392153005, 1392152983, 1392152997, 1392152978, 1392153008, 1392152987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.396551847457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:29:03.835698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_34_2585.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_37_2706.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_40_2688.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_43_3630.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_46_2671.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_49_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_34_2585.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_37_2706.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_40_2688.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_43_3630.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_46_2671.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_49_2671.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":["1392153025","1392153022","1392153030","1392153018","1392153012","1392153035"],"photo_ids_order":["1392153012","1392153018","1392153022","1392153025","1392153030","1392153035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/74a895847af8574f3e40e939633c49e0.jpg","text":"TemporaryFile(/tmp/multipartBody6170017423129115021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201804766,"filename":"image_03112025_10_46_43_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/3/91e407d6641805e722da174e156802e3.jpg","text":"TemporaryFile(/tmp/multipartBody2199341491521824596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201804766,"filename":"image_03112025_10_46_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/3/075fa477e1fd2be73ee42afadb1b3828.jpg","text":"TemporaryFile(/tmp/multipartBody1208662222536973911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201804766,"filename":"image_03112025_10_46_46_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/3/d5939552b3d0efc7d95f81039057d68f.jpg","text":"TemporaryFile(/tmp/multipartBody6046037611526720158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201804766,"filename":"image_03112025_10_46_37_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/3/26ac39c004cc908f3eda87a2437fb635.jpg","text":"TemporaryFile(/tmp/multipartBody953469455787320495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201804766,"filename":"image_03112025_10_46_34_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/3/731d3fa6e73186be0bd70c1c2bb8e5d1.jpg","text":"TemporaryFile(/tmp/multipartBody3048492052349435250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201804766,"filename":"image_03112025_10_46_49_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392153022","file1":"1392153018","file0":"1392153012","file4":"1392153030","file5":"1392153035","file3":"1392153025"},"map_files_photo_id_array":[{"photo_id":"1392153035","filename":"file5"},{"photo_id":"1392153022","filename":"file2"},{"photo_id":"1392153030","filename":"file4"},{"photo_id":"1392153018","filename":"file1"},{"photo_id":"1392153012","filename":"file0"},{"photo_id":"1392153025","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392153025":["hashtag1","hashtag2"]},{"1392153022":["hashtag1","hashtag2"]},{"1392153030":["hashtag1","hashtag2"]},{"1392153018":["hashtag1","hashtag2"]},{"1392153012":["hashtag1","hashtag2"]},{"1392153035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392153025, 1392153022, 1392153030, 1392153018, 1392153012, 1392153035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21740651130676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:30:03.264408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_52_3687.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_55_2882.jpg', '/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_58_2598.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_18_20424.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_20_1518.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_21_1730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_52_3687.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_55_2882.jpg
/home/pi/Desktop/images/03112025/10/46/image_03112025_10_46_58_2598.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_18_20424.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_20_1518.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_21_1730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392153475","1392153423","1392153578","1392153318","1392153533","1392153359"],"photo_ids_order":["1392153318","1392153359","1392153423","1392153475","1392153533","1392153578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6ad172a498bd2e9ef0011e07e6ebe998.jpg","text":"TemporaryFile(/tmp/multipartBody4258370473803234793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201864131,"filename":"image_03112025_10_47_18_20424.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5f8364f950831c01e6266d45fa76ab40.jpg","text":"TemporaryFile(/tmp/multipartBody5776123951295532626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201864131,"filename":"image_03112025_10_46_58_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/3/b9e6fddb5d574908fe3e1993d20ff9cb.jpg","text":"TemporaryFile(/tmp/multipartBody6902496071990345494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201864131,"filename":"image_03112025_10_47_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/3/4c1f7204ab095df6d70627ac2bad5168.jpg","text":"TemporaryFile(/tmp/multipartBody2593647167055222349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201864131,"filename":"image_03112025_10_46_52_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/3/40c3b548b91772c4fff7632897df920d.jpg","text":"TemporaryFile(/tmp/multipartBody9132997831728648136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201864131,"filename":"image_03112025_10_47_20_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/3/049870f977b9d26a1d3f9ea527cee520.jpg","text":"TemporaryFile(/tmp/multipartBody2280923753610499614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201864131,"filename":"image_03112025_10_46_55_2882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392153423","file1":"1392153359","file0":"1392153318","file4":"1392153533","file5":"1392153578","file3":"1392153475"},"map_files_photo_id_array":[{"photo_id":"1392153578","filename":"file5"},{"photo_id":"1392153423","filename":"file2"},{"photo_id":"1392153533","filename":"file4"},{"photo_id":"1392153359","filename":"file1"},{"photo_id":"1392153318","filename":"file0"},{"photo_id":"1392153475","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392153475":["hashtag1","hashtag2"]},{"1392153423":["hashtag1","hashtag2"]},{"1392153578":["hashtag1","hashtag2"]},{"1392153318":["hashtag1","hashtag2"]},{"1392153533":["hashtag1","hashtag2"]},{"1392153359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392153475, 1392153423, 1392153578, 1392153318, 1392153533, 1392153359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.687633752822876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:30:42.875663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_23_1569.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_25_1716.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_26_1812.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_28_1664.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_30_1702.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_32_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_23_1569.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_25_1716.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_26_1812.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_28_1664.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_30_1702.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_32_1745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392153793","1392153727","1392153802","1392153753","1392153725","1392153799"],"photo_ids_order":["1392153725","1392153727","1392153753","1392153793","1392153799","1392153802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7799a5451085f9336775ddfde96437e9.jpg","text":"TemporaryFile(/tmp/multipartBody3022651746179498723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201912276,"filename":"image_03112025_10_47_28_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/3/54447a8415866d207840eb194a6a0e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4626034080618469418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201912276,"filename":"image_03112025_10_47_25_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/3/14817597faafd83499e5d67317ba6dae.jpg","text":"TemporaryFile(/tmp/multipartBody4670794462433621056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201912276,"filename":"image_03112025_10_47_32_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/3/49b4b25e6d7eabb45027ee256a34cbf2.jpg","text":"TemporaryFile(/tmp/multipartBody4556936706967082652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201912276,"filename":"image_03112025_10_47_26_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/3/b043e833786cbc1e01e8ac078e679c10.jpg","text":"TemporaryFile(/tmp/multipartBody4410928917635868800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201912276,"filename":"image_03112025_10_47_23_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/3/b92a5e36b088cc914a6228ea4259c33d.jpg","text":"TemporaryFile(/tmp/multipartBody2857159317559049492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201912276,"filename":"image_03112025_10_47_30_1702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392153753","file1":"1392153727","file0":"1392153725","file4":"1392153799","file5":"1392153802","file3":"1392153793"},"map_files_photo_id_array":[{"photo_id":"1392153802","filename":"file5"},{"photo_id":"1392153753","filename":"file2"},{"photo_id":"1392153799","filename":"file4"},{"photo_id":"1392153727","filename":"file1"},{"photo_id":"1392153725","filename":"file0"},{"photo_id":"1392153793","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392153793":["hashtag1","hashtag2"]},{"1392153727":["hashtag1","hashtag2"]},{"1392153802":["hashtag1","hashtag2"]},{"1392153753":["hashtag1","hashtag2"]},{"1392153725":["hashtag1","hashtag2"]},{"1392153799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392153793, 1392153727, 1392153802, 1392153753, 1392153725, 1392153799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.84977102279663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:31:42.127254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_33_1622.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_35_1738.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_37_1679.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_38_1605.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_40_1634.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_43_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_33_1622.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_35_1738.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_37_1679.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_38_1605.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_40_1634.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_43_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392154062","1392154059","1392153996","1392154058","1392154034","1392154099"],"photo_ids_order":["1392153996","1392154034","1392154058","1392154059","1392154062","1392154099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/daac608d354adef6f83276d03de79e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6682983914502799126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201962964,"filename":"image_03112025_10_47_40_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/3/819b141d037a3ab22b6cc611f251de63.jpg","text":"TemporaryFile(/tmp/multipartBody567180929443669621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201962964,"filename":"image_03112025_10_47_38_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/3/6d67da2a06a123840a81ea7a49409c31.jpg","text":"TemporaryFile(/tmp/multipartBody5711896480391543997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201962964,"filename":"image_03112025_10_47_33_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/3/d0ca4ca7cae9e5659f3bde5b299ee29a.jpg","text":"TemporaryFile(/tmp/multipartBody5156324746880149205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201962964,"filename":"image_03112025_10_47_37_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/3/6e12297a7aa3e6aa4ddb65ad788c77ab.jpg","text":"TemporaryFile(/tmp/multipartBody834154417135129360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201962964,"filename":"image_03112025_10_47_35_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/3/09be2139c6f1ebea8627388545c296eb.jpg","text":"TemporaryFile(/tmp/multipartBody4618583014667356446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762201962964,"filename":"image_03112025_10_47_43_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392154058","file1":"1392154034","file0":"1392153996","file4":"1392154062","file5":"1392154099","file3":"1392154059"},"map_files_photo_id_array":[{"photo_id":"1392154099","filename":"file5"},{"photo_id":"1392154058","filename":"file2"},{"photo_id":"1392154062","filename":"file4"},{"photo_id":"1392154034","filename":"file1"},{"photo_id":"1392153996","filename":"file0"},{"photo_id":"1392154059","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392154062":["hashtag1","hashtag2"]},{"1392154059":["hashtag1","hashtag2"]},{"1392153996":["hashtag1","hashtag2"]},{"1392154058":["hashtag1","hashtag2"]},{"1392154034":["hashtag1","hashtag2"]},{"1392154099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392154062, 1392154059, 1392153996, 1392154058, 1392154034, 1392154099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.559627532958984 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-03 21:32:42.344234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_46_3559.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_49_3052.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_52_2823.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_55_2606.jpg', '/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_58_3663.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_01_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_46_3559.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_49_3052.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_52_2823.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_55_2606.jpg
/home/pi/Desktop/images/03112025/10/47/image_03112025_10_47_58_3663.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_01_2781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392154348","1392154353","1392154356","1392154350","1392154346","1392154349"],"photo_ids_order":["1392154346","1392154348","1392154349","1392154350","1392154353","1392154356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/727b1b88ca51aecf0b74d6ebd24f7b68.jpg","text":"TemporaryFile(/tmp/multipartBody5706848171429668824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202031112,"filename":"image_03112025_10_47_49_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/3/4e375f7e8b3fb35afe68aca0b1f12d40.jpg","text":"TemporaryFile(/tmp/multipartBody4308016849580208741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202031112,"filename":"image_03112025_10_47_58_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bee7e5a78130178c0c62864241912505.jpg","text":"TemporaryFile(/tmp/multipartBody1207536836080928522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202031112,"filename":"image_03112025_10_48_01_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/3/7513e2e3ef163536e403af151f384a33.jpg","text":"TemporaryFile(/tmp/multipartBody158933225366494734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202031112,"filename":"image_03112025_10_47_55_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7822e14668df1f69a546fccf52f4bec7.jpg","text":"TemporaryFile(/tmp/multipartBody1893639057421330086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202031112,"filename":"image_03112025_10_47_46_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/3/ca7fab2936df190b01921ca20f9d575d.jpg","text":"TemporaryFile(/tmp/multipartBody2950769580148521268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202031112,"filename":"image_03112025_10_47_52_2823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392154349","file1":"1392154348","file0":"1392154346","file4":"1392154353","file5":"1392154356","file3":"1392154350"},"map_files_photo_id_array":[{"photo_id":"1392154356","filename":"file5"},{"photo_id":"1392154349","filename":"file2"},{"photo_id":"1392154353","filename":"file4"},{"photo_id":"1392154348","filename":"file1"},{"photo_id":"1392154346","filename":"file0"},{"photo_id":"1392154350","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392154348":["hashtag1","hashtag2"]},{"1392154353":["hashtag1","hashtag2"]},{"1392154356":["hashtag1","hashtag2"]},{"1392154350":["hashtag1","hashtag2"]},{"1392154346":["hashtag1","hashtag2"]},{"1392154349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392154348, 1392154353, 1392154356, 1392154350, 1392154346, 1392154349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.387473821640015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:33:42.577169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_04_2980.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_07_2636.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_09_2690.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_13_3700.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_16_2716.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_18_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_04_2980.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_07_2636.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_09_2690.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_13_3700.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_16_2716.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_18_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392154371","1392154383","1392154373","1392154381","1392154375","1392154378"],"photo_ids_order":["1392154371","1392154373","1392154375","1392154378","1392154381","1392154383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/53e2a28324a36b4fef1d5bda26b2d351.jpg","text":"TemporaryFile(/tmp/multipartBody4711811446807974312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202083423,"filename":"image_03112025_10_48_04_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/3/1d0c9b0a5aea760d4ca5025280ace33a.jpg","text":"TemporaryFile(/tmp/multipartBody640304557851049495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202083423,"filename":"image_03112025_10_48_18_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/3/6916bc0969bb45708518a7ecd0e855e6.jpg","text":"TemporaryFile(/tmp/multipartBody5976496977016541783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202083423,"filename":"image_03112025_10_48_07_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/3/a3c49a740f32944dc00d3f33adde9c0a.jpg","text":"TemporaryFile(/tmp/multipartBody5986423200252385319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202083423,"filename":"image_03112025_10_48_16_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/3/292a6c9069d0a5653ca4a1e9391e79bd.jpg","text":"TemporaryFile(/tmp/multipartBody2708789641139261326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202083423,"filename":"image_03112025_10_48_09_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/3/7237fe1ff8a26663bc4c8b157f5a1f14.jpg","text":"TemporaryFile(/tmp/multipartBody555007670352115140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202083423,"filename":"image_03112025_10_48_13_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392154375","file1":"1392154373","file0":"1392154371","file4":"1392154381","file5":"1392154383","file3":"1392154378"},"map_files_photo_id_array":[{"photo_id":"1392154383","filename":"file5"},{"photo_id":"1392154375","filename":"file2"},{"photo_id":"1392154381","filename":"file4"},{"photo_id":"1392154373","filename":"file1"},{"photo_id":"1392154371","filename":"file0"},{"photo_id":"1392154378","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392154371":["hashtag1","hashtag2"]},{"1392154383":["hashtag1","hashtag2"]},{"1392154373":["hashtag1","hashtag2"]},{"1392154381":["hashtag1","hashtag2"]},{"1392154375":["hashtag1","hashtag2"]},{"1392154378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392154371, 1392154383, 1392154373, 1392154381, 1392154375, 1392154378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73044514656067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:34:22.766309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_22_3593.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_24_2493.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_28_3720.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_31_2826.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_34_2520.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_36_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_22_3593.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_24_2493.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_28_3720.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_31_2826.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_34_2520.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_36_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392154395","1392154410","1392154397","1392154400","1392154418","1392154393"],"photo_ids_order":["1392154393","1392154395","1392154397","1392154400","1392154410","1392154418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c2ba81b308fd6fdb7ea38b5a651118b.jpg","text":"TemporaryFile(/tmp/multipartBody6250406408862768847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202123625,"filename":"image_03112025_10_48_24_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/3/b8b42b9c85e4eefd4c38c66abdcf1670.jpg","text":"TemporaryFile(/tmp/multipartBody2489222189925094933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202123625,"filename":"image_03112025_10_48_34_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/3/913115883cd14c899aa01533fbf26e09.jpg","text":"TemporaryFile(/tmp/multipartBody4193183181281018103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202123625,"filename":"image_03112025_10_48_28_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/3/8cce03deb87ded80d4c6efcc14bab635.jpg","text":"TemporaryFile(/tmp/multipartBody4252154253762762680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202123625,"filename":"image_03112025_10_48_31_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/82fee36293f3e3d181fb3265b840e9b6.jpg","text":"TemporaryFile(/tmp/multipartBody5805922945297530356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202123625,"filename":"image_03112025_10_48_36_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/3/c58bcdb05adb79fedde8a1e290f0ee63.jpg","text":"TemporaryFile(/tmp/multipartBody4451110025318922173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202123625,"filename":"image_03112025_10_48_22_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392154397","file1":"1392154395","file0":"1392154393","file4":"1392154410","file5":"1392154418","file3":"1392154400"},"map_files_photo_id_array":[{"photo_id":"1392154418","filename":"file5"},{"photo_id":"1392154397","filename":"file2"},{"photo_id":"1392154410","filename":"file4"},{"photo_id":"1392154395","filename":"file1"},{"photo_id":"1392154393","filename":"file0"},{"photo_id":"1392154400","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392154395":["hashtag1","hashtag2"]},{"1392154410":["hashtag1","hashtag2"]},{"1392154397":["hashtag1","hashtag2"]},{"1392154400":["hashtag1","hashtag2"]},{"1392154418":["hashtag1","hashtag2"]},{"1392154393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392154395, 1392154410, 1392154397, 1392154400, 1392154418, 1392154393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24926495552063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:35:02.586494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_40_3639.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_43_2777.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_45_2547.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_49_3703.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_52_2784.jpg', '/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_54_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_40_3639.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_43_2777.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_45_2547.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_49_3703.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_52_2784.jpg
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_54_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":["1392154434","1392154466","1392154439","1392154492","1392154486","1392154489"],"photo_ids_order":["1392154434","1392154439","1392154466","1392154486","1392154489","1392154492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/22806ae8aa3dd7e8ed82a5c607c4c986.jpg","text":"TemporaryFile(/tmp/multipartBody7192088848215308447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202165720,"filename":"image_03112025_10_48_40_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/3/55480a3730ae803033e12f0bf041b569.jpg","text":"TemporaryFile(/tmp/multipartBody6630409177453613470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202165720,"filename":"image_03112025_10_48_45_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/3/638a39bd4b0959c1bbf8c2614e44a83e.jpg","text":"TemporaryFile(/tmp/multipartBody1773175169103632394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202165720,"filename":"image_03112025_10_48_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/3/8821ce00bac235bb2842f31551d2bcf1.jpg","text":"TemporaryFile(/tmp/multipartBody5285793348016202212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202165720,"filename":"image_03112025_10_48_54_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/3/f49a38f3e1da5872b42c9066ffb6331c.jpg","text":"TemporaryFile(/tmp/multipartBody184870065708384522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202165720,"filename":"image_03112025_10_48_49_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/3/8a18fa179c1a263b2a42357136aa2540.jpg","text":"TemporaryFile(/tmp/multipartBody3933686318775440614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202165720,"filename":"image_03112025_10_48_52_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392154466","file1":"1392154439","file0":"1392154434","file4":"1392154489","file5":"1392154492","file3":"1392154486"},"map_files_photo_id_array":[{"photo_id":"1392154492","filename":"file5"},{"photo_id":"1392154466","filename":"file2"},{"photo_id":"1392154489","filename":"file4"},{"photo_id":"1392154439","filename":"file1"},{"photo_id":"1392154434","filename":"file0"},{"photo_id":"1392154486","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392154434":["hashtag1","hashtag2"]},{"1392154466":["hashtag1","hashtag2"]},{"1392154439":["hashtag1","hashtag2"]},{"1392154492":["hashtag1","hashtag2"]},{"1392154486":["hashtag1","hashtag2"]},{"1392154489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392154434, 1392154466, 1392154439, 1392154492, 1392154486, 1392154489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32161068916321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:36:02.621131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_58_3745.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_01_2741.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_03_2531.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_07_3518.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_10_2699.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_13_2954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/48/image_03112025_10_48_58_3745.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_01_2741.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_03_2531.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_07_3518.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_10_2699.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_13_2954.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392154762","1392154979","1392154889","1392154841","1392154802","1392154939"],"photo_ids_order":["1392154762","1392154802","1392154841","1392154889","1392154939","1392154979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3245efbcc872fc73e9c63bb151a92d79.jpg","text":"TemporaryFile(/tmp/multipartBody8436075752321514811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202223480,"filename":"image_03112025_10_48_58_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/3/2883ff44ff96fddcab0dc7ef44617aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6924305503083353350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202223480,"filename":"image_03112025_10_49_13_2954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/65f2f5fa11cd5743098c0bf89485cd5a.jpg","text":"TemporaryFile(/tmp/multipartBody3571522296419528961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202223480,"filename":"image_03112025_10_49_07_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/3/3cbac210bdc3d95b0335f4a71df5e5ca.jpg","text":"TemporaryFile(/tmp/multipartBody3386092095561119861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202223480,"filename":"image_03112025_10_49_03_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/3/58753e7fdff1089f261c4bb3a250fefb.jpg","text":"TemporaryFile(/tmp/multipartBody6065558573180238647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202223480,"filename":"image_03112025_10_49_01_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a6223aeaac20eb4ecfdd7865b19f05f.jpg","text":"TemporaryFile(/tmp/multipartBody2153516832757591983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202223480,"filename":"image_03112025_10_49_10_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392154841","file1":"1392154802","file0":"1392154762","file4":"1392154939","file5":"1392154979","file3":"1392154889"},"map_files_photo_id_array":[{"photo_id":"1392154979","filename":"file5"},{"photo_id":"1392154841","filename":"file2"},{"photo_id":"1392154939","filename":"file4"},{"photo_id":"1392154802","filename":"file1"},{"photo_id":"1392154762","filename":"file0"},{"photo_id":"1392154889","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392154762":["hashtag1","hashtag2"]},{"1392154979":["hashtag1","hashtag2"]},{"1392154889":["hashtag1","hashtag2"]},{"1392154841":["hashtag1","hashtag2"]},{"1392154802":["hashtag1","hashtag2"]},{"1392154939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392154762, 1392154979, 1392154889, 1392154841, 1392154802, 1392154939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81634736061096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:36:42.172175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_15_2673.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_19_3663.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_22_2793.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_24_2644.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_28_3700.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_31_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_15_2673.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_19_3663.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_22_2793.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_24_2644.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_28_3700.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_31_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392155226","1392155127","1392155214","1392155237","1392155194","1392155170"],"photo_ids_order":["1392155127","1392155170","1392155194","1392155214","1392155226","1392155237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/005857b91e59a4ebc24056efc5dd4397.jpg","text":"TemporaryFile(/tmp/multipartBody7756448698719570082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202263088,"filename":"image_03112025_10_49_28_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/3/8345180756bb6f39886819759662d5f4.jpg","text":"TemporaryFile(/tmp/multipartBody3953460252012398843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202263088,"filename":"image_03112025_10_49_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/3/b7a041b7a3844d9647fadb575dbdb23c.jpg","text":"TemporaryFile(/tmp/multipartBody2830908671299719890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202263088,"filename":"image_03112025_10_49_24_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/3/ff33bd9ce214f18ae0b8f653988ddb34.jpg","text":"TemporaryFile(/tmp/multipartBody1804433506924165086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202263088,"filename":"image_03112025_10_49_31_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/3/af7ff5d9f6eb689b4c55e0046917d04e.jpg","text":"TemporaryFile(/tmp/multipartBody6676312443177551817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202263088,"filename":"image_03112025_10_49_22_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/3/4ea4dfe2c21c513faa77251fe516150a.jpg","text":"TemporaryFile(/tmp/multipartBody7315152145503818778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202263088,"filename":"image_03112025_10_49_19_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392155194","file1":"1392155170","file0":"1392155127","file4":"1392155226","file5":"1392155237","file3":"1392155214"},"map_files_photo_id_array":[{"photo_id":"1392155237","filename":"file5"},{"photo_id":"1392155194","filename":"file2"},{"photo_id":"1392155226","filename":"file4"},{"photo_id":"1392155170","filename":"file1"},{"photo_id":"1392155127","filename":"file0"},{"photo_id":"1392155214","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392155226":["hashtag1","hashtag2"]},{"1392155127":["hashtag1","hashtag2"]},{"1392155214":["hashtag1","hashtag2"]},{"1392155237":["hashtag1","hashtag2"]},{"1392155194":["hashtag1","hashtag2"]},{"1392155170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392155226, 1392155127, 1392155214, 1392155237, 1392155194, 1392155170)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.28164792060852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:37:42.290079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_33_2672.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_37_3653.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_40_2835.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_42_2236.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_46_3856.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_49_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_33_2672.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_37_3653.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_40_2835.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_42_2236.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_46_3856.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_49_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392155445","1392155439","1392155448","1392155446","1392155443","1392155425"],"photo_ids_order":["1392155425","1392155439","1392155443","1392155445","1392155446","1392155448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/df5383a74119dbd8427a72b1e73f672a.jpg","text":"TemporaryFile(/tmp/multipartBody8177816329348176805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202323268,"filename":"image_03112025_10_49_42_2236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/619c2d90c1fdd92ca6c6682ed178923d.jpg","text":"TemporaryFile(/tmp/multipartBody2373931702804531230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202323268,"filename":"image_03112025_10_49_37_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/3/95d06ac3145bf548ba31b554b9c78754.jpg","text":"TemporaryFile(/tmp/multipartBody1293579976583675928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202323268,"filename":"image_03112025_10_49_49_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/3/a022aec37b3341b5110baa4b8ab5e3a7.jpg","text":"TemporaryFile(/tmp/multipartBody8725891355072302060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202323268,"filename":"image_03112025_10_49_46_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/3/4f8a60f806e7e31bf0d488c6751864d7.jpg","text":"TemporaryFile(/tmp/multipartBody8883074364471146676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202323268,"filename":"image_03112025_10_49_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/3/df02fc021ef947395dcb0b62a4593c23.jpg","text":"TemporaryFile(/tmp/multipartBody8193894477691476101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202323268,"filename":"image_03112025_10_49_33_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392155443","file1":"1392155439","file0":"1392155425","file4":"1392155446","file5":"1392155448","file3":"1392155445"},"map_files_photo_id_array":[{"photo_id":"1392155448","filename":"file5"},{"photo_id":"1392155443","filename":"file2"},{"photo_id":"1392155446","filename":"file4"},{"photo_id":"1392155439","filename":"file1"},{"photo_id":"1392155425","filename":"file0"},{"photo_id":"1392155445","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392155445":["hashtag1","hashtag2"]},{"1392155439":["hashtag1","hashtag2"]},{"1392155448":["hashtag1","hashtag2"]},{"1392155446":["hashtag1","hashtag2"]},{"1392155443":["hashtag1","hashtag2"]},{"1392155425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392155445, 1392155439, 1392155448, 1392155446, 1392155443, 1392155425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.678109884262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:38:22.522622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_51_2765.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_55_3624.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_58_2782.jpg', '/home/pi/Desktop/images/03112025/10/49/image_03112025_10_50_00_2657.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_08_3018.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_11_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_51_2765.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_55_3624.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_49_58_2782.jpg
/home/pi/Desktop/images/03112025/10/49/image_03112025_10_50_00_2657.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_08_3018.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_11_3751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392155605","1392155597","1392155603","1392155609","1392155600","1392155592"],"photo_ids_order":["1392155592","1392155597","1392155600","1392155603","1392155605","1392155609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/aaa5ea2ed7794174df5e72edec1de31d.jpg","text":"TemporaryFile(/tmp/multipartBody3048827864895513773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202363383,"filename":"image_03112025_10_50_08_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8d03cf627a77adc7b7b5647453c867f2.jpg","text":"TemporaryFile(/tmp/multipartBody7101635021330010770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202363383,"filename":"image_03112025_10_49_55_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/3/1cec28a1c2ea84fe1053738807483aff.jpg","text":"TemporaryFile(/tmp/multipartBody6382116804122515537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202363383,"filename":"image_03112025_10_50_00_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/3/29ab43d3eb4e91cae26f9a2573ce6870.jpg","text":"TemporaryFile(/tmp/multipartBody8998370503892890340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202363383,"filename":"image_03112025_10_50_11_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/3/bf1a550a6b76f38114e9b04e63b38b11.jpg","text":"TemporaryFile(/tmp/multipartBody7788865202550652493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202363383,"filename":"image_03112025_10_49_58_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/3/9c07d48ac794d3867dd2401a80fdbfdf.jpg","text":"TemporaryFile(/tmp/multipartBody8521012763038070452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202363383,"filename":"image_03112025_10_49_51_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392155600","file1":"1392155597","file0":"1392155592","file4":"1392155605","file5":"1392155609","file3":"1392155603"},"map_files_photo_id_array":[{"photo_id":"1392155609","filename":"file5"},{"photo_id":"1392155600","filename":"file2"},{"photo_id":"1392155605","filename":"file4"},{"photo_id":"1392155597","filename":"file1"},{"photo_id":"1392155592","filename":"file0"},{"photo_id":"1392155603","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392155605":["hashtag1","hashtag2"]},{"1392155597":["hashtag1","hashtag2"]},{"1392155603":["hashtag1","hashtag2"]},{"1392155609":["hashtag1","hashtag2"]},{"1392155600":["hashtag1","hashtag2"]},{"1392155592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392155605, 1392155597, 1392155603, 1392155609, 1392155600, 1392155592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38733959197998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:39:03.691063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_14_2614.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_17_3596.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_20_2555.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_23_2748.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_25_2714.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_29_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_14_2614.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_17_3596.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_20_2555.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_23_2748.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_25_2714.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_29_3561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392155772","1392155769","1392155754","1392155765","1392155776","1392155758"],"photo_ids_order":["1392155754","1392155758","1392155765","1392155769","1392155772","1392155776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d3802df58fa0ec5de8d698792316dfc.jpg","text":"TemporaryFile(/tmp/multipartBody6618297687608655885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202421254,"filename":"image_03112025_10_50_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/3/7ab913057820e94aba9b8eac2df87da8.jpg","text":"TemporaryFile(/tmp/multipartBody5225598724005545334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202421254,"filename":"image_03112025_10_50_23_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/3/bdc02c2252d27b2f011cc30789068a15.jpg","text":"TemporaryFile(/tmp/multipartBody5704870677018833367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202421254,"filename":"image_03112025_10_50_14_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c9f45677479e2d15502cc24423f77640.jpg","text":"TemporaryFile(/tmp/multipartBody5393488640354952859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202421254,"filename":"image_03112025_10_50_20_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/3/a1ea12839fb51513efb3a03a8c5563bd.jpg","text":"TemporaryFile(/tmp/multipartBody1211182482664277959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202421254,"filename":"image_03112025_10_50_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/3/174d6c94d2fe4fb8e0195537cbce5951.jpg","text":"TemporaryFile(/tmp/multipartBody6351409142298289423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202421254,"filename":"image_03112025_10_50_17_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392155765","file1":"1392155758","file0":"1392155754","file4":"1392155772","file5":"1392155776","file3":"1392155769"},"map_files_photo_id_array":[{"photo_id":"1392155776","filename":"file5"},{"photo_id":"1392155765","filename":"file2"},{"photo_id":"1392155772","filename":"file4"},{"photo_id":"1392155758","filename":"file1"},{"photo_id":"1392155754","filename":"file0"},{"photo_id":"1392155769","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392155772":["hashtag1","hashtag2"]},{"1392155769":["hashtag1","hashtag2"]},{"1392155754":["hashtag1","hashtag2"]},{"1392155765":["hashtag1","hashtag2"]},{"1392155776":["hashtag1","hashtag2"]},{"1392155758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392155772, 1392155769, 1392155754, 1392155765, 1392155776, 1392155758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74531316757202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:40:03.271250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_32_2793.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_35_2862.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_38_3559.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_41_2532.jpg', '/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_44_2782.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_03_19832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_32_2793.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_35_2862.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_38_3559.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_41_2532.jpg
/home/pi/Desktop/images/03112025/10/50/image_03112025_10_50_44_2782.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_03_19832.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":["1392155916","1392155913","1392155786","1392155797","1392155839","1392155883"],"photo_ids_order":["1392155786","1392155797","1392155839","1392155883","1392155913","1392155916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fdd1e1bc21ec1249779cddc5fd0bed96.jpg","text":"TemporaryFile(/tmp/multipartBody4587346411913521928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202464179,"filename":"image_03112025_10_51_03_19832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a3d48e7cbacca6dcde2010f5903a645b.jpg","text":"TemporaryFile(/tmp/multipartBody6770648887078373200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202464179,"filename":"image_03112025_10_50_44_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/3/d2efb4cc3f29e388db122be75e0661ea.jpg","text":"TemporaryFile(/tmp/multipartBody8160446048386123232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202464179,"filename":"image_03112025_10_50_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/3/63b314ff836a5b03318b0e071e6b2e4e.jpg","text":"TemporaryFile(/tmp/multipartBody7988259967875187206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202464179,"filename":"image_03112025_10_50_35_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/3/5814f6d83a85aabfcbdc90e873cb9430.jpg","text":"TemporaryFile(/tmp/multipartBody7898694773135337670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202464179,"filename":"image_03112025_10_50_38_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/3/2346ae5776419a1739176879d3fa4601.jpg","text":"TemporaryFile(/tmp/multipartBody3391713761892315938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202464179,"filename":"image_03112025_10_50_41_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392155839","file1":"1392155797","file0":"1392155786","file4":"1392155913","file5":"1392155916","file3":"1392155883"},"map_files_photo_id_array":[{"photo_id":"1392155916","filename":"file5"},{"photo_id":"1392155839","filename":"file2"},{"photo_id":"1392155913","filename":"file4"},{"photo_id":"1392155797","filename":"file1"},{"photo_id":"1392155786","filename":"file0"},{"photo_id":"1392155883","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392155916":["hashtag1","hashtag2"]},{"1392155913":["hashtag1","hashtag2"]},{"1392155786":["hashtag1","hashtag2"]},{"1392155797":["hashtag1","hashtag2"]},{"1392155839":["hashtag1","hashtag2"]},{"1392155883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392155916, 1392155913, 1392155786, 1392155797, 1392155839, 1392155883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.877893686294556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:41:03.360440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_05_1647.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_15_9838.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_27_11691.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_28_1879.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_30_1766.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_32_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_05_1647.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_15_9838.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_27_11691.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_28_1879.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_30_1766.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_32_1645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392156125","1392156134","1392156122","1392156094","1392156130","1392156118"],"photo_ids_order":["1392156094","1392156118","1392156122","1392156125","1392156130","1392156134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5801f157644097d10dde4037c79cad7e.jpg","text":"TemporaryFile(/tmp/multipartBody8880960208375227618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202526517,"filename":"image_03112025_10_51_28_1879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9b1c024e1d40258ad23526e99c872d49.jpg","text":"TemporaryFile(/tmp/multipartBody2198410757156930355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202526517,"filename":"image_03112025_10_51_32_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/3/208eb5712a7283b801592090ab9d8368.jpg","text":"TemporaryFile(/tmp/multipartBody6953095880138368048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202526517,"filename":"image_03112025_10_51_27_11691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cad43c3c78289cc4387e688f3f2a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody5031081094264597220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202526517,"filename":"image_03112025_10_51_05_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/3/608a0244997e77079f3f44844d7e9731.jpg","text":"TemporaryFile(/tmp/multipartBody4583426211543439216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202526517,"filename":"image_03112025_10_51_30_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/3/666e4e4bbc6b7c96c7a6a509661f5fc4.jpg","text":"TemporaryFile(/tmp/multipartBody7439053955316626494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202526517,"filename":"image_03112025_10_51_15_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392156122","file1":"1392156118","file0":"1392156094","file4":"1392156130","file5":"1392156134","file3":"1392156125"},"map_files_photo_id_array":[{"photo_id":"1392156134","filename":"file5"},{"photo_id":"1392156122","filename":"file2"},{"photo_id":"1392156130","filename":"file4"},{"photo_id":"1392156118","filename":"file1"},{"photo_id":"1392156094","filename":"file0"},{"photo_id":"1392156125","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392156125":["hashtag1","hashtag2"]},{"1392156134":["hashtag1","hashtag2"]},{"1392156122":["hashtag1","hashtag2"]},{"1392156094":["hashtag1","hashtag2"]},{"1392156130":["hashtag1","hashtag2"]},{"1392156118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392156125, 1392156134, 1392156122, 1392156094, 1392156130, 1392156118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.3134651184082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:42:02.326895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 21:42:21.939963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_34_1842.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_35_1617.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_40_4231.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_42_2798.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_44_1777.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_46_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_34_1842.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_35_1617.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_40_4231.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_42_2798.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_44_1777.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_46_1545.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: 25.186744928359985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:43:04.418487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_34_1842.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_35_1617.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_40_4231.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_42_2798.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_44_1777.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_46_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_34_1842.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_35_1617.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_40_4231.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_42_2798.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_44_1777.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_46_1545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392156252","1392156284","1392156303","1392156254","1392156316","1392156291"],"photo_ids_order":["1392156252","1392156254","1392156284","1392156291","1392156303","1392156316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b321a5e2b54ff408a427975ff12421f3.jpg","text":"TemporaryFile(/tmp/multipartBody620634806510574725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202647537,"filename":"image_03112025_10_51_34_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b67991116c61a59244188f58e173269.jpg","text":"TemporaryFile(/tmp/multipartBody7507655539703474999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202647537,"filename":"image_03112025_10_51_40_4231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/03137da04b8c6252c6a527c43d679d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5760365505560785189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202647537,"filename":"image_03112025_10_51_44_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/896d76318a8dc5ab331f37851ca04e60.jpg","text":"TemporaryFile(/tmp/multipartBody2710403727699046116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202647537,"filename":"image_03112025_10_51_35_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/3/9b012e83664c6bf3fb58b2f3c68fe6a4.jpg","text":"TemporaryFile(/tmp/multipartBody8562220886076078166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202647537,"filename":"image_03112025_10_51_46_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/3/bd950a979481e8e9916e42a46d89e8e1.jpg","text":"TemporaryFile(/tmp/multipartBody4025212709705526140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202647537,"filename":"image_03112025_10_51_42_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392156284","file1":"1392156254","file0":"1392156252","file4":"1392156303","file5":"1392156316","file3":"1392156291"},"map_files_photo_id_array":[{"photo_id":"1392156316","filename":"file5"},{"photo_id":"1392156284","filename":"file2"},{"photo_id":"1392156303","filename":"file4"},{"photo_id":"1392156254","filename":"file1"},{"photo_id":"1392156252","filename":"file0"},{"photo_id":"1392156291","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392156252":["hashtag1","hashtag2"]},{"1392156284":["hashtag1","hashtag2"]},{"1392156303":["hashtag1","hashtag2"]},{"1392156254":["hashtag1","hashtag2"]},{"1392156316":["hashtag1","hashtag2"]},{"1392156291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392156252, 1392156284, 1392156303, 1392156254, 1392156316, 1392156291)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.724217891693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:44:03.526849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_48_1866.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_49_1594.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_51_1943.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_53_1692.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_54_1669.jpg', '/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_58_1586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_48_1866.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_49_1594.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_51_1943.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_53_1692.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_54_1669.jpg
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_58_1586.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":["1392156354","1392156365","1392156377","1392156359","1392156373","1392156369"],"photo_ids_order":["1392156354","1392156359","1392156365","1392156369","1392156373","1392156377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d7c98b45f8892876bca6f65eb90eb142.jpg","text":"TemporaryFile(/tmp/multipartBody5301808260202864416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202704402,"filename":"image_03112025_10_51_48_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/3/7643ceab93bfcea62732c37fecb07f40.jpg","text":"TemporaryFile(/tmp/multipartBody4747172070527499217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202704402,"filename":"image_03112025_10_51_51_1943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/406bc1ca0700965b1177adbe2e592239.jpg","text":"TemporaryFile(/tmp/multipartBody3941969381667255581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202704402,"filename":"image_03112025_10_51_58_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/3/08fa81b73d2ca6f6a0eac74a0448deaa.jpg","text":"TemporaryFile(/tmp/multipartBody865913675858872425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202704402,"filename":"image_03112025_10_51_49_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/3/016c25ae1d1780af121dc3ca329318d1.jpg","text":"TemporaryFile(/tmp/multipartBody2567630401230384199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202704402,"filename":"image_03112025_10_51_54_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/3/134d78d50de237626a085d707a7776b2.jpg","text":"TemporaryFile(/tmp/multipartBody3732967069881820409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202704402,"filename":"image_03112025_10_51_53_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392156365","file1":"1392156359","file0":"1392156354","file4":"1392156373","file5":"1392156377","file3":"1392156369"},"map_files_photo_id_array":[{"photo_id":"1392156377","filename":"file5"},{"photo_id":"1392156365","filename":"file2"},{"photo_id":"1392156373","filename":"file4"},{"photo_id":"1392156359","filename":"file1"},{"photo_id":"1392156354","filename":"file0"},{"photo_id":"1392156369","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392156354":["hashtag1","hashtag2"]},{"1392156365":["hashtag1","hashtag2"]},{"1392156377":["hashtag1","hashtag2"]},{"1392156359":["hashtag1","hashtag2"]},{"1392156373":["hashtag1","hashtag2"]},{"1392156369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392156354, 1392156365, 1392156377, 1392156359, 1392156373, 1392156369)","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 = 1392156365 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_51_1943.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.02527976036072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:45:22.370628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_59_1537.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_01_1629.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_03_1629.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_04_1750.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_06_1692.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_08_1799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/51/image_03112025_10_51_59_1537.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_01_1629.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_03_1629.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_04_1750.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_06_1692.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_08_1799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392156416","1392156401","1392156404","1392156413","1392156409","1392156418"],"photo_ids_order":["1392156401","1392156404","1392156409","1392156413","1392156416","1392156418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b3164d56820ed720fe5b2ddfabb1788e.jpg","text":"TemporaryFile(/tmp/multipartBody7666132912694870342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202783225,"filename":"image_03112025_10_52_06_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/3/7ea24dd575eb7efd789f6b502e0df80d.jpg","text":"TemporaryFile(/tmp/multipartBody6944201638989835053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202783225,"filename":"image_03112025_10_51_59_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/3/79f26cb3a3eb1efd0a83a42d767e2676.jpg","text":"TemporaryFile(/tmp/multipartBody4756651172882999152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202783225,"filename":"image_03112025_10_52_01_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/3/a9569291600cafda832642a3fb8b28f8.jpg","text":"TemporaryFile(/tmp/multipartBody5317683560625394125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202783225,"filename":"image_03112025_10_52_04_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/3/adeeb6f12d2a20ae8bd25e90138150c0.jpg","text":"TemporaryFile(/tmp/multipartBody7717865400743271936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202783225,"filename":"image_03112025_10_52_03_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/3/7bc72e2e274dcccc2315b77989528bba.jpg","text":"TemporaryFile(/tmp/multipartBody2761640853011366410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202783225,"filename":"image_03112025_10_52_08_1799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392156409","file1":"1392156404","file0":"1392156401","file4":"1392156416","file5":"1392156418","file3":"1392156413"},"map_files_photo_id_array":[{"photo_id":"1392156418","filename":"file5"},{"photo_id":"1392156409","filename":"file2"},{"photo_id":"1392156416","filename":"file4"},{"photo_id":"1392156404","filename":"file1"},{"photo_id":"1392156401","filename":"file0"},{"photo_id":"1392156413","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392156416":["hashtag1","hashtag2"]},{"1392156401":["hashtag1","hashtag2"]},{"1392156404":["hashtag1","hashtag2"]},{"1392156413":["hashtag1","hashtag2"]},{"1392156409":["hashtag1","hashtag2"]},{"1392156418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392156416, 1392156401, 1392156404, 1392156413, 1392156409, 1392156418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39071178436279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:46:02.571069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 21:46:22.097076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_13_5473.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_22_8783.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_34_11767.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_36_1768.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_38_1940.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_39_1689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_13_5473.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_22_8783.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_34_11767.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_36_1768.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_38_1940.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_39_1689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392156683","1392156494","1392156473","1392156641","1392156602","1392156486"],"photo_ids_order":["1392156473","1392156486","1392156494","1392156602","1392156641","1392156683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2fe28859190a7e3a21ffd62ee03dd4a4.jpg","text":"TemporaryFile(/tmp/multipartBody6573262324009754213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202842874,"filename":"image_03112025_10_52_39_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/3/8e643ffe60a6e74f846f80f8c169a240.jpg","text":"TemporaryFile(/tmp/multipartBody5020057552432332817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202842874,"filename":"image_03112025_10_52_34_11767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/355593114d52a5db489cedb69b274bda.jpg","text":"TemporaryFile(/tmp/multipartBody2163933184065974643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202842874,"filename":"image_03112025_10_52_13_5473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0df4d92f10b8034148cb4342bf51e7a4.jpg","text":"TemporaryFile(/tmp/multipartBody3775935650408944201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202842874,"filename":"image_03112025_10_52_38_1940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f6416836735be64af3c90ecc70a8633.jpg","text":"TemporaryFile(/tmp/multipartBody4712564428713035817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202842874,"filename":"image_03112025_10_52_36_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/3/ec52e73097a18a27829732473ebbcbe6.jpg","text":"TemporaryFile(/tmp/multipartBody6999745768625097974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202842874,"filename":"image_03112025_10_52_22_8783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392156494","file1":"1392156486","file0":"1392156473","file4":"1392156641","file5":"1392156683","file3":"1392156602"},"map_files_photo_id_array":[{"photo_id":"1392156683","filename":"file5"},{"photo_id":"1392156494","filename":"file2"},{"photo_id":"1392156641","filename":"file4"},{"photo_id":"1392156486","filename":"file1"},{"photo_id":"1392156473","filename":"file0"},{"photo_id":"1392156602","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392156683":["hashtag1","hashtag2"]},{"1392156494":["hashtag1","hashtag2"]},{"1392156473":["hashtag1","hashtag2"]},{"1392156641":["hashtag1","hashtag2"]},{"1392156602":["hashtag1","hashtag2"]},{"1392156486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392156683, 1392156494, 1392156473, 1392156641, 1392156602, 1392156486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38516926765442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:47:02.741767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_41_1689.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_43_1817.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_44_1543.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_46_1565.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_48_1690.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_49_1856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_41_1689.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_43_1817.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_44_1543.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_46_1565.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_48_1690.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_49_1856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392157067","1392156989","1392157092","1392157024","1392156943","1392157008"],"photo_ids_order":["1392156943","1392156989","1392157008","1392157024","1392157067","1392157092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/850eadaa7b360bbeb1c1923537cfd54a.jpg","text":"TemporaryFile(/tmp/multipartBody8048646530530882907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202883718,"filename":"image_03112025_10_52_48_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/3/54e4c7da2ff640ec5bad3eed9475b39e.jpg","text":"TemporaryFile(/tmp/multipartBody4372127183146774855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202883718,"filename":"image_03112025_10_52_43_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/3/94739e28da1801c1fef6adf57c8774d3.jpg","text":"TemporaryFile(/tmp/multipartBody5891823925116791705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202883718,"filename":"image_03112025_10_52_49_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/82fa13551dba03a958e1dce7e35f3466.jpg","text":"TemporaryFile(/tmp/multipartBody5872412248522241324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202883718,"filename":"image_03112025_10_52_46_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/3/c0eefc8e5d62cd8a8bb1c14fd655e44b.jpg","text":"TemporaryFile(/tmp/multipartBody7642320594792657512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202883718,"filename":"image_03112025_10_52_41_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/3/2f8e4925e810ca10d29831ddae3f8fd7.jpg","text":"TemporaryFile(/tmp/multipartBody3532615769552685725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202883718,"filename":"image_03112025_10_52_44_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392157008","file1":"1392156989","file0":"1392156943","file4":"1392157067","file5":"1392157092","file3":"1392157024"},"map_files_photo_id_array":[{"photo_id":"1392157092","filename":"file5"},{"photo_id":"1392157008","filename":"file2"},{"photo_id":"1392157067","filename":"file4"},{"photo_id":"1392156989","filename":"file1"},{"photo_id":"1392156943","filename":"file0"},{"photo_id":"1392157024","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392157067":["hashtag1","hashtag2"]},{"1392156989":["hashtag1","hashtag2"]},{"1392157092":["hashtag1","hashtag2"]},{"1392157024":["hashtag1","hashtag2"]},{"1392156943":["hashtag1","hashtag2"]},{"1392157008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392157067, 1392156989, 1392157092, 1392157024, 1392156943, 1392157008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77654027938843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:47:42.155352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_51_1755.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_53_1510.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_54_1689.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_56_1621.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_58_1616.jpg', '/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_59_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_51_1755.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_53_1510.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_54_1689.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_56_1621.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_58_1616.jpg
/home/pi/Desktop/images/03112025/10/52/image_03112025_10_52_59_1735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392157172","1392157171","1392157168","1392157234","1392157194","1392157173"],"photo_ids_order":["1392157168","1392157171","1392157172","1392157173","1392157194","1392157234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ce030dc560117740b7f886fc97c4f732.jpg","text":"TemporaryFile(/tmp/multipartBody3750343986313687604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202924980,"filename":"image_03112025_10_52_54_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/3/f81b4225852ad1c5fe4865cd38f23f4a.jpg","text":"TemporaryFile(/tmp/multipartBody2678681357374576726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202924980,"filename":"image_03112025_10_52_53_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cd1cc53f03f2ff48ae5c9e030c7015da.jpg","text":"TemporaryFile(/tmp/multipartBody4739330414327223704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202924980,"filename":"image_03112025_10_52_51_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/56d3e43d75c0d256e51663d5d5bf6e86.jpg","text":"TemporaryFile(/tmp/multipartBody2848978174015876408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202924980,"filename":"image_03112025_10_52_59_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/3/4d9653f146c15466099308978a550978.jpg","text":"TemporaryFile(/tmp/multipartBody7766196490177958364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202924980,"filename":"image_03112025_10_52_58_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/3/f6feaf7a1080c0102ed9c880103b5fb7.jpg","text":"TemporaryFile(/tmp/multipartBody4119448799105564357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202924980,"filename":"image_03112025_10_52_56_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392157172","file1":"1392157171","file0":"1392157168","file4":"1392157194","file5":"1392157234","file3":"1392157173"},"map_files_photo_id_array":[{"photo_id":"1392157234","filename":"file5"},{"photo_id":"1392157172","filename":"file2"},{"photo_id":"1392157194","filename":"file4"},{"photo_id":"1392157171","filename":"file1"},{"photo_id":"1392157168","filename":"file0"},{"photo_id":"1392157173","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392157172":["hashtag1","hashtag2"]},{"1392157171":["hashtag1","hashtag2"]},{"1392157168":["hashtag1","hashtag2"]},{"1392157234":["hashtag1","hashtag2"]},{"1392157194":["hashtag1","hashtag2"]},{"1392157173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392157172, 1392157171, 1392157168, 1392157234, 1392157194, 1392157173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.279948472976685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:48:22.353586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_01_1678.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_03_1759.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_04_1575.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_11_2590.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_13_2700.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_17_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_01_1678.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_03_1759.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_04_1575.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_11_2590.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_13_2700.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_17_3563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392157277","1392157280","1392157288","1392157290","1392157284","1392157275"],"photo_ids_order":["1392157275","1392157277","1392157280","1392157284","1392157288","1392157290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b38bc9a7195d5742703e760a0b82f4ff.jpg","text":"TemporaryFile(/tmp/multipartBody1075794959730714789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202973643,"filename":"image_03112025_10_53_03_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/3/c0f652fbff8df52027826ebff627562b.jpg","text":"TemporaryFile(/tmp/multipartBody566392861232071838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202973643,"filename":"image_03112025_10_53_04_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/3/db75405b01b714fd14b32236bde8eb39.jpg","text":"TemporaryFile(/tmp/multipartBody7518421017198325380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202973643,"filename":"image_03112025_10_53_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/3/5f08af4ff5663773552486b9cbe72aad.jpg","text":"TemporaryFile(/tmp/multipartBody2092588746816945431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202973643,"filename":"image_03112025_10_53_17_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/3/5c77f1d616a1693187ba197ef9159c68.jpg","text":"TemporaryFile(/tmp/multipartBody3349575134188866851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202973643,"filename":"image_03112025_10_53_11_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/3/89c27cdddd34e5cbf06442df9092f91e.jpg","text":"TemporaryFile(/tmp/multipartBody7056273997868466122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762202973643,"filename":"image_03112025_10_53_01_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392157280","file1":"1392157277","file0":"1392157275","file4":"1392157288","file5":"1392157290","file3":"1392157284"},"map_files_photo_id_array":[{"photo_id":"1392157290","filename":"file5"},{"photo_id":"1392157280","filename":"file2"},{"photo_id":"1392157288","filename":"file4"},{"photo_id":"1392157277","filename":"file1"},{"photo_id":"1392157275","filename":"file0"},{"photo_id":"1392157284","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392157277":["hashtag1","hashtag2"]},{"1392157280":["hashtag1","hashtag2"]},{"1392157288":["hashtag1","hashtag2"]},{"1392157290":["hashtag1","hashtag2"]},{"1392157284":["hashtag1","hashtag2"]},{"1392157275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392157277, 1392157280, 1392157288, 1392157290, 1392157284, 1392157275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.12638878822327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:49:22.634963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_20_2755.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_22_2618.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_26_3658.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_28_2538.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_32_3718.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_35_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_20_2755.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_22_2618.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_26_3658.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_28_2538.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_32_3718.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_35_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392157373","1392157316","1392157312","1392157368","1392157359","1392157326"],"photo_ids_order":["1392157312","1392157316","1392157326","1392157359","1392157368","1392157373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f049fb71d6a1c6d3e54129ecf3924d16.jpg","text":"TemporaryFile(/tmp/multipartBody3425894031602198378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203023461,"filename":"image_03112025_10_53_35_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/3/f44a914e0f479e200c9c054dd3bf3b02.jpg","text":"TemporaryFile(/tmp/multipartBody6550380183281604059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203023461,"filename":"image_03112025_10_53_22_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/3/c78bf038d9bc199586155655e1809319.jpg","text":"TemporaryFile(/tmp/multipartBody8217799760352779366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203023461,"filename":"image_03112025_10_53_20_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/3/2f69ea8e63c94f1b70817b38497711a3.jpg","text":"TemporaryFile(/tmp/multipartBody8454099867112171189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203023461,"filename":"image_03112025_10_53_32_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/3/88ac474117e52e350454cea1dabb5812.jpg","text":"TemporaryFile(/tmp/multipartBody4269203565364933008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203023461,"filename":"image_03112025_10_53_28_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/3/177a679fee4b8689f2b3c655e20a616f.jpg","text":"TemporaryFile(/tmp/multipartBody575309281634518749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203023461,"filename":"image_03112025_10_53_26_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392157326","file1":"1392157316","file0":"1392157312","file4":"1392157368","file5":"1392157373","file3":"1392157359"},"map_files_photo_id_array":[{"photo_id":"1392157373","filename":"file5"},{"photo_id":"1392157326","filename":"file2"},{"photo_id":"1392157368","filename":"file4"},{"photo_id":"1392157316","filename":"file1"},{"photo_id":"1392157312","filename":"file0"},{"photo_id":"1392157359","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392157373":["hashtag1","hashtag2"]},{"1392157316":["hashtag1","hashtag2"]},{"1392157312":["hashtag1","hashtag2"]},{"1392157368":["hashtag1","hashtag2"]},{"1392157359":["hashtag1","hashtag2"]},{"1392157326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392157373, 1392157316, 1392157312, 1392157368, 1392157359, 1392157326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53011703491211 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-03 21:50:21.852663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_37_2605.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_40_2724.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_44_3630.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_47_2704.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_49_2640.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_53_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_37_2605.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_40_2724.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_44_3630.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_47_2704.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_49_2640.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_53_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392157413","1392157457","1392157468","1392157447","1392157420","1392157473"],"photo_ids_order":["1392157413","1392157420","1392157447","1392157457","1392157468","1392157473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eb1cfb32ef09b282c8bd199ce65042cc.jpg","text":"TemporaryFile(/tmp/multipartBody7250186547123695722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203083402,"filename":"image_03112025_10_53_37_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/3/9cfe22f1ab8499660a313974c0844146.jpg","text":"TemporaryFile(/tmp/multipartBody8569964991465415161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203083402,"filename":"image_03112025_10_53_47_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/3/74fd8b0651ddbad4b91ae05358a641fc.jpg","text":"TemporaryFile(/tmp/multipartBody4529707810662005478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203083402,"filename":"image_03112025_10_53_49_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/3/2a789ea91d9337464975b60ce67995c2.jpg","text":"TemporaryFile(/tmp/multipartBody7413275288933580696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203083402,"filename":"image_03112025_10_53_44_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/3/eebc4eb929d276fb90c67a8d9f27c3d6.jpg","text":"TemporaryFile(/tmp/multipartBody4089373951023192755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203083402,"filename":"image_03112025_10_53_40_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9f3ee46752c4ae5bc315e21a020658d0.jpg","text":"TemporaryFile(/tmp/multipartBody4016937655578866273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203083402,"filename":"image_03112025_10_53_53_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392157447","file1":"1392157420","file0":"1392157413","file4":"1392157468","file5":"1392157473","file3":"1392157457"},"map_files_photo_id_array":[{"photo_id":"1392157473","filename":"file5"},{"photo_id":"1392157447","filename":"file2"},{"photo_id":"1392157468","filename":"file4"},{"photo_id":"1392157420","filename":"file1"},{"photo_id":"1392157413","filename":"file0"},{"photo_id":"1392157457","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392157413":["hashtag1","hashtag2"]},{"1392157457":["hashtag1","hashtag2"]},{"1392157468":["hashtag1","hashtag2"]},{"1392157447":["hashtag1","hashtag2"]},{"1392157420":["hashtag1","hashtag2"]},{"1392157473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392157413, 1392157457, 1392157468, 1392157447, 1392157420, 1392157473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.823848724365234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:51:02.641551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_55_2544.jpg', '/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_59_3642.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_02_3240.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_05_2693.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_08_2625.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_10_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_55_2544.jpg
/home/pi/Desktop/images/03112025/10/53/image_03112025_10_53_59_3642.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_02_3240.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_05_2693.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_08_2625.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_10_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392157496","1392157499","1392157502","1392157507","1392157488","1392157493"],"photo_ids_order":["1392157488","1392157493","1392157496","1392157499","1392157502","1392157507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8a64a0e1ec3242a38be3bf3e4670b25c.jpg","text":"TemporaryFile(/tmp/multipartBody8519068607269350833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203124187,"filename":"image_03112025_10_54_02_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/3/575e68370c17d41df1c5b3fe465d8a78.jpg","text":"TemporaryFile(/tmp/multipartBody7803237629589669049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203124187,"filename":"image_03112025_10_54_05_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/28bf29be8c1bd3d3a0c3b82317f70614.jpg","text":"TemporaryFile(/tmp/multipartBody3214861842824009863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203124187,"filename":"image_03112025_10_54_08_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/3/3b7c9a9f3878967534bf53cd50cbfa52.jpg","text":"TemporaryFile(/tmp/multipartBody3589379614249884190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203124187,"filename":"image_03112025_10_54_10_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/3/6cf333f476bd5ab3efe2677cea72b042.jpg","text":"TemporaryFile(/tmp/multipartBody6103585703147611637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203124187,"filename":"image_03112025_10_53_55_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/3/21f0e1e42caf5ea9c3c8132a368b5616.jpg","text":"TemporaryFile(/tmp/multipartBody4423136034795965242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203124187,"filename":"image_03112025_10_53_59_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392157496","file1":"1392157493","file0":"1392157488","file4":"1392157502","file5":"1392157507","file3":"1392157499"},"map_files_photo_id_array":[{"photo_id":"1392157507","filename":"file5"},{"photo_id":"1392157496","filename":"file2"},{"photo_id":"1392157502","filename":"file4"},{"photo_id":"1392157493","filename":"file1"},{"photo_id":"1392157488","filename":"file0"},{"photo_id":"1392157499","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392157496":["hashtag1","hashtag2"]},{"1392157499":["hashtag1","hashtag2"]},{"1392157502":["hashtag1","hashtag2"]},{"1392157507":["hashtag1","hashtag2"]},{"1392157488":["hashtag1","hashtag2"]},{"1392157493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392157496, 1392157499, 1392157502, 1392157507, 1392157488, 1392157493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75252389907837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:51:42.125537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_14_3643.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_17_2672.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_19_2673.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_23_3780.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_26_2665.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_28_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_14_3643.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_17_2672.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_19_2673.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_23_3780.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_26_2665.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_28_2773.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6902484893798828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:52:02.799536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_14_3643.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_17_2672.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_19_2673.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_23_3780.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_26_2665.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_28_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_14_3643.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_17_2672.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_19_2673.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_23_3780.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_26_2665.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_28_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392157550","1392157553","1392157547","1392157549","1392157566","1392157545"],"photo_ids_order":["1392157545","1392157547","1392157549","1392157550","1392157553","1392157566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e1d8c557b6aa614773a57883de0c0a6f.jpg","text":"TemporaryFile(/tmp/multipartBody6796622077381069762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203183561,"filename":"image_03112025_10_54_23_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/3/7c6a1da5616367e93b02798e884651e6.jpg","text":"TemporaryFile(/tmp/multipartBody6398632150619212199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203183561,"filename":"image_03112025_10_54_26_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/3/f73e3e2d5cfddaf346b86e9923d986a5.jpg","text":"TemporaryFile(/tmp/multipartBody3925555224265408979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203183561,"filename":"image_03112025_10_54_17_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a94376ad9abe86513baa007351dac5ee.jpg","text":"TemporaryFile(/tmp/multipartBody1790074052568903763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203183561,"filename":"image_03112025_10_54_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/3/9dcc7a25cd8064851a4403d1243f0c2d.jpg","text":"TemporaryFile(/tmp/multipartBody6056229680014474651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203183561,"filename":"image_03112025_10_54_28_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/3/96388e0a96ceab2bc13498b61656bbd0.jpg","text":"TemporaryFile(/tmp/multipartBody7380929969091618985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203183561,"filename":"image_03112025_10_54_14_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392157549","file1":"1392157547","file0":"1392157545","file4":"1392157553","file5":"1392157566","file3":"1392157550"},"map_files_photo_id_array":[{"photo_id":"1392157566","filename":"file5"},{"photo_id":"1392157549","filename":"file2"},{"photo_id":"1392157553","filename":"file4"},{"photo_id":"1392157547","filename":"file1"},{"photo_id":"1392157545","filename":"file0"},{"photo_id":"1392157550","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392157550":["hashtag1","hashtag2"]},{"1392157553":["hashtag1","hashtag2"]},{"1392157547":["hashtag1","hashtag2"]},{"1392157549":["hashtag1","hashtag2"]},{"1392157566":["hashtag1","hashtag2"]},{"1392157545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392157550, 1392157553, 1392157547, 1392157549, 1392157566, 1392157545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.851717710494995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:52:42.177553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_31_2831.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_36_4229.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_37_1655.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_41_3804.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_44_2737.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_46_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_31_2831.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_36_4229.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_37_1655.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_41_3804.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_44_2737.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_46_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392157590","1392157665","1392157587","1392157626","1392157707","1392157592"],"photo_ids_order":["1392157587","1392157590","1392157592","1392157626","1392157665","1392157707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d7be5531a6b2a6ed186edf739d76581.jpg","text":"TemporaryFile(/tmp/multipartBody701659569931064648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203223073,"filename":"image_03112025_10_54_36_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/3/c9e850db60329d1429073ef86e5a473c.jpg","text":"TemporaryFile(/tmp/multipartBody1794378773083594402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203223073,"filename":"image_03112025_10_54_44_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/3/a4b588944a6a62b82e69fe48d305f6d7.jpg","text":"TemporaryFile(/tmp/multipartBody4013127287612733119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203223073,"filename":"image_03112025_10_54_31_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/3/3683ac245a9533ac2e980cb9dab3bd59.jpg","text":"TemporaryFile(/tmp/multipartBody4915526417883724771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203223073,"filename":"image_03112025_10_54_41_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/3/ca2f6b11af48b354c0433089ee79bba2.jpg","text":"TemporaryFile(/tmp/multipartBody7141259717751534137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203223073,"filename":"image_03112025_10_54_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/3/2c95a9bb07ab879bef14c95794cf2cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2239267043905229504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203223073,"filename":"image_03112025_10_54_37_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392157592","file1":"1392157590","file0":"1392157587","file4":"1392157665","file5":"1392157707","file3":"1392157626"},"map_files_photo_id_array":[{"photo_id":"1392157707","filename":"file5"},{"photo_id":"1392157592","filename":"file2"},{"photo_id":"1392157665","filename":"file4"},{"photo_id":"1392157590","filename":"file1"},{"photo_id":"1392157587","filename":"file0"},{"photo_id":"1392157626","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392157590":["hashtag1","hashtag2"]},{"1392157665":["hashtag1","hashtag2"]},{"1392157587":["hashtag1","hashtag2"]},{"1392157626":["hashtag1","hashtag2"]},{"1392157707":["hashtag1","hashtag2"]},{"1392157592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392157590, 1392157665, 1392157587, 1392157626, 1392157707, 1392157592)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.732745885849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:53:42.381496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_49_2760.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_53_3711.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_56_2804.jpg', '/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_59_3071.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_07_3011.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_11_3771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_49_2760.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_53_3711.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_56_2804.jpg
/home/pi/Desktop/images/03112025/10/54/image_03112025_10_54_59_3071.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_07_3011.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_11_3771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392157979","1392157964","1392157901","1392157981","1392157977","1392157938"],"photo_ids_order":["1392157901","1392157938","1392157964","1392157977","1392157979","1392157981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b864497fa416f7b13cb0ec2a1fa4e0b6.jpg","text":"TemporaryFile(/tmp/multipartBody8881904364271470008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203283208,"filename":"image_03112025_10_55_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/3/ee6ab6c0786fd6250b2428abb99a267f.jpg","text":"TemporaryFile(/tmp/multipartBody1865391706768855536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203283208,"filename":"image_03112025_10_54_56_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/3/065beba7c593f25b7021d11746ed0539.jpg","text":"TemporaryFile(/tmp/multipartBody5304611840489649360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203283208,"filename":"image_03112025_10_54_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/3/e5d211711022d67c7110cc612215929b.jpg","text":"TemporaryFile(/tmp/multipartBody3231962494754663588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203283208,"filename":"image_03112025_10_55_11_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b912b805c1d93d16ff55ad864ca31416.jpg","text":"TemporaryFile(/tmp/multipartBody8816913439417345871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203283208,"filename":"image_03112025_10_54_59_3071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/586e7297011f3daf293488eb35153cb7.jpg","text":"TemporaryFile(/tmp/multipartBody7189335579011333128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203283208,"filename":"image_03112025_10_54_53_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392157964","file1":"1392157938","file0":"1392157901","file4":"1392157979","file5":"1392157981","file3":"1392157977"},"map_files_photo_id_array":[{"photo_id":"1392157981","filename":"file5"},{"photo_id":"1392157964","filename":"file2"},{"photo_id":"1392157979","filename":"file4"},{"photo_id":"1392157938","filename":"file1"},{"photo_id":"1392157901","filename":"file0"},{"photo_id":"1392157977","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392157979":["hashtag1","hashtag2"]},{"1392157964":["hashtag1","hashtag2"]},{"1392157901":["hashtag1","hashtag2"]},{"1392157981":["hashtag1","hashtag2"]},{"1392157977":["hashtag1","hashtag2"]},{"1392157938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392157979, 1392157964, 1392157901, 1392157981, 1392157977, 1392157938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89578580856323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:54:22.562482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_14_2707.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_16_2577.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_20_3789.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_23_2585.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_25_2623.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_29_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_14_2707.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_16_2577.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_20_3789.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_23_2585.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_25_2623.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_29_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392158054","1392158057","1392158088","1392158061","1392158063","1392158051"],"photo_ids_order":["1392158051","1392158054","1392158057","1392158061","1392158063","1392158088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3d145f00eebfd66c491f79e9aedfc1aa.jpg","text":"TemporaryFile(/tmp/multipartBody3527132636485191311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203323424,"filename":"image_03112025_10_55_16_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1be46025134ff3d0fb6c4716c7bfc481.jpg","text":"TemporaryFile(/tmp/multipartBody7298806579735727560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203323424,"filename":"image_03112025_10_55_20_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/3/03f76a277594a7cde1c45b74352b30b4.jpg","text":"TemporaryFile(/tmp/multipartBody9180255657862047731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203323424,"filename":"image_03112025_10_55_29_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/3/4e120d28591c020a5f954d969e67b3d5.jpg","text":"TemporaryFile(/tmp/multipartBody473910158062731027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203323424,"filename":"image_03112025_10_55_23_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/3/4a6626c9e2819ff2de979ff861548114.jpg","text":"TemporaryFile(/tmp/multipartBody5348879520129378988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203323424,"filename":"image_03112025_10_55_25_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a4cb3ed0a8e71630599b0c989ecd2f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8943433250169736074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203323424,"filename":"image_03112025_10_55_14_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392158057","file1":"1392158054","file0":"1392158051","file4":"1392158063","file5":"1392158088","file3":"1392158061"},"map_files_photo_id_array":[{"photo_id":"1392158088","filename":"file5"},{"photo_id":"1392158057","filename":"file2"},{"photo_id":"1392158063","filename":"file4"},{"photo_id":"1392158054","filename":"file1"},{"photo_id":"1392158051","filename":"file0"},{"photo_id":"1392158061","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392158054":["hashtag1","hashtag2"]},{"1392158057":["hashtag1","hashtag2"]},{"1392158088":["hashtag1","hashtag2"]},{"1392158061":["hashtag1","hashtag2"]},{"1392158063":["hashtag1","hashtag2"]},{"1392158051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392158054, 1392158057, 1392158088, 1392158061, 1392158063, 1392158051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.350619316101074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:55:03.526033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_31_2565.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_34_2704.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_38_3693.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_40_2649.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_43_2671.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_47_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_31_2565.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_34_2704.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_38_3693.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_40_2649.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_43_2671.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_47_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392158228","1392158206","1392158215","1392158220","1392158217","1392158211"],"photo_ids_order":["1392158206","1392158211","1392158215","1392158217","1392158220","1392158228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/eec6a85e38794fb779c8b2cc134aa143.jpg","text":"TemporaryFile(/tmp/multipartBody5500944651736064425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203364443,"filename":"image_03112025_10_55_47_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12e39ae24c393f5183ddc20c48114364.jpg","text":"TemporaryFile(/tmp/multipartBody3035950352476332694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203364443,"filename":"image_03112025_10_55_31_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/3/8b425df1641286d8d7f9d5f4a660cdf0.jpg","text":"TemporaryFile(/tmp/multipartBody1641746729773493755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203364443,"filename":"image_03112025_10_55_38_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/3/a638d0467b862484f79dac7590a6a88a.jpg","text":"TemporaryFile(/tmp/multipartBody6443814067493190863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203364443,"filename":"image_03112025_10_55_43_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ab4be440e014cb2c34a6f133c10b66e9.jpg","text":"TemporaryFile(/tmp/multipartBody737517177932713400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203364443,"filename":"image_03112025_10_55_40_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dc54692699fe7cf13e763e04ed57ebe9.jpg","text":"TemporaryFile(/tmp/multipartBody884734312323580595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203364443,"filename":"image_03112025_10_55_34_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392158215","file1":"1392158211","file0":"1392158206","file4":"1392158220","file5":"1392158228","file3":"1392158217"},"map_files_photo_id_array":[{"photo_id":"1392158228","filename":"file5"},{"photo_id":"1392158215","filename":"file2"},{"photo_id":"1392158220","filename":"file4"},{"photo_id":"1392158211","filename":"file1"},{"photo_id":"1392158206","filename":"file0"},{"photo_id":"1392158217","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392158228":["hashtag1","hashtag2"]},{"1392158206":["hashtag1","hashtag2"]},{"1392158215":["hashtag1","hashtag2"]},{"1392158220":["hashtag1","hashtag2"]},{"1392158217":["hashtag1","hashtag2"]},{"1392158211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392158228, 1392158206, 1392158215, 1392158220, 1392158217, 1392158211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.029128074645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:55:42.820767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_50_2705.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_52_2572.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_56_3796.jpg', '/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_58_2606.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_01_2685.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_05_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_50_2705.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_52_2572.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_56_3796.jpg
/home/pi/Desktop/images/03112025/10/55/image_03112025_10_55_58_2606.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_01_2685.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_05_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392158397","1392158352","1392158399","1392158387","1392158396","1392158381"],"photo_ids_order":["1392158352","1392158381","1392158387","1392158396","1392158397","1392158399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d704c0a62c1efe29ecb2d9057521df37.jpg","text":"TemporaryFile(/tmp/multipartBody8684814385093974143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203403683,"filename":"image_03112025_10_56_01_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3586ca2db3f803afae351649d3eb433a.jpg","text":"TemporaryFile(/tmp/multipartBody5302107790613529731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203403683,"filename":"image_03112025_10_55_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/3/5392eb9c4e74f851e90f811fe8a9e83d.jpg","text":"TemporaryFile(/tmp/multipartBody1466490488365417522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203403683,"filename":"image_03112025_10_56_05_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/3/fb356777cd88dae71d3dc2d8308ef919.jpg","text":"TemporaryFile(/tmp/multipartBody284463267021111877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203403683,"filename":"image_03112025_10_55_56_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/3/53f1e5657b685f9dc78dd5b0dd5601db.jpg","text":"TemporaryFile(/tmp/multipartBody181440531314058933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203403683,"filename":"image_03112025_10_55_58_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/3/d1ea096e7901b9a2de7795683beabb1e.jpg","text":"TemporaryFile(/tmp/multipartBody3067865269436216605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203403683,"filename":"image_03112025_10_55_52_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392158387","file1":"1392158381","file0":"1392158352","file4":"1392158397","file5":"1392158399","file3":"1392158396"},"map_files_photo_id_array":[{"photo_id":"1392158399","filename":"file5"},{"photo_id":"1392158387","filename":"file2"},{"photo_id":"1392158397","filename":"file4"},{"photo_id":"1392158381","filename":"file1"},{"photo_id":"1392158352","filename":"file0"},{"photo_id":"1392158396","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392158397":["hashtag1","hashtag2"]},{"1392158352":["hashtag1","hashtag2"]},{"1392158399":["hashtag1","hashtag2"]},{"1392158387":["hashtag1","hashtag2"]},{"1392158396":["hashtag1","hashtag2"]},{"1392158381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392158397, 1392158352, 1392158399, 1392158387, 1392158396, 1392158381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38401126861572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 21:56:22.042363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_07_2555.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_10_2787.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_14_3634.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_16_2641.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_19_2656.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_22_2879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_07_2555.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_10_2787.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_14_3634.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_16_2641.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_19_2656.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_22_2879.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392158447","1392158422","1392158407","1392158412","1392158415","1392158418"],"photo_ids_order":["1392158407","1392158412","1392158415","1392158418","1392158422","1392158447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ca28a027533aa9849faf391e337d2979.jpg","text":"TemporaryFile(/tmp/multipartBody4862320717262410188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203442900,"filename":"image_03112025_10_56_22_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/3/0f3ce163e4028a7d2675718d3434c8d4.jpg","text":"TemporaryFile(/tmp/multipartBody2263292747998319643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203442900,"filename":"image_03112025_10_56_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/3/dd61c563a0fb202db55984f55d970479.jpg","text":"TemporaryFile(/tmp/multipartBody7551423487999079183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203442900,"filename":"image_03112025_10_56_07_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/3/2e3c05c396402936b7e034d78e9e47bc.jpg","text":"TemporaryFile(/tmp/multipartBody5084975103151554559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203442900,"filename":"image_03112025_10_56_10_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cb56797d2ddd8807a31b733f966653a.jpg","text":"TemporaryFile(/tmp/multipartBody4959440327511602395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203442900,"filename":"image_03112025_10_56_14_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/3/28871f32ff141004dee43526bf57608d.jpg","text":"TemporaryFile(/tmp/multipartBody2838847502441348463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203442900,"filename":"image_03112025_10_56_16_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392158415","file1":"1392158412","file0":"1392158407","file4":"1392158422","file5":"1392158447","file3":"1392158418"},"map_files_photo_id_array":[{"photo_id":"1392158447","filename":"file5"},{"photo_id":"1392158415","filename":"file2"},{"photo_id":"1392158422","filename":"file4"},{"photo_id":"1392158412","filename":"file1"},{"photo_id":"1392158407","filename":"file0"},{"photo_id":"1392158418","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392158447":["hashtag1","hashtag2"]},{"1392158422":["hashtag1","hashtag2"]},{"1392158407":["hashtag1","hashtag2"]},{"1392158412":["hashtag1","hashtag2"]},{"1392158415":["hashtag1","hashtag2"]},{"1392158418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392158447, 1392158422, 1392158407, 1392158412, 1392158415, 1392158418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.489572048187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:57:02.959039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_26_3526.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_28_2790.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_31_2705.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_35_3546.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_38_3199.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_40_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_26_3526.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_28_2790.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_31_2705.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_35_3546.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_38_3199.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_40_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392158592","1392158496","1392158538","1392158631","1392158511","1392158508"],"photo_ids_order":["1392158496","1392158508","1392158511","1392158538","1392158592","1392158631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3e0d7850a5cea9a7846e3449172703b.jpg","text":"TemporaryFile(/tmp/multipartBody1915917790795990020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203483935,"filename":"image_03112025_10_56_38_3199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bde7b71bbfd54fd68de5d7d06f8f22c9.jpg","text":"TemporaryFile(/tmp/multipartBody4373941900585535589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203483935,"filename":"image_03112025_10_56_26_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/3/8ea4eea64d9a84438c45067f881de562.jpg","text":"TemporaryFile(/tmp/multipartBody2660084535437327559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203483935,"filename":"image_03112025_10_56_35_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/3/a188826b05f7f168f6f2abee221cc053.jpg","text":"TemporaryFile(/tmp/multipartBody1455004109621128453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203483935,"filename":"image_03112025_10_56_40_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/32d5e0b4c316be992bec58cf1d24c56f.jpg","text":"TemporaryFile(/tmp/multipartBody8646458440860900123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203483935,"filename":"image_03112025_10_56_31_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/3/a1a774eb7014fa04367906f05f2aaf7e.jpg","text":"TemporaryFile(/tmp/multipartBody4983992179391018023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203483935,"filename":"image_03112025_10_56_28_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392158511","file1":"1392158508","file0":"1392158496","file4":"1392158592","file5":"1392158631","file3":"1392158538"},"map_files_photo_id_array":[{"photo_id":"1392158631","filename":"file5"},{"photo_id":"1392158511","filename":"file2"},{"photo_id":"1392158592","filename":"file4"},{"photo_id":"1392158508","filename":"file1"},{"photo_id":"1392158496","filename":"file0"},{"photo_id":"1392158538","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392158592":["hashtag1","hashtag2"]},{"1392158496":["hashtag1","hashtag2"]},{"1392158538":["hashtag1","hashtag2"]},{"1392158631":["hashtag1","hashtag2"]},{"1392158511":["hashtag1","hashtag2"]},{"1392158508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392158592, 1392158496, 1392158538, 1392158631, 1392158511, 1392158508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.934449672698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 21:57:42.141026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_49_8255.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_50_1725.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_52_1646.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_54_1599.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_56_1985.jpg', '/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_58_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_49_8255.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_50_1725.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_52_1646.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_54_1599.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_56_1985.jpg
/home/pi/Desktop/images/03112025/10/56/image_03112025_10_56_58_2807.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392158840","1392158875","1392158764","1392158914","1392158952","1392158802"],"photo_ids_order":["1392158764","1392158802","1392158840","1392158875","1392158914","1392158952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ae8846a32058af75becaa1ddd4f4e3e0.jpg","text":"TemporaryFile(/tmp/multipartBody4501111487367036347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203522982,"filename":"image_03112025_10_56_52_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/3/3f691991ced90296745617472260f210.jpg","text":"TemporaryFile(/tmp/multipartBody5586831177296107545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203522982,"filename":"image_03112025_10_56_54_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/3/62e7b4545d995d05d698c65302ab0898.jpg","text":"TemporaryFile(/tmp/multipartBody1392750249011752968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203522982,"filename":"image_03112025_10_56_49_8255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/11bde5ca297679c2a4f82065b4b26f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4010510783183197572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203522982,"filename":"image_03112025_10_56_56_1985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6cd7b622d0dc6980904f7322f8e1e96d.jpg","text":"TemporaryFile(/tmp/multipartBody3896178799475510687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203522982,"filename":"image_03112025_10_56_58_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/3/9539167f6d2cc82ff9727c5a1e3cad91.jpg","text":"TemporaryFile(/tmp/multipartBody4999060749922012415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203522982,"filename":"image_03112025_10_56_50_1725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392158840","file1":"1392158802","file0":"1392158764","file4":"1392158914","file5":"1392158952","file3":"1392158875"},"map_files_photo_id_array":[{"photo_id":"1392158952","filename":"file5"},{"photo_id":"1392158840","filename":"file2"},{"photo_id":"1392158914","filename":"file4"},{"photo_id":"1392158802","filename":"file1"},{"photo_id":"1392158764","filename":"file0"},{"photo_id":"1392158875","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392158840":["hashtag1","hashtag2"]},{"1392158875":["hashtag1","hashtag2"]},{"1392158764":["hashtag1","hashtag2"]},{"1392158914":["hashtag1","hashtag2"]},{"1392158952":["hashtag1","hashtag2"]},{"1392158802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392158840, 1392158875, 1392158764, 1392158914, 1392158952, 1392158802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28303551673889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 21:59:03.352107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_01_2626.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_05_3633.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_07_2644.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_11_3580.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_14_2814.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_16_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_01_2626.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_05_3633.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_07_2644.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_11_3580.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_14_2814.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_16_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":["1392159101","1392159255","1392159183","1392159144","1392159249","1392159227"],"photo_ids_order":["1392159101","1392159144","1392159183","1392159227","1392159249","1392159255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3f0c77bacb9d19f9e1c72348c2e98de.jpg","text":"TemporaryFile(/tmp/multipartBody132354840999877088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203604434,"filename":"image_03112025_10_57_01_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/3/3c5bf84468b3676d23f5b7aecebc4ed5.jpg","text":"TemporaryFile(/tmp/multipartBody5773974512699146981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203604434,"filename":"image_03112025_10_57_16_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5d208018f006a53c0a40c850e93a92a2.jpg","text":"TemporaryFile(/tmp/multipartBody6253264684123770597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203604434,"filename":"image_03112025_10_57_07_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/81697126cf163795f151fb410d1aa4d6.jpg","text":"TemporaryFile(/tmp/multipartBody8199639738421331297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203604434,"filename":"image_03112025_10_57_05_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c4ceef9a4faacbe0959389b0d92ba477.jpg","text":"TemporaryFile(/tmp/multipartBody83367415670595104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203604434,"filename":"image_03112025_10_57_14_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/97c711ca90b8514577b182ae91333f65.jpg","text":"TemporaryFile(/tmp/multipartBody9004571536988577296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203604434,"filename":"image_03112025_10_57_11_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392159183","file1":"1392159144","file0":"1392159101","file4":"1392159249","file5":"1392159255","file3":"1392159227"},"map_files_photo_id_array":[{"photo_id":"1392159255","filename":"file5"},{"photo_id":"1392159183","filename":"file2"},{"photo_id":"1392159249","filename":"file4"},{"photo_id":"1392159144","filename":"file1"},{"photo_id":"1392159101","filename":"file0"},{"photo_id":"1392159227","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392159101":["hashtag1","hashtag2"]},{"1392159255":["hashtag1","hashtag2"]},{"1392159183":["hashtag1","hashtag2"]},{"1392159144":["hashtag1","hashtag2"]},{"1392159249":["hashtag1","hashtag2"]},{"1392159227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392159101, 1392159255, 1392159183, 1392159144, 1392159249, 1392159227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67923402786255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:00:02.293616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_19_2799.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_22_2683.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_25_3537.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_28_2814.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_32_3576.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_34_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_19_2799.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_22_2683.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_25_3537.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_28_2814.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_32_3576.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_34_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392159375","1392159378","1392159366","1392159392","1392159371","1392159380"],"photo_ids_order":["1392159366","1392159371","1392159375","1392159378","1392159380","1392159392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4a5401c5945961cd35fb3ebdc64e12d3.jpg","text":"TemporaryFile(/tmp/multipartBody7141600136444673173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203663196,"filename":"image_03112025_10_57_25_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/3/62c4dad51944751f91f921e03ef3e02a.jpg","text":"TemporaryFile(/tmp/multipartBody8012423672665892188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203663196,"filename":"image_03112025_10_57_28_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/3/5c8256bdf96b0a4eaadcdbc7a54d22eb.jpg","text":"TemporaryFile(/tmp/multipartBody5271429703843961983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203663196,"filename":"image_03112025_10_57_19_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/395897ad689349fdd2780e696c6c00fe.jpg","text":"TemporaryFile(/tmp/multipartBody1255974583637337444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203663196,"filename":"image_03112025_10_57_34_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/3/2df8f53dea72287cc85564af9b416edf.jpg","text":"TemporaryFile(/tmp/multipartBody4484258837293404636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203663196,"filename":"image_03112025_10_57_22_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3267cb14d9e0cc041bf6b8883e051e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6765100046291012394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203663196,"filename":"image_03112025_10_57_32_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392159375","file1":"1392159371","file0":"1392159366","file4":"1392159380","file5":"1392159392","file3":"1392159378"},"map_files_photo_id_array":[{"photo_id":"1392159392","filename":"file5"},{"photo_id":"1392159375","filename":"file2"},{"photo_id":"1392159380","filename":"file4"},{"photo_id":"1392159371","filename":"file1"},{"photo_id":"1392159366","filename":"file0"},{"photo_id":"1392159378","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392159375":["hashtag1","hashtag2"]},{"1392159378":["hashtag1","hashtag2"]},{"1392159366":["hashtag1","hashtag2"]},{"1392159392":["hashtag1","hashtag2"]},{"1392159371":["hashtag1","hashtag2"]},{"1392159380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392159375, 1392159378, 1392159366, 1392159392, 1392159371, 1392159380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.278059005737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:00:41.808729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_37_2600.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_41_3776.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_43_2550.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_46_2715.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_50_3732.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_53_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_37_2600.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_41_3776.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_43_2550.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_46_2715.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_50_3732.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_53_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392159580","1392159541","1392159502","1392159582","1392159575","1392159578"],"photo_ids_order":["1392159502","1392159541","1392159575","1392159578","1392159580","1392159582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/083c5afe7a4d3a4f1ad4bab6d481c71b.jpg","text":"TemporaryFile(/tmp/multipartBody9072949171644641858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203702645,"filename":"image_03112025_10_57_50_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4c97d1c6def17e107a8ba2eae007257e.jpg","text":"TemporaryFile(/tmp/multipartBody419296523312659319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203702645,"filename":"image_03112025_10_57_41_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/3/e95d24fc850388c2c5ed7f33e5f128f8.jpg","text":"TemporaryFile(/tmp/multipartBody2915127353167465498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203702645,"filename":"image_03112025_10_57_37_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/3/a48d94b0d44aaf6fab94fdb223f156fe.jpg","text":"TemporaryFile(/tmp/multipartBody5314292748541413095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203702645,"filename":"image_03112025_10_57_53_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12a32dd35e5be49c1a41c4585111d5e7.jpg","text":"TemporaryFile(/tmp/multipartBody994517959391761802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203702645,"filename":"image_03112025_10_57_43_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/dfb1afa981f274c978d85f9c40dcf8b2.jpg","text":"TemporaryFile(/tmp/multipartBody2948944930898212955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203702645,"filename":"image_03112025_10_57_46_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392159575","file1":"1392159541","file0":"1392159502","file4":"1392159580","file5":"1392159582","file3":"1392159578"},"map_files_photo_id_array":[{"photo_id":"1392159582","filename":"file5"},{"photo_id":"1392159575","filename":"file2"},{"photo_id":"1392159580","filename":"file4"},{"photo_id":"1392159541","filename":"file1"},{"photo_id":"1392159502","filename":"file0"},{"photo_id":"1392159578","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392159580":["hashtag1","hashtag2"]},{"1392159541":["hashtag1","hashtag2"]},{"1392159502":["hashtag1","hashtag2"]},{"1392159582":["hashtag1","hashtag2"]},{"1392159575":["hashtag1","hashtag2"]},{"1392159578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392159580, 1392159541, 1392159502, 1392159582, 1392159575, 1392159578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22177767753601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:01:22.094600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_55_2558.jpg', '/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_59_3629.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_01_2695.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_04_2832.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_07_2802.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_11_3503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_55_2558.jpg
/home/pi/Desktop/images/03112025/10/57/image_03112025_10_57_59_3629.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_01_2695.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_04_2832.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_07_2802.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_11_3503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392159634","1392159601","1392159596","1392159653","1392159647","1392159620"],"photo_ids_order":["1392159596","1392159601","1392159620","1392159634","1392159647","1392159653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/21a009468a7094b3ffdde45c89cb16b0.jpg","text":"TemporaryFile(/tmp/multipartBody7238266803835513475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203743008,"filename":"image_03112025_10_58_04_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/3/8fabbd19cec8672853f13d67aed37997.jpg","text":"TemporaryFile(/tmp/multipartBody8657936971901321046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203743008,"filename":"image_03112025_10_57_59_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/3/2d694c72808192a2ce05b95216ca7560.jpg","text":"TemporaryFile(/tmp/multipartBody8561098682657225847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203743008,"filename":"image_03112025_10_57_55_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/3/df360b65933ba1cec6fde8bc90ab7c7e.jpg","text":"TemporaryFile(/tmp/multipartBody2060768710400251174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203743008,"filename":"image_03112025_10_58_11_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/19793fa431c7f9af18d9c42f21744aa2.jpg","text":"TemporaryFile(/tmp/multipartBody7490555013558632709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203743008,"filename":"image_03112025_10_58_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/3/c98babbdf480ca2ae2e51f4f47ab59e6.jpg","text":"TemporaryFile(/tmp/multipartBody325913250169208335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203743008,"filename":"image_03112025_10_58_01_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392159620","file1":"1392159601","file0":"1392159596","file4":"1392159647","file5":"1392159653","file3":"1392159634"},"map_files_photo_id_array":[{"photo_id":"1392159653","filename":"file5"},{"photo_id":"1392159620","filename":"file2"},{"photo_id":"1392159647","filename":"file4"},{"photo_id":"1392159601","filename":"file1"},{"photo_id":"1392159596","filename":"file0"},{"photo_id":"1392159634","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392159634":["hashtag1","hashtag2"]},{"1392159601":["hashtag1","hashtag2"]},{"1392159596":["hashtag1","hashtag2"]},{"1392159653":["hashtag1","hashtag2"]},{"1392159647":["hashtag1","hashtag2"]},{"1392159620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392159634, 1392159601, 1392159596, 1392159653, 1392159647, 1392159620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45567011833191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:02:02.672081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_13_2380.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_17_3755.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_19_2610.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_22_2806.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_25_2789.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_29_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_13_2380.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_17_3755.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_19_2610.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_22_2806.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_25_2789.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_29_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392159658","1392159712","1392159706","1392159696","1392159678","1392159672"],"photo_ids_order":["1392159658","1392159672","1392159678","1392159696","1392159706","1392159712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/06a00e563350d1a86b2830ea74aa9bad.jpg","text":"TemporaryFile(/tmp/multipartBody9188644558106167691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203783565,"filename":"image_03112025_10_58_13_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/3/17bca912ee07a2d05bde518be3651983.jpg","text":"TemporaryFile(/tmp/multipartBody648234785379145343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203783565,"filename":"image_03112025_10_58_29_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/3/deaf3181dd5ccbad88f6f650f49a7b21.jpg","text":"TemporaryFile(/tmp/multipartBody2138404819549634262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203783565,"filename":"image_03112025_10_58_25_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/3/558678078ac227e97052eda10ad87ad2.jpg","text":"TemporaryFile(/tmp/multipartBody6554897321611687422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203783565,"filename":"image_03112025_10_58_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/3/8692ba02465fc4607c422c20983e178b.jpg","text":"TemporaryFile(/tmp/multipartBody5197782345988231866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203783565,"filename":"image_03112025_10_58_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/3/f4293b903fadfd4e8e0bf5aaa0b21101.jpg","text":"TemporaryFile(/tmp/multipartBody2573053027251608380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203783565,"filename":"image_03112025_10_58_17_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392159678","file1":"1392159672","file0":"1392159658","file4":"1392159706","file5":"1392159712","file3":"1392159696"},"map_files_photo_id_array":[{"photo_id":"1392159712","filename":"file5"},{"photo_id":"1392159678","filename":"file2"},{"photo_id":"1392159706","filename":"file4"},{"photo_id":"1392159672","filename":"file1"},{"photo_id":"1392159658","filename":"file0"},{"photo_id":"1392159696","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392159658":["hashtag1","hashtag2"]},{"1392159712":["hashtag1","hashtag2"]},{"1392159706":["hashtag1","hashtag2"]},{"1392159696":["hashtag1","hashtag2"]},{"1392159678":["hashtag1","hashtag2"]},{"1392159672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392159658, 1392159712, 1392159706, 1392159696, 1392159678, 1392159672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74595022201538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:02:42.219368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_31_2798.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_34_2715.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_38_3647.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_40_2668.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_43_2657.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_47_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_31_2798.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_34_2715.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_38_3647.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_40_2668.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_43_2657.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_47_3546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392159847","1392159751","1392159720","1392159837","1392159794","1392159722"],"photo_ids_order":["1392159720","1392159722","1392159751","1392159794","1392159837","1392159847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/298d904fdb7b7c4ab687c841fbd8d8d3.jpg","text":"TemporaryFile(/tmp/multipartBody35317232182460906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203824830,"filename":"image_03112025_10_58_47_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/3/d31af66a9074904008f920f687759d43.jpg","text":"TemporaryFile(/tmp/multipartBody8041602478263573653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203824830,"filename":"image_03112025_10_58_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/3/0a0e64c7a690cebfb3cf97824674b7e7.jpg","text":"TemporaryFile(/tmp/multipartBody4813090778446340438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203824830,"filename":"image_03112025_10_58_31_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/3/7a564b019ca4eebc339896399c25205c.jpg","text":"TemporaryFile(/tmp/multipartBody9175987070748407546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203824830,"filename":"image_03112025_10_58_43_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1d664e16f06bc1fae9de72f8cb1d48c7.jpg","text":"TemporaryFile(/tmp/multipartBody4550688664898543471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203824830,"filename":"image_03112025_10_58_40_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/3/3023653648ea9527badfc5cb8d17693a.jpg","text":"TemporaryFile(/tmp/multipartBody3580107747086046956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203824830,"filename":"image_03112025_10_58_34_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392159751","file1":"1392159722","file0":"1392159720","file4":"1392159837","file5":"1392159847","file3":"1392159794"},"map_files_photo_id_array":[{"photo_id":"1392159847","filename":"file5"},{"photo_id":"1392159751","filename":"file2"},{"photo_id":"1392159837","filename":"file4"},{"photo_id":"1392159722","filename":"file1"},{"photo_id":"1392159720","filename":"file0"},{"photo_id":"1392159794","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392159847":["hashtag1","hashtag2"]},{"1392159751":["hashtag1","hashtag2"]},{"1392159720":["hashtag1","hashtag2"]},{"1392159837":["hashtag1","hashtag2"]},{"1392159794":["hashtag1","hashtag2"]},{"1392159722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392159847, 1392159751, 1392159720, 1392159837, 1392159794, 1392159722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39622759819031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:03:22.508540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_49_2826.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_52_2594.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_56_3759.jpg', '/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_59_2805.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_01_2683.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_04_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_49_2826.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_52_2594.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_56_3759.jpg
/home/pi/Desktop/images/03112025/10/58/image_03112025_10_58_59_2805.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_01_2683.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_04_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392159916","1392159919","1392159904","1392159881","1392159923","1392159914"],"photo_ids_order":["1392159881","1392159904","1392159914","1392159916","1392159919","1392159923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e69d253a5aead6e2764154731f371c48.jpg","text":"TemporaryFile(/tmp/multipartBody2214102717039514414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203863412,"filename":"image_03112025_10_58_59_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/3/6cc0f93316c72b60678fc5314454ce62.jpg","text":"TemporaryFile(/tmp/multipartBody5777634110701061272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203863412,"filename":"image_03112025_10_59_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/3/edf705cb974e3d5c1e0fa9a27d84d39b.jpg","text":"TemporaryFile(/tmp/multipartBody8396377677348302734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203863412,"filename":"image_03112025_10_58_52_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/3/da75a13a6322951cb169435fdadddc76.jpg","text":"TemporaryFile(/tmp/multipartBody3696169998509383748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203863412,"filename":"image_03112025_10_58_49_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/3/e8a435ef0665a42d52c3d03d54be2b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2354998806347143833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203863412,"filename":"image_03112025_10_59_04_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/687e21e172e2762c68f4e73eb73ef447.jpg","text":"TemporaryFile(/tmp/multipartBody6548824141546976008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203863412,"filename":"image_03112025_10_58_56_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392159914","file1":"1392159904","file0":"1392159881","file4":"1392159919","file5":"1392159923","file3":"1392159916"},"map_files_photo_id_array":[{"photo_id":"1392159923","filename":"file5"},{"photo_id":"1392159914","filename":"file2"},{"photo_id":"1392159919","filename":"file4"},{"photo_id":"1392159904","filename":"file1"},{"photo_id":"1392159881","filename":"file0"},{"photo_id":"1392159916","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392159916":["hashtag1","hashtag2"]},{"1392159919":["hashtag1","hashtag2"]},{"1392159904":["hashtag1","hashtag2"]},{"1392159881":["hashtag1","hashtag2"]},{"1392159923":["hashtag1","hashtag2"]},{"1392159914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392159916, 1392159919, 1392159904, 1392159881, 1392159923, 1392159914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.065762758255005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:04:03.134956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_10_5687.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_11_1660.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_13_1570.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_16_2933.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_20_3712.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_22_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_10_5687.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_11_1660.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_13_1570.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_16_2933.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_20_3712.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_22_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392160022","1392159988","1392160013","1392159993","1392159969","1392160006"],"photo_ids_order":["1392159969","1392159988","1392159993","1392160006","1392160013","1392160022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1316d45149c1c4816cd6fb0399a1cc12.jpg","text":"TemporaryFile(/tmp/multipartBody954806709526304379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203904027,"filename":"image_03112025_10_59_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/3/e2332c259cbff52deb1a7e2fef4f389a.jpg","text":"TemporaryFile(/tmp/multipartBody2015468079194367087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203904027,"filename":"image_03112025_10_59_11_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/3/01e8145d1e1c520bd6c2c0d379b06738.jpg","text":"TemporaryFile(/tmp/multipartBody5245427970312548440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203904027,"filename":"image_03112025_10_59_20_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/3/259e85d014fbac7b67c05a4b35bb1abe.jpg","text":"TemporaryFile(/tmp/multipartBody5051279758323533232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203904027,"filename":"image_03112025_10_59_13_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/3/e84fe6b4949dd5cd840f6352335b7155.jpg","text":"TemporaryFile(/tmp/multipartBody9078974227489640416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203904027,"filename":"image_03112025_10_59_10_5687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7f4887a788a99a6a2a3af6e9e8a5cf22.jpg","text":"TemporaryFile(/tmp/multipartBody6504067477313837666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203904027,"filename":"image_03112025_10_59_16_2933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392159993","file1":"1392159988","file0":"1392159969","file4":"1392160013","file5":"1392160022","file3":"1392160006"},"map_files_photo_id_array":[{"photo_id":"1392160022","filename":"file5"},{"photo_id":"1392159993","filename":"file2"},{"photo_id":"1392160013","filename":"file4"},{"photo_id":"1392159988","filename":"file1"},{"photo_id":"1392159969","filename":"file0"},{"photo_id":"1392160006","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392160022":["hashtag1","hashtag2"]},{"1392159988":["hashtag1","hashtag2"]},{"1392160013":["hashtag1","hashtag2"]},{"1392159993":["hashtag1","hashtag2"]},{"1392159969":["hashtag1","hashtag2"]},{"1392160006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392160022, 1392159988, 1392160013, 1392159993, 1392159969, 1392160006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10083365440369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:04:42.594599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_25_2617.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_29_3597.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_31_2540.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_34_2769.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_37_3667.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_40_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_25_2617.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_29_3597.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_31_2540.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_34_2769.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_37_3667.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_40_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392160127","1392160065","1392160218","1392160079","1392160175","1392160076"],"photo_ids_order":["1392160065","1392160076","1392160079","1392160127","1392160175","1392160218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/67ec9f7d2d70e5847509ecd26ba6e3e7.jpg","text":"TemporaryFile(/tmp/multipartBody9103299310181106106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203943453,"filename":"image_03112025_10_59_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/3/11521653f26b98653434c9b2eaacdd38.jpg","text":"TemporaryFile(/tmp/multipartBody682970290100492022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203943453,"filename":"image_03112025_10_59_25_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/3/30e8f779e93cff3326ac212fd0bf488f.jpg","text":"TemporaryFile(/tmp/multipartBody2276315911671233917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203943453,"filename":"image_03112025_10_59_40_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/3/c1574bfe7d5210f168d46a4ea223e3f4.jpg","text":"TemporaryFile(/tmp/multipartBody1442894721357218708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203943453,"filename":"image_03112025_10_59_31_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/3/005ed88053766224c5163ce2c354d939.jpg","text":"TemporaryFile(/tmp/multipartBody2735159307166197880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203943453,"filename":"image_03112025_10_59_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/3/192f8a2059b7562be21d7a37f057ab9e.jpg","text":"TemporaryFile(/tmp/multipartBody24330610795128897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203943453,"filename":"image_03112025_10_59_29_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392160079","file1":"1392160076","file0":"1392160065","file4":"1392160175","file5":"1392160218","file3":"1392160127"},"map_files_photo_id_array":[{"photo_id":"1392160218","filename":"file5"},{"photo_id":"1392160079","filename":"file2"},{"photo_id":"1392160175","filename":"file4"},{"photo_id":"1392160076","filename":"file1"},{"photo_id":"1392160065","filename":"file0"},{"photo_id":"1392160127","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392160127":["hashtag1","hashtag2"]},{"1392160065":["hashtag1","hashtag2"]},{"1392160218":["hashtag1","hashtag2"]},{"1392160079":["hashtag1","hashtag2"]},{"1392160175":["hashtag1","hashtag2"]},{"1392160076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392160127, 1392160065, 1392160218, 1392160079, 1392160175, 1392160076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08595895767212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:05:21.843101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_43_3010.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_46_2618.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_50_3792.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_52_2839.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_55_2768.jpg', '/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_58_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_43_3010.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_46_2618.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_50_3792.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_52_2839.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_55_2768.jpg
/home/pi/Desktop/images/03112025/10/59/image_03112025_10_59_58_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392160547","1392160492","1392160360","1392160450","1392160586","1392160404"],"photo_ids_order":["1392160360","1392160404","1392160450","1392160492","1392160547","1392160586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c2f2c0728e164ee5b82115067d96251d.jpg","text":"TemporaryFile(/tmp/multipartBody5372879364196729052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203982688,"filename":"image_03112025_10_59_55_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/3/ea6feb5d550a73dcc34879a7ef47175d.jpg","text":"TemporaryFile(/tmp/multipartBody1637540293844650182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203982688,"filename":"image_03112025_10_59_52_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/3/b2ee62ed1165eb63bc062dcbf2ff1fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3257034068365524005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203982688,"filename":"image_03112025_10_59_43_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/3/f31014f64004e76d3d0d403799c5ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody5068009923327487954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203982688,"filename":"image_03112025_10_59_50_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/3/ff3b2f02cd8b0b301123979d17aa6740.jpg","text":"TemporaryFile(/tmp/multipartBody4941069333161570373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203982688,"filename":"image_03112025_10_59_58_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bf3b090278633be4ad6d2633531ec236.jpg","text":"TemporaryFile(/tmp/multipartBody2241990481968185954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762203982688,"filename":"image_03112025_10_59_46_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392160450","file1":"1392160404","file0":"1392160360","file4":"1392160547","file5":"1392160586","file3":"1392160492"},"map_files_photo_id_array":[{"photo_id":"1392160586","filename":"file5"},{"photo_id":"1392160450","filename":"file2"},{"photo_id":"1392160547","filename":"file4"},{"photo_id":"1392160404","filename":"file1"},{"photo_id":"1392160360","filename":"file0"},{"photo_id":"1392160492","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392160547":["hashtag1","hashtag2"]},{"1392160492":["hashtag1","hashtag2"]},{"1392160360":["hashtag1","hashtag2"]},{"1392160450":["hashtag1","hashtag2"]},{"1392160586":["hashtag1","hashtag2"]},{"1392160404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392160547, 1392160492, 1392160360, 1392160450, 1392160586, 1392160404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.9916570186615 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-03 22:06:26.478203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_07_3011.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_11_3888.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_14_2545.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_16_2767.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_20_3559.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_23_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_07_3011.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_11_3888.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_14_2545.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_16_2767.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_20_3559.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_23_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392161188","1392160996","1392161305","1392161091","1392161268","1392161049"],"photo_ids_order":["1392160996","1392161049","1392161091","1392161188","1392161268","1392161305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/157ecb9b55248b814cbe1f2cd91fbcbe.jpg","text":"TemporaryFile(/tmp/multipartBody2747306492401292990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204047350,"filename":"image_03112025_11_00_16_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/3/779c50d357e85bcdad9b82dee75a03aa.jpg","text":"TemporaryFile(/tmp/multipartBody5626653121878216901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204047350,"filename":"image_03112025_11_00_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/3/dd98b3f27916d93f57dcca0b6efb5ca8.jpg","text":"TemporaryFile(/tmp/multipartBody8535144363079194355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204047350,"filename":"image_03112025_11_00_23_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/3/13c58453907201b92d0938c3e6c5348a.jpg","text":"TemporaryFile(/tmp/multipartBody1151532517152149110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204047350,"filename":"image_03112025_11_00_14_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/3/dd814ebd01da16539daa7fa638f661f6.jpg","text":"TemporaryFile(/tmp/multipartBody7261777836591200347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204047350,"filename":"image_03112025_11_00_20_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/3/3e73a4e0364625c809c4b0f42cfd66be.jpg","text":"TemporaryFile(/tmp/multipartBody4275063449919041739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204047350,"filename":"image_03112025_11_00_11_3888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392161091","file1":"1392161049","file0":"1392160996","file4":"1392161268","file5":"1392161305","file3":"1392161188"},"map_files_photo_id_array":[{"photo_id":"1392161305","filename":"file5"},{"photo_id":"1392161091","filename":"file2"},{"photo_id":"1392161268","filename":"file4"},{"photo_id":"1392161049","filename":"file1"},{"photo_id":"1392160996","filename":"file0"},{"photo_id":"1392161188","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392161188":["hashtag1","hashtag2"]},{"1392160996":["hashtag1","hashtag2"]},{"1392161305":["hashtag1","hashtag2"]},{"1392161091":["hashtag1","hashtag2"]},{"1392161268":["hashtag1","hashtag2"]},{"1392161049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392161188, 1392160996, 1392161305, 1392161091, 1392161268, 1392161049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00496244430542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:07:22.646578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_26_2882.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_29_3515.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_32_2855.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_35_2672.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_37_2706.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_41_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_26_2882.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_29_3515.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_32_2855.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_35_2672.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_37_2706.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_41_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392161356","1392161341","1392161344","1392161352","1392161360","1392161348"],"photo_ids_order":["1392161341","1392161344","1392161348","1392161352","1392161356","1392161360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d0e9c00a98283fd972c6a4754b06bdc5.jpg","text":"TemporaryFile(/tmp/multipartBody724792875874509560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204103868,"filename":"image_03112025_11_00_37_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/3/6678dafe9b9bb7ae5ff38fcee4f16bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5710459759607455091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204103868,"filename":"image_03112025_11_00_26_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/3/ba8526e12c0e23e79dea9f40de293c15.jpg","text":"TemporaryFile(/tmp/multipartBody4224277515297606993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204103868,"filename":"image_03112025_11_00_29_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/3/255c1e0065b8716222a19f229fdbbafd.jpg","text":"TemporaryFile(/tmp/multipartBody4111386965424425723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204103868,"filename":"image_03112025_11_00_35_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/3/ff16391640bf896766367460d5d2a698.jpg","text":"TemporaryFile(/tmp/multipartBody2065546819721363086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204103868,"filename":"image_03112025_11_00_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/3/dd807f3a3e785bdb00c2f1841faad54e.jpg","text":"TemporaryFile(/tmp/multipartBody1280603599606679627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204103868,"filename":"image_03112025_11_00_32_2855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392161348","file1":"1392161344","file0":"1392161341","file4":"1392161356","file5":"1392161360","file3":"1392161352"},"map_files_photo_id_array":[{"photo_id":"1392161360","filename":"file5"},{"photo_id":"1392161348","filename":"file2"},{"photo_id":"1392161356","filename":"file4"},{"photo_id":"1392161344","filename":"file1"},{"photo_id":"1392161341","filename":"file0"},{"photo_id":"1392161352","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392161356":["hashtag1","hashtag2"]},{"1392161341":["hashtag1","hashtag2"]},{"1392161344":["hashtag1","hashtag2"]},{"1392161352":["hashtag1","hashtag2"]},{"1392161360":["hashtag1","hashtag2"]},{"1392161348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392161356, 1392161341, 1392161344, 1392161352, 1392161360, 1392161348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84537363052368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:08:02.311301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_44_2695.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_46_2669.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_50_3606.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_53_2627.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_55_2779.jpg', '/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_58_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_44_2695.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_46_2669.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_50_3606.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_53_2627.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_55_2779.jpg
/home/pi/Desktop/images/03112025/11/00/image_03112025_11_00_58_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392161389","1392161364","1392161448","1392161684","1392161603","1392161528"],"photo_ids_order":["1392161364","1392161389","1392161448","1392161528","1392161603","1392161684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f7995402f1360041835e50980a3e6360.jpg","text":"TemporaryFile(/tmp/multipartBody7722055717917747980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204143201,"filename":"image_03112025_11_00_46_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/3/69dbcccbedead55a05224f1f5afff0bf.jpg","text":"TemporaryFile(/tmp/multipartBody5699348739071071459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204143201,"filename":"image_03112025_11_00_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/3/0eeff608bf98e914674d7b0c525b2060.jpg","text":"TemporaryFile(/tmp/multipartBody2683697760419546661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204143201,"filename":"image_03112025_11_00_50_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4014734243b88e1baadee0dee70bc2ca.jpg","text":"TemporaryFile(/tmp/multipartBody4302556482085559594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204143201,"filename":"image_03112025_11_00_58_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/3/d9139ae1c74d01c75380728cb41cc726.jpg","text":"TemporaryFile(/tmp/multipartBody8142979709460484247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204143201,"filename":"image_03112025_11_00_55_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/3/db1c02f1496617392681b6d724fafa08.jpg","text":"TemporaryFile(/tmp/multipartBody746564250479827609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204143201,"filename":"image_03112025_11_00_53_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392161448","file1":"1392161389","file0":"1392161364","file4":"1392161603","file5":"1392161684","file3":"1392161528"},"map_files_photo_id_array":[{"photo_id":"1392161684","filename":"file5"},{"photo_id":"1392161448","filename":"file2"},{"photo_id":"1392161603","filename":"file4"},{"photo_id":"1392161389","filename":"file1"},{"photo_id":"1392161364","filename":"file0"},{"photo_id":"1392161528","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392161389":["hashtag1","hashtag2"]},{"1392161364":["hashtag1","hashtag2"]},{"1392161448":["hashtag1","hashtag2"]},{"1392161684":["hashtag1","hashtag2"]},{"1392161603":["hashtag1","hashtag2"]},{"1392161528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392161389, 1392161364, 1392161448, 1392161684, 1392161603, 1392161528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88044810295105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:08:41.710563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_02_3608.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_04_2692.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_07_2683.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_11_3621.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_13_2591.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_16_2911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_02_3608.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_04_2692.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_07_2683.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_11_3621.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_13_2591.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_16_2911.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392162226","1392162375","1392162297","1392162035","1392162442","1392162148"],"photo_ids_order":["1392162035","1392162148","1392162226","1392162297","1392162375","1392162442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2e1cf8148b1fa6f4453710f64273f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody5226304117364601053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204182538,"filename":"image_03112025_11_01_07_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/3/38439e95383e6a72cc72e27ed883b8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1518962598747469753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204182538,"filename":"image_03112025_11_01_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/3/9a05f180c5bfffd7ec0e43cebbfbfcf4.jpg","text":"TemporaryFile(/tmp/multipartBody6465137264490313633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204182538,"filename":"image_03112025_11_01_11_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/3/596e46f95d1baae2ba12d9fb8befd9d3.jpg","text":"TemporaryFile(/tmp/multipartBody3103114738753009193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204182538,"filename":"image_03112025_11_01_02_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/3/9742f1c67190f06a54266e188528c132.jpg","text":"TemporaryFile(/tmp/multipartBody2190885564638983842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204182538,"filename":"image_03112025_11_01_16_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a894e6625e6fafbd2ca8c5e2cc6e002a.jpg","text":"TemporaryFile(/tmp/multipartBody969352740895089927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204182538,"filename":"image_03112025_11_01_04_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392162226","file1":"1392162148","file0":"1392162035","file4":"1392162375","file5":"1392162442","file3":"1392162297"},"map_files_photo_id_array":[{"photo_id":"1392162442","filename":"file5"},{"photo_id":"1392162226","filename":"file2"},{"photo_id":"1392162375","filename":"file4"},{"photo_id":"1392162148","filename":"file1"},{"photo_id":"1392162035","filename":"file0"},{"photo_id":"1392162297","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392162226":["hashtag1","hashtag2"]},{"1392162375":["hashtag1","hashtag2"]},{"1392162297":["hashtag1","hashtag2"]},{"1392162035":["hashtag1","hashtag2"]},{"1392162442":["hashtag1","hashtag2"]},{"1392162148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392162226, 1392162375, 1392162297, 1392162035, 1392162442, 1392162148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79663395881653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:09:21.913557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_20_3260.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_22_2589.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_26_3546.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_28_2626.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_32_3753.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_35_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_20_3260.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_22_2589.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_26_3546.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_28_2626.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_32_3753.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_35_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392163119","1392163064","1392162983","1392162878","1392163171","1392162803"],"photo_ids_order":["1392162803","1392162878","1392162983","1392163064","1392163119","1392163171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a92f6ade96e2d4ccc03f23b12d5286fe.jpg","text":"TemporaryFile(/tmp/multipartBody8640474955151393042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204222738,"filename":"image_03112025_11_01_32_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/3/150d2de09580e479d80e62859c0d62cd.jpg","text":"TemporaryFile(/tmp/multipartBody568529876396209489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204222738,"filename":"image_03112025_11_01_28_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/3/8bbae258a3226500f2edbadc5d9cc325.jpg","text":"TemporaryFile(/tmp/multipartBody6490287149402453269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204222738,"filename":"image_03112025_11_01_26_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/3/2192ce27c4f7796d8d96fdf1aa099898.jpg","text":"TemporaryFile(/tmp/multipartBody7281262000931674952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204222738,"filename":"image_03112025_11_01_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/3/431ff403f571b722e33f97c7a9f35f19.jpg","text":"TemporaryFile(/tmp/multipartBody2709946577173903665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204222738,"filename":"image_03112025_11_01_35_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/3/96d6a76996ffd619c5d61d63b830dcfd.jpg","text":"TemporaryFile(/tmp/multipartBody3763670587031561424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204222738,"filename":"image_03112025_11_01_20_3260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392162983","file1":"1392162878","file0":"1392162803","file4":"1392163119","file5":"1392163171","file3":"1392163064"},"map_files_photo_id_array":[{"photo_id":"1392163171","filename":"file5"},{"photo_id":"1392162983","filename":"file2"},{"photo_id":"1392163119","filename":"file4"},{"photo_id":"1392162878","filename":"file1"},{"photo_id":"1392162803","filename":"file0"},{"photo_id":"1392163064","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392163119":["hashtag1","hashtag2"]},{"1392163064":["hashtag1","hashtag2"]},{"1392162983":["hashtag1","hashtag2"]},{"1392162878":["hashtag1","hashtag2"]},{"1392163171":["hashtag1","hashtag2"]},{"1392162803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392163119, 1392163064, 1392162983, 1392162878, 1392163171, 1392162803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42711877822876 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-03 22:10:22.203273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_38_3103.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_41_2851.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_43_2646.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_52_9020.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_54_1666.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_56_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_38_3103.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_41_2851.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_43_2646.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_52_9020.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_54_1666.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_56_1637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392163587","1392163632","1392163548","1392163625","1392163508","1392163468"],"photo_ids_order":["1392163468","1392163508","1392163548","1392163587","1392163625","1392163632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4ac4ed629a18f6e904f698bbaccd7211.jpg","text":"TemporaryFile(/tmp/multipartBody2911018836430642202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204283933,"filename":"image_03112025_11_01_52_9020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/48c4c552b93d386a5b814e452fac2407.jpg","text":"TemporaryFile(/tmp/multipartBody4583128845882535483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204283933,"filename":"image_03112025_11_01_56_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/3/ab16dc0e60ba7d1c68b7e48829983eb3.jpg","text":"TemporaryFile(/tmp/multipartBody8982450510736622829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204283933,"filename":"image_03112025_11_01_43_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/3/4c805702a20c2f75ec756d85c8b71210.jpg","text":"TemporaryFile(/tmp/multipartBody7801231543018551754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204283933,"filename":"image_03112025_11_01_54_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4899af1f01b17adb561068445a3e8845.jpg","text":"TemporaryFile(/tmp/multipartBody8979189820947430283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204283933,"filename":"image_03112025_11_01_41_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/3/aba175bcf07b3921de6082b442592712.jpg","text":"TemporaryFile(/tmp/multipartBody6434825254896995337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204283933,"filename":"image_03112025_11_01_38_3103.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392163548","file1":"1392163508","file0":"1392163468","file4":"1392163625","file5":"1392163632","file3":"1392163587"},"map_files_photo_id_array":[{"photo_id":"1392163632","filename":"file5"},{"photo_id":"1392163548","filename":"file2"},{"photo_id":"1392163625","filename":"file4"},{"photo_id":"1392163508","filename":"file1"},{"photo_id":"1392163468","filename":"file0"},{"photo_id":"1392163587","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392163587":["hashtag1","hashtag2"]},{"1392163632":["hashtag1","hashtag2"]},{"1392163548":["hashtag1","hashtag2"]},{"1392163625":["hashtag1","hashtag2"]},{"1392163508":["hashtag1","hashtag2"]},{"1392163468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392163587, 1392163632, 1392163548, 1392163625, 1392163508, 1392163468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.853899240493774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:11:03.111535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_57_1549.jpg', '/home/pi/Desktop/images/03112025/11/01/image_03112025_11_02_00_3168.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_02_1789.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_05_2628.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_07_2615.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_10_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_01_57_1549.jpg
/home/pi/Desktop/images/03112025/11/01/image_03112025_11_02_00_3168.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_02_1789.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_05_2628.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_07_2615.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_10_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392163845","1392163911","1392163799","1392163892","1392163751","1392163714"],"photo_ids_order":["1392163714","1392163751","1392163799","1392163845","1392163892","1392163911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6d6e0bd2c5a8b2aa45e37aed555bdc4a.jpg","text":"TemporaryFile(/tmp/multipartBody6089584027494127826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204324079,"filename":"image_03112025_11_02_05_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/3/87d7e02129f247caac736b3bb649a787.jpg","text":"TemporaryFile(/tmp/multipartBody1346969985846755087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204324079,"filename":"image_03112025_11_02_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/3/f8b5f99e8814b9855486d5a7efa37377.jpg","text":"TemporaryFile(/tmp/multipartBody20163679864148767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204324079,"filename":"image_03112025_11_02_02_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/3/7f74a3c5cb69b9431c53f930c5060141.jpg","text":"TemporaryFile(/tmp/multipartBody7900630111541296169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204324079,"filename":"image_03112025_11_02_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/3/35fa3f239bbded4a9612b25619f4fa6f.jpg","text":"TemporaryFile(/tmp/multipartBody8923570398998957488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204324079,"filename":"image_03112025_11_02_00_3168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8c8a1575211f94a653a01b7b99328a1c.jpg","text":"TemporaryFile(/tmp/multipartBody6452575110882237730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204324079,"filename":"image_03112025_11_01_57_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392163799","file1":"1392163751","file0":"1392163714","file4":"1392163892","file5":"1392163911","file3":"1392163845"},"map_files_photo_id_array":[{"photo_id":"1392163911","filename":"file5"},{"photo_id":"1392163799","filename":"file2"},{"photo_id":"1392163892","filename":"file4"},{"photo_id":"1392163751","filename":"file1"},{"photo_id":"1392163714","filename":"file0"},{"photo_id":"1392163845","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392163845":["hashtag1","hashtag2"]},{"1392163911":["hashtag1","hashtag2"]},{"1392163799":["hashtag1","hashtag2"]},{"1392163892":["hashtag1","hashtag2"]},{"1392163751":["hashtag1","hashtag2"]},{"1392163714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392163845, 1392163911, 1392163799, 1392163892, 1392163751, 1392163714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76506686210632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:11:42.389375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_13_3060.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_17_3628.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_19_2544.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_22_2619.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_26_3716.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_28_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_13_3060.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_17_3628.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_19_2544.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_22_2619.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_26_3716.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_28_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392164241","1392164130","1392164205","1392164171","1392164092","1392164055"],"photo_ids_order":["1392164055","1392164092","1392164130","1392164171","1392164205","1392164241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/87a81c24e62a959d55a8580c26cc7fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2784430282259552916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204363269,"filename":"image_03112025_11_02_28_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/3/feef5d129262f84f736156c97fde5d31.jpg","text":"TemporaryFile(/tmp/multipartBody3495998633479158672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204363269,"filename":"image_03112025_11_02_19_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/3/ac72ca3f0b52f80716122dbe4fa3e2ee.jpg","text":"TemporaryFile(/tmp/multipartBody5278026463736609060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204363269,"filename":"image_03112025_11_02_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/3/74ffd4fea3892d4d09a51ce86c5c186c.jpg","text":"TemporaryFile(/tmp/multipartBody9167699226251485634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204363269,"filename":"image_03112025_11_02_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/3/c78a89270813ab34335d82351f23c41f.jpg","text":"TemporaryFile(/tmp/multipartBody423517037533718152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204363269,"filename":"image_03112025_11_02_17_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/3/f270f4def09dee54cad2bddcdb04706b.jpg","text":"TemporaryFile(/tmp/multipartBody8558614144893617469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204363269,"filename":"image_03112025_11_02_13_3060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392164130","file1":"1392164092","file0":"1392164055","file4":"1392164205","file5":"1392164241","file3":"1392164171"},"map_files_photo_id_array":[{"photo_id":"1392164241","filename":"file5"},{"photo_id":"1392164130","filename":"file2"},{"photo_id":"1392164205","filename":"file4"},{"photo_id":"1392164092","filename":"file1"},{"photo_id":"1392164055","filename":"file0"},{"photo_id":"1392164171","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392164241":["hashtag1","hashtag2"]},{"1392164130":["hashtag1","hashtag2"]},{"1392164205":["hashtag1","hashtag2"]},{"1392164171":["hashtag1","hashtag2"]},{"1392164092":["hashtag1","hashtag2"]},{"1392164055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392164241, 1392164130, 1392164205, 1392164171, 1392164092, 1392164055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86581373214722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:12:22.581278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_31_2820.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_34_2874.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_38_3732.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_41_2866.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_43_2632.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_47_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_31_2820.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_34_2874.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_38_3732.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_41_2866.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_43_2632.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_47_3568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392164409","1392164372","1392164429","1392164426","1392164431","1392164460"],"photo_ids_order":["1392164372","1392164409","1392164426","1392164429","1392164431","1392164460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b99ec0bb1cba3024cb32571955a3242.jpg","text":"TemporaryFile(/tmp/multipartBody196168213452163239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204415984,"filename":"image_03112025_11_02_34_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/3/ca3ea96185754f998bca78ef6e702a66.jpg","text":"TemporaryFile(/tmp/multipartBody5001705184588001487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204415984,"filename":"image_03112025_11_02_31_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/3/363e330b322eb3edd07d958a0bda0cc5.jpg","text":"TemporaryFile(/tmp/multipartBody7431185782019166176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204415984,"filename":"image_03112025_11_02_41_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b96683cf0e012b7a7afb31977384da60.jpg","text":"TemporaryFile(/tmp/multipartBody1140188366839766985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204415984,"filename":"image_03112025_11_02_38_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/3/bb693847f2a1c657b9c17959fdc849ca.jpg","text":"TemporaryFile(/tmp/multipartBody4764159018977492081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204415984,"filename":"image_03112025_11_02_43_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/3/265f1226e1c4d3ba24fd735d5a199911.jpg","text":"TemporaryFile(/tmp/multipartBody9211672053234791138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204415984,"filename":"image_03112025_11_02_47_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392164426","file1":"1392164409","file0":"1392164372","file4":"1392164431","file5":"1392164460","file3":"1392164429"},"map_files_photo_id_array":[{"photo_id":"1392164460","filename":"file5"},{"photo_id":"1392164426","filename":"file2"},{"photo_id":"1392164431","filename":"file4"},{"photo_id":"1392164409","filename":"file1"},{"photo_id":"1392164372","filename":"file0"},{"photo_id":"1392164429","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392164409":["hashtag1","hashtag2"]},{"1392164372":["hashtag1","hashtag2"]},{"1392164429":["hashtag1","hashtag2"]},{"1392164426":["hashtag1","hashtag2"]},{"1392164431":["hashtag1","hashtag2"]},{"1392164460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392164409, 1392164372, 1392164429, 1392164426, 1392164431, 1392164460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.5282998085022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:13:22.042375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_50_2684.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_52_2640.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_56_3669.jpg', '/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_59_2667.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_01_2579.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_05_4249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_50_2684.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_52_2640.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_56_3669.jpg
/home/pi/Desktop/images/03112025/11/02/image_03112025_11_02_59_2667.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_01_2579.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_05_4249.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392164546","1392164534","1392164528","1392164543","1392164531","1392164538"],"photo_ids_order":["1392164528","1392164531","1392164534","1392164538","1392164543","1392164546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/99e321c448b3a4701f69463dbffcc421.jpg","text":"TemporaryFile(/tmp/multipartBody5817758630210346951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204462939,"filename":"image_03112025_11_03_05_4249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/14401c99c1bba227cdf181bb1a23c20d.jpg","text":"TemporaryFile(/tmp/multipartBody3110184061326061794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204462939,"filename":"image_03112025_11_02_56_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/3/e53565e5c9cca2dc6babd5c104c32a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6073284419132483537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204462939,"filename":"image_03112025_11_02_50_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c06b6732bee35a013378632f327d596e.jpg","text":"TemporaryFile(/tmp/multipartBody428100270737811929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204462939,"filename":"image_03112025_11_03_01_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/3/686a627a5c38d0d928d3569342bb3036.jpg","text":"TemporaryFile(/tmp/multipartBody366717180420604224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204462939,"filename":"image_03112025_11_02_52_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/3/e16b76bf56d3f6b61488731429021ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6323110555084058673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204462939,"filename":"image_03112025_11_02_59_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392164534","file1":"1392164531","file0":"1392164528","file4":"1392164543","file5":"1392164546","file3":"1392164538"},"map_files_photo_id_array":[{"photo_id":"1392164546","filename":"file5"},{"photo_id":"1392164534","filename":"file2"},{"photo_id":"1392164543","filename":"file4"},{"photo_id":"1392164531","filename":"file1"},{"photo_id":"1392164528","filename":"file0"},{"photo_id":"1392164538","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392164546":["hashtag1","hashtag2"]},{"1392164534":["hashtag1","hashtag2"]},{"1392164528":["hashtag1","hashtag2"]},{"1392164543":["hashtag1","hashtag2"]},{"1392164531":["hashtag1","hashtag2"]},{"1392164538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392164546, 1392164534, 1392164528, 1392164543, 1392164531, 1392164538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09499669075012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:14:02.941139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_07_1663.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_11_3552.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_19_8340.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_21_1650.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_22_1756.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_24_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_07_1663.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_11_3552.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_19_8340.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_21_1650.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_22_1756.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_24_1752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392164582","1392164549","1392164551","1392164562","1392164556","1392164559"],"photo_ids_order":["1392164549","1392164551","1392164556","1392164559","1392164562","1392164582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5b2833923b5d3e682985101586f51d65.jpg","text":"TemporaryFile(/tmp/multipartBody6675872695480586625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204503835,"filename":"image_03112025_11_03_24_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/3/674065a1a50e55d0a15a688fda5518c2.jpg","text":"TemporaryFile(/tmp/multipartBody3560317732273440934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204503835,"filename":"image_03112025_11_03_07_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/3/7fd1a63081c4fbb94661dbd0a0d0c163.jpg","text":"TemporaryFile(/tmp/multipartBody2789101797697877788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204503835,"filename":"image_03112025_11_03_11_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/09cf5c23875bfa2cd2b8253a1c1e8aee.jpg","text":"TemporaryFile(/tmp/multipartBody9069618726789936996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204503835,"filename":"image_03112025_11_03_22_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/3/43d51ae7c2c68f585f9b01d811614af4.jpg","text":"TemporaryFile(/tmp/multipartBody6006796341790017280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204503835,"filename":"image_03112025_11_03_19_8340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a5bd206eb3ec898663688ffb387fa531.jpg","text":"TemporaryFile(/tmp/multipartBody1952570869155437776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204503835,"filename":"image_03112025_11_03_21_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392164556","file1":"1392164551","file0":"1392164549","file4":"1392164562","file5":"1392164582","file3":"1392164559"},"map_files_photo_id_array":[{"photo_id":"1392164582","filename":"file5"},{"photo_id":"1392164556","filename":"file2"},{"photo_id":"1392164562","filename":"file4"},{"photo_id":"1392164551","filename":"file1"},{"photo_id":"1392164549","filename":"file0"},{"photo_id":"1392164559","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392164582":["hashtag1","hashtag2"]},{"1392164549":["hashtag1","hashtag2"]},{"1392164551":["hashtag1","hashtag2"]},{"1392164562":["hashtag1","hashtag2"]},{"1392164556":["hashtag1","hashtag2"]},{"1392164559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392164582, 1392164549, 1392164551, 1392164562, 1392164556, 1392164559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76192808151245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:14:42.253040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_34_9494.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_35_1604.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_38_2437.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_39_1757.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_43_4020.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_45_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_34_9494.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_35_1604.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_38_2437.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_39_1757.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_43_4020.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_45_1613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392164724","1392164811","1392164890","1392164851","1392164926","1392164772"],"photo_ids_order":["1392164724","1392164772","1392164811","1392164851","1392164890","1392164926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/838dafb19ca9b3f59414d53232f79c2b.jpg","text":"TemporaryFile(/tmp/multipartBody5026216184914974541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204543188,"filename":"image_03112025_11_03_34_9494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7ed0aa27ab3272cce137f7396eb471c8.jpg","text":"TemporaryFile(/tmp/multipartBody5859102230559174656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204543188,"filename":"image_03112025_11_03_38_2437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d589caf71e9e521c7bd25da5fa114a4f.jpg","text":"TemporaryFile(/tmp/multipartBody6819006153402307896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204543188,"filename":"image_03112025_11_03_43_4020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/20461c805733253e18cca9a8c6287dd5.jpg","text":"TemporaryFile(/tmp/multipartBody4122080844798650190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204543188,"filename":"image_03112025_11_03_39_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/3/590b14057dc8cc794c50848b6e7c9cd3.jpg","text":"TemporaryFile(/tmp/multipartBody1672952392505047109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204543188,"filename":"image_03112025_11_03_45_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/3/943f81387a70279b04c5cec222b60ebb.jpg","text":"TemporaryFile(/tmp/multipartBody7695809547008101923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204543188,"filename":"image_03112025_11_03_35_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392164811","file1":"1392164772","file0":"1392164724","file4":"1392164890","file5":"1392164926","file3":"1392164851"},"map_files_photo_id_array":[{"photo_id":"1392164926","filename":"file5"},{"photo_id":"1392164811","filename":"file2"},{"photo_id":"1392164890","filename":"file4"},{"photo_id":"1392164772","filename":"file1"},{"photo_id":"1392164724","filename":"file0"},{"photo_id":"1392164851","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392164724":["hashtag1","hashtag2"]},{"1392164811":["hashtag1","hashtag2"]},{"1392164890":["hashtag1","hashtag2"]},{"1392164851":["hashtag1","hashtag2"]},{"1392164926":["hashtag1","hashtag2"]},{"1392164772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392164724, 1392164811, 1392164890, 1392164851, 1392164926, 1392164772)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.50640320777893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:15:45.311359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_47_1591.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_48_1554.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_50_1573.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_52_2619.jpg', '/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_59_6949.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_01_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_47_1591.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_48_1554.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_50_1573.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_52_2619.jpg
/home/pi/Desktop/images/03112025/11/03/image_03112025_11_03_59_6949.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_01_1745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392165257","1392165326","1392165364","1392165412","1392165502","1392165450"],"photo_ids_order":["1392165257","1392165326","1392165364","1392165412","1392165450","1392165502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f54c3b73490e1a51660845e3f253aa93.jpg","text":"TemporaryFile(/tmp/multipartBody3362081723236806925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204606139,"filename":"image_03112025_11_03_47_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/3/d9dd77a668d69e59de4d3053ed8fbe1c.jpg","text":"TemporaryFile(/tmp/multipartBody676444842400432785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204606139,"filename":"image_03112025_11_03_48_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ec6ca620743e78aafa246a1ac1600667.jpg","text":"TemporaryFile(/tmp/multipartBody2764842775471240561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204606139,"filename":"image_03112025_11_03_50_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/3/9867c755e0412796bd79afd576762da9.jpg","text":"TemporaryFile(/tmp/multipartBody4928259627030682020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204606139,"filename":"image_03112025_11_03_52_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bd43245f5027960e2ea7cb2f12119f68.jpg","text":"TemporaryFile(/tmp/multipartBody1825028736740866585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204606139,"filename":"image_03112025_11_04_01_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/3/8b78ed08a2631d86fe035c692f4183d9.jpg","text":"TemporaryFile(/tmp/multipartBody163168534763300493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204606139,"filename":"image_03112025_11_03_59_6949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392165364","file1":"1392165326","file0":"1392165257","file4":"1392165450","file5":"1392165502","file3":"1392165412"},"map_files_photo_id_array":[{"photo_id":"1392165502","filename":"file5"},{"photo_id":"1392165364","filename":"file2"},{"photo_id":"1392165450","filename":"file4"},{"photo_id":"1392165326","filename":"file1"},{"photo_id":"1392165257","filename":"file0"},{"photo_id":"1392165412","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392165257":["hashtag1","hashtag2"]},{"1392165326":["hashtag1","hashtag2"]},{"1392165364":["hashtag1","hashtag2"]},{"1392165412":["hashtag1","hashtag2"]},{"1392165502":["hashtag1","hashtag2"]},{"1392165450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392165257, 1392165326, 1392165364, 1392165412, 1392165502, 1392165450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.339895248413086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:16:42.502477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_08_6968.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_10_1594.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_11_1644.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_13_1619.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_14_1569.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_16_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_08_6968.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_10_1594.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_11_1644.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_13_1619.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_14_1569.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_16_1721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392165731","1392165710","1392165716","1392165721","1392165718","1392165714"],"photo_ids_order":["1392165710","1392165714","1392165716","1392165718","1392165721","1392165731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b3987b3ab52952e371cd7f7932fa2efa.jpg","text":"TemporaryFile(/tmp/multipartBody1671409659649808096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204663380,"filename":"image_03112025_11_04_16_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/3/fa517800c22ea0840658878a96cde5f7.jpg","text":"TemporaryFile(/tmp/multipartBody8612624071156908240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204663380,"filename":"image_03112025_11_04_08_6968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a0ec50a0034deb4feb883ea78e8551a7.jpg","text":"TemporaryFile(/tmp/multipartBody4906549901701134287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204663380,"filename":"image_03112025_11_04_11_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/3/ffb99eb774c191a3454d5b85ffbb60f7.jpg","text":"TemporaryFile(/tmp/multipartBody8654225819942251672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204663380,"filename":"image_03112025_11_04_14_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/3/5176d510c196beaed3b081ce05f747ac.jpg","text":"TemporaryFile(/tmp/multipartBody3262693867490360458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204663380,"filename":"image_03112025_11_04_13_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/3/cade63884bb1ccbbc0fc572bd2b50e99.jpg","text":"TemporaryFile(/tmp/multipartBody8371839854902638995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204663380,"filename":"image_03112025_11_04_10_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392165716","file1":"1392165714","file0":"1392165710","file4":"1392165721","file5":"1392165731","file3":"1392165718"},"map_files_photo_id_array":[{"photo_id":"1392165731","filename":"file5"},{"photo_id":"1392165716","filename":"file2"},{"photo_id":"1392165721","filename":"file4"},{"photo_id":"1392165714","filename":"file1"},{"photo_id":"1392165710","filename":"file0"},{"photo_id":"1392165718","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392165731":["hashtag1","hashtag2"]},{"1392165710":["hashtag1","hashtag2"]},{"1392165716":["hashtag1","hashtag2"]},{"1392165721":["hashtag1","hashtag2"]},{"1392165718":["hashtag1","hashtag2"]},{"1392165714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392165731, 1392165710, 1392165716, 1392165721, 1392165718, 1392165714)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.09337830543518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:17:42.772557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_19_2802.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_24_4777.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_35_11466.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_50_14580.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_51_1534.jpg', '/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_53_1761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_19_2802.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_24_4777.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_35_11466.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_50_14580.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_51_1534.jpg
/home/pi/Desktop/images/03112025/11/04/image_03112025_11_04_53_1761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392165964","1392165892","1392166042","1392165928","1392165852","1392166002"],"photo_ids_order":["1392165852","1392165892","1392165928","1392165964","1392166002","1392166042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/86628198e8651695661c0eb2cb17f37a.jpg","text":"TemporaryFile(/tmp/multipartBody9138288699864720860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204732054,"filename":"image_03112025_11_04_50_14580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e6ac0d27a6136eead9fa48c3ee9de06f.jpg","text":"TemporaryFile(/tmp/multipartBody6958050745038504598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204732054,"filename":"image_03112025_11_04_24_4777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/134d0d9d075bca79fc8530fa77eb6c07.jpg","text":"TemporaryFile(/tmp/multipartBody8016460741560387514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204732054,"filename":"image_03112025_11_04_53_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/3/44fad07fbdf2efb285d6d3bffed41239.jpg","text":"TemporaryFile(/tmp/multipartBody4998893180463902450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204732054,"filename":"image_03112025_11_04_35_11466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ffb964537c1019b3ef3a009d0c04ad05.jpg","text":"TemporaryFile(/tmp/multipartBody5410661220603393025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204732054,"filename":"image_03112025_11_04_19_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/3/fa31840e5f6792a1cec982f5a320ac0e.jpg","text":"TemporaryFile(/tmp/multipartBody1115359362499297183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204732054,"filename":"image_03112025_11_04_51_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392165928","file1":"1392165892","file0":"1392165852","file4":"1392166002","file5":"1392166042","file3":"1392165964"},"map_files_photo_id_array":[{"photo_id":"1392166042","filename":"file5"},{"photo_id":"1392165928","filename":"file2"},{"photo_id":"1392166002","filename":"file4"},{"photo_id":"1392165892","filename":"file1"},{"photo_id":"1392165852","filename":"file0"},{"photo_id":"1392165964","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392165964":["hashtag1","hashtag2"]},{"1392165892":["hashtag1","hashtag2"]},{"1392166042":["hashtag1","hashtag2"]},{"1392165928":["hashtag1","hashtag2"]},{"1392165852":["hashtag1","hashtag2"]},{"1392166002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392165964, 1392165892, 1392166042, 1392165928, 1392165852, 1392166002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.74921631813049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:18:41.967022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_07_3018.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_11_3762.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_21_10003.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_22_1553.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_24_1638.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_25_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_07_3018.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_11_3762.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_21_10003.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_22_1553.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_24_1638.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_25_1636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392166294","1392166246","1392166185","1392166254","1392166248","1392166227"],"photo_ids_order":["1392166185","1392166227","1392166246","1392166248","1392166254","1392166294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1a20ecc0cb1f50c69689d562c501c3c.jpg","text":"TemporaryFile(/tmp/multipartBody4086086850476313900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204784981,"filename":"image_03112025_11_06_25_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/3/683c19c9dcc464dce3387deef5df67cd.jpg","text":"TemporaryFile(/tmp/multipartBody1490649238718773810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204784981,"filename":"image_03112025_11_06_21_10003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6fa6766559cca555c03287ccbc8f8d1a.jpg","text":"TemporaryFile(/tmp/multipartBody1055032784721742169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204784981,"filename":"image_03112025_11_06_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ef9523d8fcd1083a6fc6b26af1dac3a0.jpg","text":"TemporaryFile(/tmp/multipartBody3974387640279585467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204784981,"filename":"image_03112025_11_06_24_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/3/b0b765eba7dbcda2247ec426e37403b0.jpg","text":"TemporaryFile(/tmp/multipartBody4884071833128120531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204784981,"filename":"image_03112025_11_06_22_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/3/122027be55e3281c20231e9cb79ea979.jpg","text":"TemporaryFile(/tmp/multipartBody3274576686997845230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204784981,"filename":"image_03112025_11_06_11_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392166246","file1":"1392166227","file0":"1392166185","file4":"1392166254","file5":"1392166294","file3":"1392166248"},"map_files_photo_id_array":[{"photo_id":"1392166294","filename":"file5"},{"photo_id":"1392166246","filename":"file2"},{"photo_id":"1392166254","filename":"file4"},{"photo_id":"1392166227","filename":"file1"},{"photo_id":"1392166185","filename":"file0"},{"photo_id":"1392166248","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392166294":["hashtag1","hashtag2"]},{"1392166246":["hashtag1","hashtag2"]},{"1392166185":["hashtag1","hashtag2"]},{"1392166254":["hashtag1","hashtag2"]},{"1392166248":["hashtag1","hashtag2"]},{"1392166227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392166294, 1392166246, 1392166185, 1392166254, 1392166248, 1392166227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.267390966415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:19:22.115865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_29_3835.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_31_1703.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_49_18438.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_51_1644.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_53_1630.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_54_1756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_29_3835.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_31_1703.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_49_18438.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_51_1644.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_53_1630.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_54_1756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392166681","1392166641","1392166728","1392166574","1392166769","1392166814"],"photo_ids_order":["1392166574","1392166641","1392166681","1392166728","1392166769","1392166814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/37fcbe84120dba67587d5973f4200fd5.jpg","text":"TemporaryFile(/tmp/multipartBody1041436787049982287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204840419,"filename":"image_03112025_11_06_49_18438.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/091ea1aac212a36d0ad4693d1d0a60bd.jpg","text":"TemporaryFile(/tmp/multipartBody7675039435586457770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204840419,"filename":"image_03112025_11_06_31_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/3/4843c464c0f3cb213eefd48cd150881e.jpg","text":"TemporaryFile(/tmp/multipartBody3288038484222871040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204840419,"filename":"image_03112025_11_06_51_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/3/7ea532b93ffec71daaa83207680d4dc8.jpg","text":"TemporaryFile(/tmp/multipartBody3976839715259438249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204840419,"filename":"image_03112025_11_06_29_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bcf22d5ec78b7e4538910769de19771f.jpg","text":"TemporaryFile(/tmp/multipartBody2480703682621772667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204840419,"filename":"image_03112025_11_06_53_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/3/4625f3d49cdceaf800ccd627a22e6981.jpg","text":"TemporaryFile(/tmp/multipartBody6587906481507916295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204840419,"filename":"image_03112025_11_06_54_1756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392166681","file1":"1392166641","file0":"1392166574","file4":"1392166769","file5":"1392166814","file3":"1392166728"},"map_files_photo_id_array":[{"photo_id":"1392166814","filename":"file5"},{"photo_id":"1392166681","filename":"file2"},{"photo_id":"1392166769","filename":"file4"},{"photo_id":"1392166641","filename":"file1"},{"photo_id":"1392166574","filename":"file0"},{"photo_id":"1392166728","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392166681":["hashtag1","hashtag2"]},{"1392166641":["hashtag1","hashtag2"]},{"1392166728":["hashtag1","hashtag2"]},{"1392166574":["hashtag1","hashtag2"]},{"1392166769":["hashtag1","hashtag2"]},{"1392166814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392166681, 1392166641, 1392166728, 1392166574, 1392166769, 1392166814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.770548820495605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:20:22.417205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_56_1557.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_58_1630.jpg', '/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_59_1742.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_01_1529.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_03_1666.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_04_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_56_1557.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_58_1630.jpg
/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_59_1742.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_01_1529.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_03_1666.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_04_1696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392167275","1392167176","1392167125","1392167076","1392167219","1392167027"],"photo_ids_order":["1392167027","1392167076","1392167125","1392167176","1392167219","1392167275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/09ce1d10ea2aea5ef8f07c2c4a1f7d3b.jpg","text":"TemporaryFile(/tmp/multipartBody8167183760881025936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204883267,"filename":"image_03112025_11_07_04_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/3/e846d524ae8345e96b28cf9cb986890a.jpg","text":"TemporaryFile(/tmp/multipartBody4171495256936106995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204883267,"filename":"image_03112025_11_07_01_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/3/59f41994a32aa86b50b855a8e64259ab.jpg","text":"TemporaryFile(/tmp/multipartBody392898857965502987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204883267,"filename":"image_03112025_11_06_59_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d59f6a8490f5fa131bf1c6d7af825226.jpg","text":"TemporaryFile(/tmp/multipartBody7000630285006820839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204883267,"filename":"image_03112025_11_06_58_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/3/f29a931f2de0572c420331f8c4ab680e.jpg","text":"TemporaryFile(/tmp/multipartBody1042168995475282301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204883267,"filename":"image_03112025_11_07_03_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/3/759d35e94f1f750864bb285b1a2afa82.jpg","text":"TemporaryFile(/tmp/multipartBody4861401289424479427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204883267,"filename":"image_03112025_11_06_56_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392167125","file1":"1392167076","file0":"1392167027","file4":"1392167219","file5":"1392167275","file3":"1392167176"},"map_files_photo_id_array":[{"photo_id":"1392167275","filename":"file5"},{"photo_id":"1392167125","filename":"file2"},{"photo_id":"1392167219","filename":"file4"},{"photo_id":"1392167076","filename":"file1"},{"photo_id":"1392167027","filename":"file0"},{"photo_id":"1392167176","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392167275":["hashtag1","hashtag2"]},{"1392167176":["hashtag1","hashtag2"]},{"1392167125":["hashtag1","hashtag2"]},{"1392167076":["hashtag1","hashtag2"]},{"1392167219":["hashtag1","hashtag2"]},{"1392167027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392167275, 1392167176, 1392167125, 1392167076, 1392167219, 1392167027)","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 = 1392167125 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/11/06/image_03112025_11_06_59_1742.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 65.05997729301453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:21:42.669320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_06_1728.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_08_1598.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_09_1651.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_11_1657.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_14_2623.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_16_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_06_1728.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_08_1598.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_09_1651.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_11_1657.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_14_2623.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_16_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392167683","1392167487","1392167419","1392167397","1392167757","1392167600"],"photo_ids_order":["1392167397","1392167419","1392167487","1392167600","1392167683","1392167757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cdd4e963e81c8214f474c8d317b68434.jpg","text":"TemporaryFile(/tmp/multipartBody7424294508036298228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204963513,"filename":"image_03112025_11_07_14_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/3/d8b8034d1889a290eb705169a5f1a6de.jpg","text":"TemporaryFile(/tmp/multipartBody1850952867976359609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204963513,"filename":"image_03112025_11_07_09_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/3/506479acf5cbcfd9487c97f5dd03d63e.jpg","text":"TemporaryFile(/tmp/multipartBody4062779574017761148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204963513,"filename":"image_03112025_11_07_08_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/3/c42a370be2fe7ef53c7ba61332f457df.jpg","text":"TemporaryFile(/tmp/multipartBody4139718091669989784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204963513,"filename":"image_03112025_11_07_06_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/3/f4389ef427bdebc3fc891598780f720f.jpg","text":"TemporaryFile(/tmp/multipartBody8711825972844613897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204963513,"filename":"image_03112025_11_07_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/3/b3d4a3a30b1f566acb75569fa867e778.jpg","text":"TemporaryFile(/tmp/multipartBody1747978973709122442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762204963513,"filename":"image_03112025_11_07_11_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392167487","file1":"1392167419","file0":"1392167397","file4":"1392167683","file5":"1392167757","file3":"1392167600"},"map_files_photo_id_array":[{"photo_id":"1392167757","filename":"file5"},{"photo_id":"1392167487","filename":"file2"},{"photo_id":"1392167683","filename":"file4"},{"photo_id":"1392167419","filename":"file1"},{"photo_id":"1392167397","filename":"file0"},{"photo_id":"1392167600","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392167683":["hashtag1","hashtag2"]},{"1392167487":["hashtag1","hashtag2"]},{"1392167419":["hashtag1","hashtag2"]},{"1392167397":["hashtag1","hashtag2"]},{"1392167757":["hashtag1","hashtag2"]},{"1392167600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392167683, 1392167487, 1392167419, 1392167397, 1392167757, 1392167600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36873936653137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:22:21.848442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_19_2685.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_23_3709.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_25_2604.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_33_8309.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_35_1588.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_37_1583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_19_2685.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_23_3709.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_25_2604.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_33_8309.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_35_1588.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_37_1583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392168281","1392168317","1392168146","1392168107","1392168211","1392168034"],"photo_ids_order":["1392168034","1392168107","1392168146","1392168211","1392168281","1392168317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3c88ae3415528d86c50eb4e5cfd7f489.jpg","text":"TemporaryFile(/tmp/multipartBody1134228617684930366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205002604,"filename":"image_03112025_11_07_35_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/3/54b99007cd77cff0edb8986b177b1c4a.jpg","text":"TemporaryFile(/tmp/multipartBody5446172595417489095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205002604,"filename":"image_03112025_11_07_37_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/3/ef98ef1c2012881d8e3d270a1849aade.jpg","text":"TemporaryFile(/tmp/multipartBody2889688287065010579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205002604,"filename":"image_03112025_11_07_25_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/3/01c365925c6d351961b6d81cacde2637.jpg","text":"TemporaryFile(/tmp/multipartBody1580936780036547208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205002604,"filename":"image_03112025_11_07_23_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/3/29b441229bf943e99df2ffbc53c3c165.jpg","text":"TemporaryFile(/tmp/multipartBody3889733994555724558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205002604,"filename":"image_03112025_11_07_33_8309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3550eea2013e766407504d145672ac7c.jpg","text":"TemporaryFile(/tmp/multipartBody2224331741564421397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205002604,"filename":"image_03112025_11_07_19_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392168146","file1":"1392168107","file0":"1392168034","file4":"1392168281","file5":"1392168317","file3":"1392168211"},"map_files_photo_id_array":[{"photo_id":"1392168317","filename":"file5"},{"photo_id":"1392168146","filename":"file2"},{"photo_id":"1392168281","filename":"file4"},{"photo_id":"1392168107","filename":"file1"},{"photo_id":"1392168034","filename":"file0"},{"photo_id":"1392168211","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392168281":["hashtag1","hashtag2"]},{"1392168317":["hashtag1","hashtag2"]},{"1392168146":["hashtag1","hashtag2"]},{"1392168107":["hashtag1","hashtag2"]},{"1392168211":["hashtag1","hashtag2"]},{"1392168034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392168281, 1392168317, 1392168146, 1392168107, 1392168211, 1392168034)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.38902497291565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:23:24.917781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_38_1612.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_40_1506.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_43_3629.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_46_2648.jpg', '/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_49_2676.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_08_19546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_38_1612.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_40_1506.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_43_3629.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_46_2648.jpg
/home/pi/Desktop/images/03112025/11/07/image_03112025_11_07_49_2676.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_08_19546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392168724","1392168703","1392168706","1392168699","1392168719","1392168721"],"photo_ids_order":["1392168699","1392168703","1392168706","1392168719","1392168721","1392168724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e9cc9fa62d04fd5f832bed84bff59448.jpg","text":"TemporaryFile(/tmp/multipartBody6599949542507765831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205076326,"filename":"image_03112025_11_08_08_19546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c406bf11b52c3266b0b34c83ea5bb204.jpg","text":"TemporaryFile(/tmp/multipartBody3605736271525455601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205076326,"filename":"image_03112025_11_07_40_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/3/73ce155d8599a27dfe3e9d1bcaa3b1cf.jpg","text":"TemporaryFile(/tmp/multipartBody7464364339711816591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205076326,"filename":"image_03112025_11_07_43_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/3/0b2877bfb1b0099c12b73690df1709d2.jpg","text":"TemporaryFile(/tmp/multipartBody1162965987393664429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205076326,"filename":"image_03112025_11_07_38_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/3/2e0530f9cef68ff93f5db5bb3233569a.jpg","text":"TemporaryFile(/tmp/multipartBody8742009833655118286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205076326,"filename":"image_03112025_11_07_46_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/3/690d6c04bf5c68abee9d166b3bc0939e.jpg","text":"TemporaryFile(/tmp/multipartBody4871295117456806408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205076326,"filename":"image_03112025_11_07_49_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392168706","file1":"1392168703","file0":"1392168699","file4":"1392168721","file5":"1392168724","file3":"1392168719"},"map_files_photo_id_array":[{"photo_id":"1392168724","filename":"file5"},{"photo_id":"1392168706","filename":"file2"},{"photo_id":"1392168721","filename":"file4"},{"photo_id":"1392168703","filename":"file1"},{"photo_id":"1392168699","filename":"file0"},{"photo_id":"1392168719","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392168724":["hashtag1","hashtag2"]},{"1392168703":["hashtag1","hashtag2"]},{"1392168706":["hashtag1","hashtag2"]},{"1392168699":["hashtag1","hashtag2"]},{"1392168719":["hashtag1","hashtag2"]},{"1392168721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392168724, 1392168703, 1392168706, 1392168699, 1392168719, 1392168721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.450843811035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:24:22.085621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_10_1560.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_26_16025.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_27_1630.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_29_1804.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_31_1765.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_33_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_10_1560.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_26_16025.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_27_1630.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_29_1804.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_31_1765.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_33_1671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392168771","1392168810","1392168927","1392168890","1392168850","1392168967"],"photo_ids_order":["1392168771","1392168810","1392168850","1392168890","1392168927","1392168967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/efcb523b48180200b4d7d418848ca60f.jpg","text":"TemporaryFile(/tmp/multipartBody1734434733716259426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205122907,"filename":"image_03112025_11_08_10_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/3/a842c1b8fa457d6abe2edc70140ac8fb.jpg","text":"TemporaryFile(/tmp/multipartBody1741421681953031231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205122907,"filename":"image_03112025_11_08_26_16025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0e4f1c2434805db706842355e95e3bae.jpg","text":"TemporaryFile(/tmp/multipartBody5426631473314672110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205122907,"filename":"image_03112025_11_08_31_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c5f561596ebe1709c1c1b5b563e6fc02.jpg","text":"TemporaryFile(/tmp/multipartBody1147088110471189544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205122907,"filename":"image_03112025_11_08_29_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fc576421a5a5ee19b5019179f498ccb7.jpg","text":"TemporaryFile(/tmp/multipartBody9078494074454134744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205122907,"filename":"image_03112025_11_08_27_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/3/4d2195336a1f35749cf99677d65bc144.jpg","text":"TemporaryFile(/tmp/multipartBody6241782861933081095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205122907,"filename":"image_03112025_11_08_33_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392168850","file1":"1392168810","file0":"1392168771","file4":"1392168927","file5":"1392168967","file3":"1392168890"},"map_files_photo_id_array":[{"photo_id":"1392168967","filename":"file5"},{"photo_id":"1392168850","filename":"file2"},{"photo_id":"1392168927","filename":"file4"},{"photo_id":"1392168810","filename":"file1"},{"photo_id":"1392168771","filename":"file0"},{"photo_id":"1392168890","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392168771":["hashtag1","hashtag2"]},{"1392168810":["hashtag1","hashtag2"]},{"1392168927":["hashtag1","hashtag2"]},{"1392168890":["hashtag1","hashtag2"]},{"1392168850":["hashtag1","hashtag2"]},{"1392168967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392168771, 1392168810, 1392168927, 1392168890, 1392168850, 1392168967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64655303955078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:25:03.073772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_34_1568.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_36_1580.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_38_1735.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_39_1619.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_41_1827.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_46_4733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_34_1568.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_36_1580.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_38_1735.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_39_1619.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_41_1827.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_46_4733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392169338","1392169119","1392169196","1392169259","1392169417","1392169300"],"photo_ids_order":["1392169119","1392169196","1392169259","1392169300","1392169338","1392169417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5e2b3eaa73b338bc92777f65ce33142a.jpg","text":"TemporaryFile(/tmp/multipartBody3030704938770548104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205166526,"filename":"image_03112025_11_08_41_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/3/2b7e207f54f4bb822ba222ea42f96727.jpg","text":"TemporaryFile(/tmp/multipartBody5372959908654157144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205166526,"filename":"image_03112025_11_08_34_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/3/74b142fa1b30dc2d5c3bb4e332f3c755.jpg","text":"TemporaryFile(/tmp/multipartBody3631324526818337576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205166526,"filename":"image_03112025_11_08_36_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/3/60425fee13f09627605bc5471b7546d7.jpg","text":"TemporaryFile(/tmp/multipartBody7925164611919295388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205166526,"filename":"image_03112025_11_08_38_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/3/57f522f79ad3f87a8db1019f258fb0fe.jpg","text":"TemporaryFile(/tmp/multipartBody7271688324805378291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205166526,"filename":"image_03112025_11_08_46_4733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a331194bb72200e01ec3514c43072036.jpg","text":"TemporaryFile(/tmp/multipartBody2918905278475622092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205166526,"filename":"image_03112025_11_08_39_1619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392169259","file1":"1392169196","file0":"1392169119","file4":"1392169338","file5":"1392169417","file3":"1392169300"},"map_files_photo_id_array":[{"photo_id":"1392169417","filename":"file5"},{"photo_id":"1392169259","filename":"file2"},{"photo_id":"1392169338","filename":"file4"},{"photo_id":"1392169196","filename":"file1"},{"photo_id":"1392169119","filename":"file0"},{"photo_id":"1392169300","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392169338":["hashtag1","hashtag2"]},{"1392169119":["hashtag1","hashtag2"]},{"1392169196":["hashtag1","hashtag2"]},{"1392169259":["hashtag1","hashtag2"]},{"1392169417":["hashtag1","hashtag2"]},{"1392169300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392169338, 1392169119, 1392169196, 1392169259, 1392169417, 1392169300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70710206031799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:26:02.320433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 22:26:21.821955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_47_1622.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_49_1668.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_52_1599.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_54_1506.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_55_1588.jpg', '/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_57_1823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_47_1622.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_49_1668.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_52_1599.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_54_1506.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_55_1588.jpg
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_57_1823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392170145","1392170274","1392170310","1392170348","1392170216","1392170083"],"photo_ids_order":["1392170083","1392170145","1392170216","1392170274","1392170310","1392170348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ac3fb4f92a04a0f210a0c9b1fa289624.jpg","text":"TemporaryFile(/tmp/multipartBody2478481217538141556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205242664,"filename":"image_03112025_11_08_49_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/3/4986b9cf382aeb715c7e3627229ba4bd.jpg","text":"TemporaryFile(/tmp/multipartBody3147650736054829822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205242664,"filename":"image_03112025_11_08_54_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/3/3663e720bef4b79c1825d832bfad3441.jpg","text":"TemporaryFile(/tmp/multipartBody7542976850120319627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205242664,"filename":"image_03112025_11_08_55_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/3/e65a068db29e92de0422f542d4cfc234.jpg","text":"TemporaryFile(/tmp/multipartBody7932692922958001020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205242664,"filename":"image_03112025_11_08_57_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/154ac5f907ba63ed9eede3c7cb375d4f.jpg","text":"TemporaryFile(/tmp/multipartBody1817488335253341765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205242664,"filename":"image_03112025_11_08_52_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/3/038f79015465684d9981a5ff05b7f39c.jpg","text":"TemporaryFile(/tmp/multipartBody3502472620926352943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205242664,"filename":"image_03112025_11_08_47_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392170216","file1":"1392170145","file0":"1392170083","file4":"1392170310","file5":"1392170348","file3":"1392170274"},"map_files_photo_id_array":[{"photo_id":"1392170348","filename":"file5"},{"photo_id":"1392170216","filename":"file2"},{"photo_id":"1392170310","filename":"file4"},{"photo_id":"1392170145","filename":"file1"},{"photo_id":"1392170083","filename":"file0"},{"photo_id":"1392170274","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392170145":["hashtag1","hashtag2"]},{"1392170274":["hashtag1","hashtag2"]},{"1392170310":["hashtag1","hashtag2"]},{"1392170348":["hashtag1","hashtag2"]},{"1392170216":["hashtag1","hashtag2"]},{"1392170083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392170145, 1392170274, 1392170310, 1392170348, 1392170216, 1392170083)","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! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 161.14836168289185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:29:12.976580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
2025-11-03 22:29:13.067500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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
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-03 22:29:23.952796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_59_1768.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_04_4722.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_05_1606.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_10_4266.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_11_1762.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_13_1542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/08/image_03112025_11_08_59_1768.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_04_4722.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_05_1606.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_10_4266.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_11_1762.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_13_1542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392171348","1392171342","1392171345","1392171339","1392171368","1392171353"],"photo_ids_order":["1392171339","1392171342","1392171345","1392171348","1392171353","1392171368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33e6f72cda071c03639b601389670a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8806470968332671234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205424781,"filename":"image_03112025_11_09_10_4266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/657bbc7ffd8e25021b31274c4b5154e6.jpg","text":"TemporaryFile(/tmp/multipartBody1866756221806860126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205424781,"filename":"image_03112025_11_09_04_4722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7398a6d0217708bd8b256a9584fa80e9.jpg","text":"TemporaryFile(/tmp/multipartBody431586310381397970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205424781,"filename":"image_03112025_11_09_05_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d28f57c1de5072def2e09274ef8a25ae.jpg","text":"TemporaryFile(/tmp/multipartBody2255928490771280693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205424781,"filename":"image_03112025_11_08_59_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/3/5731389d8ce77bbe94ff9df468ebc136.jpg","text":"TemporaryFile(/tmp/multipartBody5292254044547479982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205424781,"filename":"image_03112025_11_09_13_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/39949fa07c358ce930137cd2608c20f2.jpg","text":"TemporaryFile(/tmp/multipartBody6127591514251322536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205424781,"filename":"image_03112025_11_09_11_1762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392171345","file1":"1392171342","file0":"1392171339","file4":"1392171353","file5":"1392171368","file3":"1392171348"},"map_files_photo_id_array":[{"photo_id":"1392171368","filename":"file5"},{"photo_id":"1392171345","filename":"file2"},{"photo_id":"1392171353","filename":"file4"},{"photo_id":"1392171342","filename":"file1"},{"photo_id":"1392171339","filename":"file0"},{"photo_id":"1392171348","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392171348":["hashtag1","hashtag2"]},{"1392171342":["hashtag1","hashtag2"]},{"1392171345":["hashtag1","hashtag2"]},{"1392171339":["hashtag1","hashtag2"]},{"1392171368":["hashtag1","hashtag2"]},{"1392171353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392171348, 1392171342, 1392171345, 1392171339, 1392171368, 1392171353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.252021074295044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:30:22.394942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_15_1694.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_16_1658.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_18_1554.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_19_1576.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_22_2671.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_25_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_15_1694.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_16_1658.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_18_1554.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_19_1576.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_22_2671.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_25_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392171450","1392171443","1392171446","1392171440","1392171434","1392171437"],"photo_ids_order":["1392171434","1392171437","1392171440","1392171443","1392171446","1392171450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cbba6ddba3fff0650b4f570031d9c912.jpg","text":"TemporaryFile(/tmp/multipartBody5251480746440653022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205483238,"filename":"image_03112025_11_09_25_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/3/5ce2dcc6c95813cac413a39c060436e7.jpg","text":"TemporaryFile(/tmp/multipartBody8326219878215601033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205483238,"filename":"image_03112025_11_09_19_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/3/a05417310b6eaa7f6f777d49b135cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody1903240513241828001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205483238,"filename":"image_03112025_11_09_22_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/3/ed0fed4cc22640979d81c9637ccbd43c.jpg","text":"TemporaryFile(/tmp/multipartBody5992537960793878063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205483238,"filename":"image_03112025_11_09_18_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f9459f39f63be8832e0041dd10d232fb.jpg","text":"TemporaryFile(/tmp/multipartBody7244226588835134407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205483238,"filename":"image_03112025_11_09_15_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/3/a3c6330b111d226c42e4dcd30a2cebfc.jpg","text":"TemporaryFile(/tmp/multipartBody7600896732648539857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205483238,"filename":"image_03112025_11_09_16_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392171440","file1":"1392171437","file0":"1392171434","file4":"1392171446","file5":"1392171450","file3":"1392171443"},"map_files_photo_id_array":[{"photo_id":"1392171450","filename":"file5"},{"photo_id":"1392171440","filename":"file2"},{"photo_id":"1392171446","filename":"file4"},{"photo_id":"1392171437","filename":"file1"},{"photo_id":"1392171434","filename":"file0"},{"photo_id":"1392171443","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392171450":["hashtag1","hashtag2"]},{"1392171443":["hashtag1","hashtag2"]},{"1392171446":["hashtag1","hashtag2"]},{"1392171440":["hashtag1","hashtag2"]},{"1392171434":["hashtag1","hashtag2"]},{"1392171437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392171450, 1392171443, 1392171446, 1392171440, 1392171434, 1392171437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31777024269104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:31:03.461855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_28_3668.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_31_2688.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_34_2638.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_37_3792.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_40_2681.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_43_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_28_3668.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_31_2688.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_34_2638.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_37_3792.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_40_2681.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_43_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392171482","1392171485","1392171490","1392171493","1392171487","1392171495"],"photo_ids_order":["1392171482","1392171485","1392171487","1392171490","1392171493","1392171495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bfd247dff9d072186999b8f0c5c01d2d.jpg","text":"TemporaryFile(/tmp/multipartBody7258284862505905879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205550739,"filename":"image_03112025_11_09_28_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/3/edfc9671ff147981fc3007bcdd8d1998.jpg","text":"TemporaryFile(/tmp/multipartBody2914396913045604829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205550739,"filename":"image_03112025_11_09_31_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/412dd9e32f1a5048dc323351796e1d87.jpg","text":"TemporaryFile(/tmp/multipartBody6021906395690204973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205550739,"filename":"image_03112025_11_09_37_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/3/4c96198685a7f7604246ef8871e4df1c.jpg","text":"TemporaryFile(/tmp/multipartBody1507694650681648947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205550739,"filename":"image_03112025_11_09_40_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/3/cbfa4d8f04ad3909817cc60797ecfc05.jpg","text":"TemporaryFile(/tmp/multipartBody1609896936885118603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205550739,"filename":"image_03112025_11_09_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/3/bc5373df90776f4a28d7047abb669ece.jpg","text":"TemporaryFile(/tmp/multipartBody9098744882094580727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205550739,"filename":"image_03112025_11_09_43_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392171487","file1":"1392171485","file0":"1392171482","file4":"1392171493","file5":"1392171495","file3":"1392171490"},"map_files_photo_id_array":[{"photo_id":"1392171495","filename":"file5"},{"photo_id":"1392171487","filename":"file2"},{"photo_id":"1392171493","filename":"file4"},{"photo_id":"1392171485","filename":"file1"},{"photo_id":"1392171482","filename":"file0"},{"photo_id":"1392171490","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392171482":["hashtag1","hashtag2"]},{"1392171485":["hashtag1","hashtag2"]},{"1392171490":["hashtag1","hashtag2"]},{"1392171493":["hashtag1","hashtag2"]},{"1392171487":["hashtag1","hashtag2"]},{"1392171495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392171482, 1392171485, 1392171490, 1392171493, 1392171487, 1392171495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.15547847747803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:32:24.895625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_46_3568.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_49_2644.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_52_2685.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_55_3762.jpg', '/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_58_2696.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_08_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_46_3568.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_49_2644.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_52_2685.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_55_3762.jpg
/home/pi/Desktop/images/03112025/11/09/image_03112025_11_09_58_2696.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_08_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392171864","1392171906","1392171816","1392171695","1392171779","1392171737"],"photo_ids_order":["1392171695","1392171737","1392171779","1392171816","1392171864","1392171906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0c2dfe396005322c8cc3964448945d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1652561276266888090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205607914,"filename":"image_03112025_11_09_58_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a0758a97860cfe789b24f90db9f40e08.jpg","text":"TemporaryFile(/tmp/multipartBody3107435115947641156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205607914,"filename":"image_03112025_11_10_08_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/3/00c816276c7a3e9feec460ee67db660b.jpg","text":"TemporaryFile(/tmp/multipartBody4864241367218021409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205607914,"filename":"image_03112025_11_09_55_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/3/ae37cd139f87902fd9f68f5817499794.jpg","text":"TemporaryFile(/tmp/multipartBody3364478282103086964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205607914,"filename":"image_03112025_11_09_46_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/3/ade0a5b78699f2a752c349b37c5d0f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2650434771934463226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205607914,"filename":"image_03112025_11_09_52_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/3/0a0023dc025dc7b8cb40501304cbfe17.jpg","text":"TemporaryFile(/tmp/multipartBody4862554516300545007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205607914,"filename":"image_03112025_11_09_49_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392171779","file1":"1392171737","file0":"1392171695","file4":"1392171864","file5":"1392171906","file3":"1392171816"},"map_files_photo_id_array":[{"photo_id":"1392171906","filename":"file5"},{"photo_id":"1392171779","filename":"file2"},{"photo_id":"1392171864","filename":"file4"},{"photo_id":"1392171737","filename":"file1"},{"photo_id":"1392171695","filename":"file0"},{"photo_id":"1392171816","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392171864":["hashtag1","hashtag2"]},{"1392171906":["hashtag1","hashtag2"]},{"1392171816":["hashtag1","hashtag2"]},{"1392171695":["hashtag1","hashtag2"]},{"1392171779":["hashtag1","hashtag2"]},{"1392171737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392171864, 1392171906, 1392171816, 1392171695, 1392171779, 1392171737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45782947540283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:33:22.424466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 22:33:42.018994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_11_3737.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_14_2612.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_17_2798.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_21_3774.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_23_2839.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_26_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_11_3737.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_14_2612.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_17_2798.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_21_3774.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_23_2839.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_26_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392172521","1392172688","1392172481","1392172604","1392172558","1392172647"],"photo_ids_order":["1392172481","1392172521","1392172558","1392172604","1392172647","1392172688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9beacad51273f916e5b55766749b6984.jpg","text":"TemporaryFile(/tmp/multipartBody3430000352430608547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205691674,"filename":"image_03112025_11_10_14_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/3/7669b08bdf8b05f05869392fed47a222.jpg","text":"TemporaryFile(/tmp/multipartBody5207470375817324535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205691674,"filename":"image_03112025_11_10_26_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/3/322e76007e677038ec20c9e85e6f33f8.jpg","text":"TemporaryFile(/tmp/multipartBody273374539438599563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205691674,"filename":"image_03112025_11_10_11_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/3/f98574232757a2b8a37e2da7036bd683.jpg","text":"TemporaryFile(/tmp/multipartBody1092709363371044403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205691674,"filename":"image_03112025_11_10_21_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/3/13c8c391e6aeafe1220339c01ea3c23b.jpg","text":"TemporaryFile(/tmp/multipartBody3349479490085118097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205691674,"filename":"image_03112025_11_10_17_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/3/c653e3e9b8fd801304d0ef6f73549b20.jpg","text":"TemporaryFile(/tmp/multipartBody92479765012331273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205691674,"filename":"image_03112025_11_10_23_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392172558","file1":"1392172521","file0":"1392172481","file4":"1392172647","file5":"1392172688","file3":"1392172604"},"map_files_photo_id_array":[{"photo_id":"1392172688","filename":"file5"},{"photo_id":"1392172558","filename":"file2"},{"photo_id":"1392172647","filename":"file4"},{"photo_id":"1392172521","filename":"file1"},{"photo_id":"1392172481","filename":"file0"},{"photo_id":"1392172604","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392172521":["hashtag1","hashtag2"]},{"1392172688":["hashtag1","hashtag2"]},{"1392172481":["hashtag1","hashtag2"]},{"1392172604":["hashtag1","hashtag2"]},{"1392172558":["hashtag1","hashtag2"]},{"1392172647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392172521, 1392172688, 1392172481, 1392172604, 1392172558, 1392172647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.84235119819641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:34:42.147408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_29_2653.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_32_3719.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_35_2691.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_38_2578.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_41_3732.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_44_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_29_2653.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_32_3719.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_35_2691.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_38_2578.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_41_3732.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_44_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392172926","1392173135","1392173005","1392173085","1392172965","1392173043"],"photo_ids_order":["1392172926","1392172965","1392173005","1392173043","1392173085","1392173135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a18031aae9ec39fa14312cc960726afc.jpg","text":"TemporaryFile(/tmp/multipartBody5358183265919433615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205742989,"filename":"image_03112025_11_10_29_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4cab760eacd30684f6a1cae78602d357.jpg","text":"TemporaryFile(/tmp/multipartBody2711778946811668483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205742989,"filename":"image_03112025_11_10_44_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/3/5e7e7f3a340d5194602ae0141e21b77b.jpg","text":"TemporaryFile(/tmp/multipartBody384735358280893000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205742989,"filename":"image_03112025_11_10_35_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/3/1fc304b473048022c7cd64ec26157b59.jpg","text":"TemporaryFile(/tmp/multipartBody7791323492797808295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205742989,"filename":"image_03112025_11_10_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/3/fba574e29720d172d452b5cab3cebd6c.jpg","text":"TemporaryFile(/tmp/multipartBody2444709963750389745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205742989,"filename":"image_03112025_11_10_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/3/149bd0c1d0995c681e72e4a943b41f4a.jpg","text":"TemporaryFile(/tmp/multipartBody4860546125371715719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205742989,"filename":"image_03112025_11_10_38_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392173005","file1":"1392172965","file0":"1392172926","file4":"1392173085","file5":"1392173135","file3":"1392173043"},"map_files_photo_id_array":[{"photo_id":"1392173135","filename":"file5"},{"photo_id":"1392173005","filename":"file2"},{"photo_id":"1392173085","filename":"file4"},{"photo_id":"1392172965","filename":"file1"},{"photo_id":"1392172926","filename":"file0"},{"photo_id":"1392173043","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392172926":["hashtag1","hashtag2"]},{"1392173135":["hashtag1","hashtag2"]},{"1392173005":["hashtag1","hashtag2"]},{"1392173085":["hashtag1","hashtag2"]},{"1392172965":["hashtag1","hashtag2"]},{"1392173043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392172926, 1392173135, 1392173005, 1392173085, 1392172965, 1392173043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09955978393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:35:22.427265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_47_2769.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_50_2722.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_53_3700.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_56_2676.jpg', '/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_59_2595.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_02_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_47_2769.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_50_2722.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_53_3700.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_56_2676.jpg
/home/pi/Desktop/images/03112025/11/10/image_03112025_11_10_59_2595.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_02_3729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392173540","1392173395","1392173737","1392173614","1392173466","1392173684"],"photo_ids_order":["1392173395","1392173466","1392173540","1392173614","1392173684","1392173737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f57e74805393829ebcc91c17f99ea328.jpg","text":"TemporaryFile(/tmp/multipartBody5705635612463595336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205783285,"filename":"image_03112025_11_10_53_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/3/87048d26e8c5d2a5277b4fb6f3ade191.jpg","text":"TemporaryFile(/tmp/multipartBody4461564097961424949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205783285,"filename":"image_03112025_11_10_47_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/3/0638c7ceb878aadf8cbc90b78d32597c.jpg","text":"TemporaryFile(/tmp/multipartBody7309327729233889258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205783285,"filename":"image_03112025_11_11_02_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/3/69e721e18b20fe34f8f579bd99ce2990.jpg","text":"TemporaryFile(/tmp/multipartBody263801513994925897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205783285,"filename":"image_03112025_11_10_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/3/be9ccfbeef2cadbbb6cc4cb22fecc3ed.jpg","text":"TemporaryFile(/tmp/multipartBody3655159661321610212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205783285,"filename":"image_03112025_11_10_50_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/3/e2b6bf9c982db5be48661b9a68838f53.jpg","text":"TemporaryFile(/tmp/multipartBody8311469383571382562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205783285,"filename":"image_03112025_11_10_59_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392173540","file1":"1392173466","file0":"1392173395","file4":"1392173684","file5":"1392173737","file3":"1392173614"},"map_files_photo_id_array":[{"photo_id":"1392173737","filename":"file5"},{"photo_id":"1392173540","filename":"file2"},{"photo_id":"1392173684","filename":"file4"},{"photo_id":"1392173466","filename":"file1"},{"photo_id":"1392173395","filename":"file0"},{"photo_id":"1392173614","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392173540":["hashtag1","hashtag2"]},{"1392173395":["hashtag1","hashtag2"]},{"1392173737":["hashtag1","hashtag2"]},{"1392173614":["hashtag1","hashtag2"]},{"1392173466":["hashtag1","hashtag2"]},{"1392173684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392173540, 1392173395, 1392173737, 1392173614, 1392173466, 1392173684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2832567691803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:36:03.143123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_05_2626.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_08_2979.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_11_2669.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_14_3705.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_17_2849.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_20_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_05_2626.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_08_2979.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_11_2669.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_14_3705.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_17_2849.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_20_2522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392174020","1392173933","1392173881","1392174118","1392173802","1392173969"],"photo_ids_order":["1392173802","1392173881","1392173933","1392173969","1392174020","1392174118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8b48389c25ecd506405059533382d101.jpg","text":"TemporaryFile(/tmp/multipartBody9011235872483132292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205825959,"filename":"image_03112025_11_11_17_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/3/ecaed995d1b30db94eaa0742612d51b3.jpg","text":"TemporaryFile(/tmp/multipartBody3615730289722496130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205825959,"filename":"image_03112025_11_11_11_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc3e78a2a2234507e82468ee93285880.jpg","text":"TemporaryFile(/tmp/multipartBody7080426665873258672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205825959,"filename":"image_03112025_11_11_08_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b9210034a3d1c59527164c4d79001da7.jpg","text":"TemporaryFile(/tmp/multipartBody4578251449253618242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205825959,"filename":"image_03112025_11_11_20_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/3/a8ffcaed17f7a6fd3bc0d73e6f433ce0.jpg","text":"TemporaryFile(/tmp/multipartBody1138416016879349974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205825959,"filename":"image_03112025_11_11_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/3/45e23ac956cbcfa6a382bc16952e974b.jpg","text":"TemporaryFile(/tmp/multipartBody8316984959940657791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205825959,"filename":"image_03112025_11_11_14_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392173933","file1":"1392173881","file0":"1392173802","file4":"1392174020","file5":"1392174118","file3":"1392173969"},"map_files_photo_id_array":[{"photo_id":"1392174118","filename":"file5"},{"photo_id":"1392173933","filename":"file2"},{"photo_id":"1392174020","filename":"file4"},{"photo_id":"1392173881","filename":"file1"},{"photo_id":"1392173802","filename":"file0"},{"photo_id":"1392173969","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392174020":["hashtag1","hashtag2"]},{"1392173933":["hashtag1","hashtag2"]},{"1392173881":["hashtag1","hashtag2"]},{"1392174118":["hashtag1","hashtag2"]},{"1392173802":["hashtag1","hashtag2"]},{"1392173969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392174020, 1392173933, 1392173881, 1392174118, 1392173802, 1392173969)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.63261413574219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:37:03.069518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_23_3699.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_26_2602.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_28_2546.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_32_3880.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_36_4034.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_38_1541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_23_3699.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_26_2602.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_28_2546.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_32_3880.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_36_4034.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_38_1541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392174778","1392174733","1392174678","1392174825","1392174833","1392174830"],"photo_ids_order":["1392174678","1392174733","1392174778","1392174825","1392174830","1392174833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/76e9467ec8267b6c223fc34b37a01e2f.jpg","text":"TemporaryFile(/tmp/multipartBody1653299088595633034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205884028,"filename":"image_03112025_11_11_28_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/3/1df60c58226ac23862683f191e5383ca.jpg","text":"TemporaryFile(/tmp/multipartBody5554345951233968683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205884028,"filename":"image_03112025_11_11_26_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/3/7a63b7dbeaeb20941b687ef5aadfa148.jpg","text":"TemporaryFile(/tmp/multipartBody1192260980654249306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205884028,"filename":"image_03112025_11_11_23_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/3/36210f5a52af5f6fb28243e75a7d4d22.jpg","text":"TemporaryFile(/tmp/multipartBody6696781680788514511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205884028,"filename":"image_03112025_11_11_32_3880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fc98d2d0eda722aa894f9c9ce65da5bf.jpg","text":"TemporaryFile(/tmp/multipartBody2030653380708359611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205884028,"filename":"image_03112025_11_11_38_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/3/0ed59ca72281381fb6e165f67d293ccf.jpg","text":"TemporaryFile(/tmp/multipartBody4951557236466655527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205884028,"filename":"image_03112025_11_11_36_4034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392174778","file1":"1392174733","file0":"1392174678","file4":"1392174830","file5":"1392174833","file3":"1392174825"},"map_files_photo_id_array":[{"photo_id":"1392174833","filename":"file5"},{"photo_id":"1392174778","filename":"file2"},{"photo_id":"1392174830","filename":"file4"},{"photo_id":"1392174733","filename":"file1"},{"photo_id":"1392174678","filename":"file0"},{"photo_id":"1392174825","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392174778":["hashtag1","hashtag2"]},{"1392174733":["hashtag1","hashtag2"]},{"1392174678":["hashtag1","hashtag2"]},{"1392174825":["hashtag1","hashtag2"]},{"1392174833":["hashtag1","hashtag2"]},{"1392174830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392174778, 1392174733, 1392174678, 1392174825, 1392174833, 1392174830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.500038146972656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:37:42.468384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_41_2692.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_57_16535.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_59_1681.jpg', '/home/pi/Desktop/images/03112025/11/11/image_03112025_11_12_00_1628.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_20_11713.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_24_3259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_41_2692.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_57_16535.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_11_59_1681.jpg
/home/pi/Desktop/images/03112025/11/11/image_03112025_11_12_00_1628.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_20_11713.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_24_3259.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392174877","1392174953","1392174842","1392175007","1392174917","1392174839"],"photo_ids_order":["1392174839","1392174842","1392174877","1392174917","1392174953","1392175007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/96d2e3d75ebb82e9ab2b2905d9b7504e.jpg","text":"TemporaryFile(/tmp/multipartBody7302763736592021870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205923290,"filename":"image_03112025_11_11_59_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/3/460145fe595d6371dec4e7b47925849d.jpg","text":"TemporaryFile(/tmp/multipartBody5030502037819954439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205923290,"filename":"image_03112025_11_12_20_11713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2fe5b021375cbbcee48e8aac213ccd2f.jpg","text":"TemporaryFile(/tmp/multipartBody5609015249280207109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205923290,"filename":"image_03112025_11_11_57_16535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/42c573637f736d251839be3b6eb3e0e5.jpg","text":"TemporaryFile(/tmp/multipartBody3249206393578396551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205923290,"filename":"image_03112025_11_12_24_3259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0dd0e15ab19ddb21fc4e3e7df4f81bfe.jpg","text":"TemporaryFile(/tmp/multipartBody9193891077741851530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205923290,"filename":"image_03112025_11_12_00_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/3/d144e6017f62a42f5be92457da77e53b.jpg","text":"TemporaryFile(/tmp/multipartBody2700621882506845236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205923290,"filename":"image_03112025_11_11_41_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392174877","file1":"1392174842","file0":"1392174839","file4":"1392174953","file5":"1392175007","file3":"1392174917"},"map_files_photo_id_array":[{"photo_id":"1392175007","filename":"file5"},{"photo_id":"1392174877","filename":"file2"},{"photo_id":"1392174953","filename":"file4"},{"photo_id":"1392174842","filename":"file1"},{"photo_id":"1392174839","filename":"file0"},{"photo_id":"1392174917","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392174877":["hashtag1","hashtag2"]},{"1392174953":["hashtag1","hashtag2"]},{"1392174842":["hashtag1","hashtag2"]},{"1392175007":["hashtag1","hashtag2"]},{"1392174917":["hashtag1","hashtag2"]},{"1392174839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392174877, 1392174953, 1392174842, 1392175007, 1392174917, 1392174839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29267406463623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:38:22.718372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_25_1594.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_27_1615.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_28_1561.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_30_1648.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_36_6243.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_38_1585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_25_1594.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_27_1615.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_28_1561.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_30_1648.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_36_6243.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_38_1585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392175123","1392175170","1392175167","1392175145","1392175099","1392175174"],"photo_ids_order":["1392175099","1392175123","1392175145","1392175167","1392175170","1392175174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/96c5c6843a6f537e2a2b04430ae8f62b.jpg","text":"TemporaryFile(/tmp/multipartBody3645998514425636233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205963527,"filename":"image_03112025_11_12_27_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/3/c099936eb35af8fab82fdad57e2c292d.jpg","text":"TemporaryFile(/tmp/multipartBody2922103470364948011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205963527,"filename":"image_03112025_11_12_36_6243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fbbbdafb70f965be6754979b3c7f6f90.jpg","text":"TemporaryFile(/tmp/multipartBody6157167401186489297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205963527,"filename":"image_03112025_11_12_30_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/3/65b19075ca0e76cba496a57b8a2b71a6.jpg","text":"TemporaryFile(/tmp/multipartBody8684724896482643922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205963527,"filename":"image_03112025_11_12_28_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f41599a5e75d94f4dd48c4f32a961301.jpg","text":"TemporaryFile(/tmp/multipartBody4034285032585126626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205963527,"filename":"image_03112025_11_12_25_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/3/9a0ec13186d1e4e04aac2c65524ed43c.jpg","text":"TemporaryFile(/tmp/multipartBody9122061756941294470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762205963527,"filename":"image_03112025_11_12_38_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392175145","file1":"1392175123","file0":"1392175099","file4":"1392175170","file5":"1392175174","file3":"1392175167"},"map_files_photo_id_array":[{"photo_id":"1392175174","filename":"file5"},{"photo_id":"1392175145","filename":"file2"},{"photo_id":"1392175170","filename":"file4"},{"photo_id":"1392175123","filename":"file1"},{"photo_id":"1392175099","filename":"file0"},{"photo_id":"1392175167","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392175123":["hashtag1","hashtag2"]},{"1392175170":["hashtag1","hashtag2"]},{"1392175167":["hashtag1","hashtag2"]},{"1392175145":["hashtag1","hashtag2"]},{"1392175099":["hashtag1","hashtag2"]},{"1392175174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392175123, 1392175170, 1392175167, 1392175145, 1392175099, 1392175174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58511137962341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:39:02.641198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_42_3776.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_43_1635.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_45_1549.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_49_4286.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_51_1656.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_52_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_42_3776.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_43_1635.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_45_1549.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_49_4286.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_51_1656.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_52_1652.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8734486103057861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:39:21.848458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_42_3776.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_43_1635.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_45_1549.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_49_4286.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_51_1656.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_52_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_42_3776.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_43_1635.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_45_1549.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_49_4286.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_51_1656.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_52_1652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392175194","1392175203","1392175212","1392175206","1392175208","1392175198"],"photo_ids_order":["1392175194","1392175198","1392175203","1392175206","1392175208","1392175212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/98f7cb2f264bbb4900e746b5cfcfe346.jpg","text":"TemporaryFile(/tmp/multipartBody3071396836764433643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206022610,"filename":"image_03112025_11_12_42_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/3/d2acc0d82e1da5734b0fffce332af753.jpg","text":"TemporaryFile(/tmp/multipartBody2295700830677182618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206022610,"filename":"image_03112025_11_12_45_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/3/0087636a57a31496e26e46e194aa4bc7.jpg","text":"TemporaryFile(/tmp/multipartBody3016967556450510449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206022610,"filename":"image_03112025_11_12_52_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/246f7e878b9bcf385e2d8b63d225f9a6.jpg","text":"TemporaryFile(/tmp/multipartBody1938214978975550641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206022610,"filename":"image_03112025_11_12_49_4286.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/568cab290afc3385fc6fd86d0b0d5c86.jpg","text":"TemporaryFile(/tmp/multipartBody4558561289182273482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206022610,"filename":"image_03112025_11_12_51_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/3/bcaca1f4ee388c15890b565ebd63b9f6.jpg","text":"TemporaryFile(/tmp/multipartBody4120739405006154368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206022610,"filename":"image_03112025_11_12_43_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392175203","file1":"1392175198","file0":"1392175194","file4":"1392175208","file5":"1392175212","file3":"1392175206"},"map_files_photo_id_array":[{"photo_id":"1392175212","filename":"file5"},{"photo_id":"1392175203","filename":"file2"},{"photo_id":"1392175208","filename":"file4"},{"photo_id":"1392175198","filename":"file1"},{"photo_id":"1392175194","filename":"file0"},{"photo_id":"1392175206","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392175194":["hashtag1","hashtag2"]},{"1392175203":["hashtag1","hashtag2"]},{"1392175212":["hashtag1","hashtag2"]},{"1392175206":["hashtag1","hashtag2"]},{"1392175208":["hashtag1","hashtag2"]},{"1392175198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392175194, 1392175203, 1392175212, 1392175206, 1392175208, 1392175198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.784202575683594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:40:02.497793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_54_1823.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_56_1538.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_58_1779.jpg', '/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_59_1648.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_04_4998.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_11_7134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_54_1823.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_56_1538.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_58_1779.jpg
/home/pi/Desktop/images/03112025/11/12/image_03112025_11_12_59_1648.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_04_4998.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_11_7134.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392175216","1392175221","1392175218","1392175226","1392175214","1392175223"],"photo_ids_order":["1392175214","1392175216","1392175218","1392175221","1392175223","1392175226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12924b5fdcdd0b9492f0f7048623576b.jpg","text":"TemporaryFile(/tmp/multipartBody7824763154579820730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206063410,"filename":"image_03112025_11_12_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/3/d8b3d993d402e6877147a52e3c9931aa.jpg","text":"TemporaryFile(/tmp/multipartBody6110374244216451762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206063410,"filename":"image_03112025_11_12_59_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/3/ee20013cb9ca663af47ebea9f0876841.jpg","text":"TemporaryFile(/tmp/multipartBody1750414448636118108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206063410,"filename":"image_03112025_11_12_58_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/3/70e320ce10b8330d743abab9ef762a5d.jpg","text":"TemporaryFile(/tmp/multipartBody8332389604825080559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206063410,"filename":"image_03112025_11_13_11_7134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ca304725ad0eb4a09d743739d76595b7.jpg","text":"TemporaryFile(/tmp/multipartBody2623449190246357747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206063410,"filename":"image_03112025_11_12_54_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ce09ff05231176d43b0fdd0644421132.jpg","text":"TemporaryFile(/tmp/multipartBody6846105935281434578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206063410,"filename":"image_03112025_11_13_04_4998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392175218","file1":"1392175216","file0":"1392175214","file4":"1392175223","file5":"1392175226","file3":"1392175221"},"map_files_photo_id_array":[{"photo_id":"1392175226","filename":"file5"},{"photo_id":"1392175218","filename":"file2"},{"photo_id":"1392175223","filename":"file4"},{"photo_id":"1392175216","filename":"file1"},{"photo_id":"1392175214","filename":"file0"},{"photo_id":"1392175221","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392175216":["hashtag1","hashtag2"]},{"1392175221":["hashtag1","hashtag2"]},{"1392175218":["hashtag1","hashtag2"]},{"1392175226":["hashtag1","hashtag2"]},{"1392175214":["hashtag1","hashtag2"]},{"1392175223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392175216, 1392175221, 1392175218, 1392175226, 1392175214, 1392175223)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.79540801048279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:41:02.919485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_19_7556.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_21_1589.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_22_1641.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_24_1636.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_34_10075.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_36_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_19_7556.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_21_1589.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_22_1641.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_24_1636.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_34_10075.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_36_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392175243","1392175245","1392175239","1392175250","1392175253","1392175247"],"photo_ids_order":["1392175239","1392175243","1392175245","1392175247","1392175250","1392175253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d8a65503c800df4c9deadd94dcbd664a.jpg","text":"TemporaryFile(/tmp/multipartBody3692147569861025735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206123855,"filename":"image_03112025_11_13_21_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f39ca5ae03734a8eaaed54a92979fb54.jpg","text":"TemporaryFile(/tmp/multipartBody7491199636131119800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206123855,"filename":"image_03112025_11_13_22_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/3/76f4585be2815e05e789f0bef87ffaff.jpg","text":"TemporaryFile(/tmp/multipartBody4861680231801589609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206123855,"filename":"image_03112025_11_13_19_7556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2e72a02bcddefe6d17456aeeb08d061a.jpg","text":"TemporaryFile(/tmp/multipartBody2366261421236338094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206123855,"filename":"image_03112025_11_13_34_10075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b338940a0f4160fe6981e4bf5e2eaa9d.jpg","text":"TemporaryFile(/tmp/multipartBody359835161792845313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206123855,"filename":"image_03112025_11_13_36_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/3/b37a056da8b88cbc6fad27ccf876247e.jpg","text":"TemporaryFile(/tmp/multipartBody9066658045901169245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206123855,"filename":"image_03112025_11_13_24_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392175245","file1":"1392175243","file0":"1392175239","file4":"1392175250","file5":"1392175253","file3":"1392175247"},"map_files_photo_id_array":[{"photo_id":"1392175253","filename":"file5"},{"photo_id":"1392175245","filename":"file2"},{"photo_id":"1392175250","filename":"file4"},{"photo_id":"1392175243","filename":"file1"},{"photo_id":"1392175239","filename":"file0"},{"photo_id":"1392175247","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392175243":["hashtag1","hashtag2"]},{"1392175245":["hashtag1","hashtag2"]},{"1392175239":["hashtag1","hashtag2"]},{"1392175250":["hashtag1","hashtag2"]},{"1392175253":["hashtag1","hashtag2"]},{"1392175247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392175243, 1392175245, 1392175239, 1392175250, 1392175253, 1392175247)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.137295961380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:42:03.211075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_37_1617.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_40_2519.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_41_1755.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_43_1802.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_51_8013.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_53_1528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_37_1617.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_40_2519.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_41_1755.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_43_1802.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_51_8013.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_53_1528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392175360","1392175348","1392175282","1392175336","1392175327","1392175275"],"photo_ids_order":["1392175275","1392175282","1392175327","1392175336","1392175348","1392175360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0df5cc30f0767be5e7cc50b7ff35a5c4.jpg","text":"TemporaryFile(/tmp/multipartBody633320564340599754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206184120,"filename":"image_03112025_11_13_53_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/3/f0ef626da45a1c9147e426de75973d6b.jpg","text":"TemporaryFile(/tmp/multipartBody1096821968352208343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206184120,"filename":"image_03112025_11_13_51_8013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a9bc08df1991e9ac8282e49d23babbe.jpg","text":"TemporaryFile(/tmp/multipartBody9084228437112367429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206184120,"filename":"image_03112025_11_13_40_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/3/cfd27e6d7f6e4102f9c6177b15a990c7.jpg","text":"TemporaryFile(/tmp/multipartBody8838374446756998714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206184120,"filename":"image_03112025_11_13_43_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/3/a46bc78a0def113ca0c1bd114a9a8e37.jpg","text":"TemporaryFile(/tmp/multipartBody6019588919486600462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206184120,"filename":"image_03112025_11_13_41_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/3/d9d32d2f1b43c030ce2e3e541ad143df.jpg","text":"TemporaryFile(/tmp/multipartBody7961059616677293678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206184120,"filename":"image_03112025_11_13_37_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392175327","file1":"1392175282","file0":"1392175275","file4":"1392175348","file5":"1392175360","file3":"1392175336"},"map_files_photo_id_array":[{"photo_id":"1392175360","filename":"file5"},{"photo_id":"1392175327","filename":"file2"},{"photo_id":"1392175348","filename":"file4"},{"photo_id":"1392175282","filename":"file1"},{"photo_id":"1392175275","filename":"file0"},{"photo_id":"1392175336","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392175360":["hashtag1","hashtag2"]},{"1392175348":["hashtag1","hashtag2"]},{"1392175282":["hashtag1","hashtag2"]},{"1392175336":["hashtag1","hashtag2"]},{"1392175327":["hashtag1","hashtag2"]},{"1392175275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392175360, 1392175348, 1392175282, 1392175336, 1392175327, 1392175275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87064266204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:42:42.688520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_54_1637.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_56_1633.jpg', '/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_58_1495.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_03_5417.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_05_1553.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_06_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_54_1637.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_56_1633.jpg
/home/pi/Desktop/images/03112025/11/13/image_03112025_11_13_58_1495.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_03_5417.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_05_1553.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_06_1648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392175453","1392175369","1392175414","1392175491","1392175377","1392175367"],"photo_ids_order":["1392175367","1392175369","1392175377","1392175414","1392175453","1392175491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b09f852bdad01a73f61b5a69c4d47203.jpg","text":"TemporaryFile(/tmp/multipartBody3124566981932383421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206223508,"filename":"image_03112025_11_14_05_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/3/2baae3b573c2c268b8c794ce602a4ea1.jpg","text":"TemporaryFile(/tmp/multipartBody7620656551069123938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206223508,"filename":"image_03112025_11_13_56_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d310c9c96c8cb28396d79ee9f57a12d8.jpg","text":"TemporaryFile(/tmp/multipartBody8751769109049748089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206223508,"filename":"image_03112025_11_14_03_5417.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fbe537c060fb4a0d50441a461b3de5a8.jpg","text":"TemporaryFile(/tmp/multipartBody2465144599441376202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206223508,"filename":"image_03112025_11_14_06_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/3/77a03c4edc84d26eee34f89226601591.jpg","text":"TemporaryFile(/tmp/multipartBody2322741039542223310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206223508,"filename":"image_03112025_11_13_58_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/3/545516a743b89d56cd1d2e874362463c.jpg","text":"TemporaryFile(/tmp/multipartBody5946920570214126915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206223508,"filename":"image_03112025_11_13_54_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392175377","file1":"1392175369","file0":"1392175367","file4":"1392175453","file5":"1392175491","file3":"1392175414"},"map_files_photo_id_array":[{"photo_id":"1392175491","filename":"file5"},{"photo_id":"1392175377","filename":"file2"},{"photo_id":"1392175453","filename":"file4"},{"photo_id":"1392175369","filename":"file1"},{"photo_id":"1392175367","filename":"file0"},{"photo_id":"1392175414","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392175453":["hashtag1","hashtag2"]},{"1392175369":["hashtag1","hashtag2"]},{"1392175414":["hashtag1","hashtag2"]},{"1392175491":["hashtag1","hashtag2"]},{"1392175377":["hashtag1","hashtag2"]},{"1392175367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392175453, 1392175369, 1392175414, 1392175491, 1392175377, 1392175367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03013014793396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:43:21.971831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_08_1515.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_09_1627.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_13_3315.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_14_1536.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_16_1594.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_17_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_08_1515.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_09_1627.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_13_3315.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_14_1536.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_16_1594.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_17_1606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392175822","1392175702","1392175782","1392175665","1392175861","1392175741"],"photo_ids_order":["1392175665","1392175702","1392175741","1392175782","1392175822","1392175861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee8baa93ec8cae06727c32e712c7ede4.jpg","text":"TemporaryFile(/tmp/multipartBody3766344816786899462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206268453,"filename":"image_03112025_11_14_16_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/3/4ddacffb4a03c421197bec6a76c22a73.jpg","text":"TemporaryFile(/tmp/multipartBody3069726143287816964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206268453,"filename":"image_03112025_11_14_09_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/3/b552382e9e168632103a4056e078158a.jpg","text":"TemporaryFile(/tmp/multipartBody4901653701658235552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206268453,"filename":"image_03112025_11_14_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/3/761269bd1e424b8432e7418c932b426d.jpg","text":"TemporaryFile(/tmp/multipartBody4480307922812178015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206268453,"filename":"image_03112025_11_14_08_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/3/76dfb591c4c41c7cd376afeb05fc5968.jpg","text":"TemporaryFile(/tmp/multipartBody2591398742315542813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206268453,"filename":"image_03112025_11_14_17_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bfb790e1c8a12b33ad5d461a26658011.jpg","text":"TemporaryFile(/tmp/multipartBody8914558169721025764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206268453,"filename":"image_03112025_11_14_13_3315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392175741","file1":"1392175702","file0":"1392175665","file4":"1392175822","file5":"1392175861","file3":"1392175782"},"map_files_photo_id_array":[{"photo_id":"1392175861","filename":"file5"},{"photo_id":"1392175741","filename":"file2"},{"photo_id":"1392175822","filename":"file4"},{"photo_id":"1392175702","filename":"file1"},{"photo_id":"1392175665","filename":"file0"},{"photo_id":"1392175782","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392175822":["hashtag1","hashtag2"]},{"1392175702":["hashtag1","hashtag2"]},{"1392175782":["hashtag1","hashtag2"]},{"1392175665":["hashtag1","hashtag2"]},{"1392175861":["hashtag1","hashtag2"]},{"1392175741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392175822, 1392175702, 1392175782, 1392175665, 1392175861, 1392175741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.00930666923523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:44:22.156982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_24_6796.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_26_1663.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_27_1587.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_29_1665.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_56_26716.jpg', '/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_57_1593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_24_6796.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_26_1663.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_27_1587.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_29_1665.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_56_26716.jpg
/home/pi/Desktop/images/03112025/11/14/image_03112025_11_14_57_1593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392176340","1392176279","1392176333","1392176336","1392176326","1392176329"],"photo_ids_order":["1392176279","1392176326","1392176329","1392176333","1392176336","1392176340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/caba44b3ea6fcc416a86218e3a0399ba.jpg","text":"TemporaryFile(/tmp/multipartBody3021993046067590921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206324414,"filename":"image_03112025_11_14_57_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/3/7505643210a4a0b6a40cb3b4bf0bc33a.jpg","text":"TemporaryFile(/tmp/multipartBody4769248233066237440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206324414,"filename":"image_03112025_11_14_24_6796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/acfc03a63cf95f2b23869a5a5cd88f94.jpg","text":"TemporaryFile(/tmp/multipartBody2764126273255597441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206324414,"filename":"image_03112025_11_14_29_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/3/6d412758f9dd9dabbf72f0b07f9696eb.jpg","text":"TemporaryFile(/tmp/multipartBody7084416483403909343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206324414,"filename":"image_03112025_11_14_56_26716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/95364c4a95c643e425e84a3f71060401.jpg","text":"TemporaryFile(/tmp/multipartBody3200159489546720828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206324414,"filename":"image_03112025_11_14_26_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/3/9cf5bdf550146908f05588633e1251a1.jpg","text":"TemporaryFile(/tmp/multipartBody3941858812164473763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206324414,"filename":"image_03112025_11_14_27_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392176329","file1":"1392176326","file0":"1392176279","file4":"1392176336","file5":"1392176340","file3":"1392176333"},"map_files_photo_id_array":[{"photo_id":"1392176340","filename":"file5"},{"photo_id":"1392176329","filename":"file2"},{"photo_id":"1392176336","filename":"file4"},{"photo_id":"1392176326","filename":"file1"},{"photo_id":"1392176279","filename":"file0"},{"photo_id":"1392176333","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392176340":["hashtag1","hashtag2"]},{"1392176279":["hashtag1","hashtag2"]},{"1392176333":["hashtag1","hashtag2"]},{"1392176336":["hashtag1","hashtag2"]},{"1392176326":["hashtag1","hashtag2"]},{"1392176329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392176340, 1392176279, 1392176333, 1392176336, 1392176326, 1392176329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83995962142944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:45:03.129414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_06_3010.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_10_3590.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_13_2644.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_16_3686.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_19_2649.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_22_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_06_3010.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_10_3590.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_13_2644.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_16_3686.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_19_2649.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_22_2805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392176583","1392176502","1392176403","1392176357","1392176461","1392176545"],"photo_ids_order":["1392176357","1392176403","1392176461","1392176502","1392176545","1392176583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/73a054bb302b9f750d4aedc51e86e7a4.jpg","text":"TemporaryFile(/tmp/multipartBody3168984523281699393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206364015,"filename":"image_03112025_11_17_22_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/3/993758345235a530c2b862c728a4e9b0.jpg","text":"TemporaryFile(/tmp/multipartBody5012060682117614214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206364015,"filename":"image_03112025_11_17_16_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/3/c8ad0fe60c145bd43d9a24033eacdfad.jpg","text":"TemporaryFile(/tmp/multipartBody605216213633132940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206364015,"filename":"image_03112025_11_17_10_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/3/8160ff133ffe24a944071e8fe8b114b1.jpg","text":"TemporaryFile(/tmp/multipartBody8418397730441949849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206364015,"filename":"image_03112025_11_17_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/3/4d5243640721bca5b5ea59f115a353a6.jpg","text":"TemporaryFile(/tmp/multipartBody4423310300514139375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206364015,"filename":"image_03112025_11_17_13_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8a354d8d068c4e5f77e5a7b9a2c18354.jpg","text":"TemporaryFile(/tmp/multipartBody780537299110162855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206364015,"filename":"image_03112025_11_17_19_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392176461","file1":"1392176403","file0":"1392176357","file4":"1392176545","file5":"1392176583","file3":"1392176502"},"map_files_photo_id_array":[{"photo_id":"1392176583","filename":"file5"},{"photo_id":"1392176461","filename":"file2"},{"photo_id":"1392176545","filename":"file4"},{"photo_id":"1392176403","filename":"file1"},{"photo_id":"1392176357","filename":"file0"},{"photo_id":"1392176502","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392176583":["hashtag1","hashtag2"]},{"1392176502":["hashtag1","hashtag2"]},{"1392176403":["hashtag1","hashtag2"]},{"1392176357":["hashtag1","hashtag2"]},{"1392176461":["hashtag1","hashtag2"]},{"1392176545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392176583, 1392176502, 1392176403, 1392176357, 1392176461, 1392176545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.69132709503174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:46:03.114249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_25_2820.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_27_2776.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_31_3626.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_34_2800.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_37_2743.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_39_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_25_2820.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_27_2776.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_31_3626.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_34_2800.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_37_2743.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_39_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392176663","1392176657","1392176666","1392176671","1392176683","1392176662"],"photo_ids_order":["1392176657","1392176662","1392176663","1392176666","1392176671","1392176683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f0429d97f3a060748adfb1df8df301a3.jpg","text":"TemporaryFile(/tmp/multipartBody8299757371340038761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206423949,"filename":"image_03112025_11_17_31_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/3/4203b3c40e136f838446ff5ebcf264bc.jpg","text":"TemporaryFile(/tmp/multipartBody6243806316420198086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206423949,"filename":"image_03112025_11_17_25_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/3/7f249c70252959d2b30627ded8615132.jpg","text":"TemporaryFile(/tmp/multipartBody1845213138116426417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206423949,"filename":"image_03112025_11_17_34_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/86a73ec20764bc1609e1c3b0ee6e64c1.jpg","text":"TemporaryFile(/tmp/multipartBody2266646116081888549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206423949,"filename":"image_03112025_11_17_37_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/3/6fef7051982a4146df8ad3e43dd50365.jpg","text":"TemporaryFile(/tmp/multipartBody2744712121199083963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206423949,"filename":"image_03112025_11_17_39_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/3/3c104aeb71bb31a39253ce4c31bc1ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5587375458056347860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206423949,"filename":"image_03112025_11_17_27_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392176663","file1":"1392176662","file0":"1392176657","file4":"1392176671","file5":"1392176683","file3":"1392176666"},"map_files_photo_id_array":[{"photo_id":"1392176683","filename":"file5"},{"photo_id":"1392176663","filename":"file2"},{"photo_id":"1392176671","filename":"file4"},{"photo_id":"1392176662","filename":"file1"},{"photo_id":"1392176657","filename":"file0"},{"photo_id":"1392176666","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392176663":["hashtag1","hashtag2"]},{"1392176657":["hashtag1","hashtag2"]},{"1392176666":["hashtag1","hashtag2"]},{"1392176671":["hashtag1","hashtag2"]},{"1392176683":["hashtag1","hashtag2"]},{"1392176662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392176663, 1392176657, 1392176666, 1392176671, 1392176683, 1392176662)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.7711546421051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:47:03.292650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 22:47:22.536115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_43_3576.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_54_11138.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_56_1522.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_57_1759.jpg', '/home/pi/Desktop/images/03112025/11/17/image_03112025_11_18_01_1629.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_02_1518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_43_3576.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_54_11138.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_56_1522.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_17_57_1759.jpg
/home/pi/Desktop/images/03112025/11/17/image_03112025_11_18_01_1629.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_02_1518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392176799","1392176841","1392176916","1392176998","1392176878","1392176950"],"photo_ids_order":["1392176799","1392176841","1392176878","1392176916","1392176950","1392176998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d147329174da497ce878d0a56befc40e.jpg","text":"TemporaryFile(/tmp/multipartBody3687533134452373189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206505273,"filename":"image_03112025_11_17_43_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/3/147f0f76c641bb0b018592c9eee12eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5322296243718445169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206505273,"filename":"image_03112025_11_17_54_11138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6f8cd084e9f0a981ac14e674ecdadfe1.jpg","text":"TemporaryFile(/tmp/multipartBody350345008812620455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206505273,"filename":"image_03112025_11_17_57_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/3/35e682ce9850e8509da0956b385bb419.jpg","text":"TemporaryFile(/tmp/multipartBody7518640195352317011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206505273,"filename":"image_03112025_11_18_02_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/3/dbbd2f0a159c124dd90aa357f8755d5b.jpg","text":"TemporaryFile(/tmp/multipartBody2924359455360043248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206505273,"filename":"image_03112025_11_17_56_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/3/0a421fcaa0620fbdeed1393a42b3a503.jpg","text":"TemporaryFile(/tmp/multipartBody6668475695807656867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206505273,"filename":"image_03112025_11_18_01_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392176878","file1":"1392176841","file0":"1392176799","file4":"1392176950","file5":"1392176998","file3":"1392176916"},"map_files_photo_id_array":[{"photo_id":"1392176998","filename":"file5"},{"photo_id":"1392176878","filename":"file2"},{"photo_id":"1392176950","filename":"file4"},{"photo_id":"1392176841","filename":"file1"},{"photo_id":"1392176799","filename":"file0"},{"photo_id":"1392176916","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392176799":["hashtag1","hashtag2"]},{"1392176841":["hashtag1","hashtag2"]},{"1392176916":["hashtag1","hashtag2"]},{"1392176998":["hashtag1","hashtag2"]},{"1392176878":["hashtag1","hashtag2"]},{"1392176950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392176799, 1392176841, 1392176916, 1392176998, 1392176878, 1392176950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.133756160736084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:48:03.236026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 22:48:22.696787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_04_1547.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_06_2829.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_10_3583.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_13_2591.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_15_2705.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_19_3833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_04_1547.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_06_2829.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_10_3583.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_13_2591.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_15_2705.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_19_3833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392177438","1392177365","1392177326","1392177478","1392177401","1392177289"],"photo_ids_order":["1392177289","1392177326","1392177365","1392177401","1392177438","1392177478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a6325ff5e05851665e9c5dd755862f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1696823239631137678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206563439,"filename":"image_03112025_11_18_15_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/3/ed3198824fb22ba5ba695684416e0116.jpg","text":"TemporaryFile(/tmp/multipartBody5878834454361898012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206563439,"filename":"image_03112025_11_18_10_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/3/a7284b52b2acbe1b9a3efdacaa55cceb.jpg","text":"TemporaryFile(/tmp/multipartBody348913696465078982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206563439,"filename":"image_03112025_11_18_06_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/3/2c27cb4dcd6af29432bf7fd679ba4811.jpg","text":"TemporaryFile(/tmp/multipartBody2506548587340976852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206563439,"filename":"image_03112025_11_18_19_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/3/d1aeca4449fbe7befd593525f78f3021.jpg","text":"TemporaryFile(/tmp/multipartBody9155135716119011767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206563439,"filename":"image_03112025_11_18_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/3/682a966999061b3281760c1ec525b0a7.jpg","text":"TemporaryFile(/tmp/multipartBody5391131584610130908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206563439,"filename":"image_03112025_11_18_04_1547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392177365","file1":"1392177326","file0":"1392177289","file4":"1392177438","file5":"1392177478","file3":"1392177401"},"map_files_photo_id_array":[{"photo_id":"1392177478","filename":"file5"},{"photo_id":"1392177365","filename":"file2"},{"photo_id":"1392177438","filename":"file4"},{"photo_id":"1392177326","filename":"file1"},{"photo_id":"1392177289","filename":"file0"},{"photo_id":"1392177401","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392177438":["hashtag1","hashtag2"]},{"1392177365":["hashtag1","hashtag2"]},{"1392177326":["hashtag1","hashtag2"]},{"1392177478":["hashtag1","hashtag2"]},{"1392177401":["hashtag1","hashtag2"]},{"1392177289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392177438, 1392177365, 1392177326, 1392177478, 1392177401, 1392177289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64379358291626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:49:03.046584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_45_23393.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_48_3026.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_50_1525.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_51_1623.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_53_1792.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_55_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_45_23393.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_48_3026.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_50_1525.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_51_1623.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_53_1792.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_55_1735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392177692","1392177618","1392177656","1392177796","1392177760","1392177727"],"photo_ids_order":["1392177618","1392177656","1392177692","1392177727","1392177760","1392177796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7753911511010c91598cd05fc9e0af2a.jpg","text":"TemporaryFile(/tmp/multipartBody7225959827813479757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206603975,"filename":"image_03112025_11_18_50_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/3/869827f2e20fec5c27f3e45aa308a816.jpg","text":"TemporaryFile(/tmp/multipartBody591307737596593763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206603975,"filename":"image_03112025_11_18_45_23393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8f82f5de187576681306d54617b08dcb.jpg","text":"TemporaryFile(/tmp/multipartBody365978994948891831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206603975,"filename":"image_03112025_11_18_48_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/3/fe668090bf95ed0a5356bfe526ac359d.jpg","text":"TemporaryFile(/tmp/multipartBody770498576877930636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206603975,"filename":"image_03112025_11_18_55_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/3/27c4db937271a2537c70026e3c024e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2971893178889614862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206603975,"filename":"image_03112025_11_18_53_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/3/f5bba9e45ea648e2b12d8e49b19157e4.jpg","text":"TemporaryFile(/tmp/multipartBody4247979520837957015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206603975,"filename":"image_03112025_11_18_51_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392177692","file1":"1392177656","file0":"1392177618","file4":"1392177760","file5":"1392177796","file3":"1392177727"},"map_files_photo_id_array":[{"photo_id":"1392177796","filename":"file5"},{"photo_id":"1392177692","filename":"file2"},{"photo_id":"1392177760","filename":"file4"},{"photo_id":"1392177656","filename":"file1"},{"photo_id":"1392177618","filename":"file0"},{"photo_id":"1392177727","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392177692":["hashtag1","hashtag2"]},{"1392177618":["hashtag1","hashtag2"]},{"1392177656":["hashtag1","hashtag2"]},{"1392177796":["hashtag1","hashtag2"]},{"1392177760":["hashtag1","hashtag2"]},{"1392177727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392177692, 1392177618, 1392177656, 1392177796, 1392177760, 1392177727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44782495498657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:49:42.217696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_56_1612.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_58_1591.jpg', '/home/pi/Desktop/images/03112025/11/18/image_03112025_11_19_00_1685.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_02_1826.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_03_1641.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_05_1527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_56_1612.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_18_58_1591.jpg
/home/pi/Desktop/images/03112025/11/18/image_03112025_11_19_00_1685.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_02_1826.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_03_1641.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_05_1527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392177903","1392177900","1392177905","1392177907","1392177897","1392177901"],"photo_ids_order":["1392177897","1392177900","1392177901","1392177903","1392177905","1392177907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8f00ddc3df67bd672383b513511fb6d2.jpg","text":"TemporaryFile(/tmp/multipartBody7353185255832348869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206652493,"filename":"image_03112025_11_19_02_1826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/838f0b47356b78a166631027cf8d410c.jpg","text":"TemporaryFile(/tmp/multipartBody6199280562061110355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206652493,"filename":"image_03112025_11_18_58_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/3/e66e6e258b1760dd66533651e2f0ef94.jpg","text":"TemporaryFile(/tmp/multipartBody3083816357266510706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206652493,"filename":"image_03112025_11_19_03_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/3/82873226dbb533d17b5049450b1b3814.jpg","text":"TemporaryFile(/tmp/multipartBody6875992797618015654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206652493,"filename":"image_03112025_11_19_05_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/3/63482f49e2c9f0663bb0e295e5195394.jpg","text":"TemporaryFile(/tmp/multipartBody6080866911632654375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206652493,"filename":"image_03112025_11_18_56_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/3/0d0a04dbd6a0132684dd951c15dda5f3.jpg","text":"TemporaryFile(/tmp/multipartBody3223556836417372052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206652493,"filename":"image_03112025_11_19_00_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392177901","file1":"1392177900","file0":"1392177897","file4":"1392177905","file5":"1392177907","file3":"1392177903"},"map_files_photo_id_array":[{"photo_id":"1392177907","filename":"file5"},{"photo_id":"1392177901","filename":"file2"},{"photo_id":"1392177905","filename":"file4"},{"photo_id":"1392177900","filename":"file1"},{"photo_id":"1392177897","filename":"file0"},{"photo_id":"1392177903","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392177903":["hashtag1","hashtag2"]},{"1392177900":["hashtag1","hashtag2"]},{"1392177905":["hashtag1","hashtag2"]},{"1392177907":["hashtag1","hashtag2"]},{"1392177897":["hashtag1","hashtag2"]},{"1392177901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392177903, 1392177900, 1392177905, 1392177907, 1392177897, 1392177901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.48667883872986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:50:42.379522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_06_1639.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_08_1654.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_10_1566.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_11_1487.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_13_1654.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_16_2936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_06_1639.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_08_1654.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_10_1566.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_11_1487.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_13_1654.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_16_2936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392178317","1392178125","1392178430","1392178055","1392178208","1392178536"],"photo_ids_order":["1392178055","1392178125","1392178208","1392178317","1392178430","1392178536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2181e7d494e7e38422f19dde648c0fe0.jpg","text":"TemporaryFile(/tmp/multipartBody5824336298826628777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206711208,"filename":"image_03112025_11_19_11_1487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/803f06594209806ef4eba01c10dcec25.jpg","text":"TemporaryFile(/tmp/multipartBody5668158585090702338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206711208,"filename":"image_03112025_11_19_08_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/3/051e169589f33e9a14ac96793491c383.jpg","text":"TemporaryFile(/tmp/multipartBody1474259254151596673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206711208,"filename":"image_03112025_11_19_13_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/3/6636539974b9bea7de0707234e3ad99c.jpg","text":"TemporaryFile(/tmp/multipartBody2072274699287292177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206711208,"filename":"image_03112025_11_19_06_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/3/9c22d51797731828cd1ef0324e01b3fa.jpg","text":"TemporaryFile(/tmp/multipartBody8106552644321351877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206711208,"filename":"image_03112025_11_19_10_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/3/c5e0ce4586c82e18a5142d5d4f552392.jpg","text":"TemporaryFile(/tmp/multipartBody8199041849472509677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206711208,"filename":"image_03112025_11_19_16_2936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392178208","file1":"1392178125","file0":"1392178055","file4":"1392178430","file5":"1392178536","file3":"1392178317"},"map_files_photo_id_array":[{"photo_id":"1392178536","filename":"file5"},{"photo_id":"1392178208","filename":"file2"},{"photo_id":"1392178430","filename":"file4"},{"photo_id":"1392178125","filename":"file1"},{"photo_id":"1392178055","filename":"file0"},{"photo_id":"1392178317","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392178317":["hashtag1","hashtag2"]},{"1392178125":["hashtag1","hashtag2"]},{"1392178430":["hashtag1","hashtag2"]},{"1392178055":["hashtag1","hashtag2"]},{"1392178208":["hashtag1","hashtag2"]},{"1392178536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392178317, 1392178125, 1392178430, 1392178055, 1392178208, 1392178536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.774770736694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:51:42.661551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_18_2723.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_22_3675.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_25_2553.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_27_2698.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_31_3648.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_35_3935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_18_2723.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_22_3675.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_25_2553.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_27_2698.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_31_3648.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_35_3935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392179036","1392179006","1392179009","1392178986","1392178950","1392179103"],"photo_ids_order":["1392178950","1392178986","1392179006","1392179009","1392179036","1392179103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fd97fa13777c8beccb7db5970a0878e1.jpg","text":"TemporaryFile(/tmp/multipartBody8493266712851355670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206763509,"filename":"image_03112025_11_19_31_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/3/958104683d2ce3981ac4594006ff36e6.jpg","text":"TemporaryFile(/tmp/multipartBody5444605882122781859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206763509,"filename":"image_03112025_11_19_25_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/3/cdf4a0421f393a8763d3dd305b3b605c.jpg","text":"TemporaryFile(/tmp/multipartBody3948168095192793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206763509,"filename":"image_03112025_11_19_27_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ba92a708fd3c06bf3ce73ac1fdae6701.jpg","text":"TemporaryFile(/tmp/multipartBody7938348455460462970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206763509,"filename":"image_03112025_11_19_22_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/3/80c31776e6a7099017b10229cd07ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody1418453658743581522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206763509,"filename":"image_03112025_11_19_18_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9419c6c5015540bb6a9e33d30c42c1a6.jpg","text":"TemporaryFile(/tmp/multipartBody249468288312825193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206763509,"filename":"image_03112025_11_19_35_3935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392179006","file1":"1392178986","file0":"1392178950","file4":"1392179036","file5":"1392179103","file3":"1392179009"},"map_files_photo_id_array":[{"photo_id":"1392179103","filename":"file5"},{"photo_id":"1392179006","filename":"file2"},{"photo_id":"1392179036","filename":"file4"},{"photo_id":"1392178986","filename":"file1"},{"photo_id":"1392178950","filename":"file0"},{"photo_id":"1392179009","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392179036":["hashtag1","hashtag2"]},{"1392179006":["hashtag1","hashtag2"]},{"1392179009":["hashtag1","hashtag2"]},{"1392178986":["hashtag1","hashtag2"]},{"1392178950":["hashtag1","hashtag2"]},{"1392179103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392179036, 1392179006, 1392179009, 1392178986, 1392178950, 1392179103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01537609100342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:52:21.904253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_37_1727.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_52_15742.jpg', '/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_54_1783.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_07_3011.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_10_3599.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_13_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_37_1727.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_52_15742.jpg
/home/pi/Desktop/images/03112025/11/19/image_03112025_11_19_54_1783.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_07_3011.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_10_3599.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_13_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392179234","1392179303","1392179269","1392179317","1392179280","1392179313"],"photo_ids_order":["1392179234","1392179269","1392179280","1392179303","1392179313","1392179317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12b8e7827109f395f4cb4f3e57ff4bd2.jpg","text":"TemporaryFile(/tmp/multipartBody357007097121848145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206802703,"filename":"image_03112025_11_19_37_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/3/f290af1b416442ea32ada248157b26b5.jpg","text":"TemporaryFile(/tmp/multipartBody1176275123000334556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206802703,"filename":"image_03112025_11_21_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/3/a3996d6c33a1ac1c6f0bdb3191f986f3.jpg","text":"TemporaryFile(/tmp/multipartBody2518360941666612641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206802703,"filename":"image_03112025_11_19_52_15742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8fb8ed4da19700b635434385218b00cf.jpg","text":"TemporaryFile(/tmp/multipartBody5457722739277300417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206802703,"filename":"image_03112025_11_21_13_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/3/33cafd66d608a42eb1c39f38aee551c2.jpg","text":"TemporaryFile(/tmp/multipartBody4273720614674741734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206802703,"filename":"image_03112025_11_19_54_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/3/78356d291e856504363316d45d98de5a.jpg","text":"TemporaryFile(/tmp/multipartBody2197230068690749055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206802703,"filename":"image_03112025_11_21_10_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392179280","file1":"1392179269","file0":"1392179234","file4":"1392179313","file5":"1392179317","file3":"1392179303"},"map_files_photo_id_array":[{"photo_id":"1392179317","filename":"file5"},{"photo_id":"1392179280","filename":"file2"},{"photo_id":"1392179313","filename":"file4"},{"photo_id":"1392179269","filename":"file1"},{"photo_id":"1392179234","filename":"file0"},{"photo_id":"1392179303","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392179234":["hashtag1","hashtag2"]},{"1392179303":["hashtag1","hashtag2"]},{"1392179269":["hashtag1","hashtag2"]},{"1392179317":["hashtag1","hashtag2"]},{"1392179280":["hashtag1","hashtag2"]},{"1392179313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392179234, 1392179303, 1392179269, 1392179317, 1392179280, 1392179313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6584358215332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:53:02.695542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_22_8687.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_23_1888.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_25_1649.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_27_1599.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_28_1731.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_31_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_22_8687.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_23_1888.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_25_1649.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_27_1599.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_28_1731.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_31_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392179336","1392179321","1392179318","1392179332","1392179329","1392179325"],"photo_ids_order":["1392179318","1392179321","1392179325","1392179329","1392179332","1392179336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4de3e9f5fa743db98bb0e622e4cd31ad.jpg","text":"TemporaryFile(/tmp/multipartBody311051966933858219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206843621,"filename":"image_03112025_11_21_31_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/3/365e5158797ceac87aee2e42335ab115.jpg","text":"TemporaryFile(/tmp/multipartBody3550126507218542581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206843621,"filename":"image_03112025_11_21_23_1888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9cf65fb8bd23fe7e873ce8430c799fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6970324487686131814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206843621,"filename":"image_03112025_11_21_22_8687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6b8e7465cab28871c7e6d4d48b845ac5.jpg","text":"TemporaryFile(/tmp/multipartBody833301095332401291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206843621,"filename":"image_03112025_11_21_28_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/3/c573bca6e7d95050764a9fa1e059aede.jpg","text":"TemporaryFile(/tmp/multipartBody4939129756552039573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206843621,"filename":"image_03112025_11_21_27_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/3/c7c5d68b5e4cdcd8e9bf62e59eafa925.jpg","text":"TemporaryFile(/tmp/multipartBody713697149956750219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206843621,"filename":"image_03112025_11_21_25_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392179325","file1":"1392179321","file0":"1392179318","file4":"1392179332","file5":"1392179336","file3":"1392179329"},"map_files_photo_id_array":[{"photo_id":"1392179336","filename":"file5"},{"photo_id":"1392179325","filename":"file2"},{"photo_id":"1392179332","filename":"file4"},{"photo_id":"1392179321","filename":"file1"},{"photo_id":"1392179318","filename":"file0"},{"photo_id":"1392179329","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392179336":["hashtag1","hashtag2"]},{"1392179321":["hashtag1","hashtag2"]},{"1392179318":["hashtag1","hashtag2"]},{"1392179332":["hashtag1","hashtag2"]},{"1392179329":["hashtag1","hashtag2"]},{"1392179325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392179336, 1392179321, 1392179318, 1392179332, 1392179329, 1392179325)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.35626292228699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:54:03.362063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_34_2649.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_40_2600.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_43_2636.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_46_3610.jpg', '/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_49_2696.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_09_19759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_34_2649.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_40_2600.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_43_2636.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_46_3610.jpg
/home/pi/Desktop/images/03112025/11/21/image_03112025_11_21_49_2696.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_09_19759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392179426","1392179411","1392179383","1392179377","1392179416","1392179421"],"photo_ids_order":["1392179377","1392179383","1392179411","1392179416","1392179421","1392179426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/785d2c733d00c9e71ca3c75777dc3584.jpg","text":"TemporaryFile(/tmp/multipartBody3497992390160664768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206905265,"filename":"image_03112025_11_22_09_19759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e3509de10c41fab5c777249c8fa24e28.jpg","text":"TemporaryFile(/tmp/multipartBody1143480936769494195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206905265,"filename":"image_03112025_11_21_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/3/61367453cabc7c3139646c960bdab8e6.jpg","text":"TemporaryFile(/tmp/multipartBody2549376872239506633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206905265,"filename":"image_03112025_11_21_40_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c627e950422cb7b3440828c65f960141.jpg","text":"TemporaryFile(/tmp/multipartBody7964503731847288232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206905265,"filename":"image_03112025_11_21_34_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/3/c4e60b4a0c0287a625d8a25745273a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8782811457479905514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206905265,"filename":"image_03112025_11_21_46_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/3/7aadabbefaab67a4ccaf36146ac6f2ac.jpg","text":"TemporaryFile(/tmp/multipartBody4321297396101528229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206905265,"filename":"image_03112025_11_21_49_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392179411","file1":"1392179383","file0":"1392179377","file4":"1392179421","file5":"1392179426","file3":"1392179416"},"map_files_photo_id_array":[{"photo_id":"1392179426","filename":"file5"},{"photo_id":"1392179411","filename":"file2"},{"photo_id":"1392179421","filename":"file4"},{"photo_id":"1392179383","filename":"file1"},{"photo_id":"1392179377","filename":"file0"},{"photo_id":"1392179416","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392179426":["hashtag1","hashtag2"]},{"1392179411":["hashtag1","hashtag2"]},{"1392179383":["hashtag1","hashtag2"]},{"1392179377":["hashtag1","hashtag2"]},{"1392179416":["hashtag1","hashtag2"]},{"1392179421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392179426, 1392179411, 1392179383, 1392179377, 1392179416, 1392179421)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.3248610496521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:55:02.730090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_10_1729.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_12_1638.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_14_1597.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_15_1602.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_17_1651.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_18_1510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_10_1729.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_12_1638.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_14_1597.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_15_1602.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_17_1651.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_18_1510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392179581","1392179583","1392179577","1392179568","1392179588","1392179585"],"photo_ids_order":["1392179568","1392179577","1392179581","1392179583","1392179585","1392179588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d25e2fb953cd9d8809f075b8c0c8f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody2131275646420344702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206963651,"filename":"image_03112025_11_22_14_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/3/e112e0dc88a9ef92db1ef73392d7f8d4.jpg","text":"TemporaryFile(/tmp/multipartBody8999980442048343832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206963651,"filename":"image_03112025_11_22_15_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/3/fba3215fa72f692d97a1db1f6b9d248b.jpg","text":"TemporaryFile(/tmp/multipartBody7836499150891757697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206963651,"filename":"image_03112025_11_22_12_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/3/7aae72ab514a15f06fa1069247c6a08f.jpg","text":"TemporaryFile(/tmp/multipartBody7581755137906397647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206963651,"filename":"image_03112025_11_22_10_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/3/410cecffcbffa20d13f2054834e403f5.jpg","text":"TemporaryFile(/tmp/multipartBody8295094988227796860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206963651,"filename":"image_03112025_11_22_18_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/65ffddf322c2ee48ce19f27f45801266.jpg","text":"TemporaryFile(/tmp/multipartBody3463806438245787464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762206963651,"filename":"image_03112025_11_22_17_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392179581","file1":"1392179577","file0":"1392179568","file4":"1392179585","file5":"1392179588","file3":"1392179583"},"map_files_photo_id_array":[{"photo_id":"1392179588","filename":"file5"},{"photo_id":"1392179581","filename":"file2"},{"photo_id":"1392179585","filename":"file4"},{"photo_id":"1392179577","filename":"file1"},{"photo_id":"1392179568","filename":"file0"},{"photo_id":"1392179583","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392179581":["hashtag1","hashtag2"]},{"1392179583":["hashtag1","hashtag2"]},{"1392179577":["hashtag1","hashtag2"]},{"1392179568":["hashtag1","hashtag2"]},{"1392179588":["hashtag1","hashtag2"]},{"1392179585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392179581, 1392179583, 1392179577, 1392179568, 1392179588, 1392179585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6652729511261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 22:55:42.016030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_20_1764.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_22_1654.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_24_1761.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_25_1593.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_27_1675.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_29_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_20_1764.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_22_1654.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_24_1761.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_25_1593.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_27_1675.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_29_1627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392179645","1392179618","1392179635","1392179623","1392179607","1392179597"],"photo_ids_order":["1392179597","1392179607","1392179618","1392179623","1392179635","1392179645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/03f0d5f04f204db7a8ff36da58082bcf.jpg","text":"TemporaryFile(/tmp/multipartBody725786785446490953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207002833,"filename":"image_03112025_11_22_29_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/3/4397f60bf8cf4e73f47a6ea479fd188c.jpg","text":"TemporaryFile(/tmp/multipartBody4617517239390893105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207002833,"filename":"image_03112025_11_22_24_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/3/e5307e6b77d30f907f490114256f44ec.jpg","text":"TemporaryFile(/tmp/multipartBody6722723911135699060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207002833,"filename":"image_03112025_11_22_27_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0feee1518e5f11ac49daccf0db02d59d.jpg","text":"TemporaryFile(/tmp/multipartBody784525034035198672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207002833,"filename":"image_03112025_11_22_25_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/3/b983f96cc041314aa8e70a8b7df9083d.jpg","text":"TemporaryFile(/tmp/multipartBody147967041790429516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207002833,"filename":"image_03112025_11_22_22_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/3/2c215c077e8bbafac92769c178b79e63.jpg","text":"TemporaryFile(/tmp/multipartBody7692019726319995402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207002833,"filename":"image_03112025_11_22_20_1764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392179618","file1":"1392179607","file0":"1392179597","file4":"1392179635","file5":"1392179645","file3":"1392179623"},"map_files_photo_id_array":[{"photo_id":"1392179645","filename":"file5"},{"photo_id":"1392179618","filename":"file2"},{"photo_id":"1392179635","filename":"file4"},{"photo_id":"1392179607","filename":"file1"},{"photo_id":"1392179597","filename":"file0"},{"photo_id":"1392179623","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392179645":["hashtag1","hashtag2"]},{"1392179618":["hashtag1","hashtag2"]},{"1392179635":["hashtag1","hashtag2"]},{"1392179623":["hashtag1","hashtag2"]},{"1392179607":["hashtag1","hashtag2"]},{"1392179597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392179645, 1392179618, 1392179635, 1392179623, 1392179607, 1392179597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36451864242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:56:22.185528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_30_1879.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_34_3613.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_37_2660.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_40_3531.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_43_2673.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_46_3021.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_30_1879.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_34_3613.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_37_2660.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_40_3531.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_43_2673.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_46_3021.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392179962","1392179842","1392179923","1392179799","1392180001","1392179882"],"photo_ids_order":["1392179799","1392179842","1392179882","1392179923","1392179962","1392180001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f37412c1ef71ee536580a5756f9392e3.jpg","text":"TemporaryFile(/tmp/multipartBody4658443349448413986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207042985,"filename":"image_03112025_11_22_43_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/3/3e8d1511fb85df7ae6c7586a2f9ae758.jpg","text":"TemporaryFile(/tmp/multipartBody5001302729777935642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207042985,"filename":"image_03112025_11_22_34_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/3/45389cf839a76b501ef0a16fa80ffded.jpg","text":"TemporaryFile(/tmp/multipartBody661354073677582730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207042985,"filename":"image_03112025_11_22_40_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/3/1c7d4d4ab52637af035863998c07b67c.jpg","text":"TemporaryFile(/tmp/multipartBody8942356296110954097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207042985,"filename":"image_03112025_11_22_30_1879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ad68c3e73146c1850dcbcc8a926a300c.jpg","text":"TemporaryFile(/tmp/multipartBody336264948380801503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207042985,"filename":"image_03112025_11_22_46_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/3/e4561fcddef17522b0e97c0167ea1e96.jpg","text":"TemporaryFile(/tmp/multipartBody5195623331526825892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207042985,"filename":"image_03112025_11_22_37_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392179882","file1":"1392179842","file0":"1392179799","file4":"1392179962","file5":"1392180001","file3":"1392179923"},"map_files_photo_id_array":[{"photo_id":"1392180001","filename":"file5"},{"photo_id":"1392179882","filename":"file2"},{"photo_id":"1392179962","filename":"file4"},{"photo_id":"1392179842","filename":"file1"},{"photo_id":"1392179799","filename":"file0"},{"photo_id":"1392179923","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392179962":["hashtag1","hashtag2"]},{"1392179842":["hashtag1","hashtag2"]},{"1392179923":["hashtag1","hashtag2"]},{"1392179799":["hashtag1","hashtag2"]},{"1392180001":["hashtag1","hashtag2"]},{"1392179882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392179962, 1392179842, 1392179923, 1392179799, 1392180001, 1392179882)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.95226049423218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 22:57:24.379279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_49_2601.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_52_3672.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_55_2687.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_57_2560.jpg', '/home/pi/Desktop/images/03112025/11/22/image_03112025_11_23_01_3731.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_14_13256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_49_2601.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_52_3672.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_55_2687.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_22_57_2560.jpg
/home/pi/Desktop/images/03112025/11/22/image_03112025_11_23_01_3731.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_14_13256.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392180485","1392180406","1392180366","1392180447","1392180528","1392180324"],"photo_ids_order":["1392180324","1392180366","1392180406","1392180447","1392180485","1392180528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/15d378682c7af03b2b250f8fb7c1c295.jpg","text":"TemporaryFile(/tmp/multipartBody4958039390491453292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207105233,"filename":"image_03112025_11_23_01_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/3/4a5eee5b9a724601e2515a217debf388.jpg","text":"TemporaryFile(/tmp/multipartBody4662819512762339336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207105233,"filename":"image_03112025_11_22_55_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/3/75724e691cdcab84b99d5a1f507fe397.jpg","text":"TemporaryFile(/tmp/multipartBody7484125298586398503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207105233,"filename":"image_03112025_11_22_52_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/3/ad070c1769f6230d63d2e2cf066ab7a5.jpg","text":"TemporaryFile(/tmp/multipartBody7119387743174895229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207105233,"filename":"image_03112025_11_22_57_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/3/7eb0901ae03f0126749fb483ca403af5.jpg","text":"TemporaryFile(/tmp/multipartBody4138762968254843066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207105233,"filename":"image_03112025_11_23_14_13256.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3c72378007cfd5cfac313a983389fe99.jpg","text":"TemporaryFile(/tmp/multipartBody3073616232808953406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207105233,"filename":"image_03112025_11_22_49_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392180406","file1":"1392180366","file0":"1392180324","file4":"1392180485","file5":"1392180528","file3":"1392180447"},"map_files_photo_id_array":[{"photo_id":"1392180528","filename":"file5"},{"photo_id":"1392180406","filename":"file2"},{"photo_id":"1392180485","filename":"file4"},{"photo_id":"1392180366","filename":"file1"},{"photo_id":"1392180324","filename":"file0"},{"photo_id":"1392180447","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392180485":["hashtag1","hashtag2"]},{"1392180406":["hashtag1","hashtag2"]},{"1392180366":["hashtag1","hashtag2"]},{"1392180447":["hashtag1","hashtag2"]},{"1392180528":["hashtag1","hashtag2"]},{"1392180324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392180485, 1392180406, 1392180366, 1392180447, 1392180528, 1392180324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17552614212036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 22:59:06.866120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 22:59:26.014909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_16_1628.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_18_1884.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_20_1657.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_21_1790.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_27_1730.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_29_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_16_1628.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_18_1884.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_20_1657.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_21_1790.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_27_1730.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_29_1662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392181031","1392180884","1392180950","1392180887","1392180910","1392180989"],"photo_ids_order":["1392180884","1392180887","1392180910","1392180950","1392180989","1392181031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6e0e5634a85215a899506e0c870aa45f.jpg","text":"TemporaryFile(/tmp/multipartBody1454564626137860267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207226882,"filename":"image_03112025_11_23_29_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/3/4b732f191cb70fe132fdc6d3ea386113.jpg","text":"TemporaryFile(/tmp/multipartBody1581047922293225988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207226882,"filename":"image_03112025_11_23_16_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/3/178e4dd272fb38dbf7aeacefeb61cd3b.jpg","text":"TemporaryFile(/tmp/multipartBody8065160601602989064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207226882,"filename":"image_03112025_11_23_21_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c2b3d5fcf70a1c70f74a4180fe879a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7136483707906753386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207226882,"filename":"image_03112025_11_23_18_1884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f44aa8115bfdb35882c6ce2bd53bd854.jpg","text":"TemporaryFile(/tmp/multipartBody3896060264041676962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207226882,"filename":"image_03112025_11_23_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/3/12b7efd22295ac3d0a580f8e8aec3d62.jpg","text":"TemporaryFile(/tmp/multipartBody334146164479583016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207226882,"filename":"image_03112025_11_23_27_1730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392180910","file1":"1392180887","file0":"1392180884","file4":"1392180989","file5":"1392181031","file3":"1392180950"},"map_files_photo_id_array":[{"photo_id":"1392181031","filename":"file5"},{"photo_id":"1392180910","filename":"file2"},{"photo_id":"1392180989","filename":"file4"},{"photo_id":"1392180887","filename":"file1"},{"photo_id":"1392180884","filename":"file0"},{"photo_id":"1392180950","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392181031":["hashtag1","hashtag2"]},{"1392180884":["hashtag1","hashtag2"]},{"1392180950":["hashtag1","hashtag2"]},{"1392180887":["hashtag1","hashtag2"]},{"1392180910":["hashtag1","hashtag2"]},{"1392180989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392181031, 1392180884, 1392180950, 1392180887, 1392180910, 1392180989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03247833251953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:00:22.136394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_30_1590.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_32_1692.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_34_1722.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_36_2526.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_40_3881.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_43_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_30_1590.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_32_1692.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_34_1722.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_36_2526.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_40_3881.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_43_2832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392181333","1392181336","1392181411","1392181338","1392181326","1392181376"],"photo_ids_order":["1392181326","1392181333","1392181336","1392181338","1392181376","1392181411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e866224af433cf2f21493f645cd3a4cb.jpg","text":"TemporaryFile(/tmp/multipartBody7400128168152935920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207285433,"filename":"image_03112025_11_23_32_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/3/0ac167c56c255ab7eed122245331332e.jpg","text":"TemporaryFile(/tmp/multipartBody4066028664570026383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207285433,"filename":"image_03112025_11_23_34_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/3/aa20c44f181b134586aa85ca7b263a14.jpg","text":"TemporaryFile(/tmp/multipartBody716547725617753821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207285433,"filename":"image_03112025_11_23_43_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/3/690c2c95c823afa37f6e32dc8c099b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8043655230317328364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207285433,"filename":"image_03112025_11_23_36_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/3/29132bc9b9fac11120ffc4693b4f6ff7.jpg","text":"TemporaryFile(/tmp/multipartBody2290980828458334154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207285433,"filename":"image_03112025_11_23_30_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/3/17fd6cb8f729411e465336e2904ef057.jpg","text":"TemporaryFile(/tmp/multipartBody1914199327464867425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207285433,"filename":"image_03112025_11_23_40_3881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392181336","file1":"1392181333","file0":"1392181326","file4":"1392181376","file5":"1392181411","file3":"1392181338"},"map_files_photo_id_array":[{"photo_id":"1392181411","filename":"file5"},{"photo_id":"1392181336","filename":"file2"},{"photo_id":"1392181376","filename":"file4"},{"photo_id":"1392181333","filename":"file1"},{"photo_id":"1392181326","filename":"file0"},{"photo_id":"1392181338","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392181333":["hashtag1","hashtag2"]},{"1392181336":["hashtag1","hashtag2"]},{"1392181411":["hashtag1","hashtag2"]},{"1392181338":["hashtag1","hashtag2"]},{"1392181326":["hashtag1","hashtag2"]},{"1392181376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392181333, 1392181336, 1392181411, 1392181338, 1392181326, 1392181376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02420091629028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:01:23.742071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_46_2685.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_48_2673.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_52_3513.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_55_2694.jpg', '/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_58_2838.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_01_3893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_46_2685.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_48_2673.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_52_3513.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_55_2694.jpg
/home/pi/Desktop/images/03112025/11/23/image_03112025_11_23_58_2838.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_01_3893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392181520","1392181517","1392181502","1392181505","1392181513","1392181509"],"photo_ids_order":["1392181502","1392181505","1392181509","1392181513","1392181517","1392181520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d98e75b90cc19fdd75378b3d0fb80db.jpg","text":"TemporaryFile(/tmp/multipartBody2064445515467396568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207344596,"filename":"image_03112025_11_24_01_3893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/195eca132ce1f458c5503ce66f4933af.jpg","text":"TemporaryFile(/tmp/multipartBody803459854054844938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207344596,"filename":"image_03112025_11_23_58_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/3/4e5c67fc6a4057a6d3b7deff9027011d.jpg","text":"TemporaryFile(/tmp/multipartBody2111551547967996795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207344596,"filename":"image_03112025_11_23_46_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1b9a57dcf03a06b675eb256a5a09d877.jpg","text":"TemporaryFile(/tmp/multipartBody7351067177736758775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207344596,"filename":"image_03112025_11_23_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/3/114e484e6485f9938b74d575c2a3b783.jpg","text":"TemporaryFile(/tmp/multipartBody2457900167446487494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207344596,"filename":"image_03112025_11_23_55_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/3/f1cbbe1d9beeacd4fa3800c39c5d8e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3048831359361043281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207344596,"filename":"image_03112025_11_23_52_3513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392181509","file1":"1392181505","file0":"1392181502","file4":"1392181517","file5":"1392181520","file3":"1392181513"},"map_files_photo_id_array":[{"photo_id":"1392181520","filename":"file5"},{"photo_id":"1392181509","filename":"file2"},{"photo_id":"1392181517","filename":"file4"},{"photo_id":"1392181505","filename":"file1"},{"photo_id":"1392181502","filename":"file0"},{"photo_id":"1392181513","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392181520":["hashtag1","hashtag2"]},{"1392181517":["hashtag1","hashtag2"]},{"1392181502":["hashtag1","hashtag2"]},{"1392181505":["hashtag1","hashtag2"]},{"1392181513":["hashtag1","hashtag2"]},{"1392181509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392181520, 1392181517, 1392181502, 1392181505, 1392181513, 1392181509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6164231300354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:02:22.509271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_04_2616.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_07_2749.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_09_2668.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_12_2850.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_16_3723.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_19_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_04_2616.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_07_2749.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_09_2668.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_12_2850.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_16_3723.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_19_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392181939","1392181956","1392181892","1392181839","1392181949","1392181964"],"photo_ids_order":["1392181839","1392181892","1392181939","1392181949","1392181956","1392181964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5038541eb683c2c61b8f3a99e0679f0b.jpg","text":"TemporaryFile(/tmp/multipartBody8433503521297630887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207403619,"filename":"image_03112025_11_24_09_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ece466aeb581d919bcc6795dd55ff513.jpg","text":"TemporaryFile(/tmp/multipartBody3415136409071705741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207403619,"filename":"image_03112025_11_24_16_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/33064895152518b423b123f9b7e6e958.jpg","text":"TemporaryFile(/tmp/multipartBody1604748922997100014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207403619,"filename":"image_03112025_11_24_07_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/3/ffb18a2d8d291d9615b71d77645f86f6.jpg","text":"TemporaryFile(/tmp/multipartBody968026849293637405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207403619,"filename":"image_03112025_11_24_04_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/3/d1df156df5b9faae30f91d7e3f36543e.jpg","text":"TemporaryFile(/tmp/multipartBody5540926799800182581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207403619,"filename":"image_03112025_11_24_12_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/3/7f9fdb10ff9a987672bdce08bae8512c.jpg","text":"TemporaryFile(/tmp/multipartBody6157691904171169155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207403619,"filename":"image_03112025_11_24_19_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392181939","file1":"1392181892","file0":"1392181839","file4":"1392181956","file5":"1392181964","file3":"1392181949"},"map_files_photo_id_array":[{"photo_id":"1392181964","filename":"file5"},{"photo_id":"1392181939","filename":"file2"},{"photo_id":"1392181956","filename":"file4"},{"photo_id":"1392181892","filename":"file1"},{"photo_id":"1392181839","filename":"file0"},{"photo_id":"1392181949","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392181939":["hashtag1","hashtag2"]},{"1392181956":["hashtag1","hashtag2"]},{"1392181892":["hashtag1","hashtag2"]},{"1392181839":["hashtag1","hashtag2"]},{"1392181949":["hashtag1","hashtag2"]},{"1392181964":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392181939, 1392181956, 1392181892, 1392181839, 1392181949, 1392181964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89714002609253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:03:03.174494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 23:03:22.447558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_22_2839.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_24_2758.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_28_3695.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_31_2608.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_33_2609.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_37_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_22_2839.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_24_2758.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_28_3695.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_31_2608.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_33_2609.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_37_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392182653","1392182482","1392182578","1392182536","1392182416","1392182615"],"photo_ids_order":["1392182416","1392182482","1392182536","1392182578","1392182615","1392182653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/90ae7b730c987f93f03a4765662f84e5.jpg","text":"TemporaryFile(/tmp/multipartBody4516205601131023750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207463222,"filename":"image_03112025_11_24_37_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/3/f5c9f37e35227812b8b695a4e38b35af.jpg","text":"TemporaryFile(/tmp/multipartBody5943368552810218512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207463222,"filename":"image_03112025_11_24_24_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/3/c38cd355ab57d8340fc0927d778a7548.jpg","text":"TemporaryFile(/tmp/multipartBody5556732347571311294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207463222,"filename":"image_03112025_11_24_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/3/9275aa5ac8d1ca92bd9e7acf743b58d7.jpg","text":"TemporaryFile(/tmp/multipartBody4419588838013690831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207463222,"filename":"image_03112025_11_24_28_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d1a6120370c5c9b8660a7b886802f3ee.jpg","text":"TemporaryFile(/tmp/multipartBody4030562625998421421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207463222,"filename":"image_03112025_11_24_22_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/3/b65f584959d832fb3d99354139c2eecc.jpg","text":"TemporaryFile(/tmp/multipartBody7535013822195897174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207463222,"filename":"image_03112025_11_24_33_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392182536","file1":"1392182482","file0":"1392182416","file4":"1392182615","file5":"1392182653","file3":"1392182578"},"map_files_photo_id_array":[{"photo_id":"1392182653","filename":"file5"},{"photo_id":"1392182536","filename":"file2"},{"photo_id":"1392182615","filename":"file4"},{"photo_id":"1392182482","filename":"file1"},{"photo_id":"1392182416","filename":"file0"},{"photo_id":"1392182578","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392182653":["hashtag1","hashtag2"]},{"1392182482":["hashtag1","hashtag2"]},{"1392182578":["hashtag1","hashtag2"]},{"1392182536":["hashtag1","hashtag2"]},{"1392182416":["hashtag1","hashtag2"]},{"1392182615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392182653, 1392182482, 1392182578, 1392182536, 1392182416, 1392182615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86612415313721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:04:03.315121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_39_2583.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_43_3677.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_46_2684.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_48_2595.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_51_2808.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_55_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_39_2583.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_43_3677.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_46_2684.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_48_2595.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_51_2808.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_55_3554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392183001","1392182886","1392182847","1392182808","1392182963","1392182924"],"photo_ids_order":["1392182808","1392182847","1392182886","1392182924","1392182963","1392183001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/be8276f103f4f7ce69e46fa680d5567e.jpg","text":"TemporaryFile(/tmp/multipartBody2934267861479971419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207504354,"filename":"image_03112025_11_24_55_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/3/ee94b5993ea13e5c70f81290b85158a5.jpg","text":"TemporaryFile(/tmp/multipartBody4807787234201650326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207504354,"filename":"image_03112025_11_24_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/3/51f61a5fda0e6d290ccf0d909defae6e.jpg","text":"TemporaryFile(/tmp/multipartBody4348987550280538855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207504354,"filename":"image_03112025_11_24_43_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/3/666341a78594820e3dea9e1e59142172.jpg","text":"TemporaryFile(/tmp/multipartBody2658332489441480843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207504354,"filename":"image_03112025_11_24_39_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/3/3eab39ea0c54b00e990e2f01a9a1df16.jpg","text":"TemporaryFile(/tmp/multipartBody4734449721429731945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207504354,"filename":"image_03112025_11_24_51_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/3/d0e4398671af62223ab9bd8ec72952af.jpg","text":"TemporaryFile(/tmp/multipartBody3546137141800262487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207504354,"filename":"image_03112025_11_24_48_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392182886","file1":"1392182847","file0":"1392182808","file4":"1392182963","file5":"1392183001","file3":"1392182924"},"map_files_photo_id_array":[{"photo_id":"1392183001","filename":"file5"},{"photo_id":"1392182886","filename":"file2"},{"photo_id":"1392182963","filename":"file4"},{"photo_id":"1392182847","filename":"file1"},{"photo_id":"1392182808","filename":"file0"},{"photo_id":"1392182924","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392183001":["hashtag1","hashtag2"]},{"1392182886":["hashtag1","hashtag2"]},{"1392182847":["hashtag1","hashtag2"]},{"1392182808":["hashtag1","hashtag2"]},{"1392182963":["hashtag1","hashtag2"]},{"1392182924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392183001, 1392182886, 1392182847, 1392182808, 1392182963, 1392182924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59616756439209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:04:42.889193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_57_2642.jpg', '/home/pi/Desktop/images/03112025/11/24/image_03112025_11_25_01_3698.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_07_3011.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_10_3614.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_13_2832.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_16_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_24_57_2642.jpg
/home/pi/Desktop/images/03112025/11/24/image_03112025_11_25_01_3698.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_07_3011.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_10_3614.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_13_2832.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_16_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392183639","1392183453","1392183296","1392183212","1392183379","1392183550"],"photo_ids_order":["1392183212","1392183296","1392183379","1392183453","1392183550","1392183639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c512bd0ac29cd9f241d893869795d466.jpg","text":"TemporaryFile(/tmp/multipartBody6626909581694866631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207543775,"filename":"image_03112025_11_26_16_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/3/38594ae374edf60a013bec0e6571d4a0.jpg","text":"TemporaryFile(/tmp/multipartBody3104627105600648730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207543775,"filename":"image_03112025_11_26_10_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/3/02965eb77b3b0cb6f766458694790a45.jpg","text":"TemporaryFile(/tmp/multipartBody7067651819790572380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207543775,"filename":"image_03112025_11_25_01_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/3/974eb2512d146bace4e3ce681684f648.jpg","text":"TemporaryFile(/tmp/multipartBody2178712253385790383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207543775,"filename":"image_03112025_11_24_57_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/3/c95118c9feedd929e33d464124f630e2.jpg","text":"TemporaryFile(/tmp/multipartBody7961449381296763889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207543775,"filename":"image_03112025_11_26_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/3/7603023870a5cd6c8648910c173bf9b7.jpg","text":"TemporaryFile(/tmp/multipartBody8519387866424020497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207543775,"filename":"image_03112025_11_26_13_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392183379","file1":"1392183296","file0":"1392183212","file4":"1392183550","file5":"1392183639","file3":"1392183453"},"map_files_photo_id_array":[{"photo_id":"1392183639","filename":"file5"},{"photo_id":"1392183379","filename":"file2"},{"photo_id":"1392183550","filename":"file4"},{"photo_id":"1392183296","filename":"file1"},{"photo_id":"1392183212","filename":"file0"},{"photo_id":"1392183453","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392183639":["hashtag1","hashtag2"]},{"1392183453":["hashtag1","hashtag2"]},{"1392183296":["hashtag1","hashtag2"]},{"1392183212":["hashtag1","hashtag2"]},{"1392183379":["hashtag1","hashtag2"]},{"1392183550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392183639, 1392183453, 1392183296, 1392183212, 1392183379, 1392183550)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.73399543762207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:05:42.165042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_20_3837.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_22_2581.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_25_2672.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_29_3779.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_31_2587.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_34_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_20_3837.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_22_2581.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_25_2672.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_29_3779.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_31_2587.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_34_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392184020","1392184094","1392184055","1392183945","1392184136","1392183986"],"photo_ids_order":["1392183945","1392183986","1392184020","1392184055","1392184094","1392184136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/12a7e0a0512abdce4119119dc59167df.jpg","text":"TemporaryFile(/tmp/multipartBody6875864214250241518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207603047,"filename":"image_03112025_11_26_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/3/d3d357a0c2f1aeff76562ec59f921ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5341509536018441822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207603047,"filename":"image_03112025_11_26_31_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/3/c34555c3cdbbb4132004d31035501dac.jpg","text":"TemporaryFile(/tmp/multipartBody4372440809280859376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207603047,"filename":"image_03112025_11_26_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/3/308b5b5ce89b687ba8a0840ac860c52e.jpg","text":"TemporaryFile(/tmp/multipartBody6634447712780333490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207603047,"filename":"image_03112025_11_26_20_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/3/5e285d9d0cf66d4c48b6194d18b6e019.jpg","text":"TemporaryFile(/tmp/multipartBody3255674921360002148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207603047,"filename":"image_03112025_11_26_34_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/3/cc1f9c6bb73f5c673dd3cee6c86c3414.jpg","text":"TemporaryFile(/tmp/multipartBody4539339491774875939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207603047,"filename":"image_03112025_11_26_22_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392184020","file1":"1392183986","file0":"1392183945","file4":"1392184094","file5":"1392184136","file3":"1392184055"},"map_files_photo_id_array":[{"photo_id":"1392184136","filename":"file5"},{"photo_id":"1392184020","filename":"file2"},{"photo_id":"1392184094","filename":"file4"},{"photo_id":"1392183986","filename":"file1"},{"photo_id":"1392183945","filename":"file0"},{"photo_id":"1392184055","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392184020":["hashtag1","hashtag2"]},{"1392184094":["hashtag1","hashtag2"]},{"1392184055":["hashtag1","hashtag2"]},{"1392183945":["hashtag1","hashtag2"]},{"1392184136":["hashtag1","hashtag2"]},{"1392183986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392184020, 1392184094, 1392184055, 1392183945, 1392184136, 1392183986)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.568788051605225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:06:42.503988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_37_2678.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_40_3528.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_43_2670.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_47_3644.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_49_2563.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_52_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_37_2678.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_40_3528.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_43_2670.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_47_3644.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_49_2563.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_52_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.7424123287200928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:07:03.345147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_37_2678.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_40_3528.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_43_2670.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_47_3644.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_49_2563.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_52_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_37_2678.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_40_3528.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_43_2670.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_47_3644.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_49_2563.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_52_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392184581","1392184656","1392184946","1392184733","1392184893","1392184810"],"photo_ids_order":["1392184581","1392184656","1392184733","1392184810","1392184893","1392184946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ede7e57682b2d8962a5b48e6948a21ba.jpg","text":"TemporaryFile(/tmp/multipartBody2652743306374784886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207684185,"filename":"image_03112025_11_26_37_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/64af2a169ae3ee493554169482966081.jpg","text":"TemporaryFile(/tmp/multipartBody7210692074984506536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207684185,"filename":"image_03112025_11_26_40_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/3/8d446225e3aec5e0baef91985f87bf73.jpg","text":"TemporaryFile(/tmp/multipartBody4609936347624318076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207684185,"filename":"image_03112025_11_26_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/3/f9194471ef3835dd3929195ff1f13ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5739110566455002247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207684185,"filename":"image_03112025_11_26_43_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/3/b5058ebb91c42d4ee7a683f45f9521ad.jpg","text":"TemporaryFile(/tmp/multipartBody2263149233135940507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207684185,"filename":"image_03112025_11_26_49_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/3/aa238f4bb674186f9d70e9bef46965a0.jpg","text":"TemporaryFile(/tmp/multipartBody8154660793630449177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207684185,"filename":"image_03112025_11_26_47_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392184733","file1":"1392184656","file0":"1392184581","file4":"1392184893","file5":"1392184946","file3":"1392184810"},"map_files_photo_id_array":[{"photo_id":"1392184946","filename":"file5"},{"photo_id":"1392184733","filename":"file2"},{"photo_id":"1392184893","filename":"file4"},{"photo_id":"1392184656","filename":"file1"},{"photo_id":"1392184581","filename":"file0"},{"photo_id":"1392184810","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392184581":["hashtag1","hashtag2"]},{"1392184656":["hashtag1","hashtag2"]},{"1392184946":["hashtag1","hashtag2"]},{"1392184733":["hashtag1","hashtag2"]},{"1392184893":["hashtag1","hashtag2"]},{"1392184810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392184581, 1392184656, 1392184946, 1392184733, 1392184893, 1392184810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14266920089722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:07:42.664857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_56_3699.jpg', '/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_58_2815.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_01_2904.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_04_2775.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_08_3596.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_10_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_56_3699.jpg
/home/pi/Desktop/images/03112025/11/26/image_03112025_11_26_58_2815.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_01_2904.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_04_2775.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_08_3596.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_10_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392185040","1392185183","1392185048","1392185098","1392185143","1392185221"],"photo_ids_order":["1392185040","1392185048","1392185098","1392185143","1392185183","1392185221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fb88110908ce66a8cf62a0eebac15539.jpg","text":"TemporaryFile(/tmp/multipartBody7167666738731936733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207723537,"filename":"image_03112025_11_26_56_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26f37e8c7c0e49bdb2a8b88f8a49a2bc.jpg","text":"TemporaryFile(/tmp/multipartBody1054963196132265664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207723537,"filename":"image_03112025_11_27_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/3/4851ac75cc2eec9ea9ffa4127d188d08.jpg","text":"TemporaryFile(/tmp/multipartBody4950616656162469171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207723537,"filename":"image_03112025_11_26_58_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/3/b6884b31b34fd77b409b1e38e5e757c0.jpg","text":"TemporaryFile(/tmp/multipartBody6878962373068426622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207723537,"filename":"image_03112025_11_27_01_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/3/af6fef334f1f8501245e428dc0a7ebf2.jpg","text":"TemporaryFile(/tmp/multipartBody5858670063244716887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207723537,"filename":"image_03112025_11_27_04_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/3/26159d38905f63ee57082203d59fd249.jpg","text":"TemporaryFile(/tmp/multipartBody8497032113896435481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207723537,"filename":"image_03112025_11_27_10_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392185098","file1":"1392185048","file0":"1392185040","file4":"1392185183","file5":"1392185221","file3":"1392185143"},"map_files_photo_id_array":[{"photo_id":"1392185221","filename":"file5"},{"photo_id":"1392185098","filename":"file2"},{"photo_id":"1392185183","filename":"file4"},{"photo_id":"1392185048","filename":"file1"},{"photo_id":"1392185040","filename":"file0"},{"photo_id":"1392185143","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392185040":["hashtag1","hashtag2"]},{"1392185183":["hashtag1","hashtag2"]},{"1392185048":["hashtag1","hashtag2"]},{"1392185098":["hashtag1","hashtag2"]},{"1392185143":["hashtag1","hashtag2"]},{"1392185221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392185040, 1392185183, 1392185048, 1392185098, 1392185143, 1392185221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37258338928223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:08:21.844022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_13_2678.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_17_3684.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_19_2797.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_22_2548.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_26_3637.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_28_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_13_2678.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_17_3684.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_19_2797.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_22_2548.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_26_3637.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_28_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392185692","1392185494","1392185536","1392185778","1392185730","1392185454"],"photo_ids_order":["1392185454","1392185494","1392185536","1392185692","1392185730","1392185778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ca92d280d81ab7ab8f026c01fdbd099f.jpg","text":"TemporaryFile(/tmp/multipartBody2316106980239717419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207762719,"filename":"image_03112025_11_27_22_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/3/f8df8bfac76ef39016a3ab88abb86409.jpg","text":"TemporaryFile(/tmp/multipartBody8089131306034787822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207762719,"filename":"image_03112025_11_27_17_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/3/b4608aba5beb76c4a26c5740dbd904a3.jpg","text":"TemporaryFile(/tmp/multipartBody9155056343806752634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207762719,"filename":"image_03112025_11_27_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/3/cabc3f10437200199f939664538d9733.jpg","text":"TemporaryFile(/tmp/multipartBody1639297261740043372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207762719,"filename":"image_03112025_11_27_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/3/9b33bdd69522045400b0e82ba7c0218e.jpg","text":"TemporaryFile(/tmp/multipartBody6010037161187588179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207762719,"filename":"image_03112025_11_27_26_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ba33a4f75b0bea207e69de8af956e280.jpg","text":"TemporaryFile(/tmp/multipartBody3559743990337184866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207762719,"filename":"image_03112025_11_27_13_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392185536","file1":"1392185494","file0":"1392185454","file4":"1392185730","file5":"1392185778","file3":"1392185692"},"map_files_photo_id_array":[{"photo_id":"1392185778","filename":"file5"},{"photo_id":"1392185536","filename":"file2"},{"photo_id":"1392185730","filename":"file4"},{"photo_id":"1392185494","filename":"file1"},{"photo_id":"1392185454","filename":"file0"},{"photo_id":"1392185692","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392185692":["hashtag1","hashtag2"]},{"1392185494":["hashtag1","hashtag2"]},{"1392185536":["hashtag1","hashtag2"]},{"1392185778":["hashtag1","hashtag2"]},{"1392185730":["hashtag1","hashtag2"]},{"1392185454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392185692, 1392185494, 1392185536, 1392185778, 1392185730, 1392185454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72348499298096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:09:03.147534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_31_2602.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_35_3826.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_38_2850.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_40_2581.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_43_2789.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_46_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_31_2602.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_35_3826.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_38_2850.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_40_2581.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_43_2789.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_46_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392185946","1392186032","1392186104","1392186066","1392185991","1392186144"],"photo_ids_order":["1392185946","1392185991","1392186032","1392186066","1392186104","1392186144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4819fbe5b7cf76098aa79dc32bf5e0ed.jpg","text":"TemporaryFile(/tmp/multipartBody1418873815705221464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207804121,"filename":"image_03112025_11_27_31_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/3/953236099cb6c6c50b6cf146b9ac5162.jpg","text":"TemporaryFile(/tmp/multipartBody8878193987226437020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207804121,"filename":"image_03112025_11_27_38_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/3/4c8b89208b8aba26e70ff9d8c2a64930.jpg","text":"TemporaryFile(/tmp/multipartBody2250607926528421625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207804121,"filename":"image_03112025_11_27_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/3/28fb5ed450487758a2ebd342331cf82e.jpg","text":"TemporaryFile(/tmp/multipartBody9159686552188452879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207804121,"filename":"image_03112025_11_27_40_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/3/3cb0e6a7da77f2d128bee38b6f65cf3e.jpg","text":"TemporaryFile(/tmp/multipartBody7805420337211272185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207804121,"filename":"image_03112025_11_27_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/3/dc8bd4c4a876a2ec8b1b6931be06a2aa.jpg","text":"TemporaryFile(/tmp/multipartBody7629442503846381776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207804121,"filename":"image_03112025_11_27_46_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392186032","file1":"1392185991","file0":"1392185946","file4":"1392186104","file5":"1392186144","file3":"1392186066"},"map_files_photo_id_array":[{"photo_id":"1392186144","filename":"file5"},{"photo_id":"1392186032","filename":"file2"},{"photo_id":"1392186104","filename":"file4"},{"photo_id":"1392185991","filename":"file1"},{"photo_id":"1392185946","filename":"file0"},{"photo_id":"1392186066","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392185946":["hashtag1","hashtag2"]},{"1392186032":["hashtag1","hashtag2"]},{"1392186104":["hashtag1","hashtag2"]},{"1392186066":["hashtag1","hashtag2"]},{"1392185991":["hashtag1","hashtag2"]},{"1392186144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392185946, 1392186032, 1392186104, 1392186066, 1392185991, 1392186144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16077709197998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:09:42.080256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_50_3890.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_52_2753.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_55_2666.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_58_2742.jpg', '/home/pi/Desktop/images/03112025/11/27/image_03112025_11_28_01_3734.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_04_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_50_3890.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_52_2753.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_55_2666.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_27_58_2742.jpg
/home/pi/Desktop/images/03112025/11/27/image_03112025_11_28_01_3734.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_04_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392186473","1392186437","1392186365","1392186401","1392186325","1392186282"],"photo_ids_order":["1392186282","1392186325","1392186365","1392186401","1392186437","1392186473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/04274fbd91e825d0eef409f92378e456.jpg","text":"TemporaryFile(/tmp/multipartBody6108565450904587412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207842896,"filename":"image_03112025_11_28_04_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/3/3c40c532673bf171e234cb697bc9c6aa.jpg","text":"TemporaryFile(/tmp/multipartBody7286086369794131018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207842896,"filename":"image_03112025_11_28_01_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/25aece3529462db646c3db4659bcf60e.jpg","text":"TemporaryFile(/tmp/multipartBody5228532803159788389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207842896,"filename":"image_03112025_11_27_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/3/917a91ed0fcfb09617c91b32626e2557.jpg","text":"TemporaryFile(/tmp/multipartBody7299871393528913657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207842896,"filename":"image_03112025_11_27_58_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/3/238033b1e0f1e15ac22e9d6ab50b26bd.jpg","text":"TemporaryFile(/tmp/multipartBody5612017127510016871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207842896,"filename":"image_03112025_11_27_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/3/f21f97660ca62409ad3ac8fdf56a8868.jpg","text":"TemporaryFile(/tmp/multipartBody6969375938282305056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207842896,"filename":"image_03112025_11_27_50_3890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392186365","file1":"1392186325","file0":"1392186282","file4":"1392186437","file5":"1392186473","file3":"1392186401"},"map_files_photo_id_array":[{"photo_id":"1392186473","filename":"file5"},{"photo_id":"1392186365","filename":"file2"},{"photo_id":"1392186437","filename":"file4"},{"photo_id":"1392186325","filename":"file1"},{"photo_id":"1392186282","filename":"file0"},{"photo_id":"1392186401","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392186473":["hashtag1","hashtag2"]},{"1392186437":["hashtag1","hashtag2"]},{"1392186365":["hashtag1","hashtag2"]},{"1392186401":["hashtag1","hashtag2"]},{"1392186325":["hashtag1","hashtag2"]},{"1392186282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392186473, 1392186437, 1392186365, 1392186401, 1392186325, 1392186282)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.094096183776855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:10:42.331514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_08_3542.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_10_2774.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_13_2784.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_16_2694.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_19_3643.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_22_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_08_3542.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_10_2774.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_13_2784.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_16_2694.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_19_3643.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_22_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392186526","1392186514","1392186511","1392186519","1392186522","1392186516"],"photo_ids_order":["1392186511","1392186514","1392186516","1392186519","1392186522","1392186526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7e19ecd3f49f80e37d09662f54ced174.jpg","text":"TemporaryFile(/tmp/multipartBody9078416670392282789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207903181,"filename":"image_03112025_11_28_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/3/a2e14ba88cd8273bfd3fade8d65ed238.jpg","text":"TemporaryFile(/tmp/multipartBody8184121211827501018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207903181,"filename":"image_03112025_11_28_10_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/3/d251cf7f220f38f8a82df8957826ba7e.jpg","text":"TemporaryFile(/tmp/multipartBody2842067654845694588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207903181,"filename":"image_03112025_11_28_08_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/3/f373d734cafb205aca6b6a071f97f4fa.jpg","text":"TemporaryFile(/tmp/multipartBody5728989093707569186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207903181,"filename":"image_03112025_11_28_16_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/3/58092efe5c7d87872066b6804bcbeb42.jpg","text":"TemporaryFile(/tmp/multipartBody4515485191298575333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207903181,"filename":"image_03112025_11_28_19_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/378280fedc6a5f8562841217310471bf.jpg","text":"TemporaryFile(/tmp/multipartBody4583413257091929804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207903181,"filename":"image_03112025_11_28_13_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392186516","file1":"1392186514","file0":"1392186511","file4":"1392186522","file5":"1392186526","file3":"1392186519"},"map_files_photo_id_array":[{"photo_id":"1392186526","filename":"file5"},{"photo_id":"1392186516","filename":"file2"},{"photo_id":"1392186522","filename":"file4"},{"photo_id":"1392186514","filename":"file1"},{"photo_id":"1392186511","filename":"file0"},{"photo_id":"1392186519","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392186526":["hashtag1","hashtag2"]},{"1392186514":["hashtag1","hashtag2"]},{"1392186511":["hashtag1","hashtag2"]},{"1392186519":["hashtag1","hashtag2"]},{"1392186522":["hashtag1","hashtag2"]},{"1392186516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392186526, 1392186514, 1392186511, 1392186519, 1392186522, 1392186516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.916364431381226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:11:22.606947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_25_2596.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_28_3521.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_31_2710.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_34_2590.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_37_3743.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_40_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_25_2596.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_28_3521.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_31_2710.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_34_2590.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_37_3743.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_40_2714.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":["1392186734","1392186841","1392186943","1392186646","1392186801","1392186893"],"photo_ids_order":["1392186646","1392186734","1392186801","1392186841","1392186893","1392186943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c414d6aaaaea39c234589b8956ba534c.jpg","text":"TemporaryFile(/tmp/multipartBody1023909676772147641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207943476,"filename":"image_03112025_11_28_28_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc80b7bc910e97a929c5778d1ed54859.jpg","text":"TemporaryFile(/tmp/multipartBody5146346638056681078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207943476,"filename":"image_03112025_11_28_34_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/3/de2ed9edfe1d4a11224af34e92eb0174.jpg","text":"TemporaryFile(/tmp/multipartBody3652983641130516302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207943476,"filename":"image_03112025_11_28_40_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5a94964b02114840491b698cb4d9bade.jpg","text":"TemporaryFile(/tmp/multipartBody3128590970547539808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207943476,"filename":"image_03112025_11_28_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/3/17fec6d267a1528e0d99c86364bea741.jpg","text":"TemporaryFile(/tmp/multipartBody7234314956017507115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207943476,"filename":"image_03112025_11_28_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/3/735a631b2258a3587573573068e21cda.jpg","text":"TemporaryFile(/tmp/multipartBody8135568901032162465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762207943476,"filename":"image_03112025_11_28_37_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392186801","file1":"1392186734","file0":"1392186646","file4":"1392186893","file5":"1392186943","file3":"1392186841"},"map_files_photo_id_array":[{"photo_id":"1392186943","filename":"file5"},{"photo_id":"1392186801","filename":"file2"},{"photo_id":"1392186893","filename":"file4"},{"photo_id":"1392186734","filename":"file1"},{"photo_id":"1392186646","filename":"file0"},{"photo_id":"1392186841","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392186734":["hashtag1","hashtag2"]},{"1392186841":["hashtag1","hashtag2"]},{"1392186943":["hashtag1","hashtag2"]},{"1392186646":["hashtag1","hashtag2"]},{"1392186801":["hashtag1","hashtag2"]},{"1392186893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392186734, 1392186841, 1392186943, 1392186646, 1392186801, 1392186893)","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 = 1392186801 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_31_2710.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 65.35736298561096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:12:42.586258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_43_2671.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_46_3541.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_49_2538.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_03_14170.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_18_14611.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_24_5862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_43_2671.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_46_3541.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_49_2538.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_03_14170.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_18_14611.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_24_5862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392187294","1392187291","1392187348","1392187237","1392187260","1392187289"],"photo_ids_order":["1392187237","1392187260","1392187289","1392187291","1392187294","1392187348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/87caf3e97d05d44228c247947e63af21.jpg","text":"TemporaryFile(/tmp/multipartBody6766188815662508246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208023419,"filename":"image_03112025_11_29_18_14611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7756973381ad6d80a23023c061e2c126.jpg","text":"TemporaryFile(/tmp/multipartBody487790673390652135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208023419,"filename":"image_03112025_11_29_03_14170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/81e289500b8853e62b08812a8e4190e8.jpg","text":"TemporaryFile(/tmp/multipartBody6766375198020529102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208023419,"filename":"image_03112025_11_29_24_5862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/8dc549fdccd4dd66c5443138a28b4037.jpg","text":"TemporaryFile(/tmp/multipartBody2821288100676037888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208023419,"filename":"image_03112025_11_28_43_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a0fb1e26e0a910dbcbbd1fe33dbc3d92.jpg","text":"TemporaryFile(/tmp/multipartBody4712305945399818774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208023419,"filename":"image_03112025_11_28_46_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/3/3ce918b19a8b5b9c8055d14e8039949c.jpg","text":"TemporaryFile(/tmp/multipartBody6426352003743987749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208023419,"filename":"image_03112025_11_28_49_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392187289","file1":"1392187260","file0":"1392187237","file4":"1392187294","file5":"1392187348","file3":"1392187291"},"map_files_photo_id_array":[{"photo_id":"1392187348","filename":"file5"},{"photo_id":"1392187289","filename":"file2"},{"photo_id":"1392187294","filename":"file4"},{"photo_id":"1392187260","filename":"file1"},{"photo_id":"1392187237","filename":"file0"},{"photo_id":"1392187291","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392187294":["hashtag1","hashtag2"]},{"1392187291":["hashtag1","hashtag2"]},{"1392187348":["hashtag1","hashtag2"]},{"1392187237":["hashtag1","hashtag2"]},{"1392187260":["hashtag1","hashtag2"]},{"1392187289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392187294, 1392187291, 1392187348, 1392187237, 1392187260, 1392187289)","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 = 1392187289 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_49_2538.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392187289 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_49_2538.jpg";
uploaded 6 photos
time to upload: 71.02052569389343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:14:03.216289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_43_2671.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_46_3541.jpg', '/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_49_2538.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_03_14170.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_18_14611.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_24_5862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_43_2671.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_46_3541.jpg
/home/pi/Desktop/images/03112025/11/28/image_03112025_11_28_49_2538.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_03_14170.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_18_14611.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_24_5862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392187486","1392187453","1392187479","1392187482","1392187476","1392187469"],"photo_ids_order":["1392187453","1392187469","1392187476","1392187479","1392187482","1392187486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f53f75348ee25b71a8c9325de3b1c528.jpg","text":"TemporaryFile(/tmp/multipartBody3148555212602717729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208104107,"filename":"image_03112025_11_29_24_5862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/06436d83aa1c884a6de8d576c9bb1acc.jpg","text":"TemporaryFile(/tmp/multipartBody5420752476968334959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208104107,"filename":"image_03112025_11_28_43_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fc361d963e27bfe0266fe881643a8892.jpg","text":"TemporaryFile(/tmp/multipartBody8945345484158645144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208104107,"filename":"image_03112025_11_29_03_14170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d0939b981ca0ef56dddac48966516bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4445014508298044584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208104107,"filename":"image_03112025_11_29_18_14611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/763c25f00dc6d1d92a2f12054e2274d2.jpg","text":"TemporaryFile(/tmp/multipartBody8046346327175940501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208104107,"filename":"image_03112025_11_28_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/3/6c39e95673a2c511b596160ba429dc77.jpg","text":"TemporaryFile(/tmp/multipartBody8621852476001864276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208104107,"filename":"image_03112025_11_28_46_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392187476","file1":"1392187469","file0":"1392187453","file4":"1392187482","file5":"1392187486","file3":"1392187479"},"map_files_photo_id_array":[{"photo_id":"1392187486","filename":"file5"},{"photo_id":"1392187476","filename":"file2"},{"photo_id":"1392187482","filename":"file4"},{"photo_id":"1392187469","filename":"file1"},{"photo_id":"1392187453","filename":"file0"},{"photo_id":"1392187479","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392187486":["hashtag1","hashtag2"]},{"1392187453":["hashtag1","hashtag2"]},{"1392187479":["hashtag1","hashtag2"]},{"1392187482":["hashtag1","hashtag2"]},{"1392187476":["hashtag1","hashtag2"]},{"1392187469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392187486, 1392187453, 1392187479, 1392187482, 1392187476, 1392187469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68961143493652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:14:42.502228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_25_1621.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_27_1657.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_28_1652.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_30_1727.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_32_1568.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_33_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_25_1621.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_27_1657.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_28_1652.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_30_1727.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_32_1568.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_33_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.7589051723480225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:15:03.245024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_25_1621.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_27_1657.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_28_1652.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_30_1727.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_32_1568.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_33_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_25_1621.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_27_1657.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_28_1652.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_30_1727.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_32_1568.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_33_1640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392187690","1392187846","1392187726","1392187764","1392187803","1392187883"],"photo_ids_order":["1392187690","1392187726","1392187764","1392187803","1392187846","1392187883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b7a2b25ac0c96c5c527ba9de80fd642e.jpg","text":"TemporaryFile(/tmp/multipartBody9037861628199111683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208165024,"filename":"image_03112025_11_29_25_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/3/5170ec86cfeb9746fe67a21d612adead.jpg","text":"TemporaryFile(/tmp/multipartBody4229661394864610824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208165024,"filename":"image_03112025_11_29_32_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/3/12021b62f26d50df7c7dc10759c7a2d0.jpg","text":"TemporaryFile(/tmp/multipartBody2075105043069807559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208165024,"filename":"image_03112025_11_29_27_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/3/48d79d679b4781d6cfd63e43dfa99018.jpg","text":"TemporaryFile(/tmp/multipartBody5330077160044457479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208165024,"filename":"image_03112025_11_29_28_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/3/e2ef875bde0dda4d3f7c1a7500c56e0f.jpg","text":"TemporaryFile(/tmp/multipartBody4277400902213108049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208165024,"filename":"image_03112025_11_29_30_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/3/856e3a0beb4a668bc3f12b5341babe82.jpg","text":"TemporaryFile(/tmp/multipartBody5886518532615760765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208165024,"filename":"image_03112025_11_29_33_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392187764","file1":"1392187726","file0":"1392187690","file4":"1392187846","file5":"1392187883","file3":"1392187803"},"map_files_photo_id_array":[{"photo_id":"1392187883","filename":"file5"},{"photo_id":"1392187764","filename":"file2"},{"photo_id":"1392187846","filename":"file4"},{"photo_id":"1392187726","filename":"file1"},{"photo_id":"1392187690","filename":"file0"},{"photo_id":"1392187803","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392187690":["hashtag1","hashtag2"]},{"1392187846":["hashtag1","hashtag2"]},{"1392187726":["hashtag1","hashtag2"]},{"1392187764":["hashtag1","hashtag2"]},{"1392187803":["hashtag1","hashtag2"]},{"1392187883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392187690, 1392187846, 1392187726, 1392187764, 1392187803, 1392187883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17750930786133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:15:42.731092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_35_1703.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_37_1629.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_40_2805.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_41_1613.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_43_1552.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_44_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_35_1703.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_37_1629.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_40_2805.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_41_1613.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_43_1552.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_44_1545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392188227","1392188265","1392188187","1392188304","1392188150","1392188114"],"photo_ids_order":["1392188114","1392188150","1392188187","1392188227","1392188265","1392188304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b1fd5179a2ed11279125c169401fb6b9.jpg","text":"TemporaryFile(/tmp/multipartBody1840592650910958193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208214809,"filename":"image_03112025_11_29_41_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/3/c1592cfe015fa31a358500407cd59936.jpg","text":"TemporaryFile(/tmp/multipartBody4279743825059616441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208214809,"filename":"image_03112025_11_29_43_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/3/f43335d538d7e0aad5d2216460250906.jpg","text":"TemporaryFile(/tmp/multipartBody8245637627423848152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208214809,"filename":"image_03112025_11_29_40_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f03d7f355b6d651e65948a136d047898.jpg","text":"TemporaryFile(/tmp/multipartBody862988310671940427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208214809,"filename":"image_03112025_11_29_44_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/3/3021b076ac95b4a74b24265637decf3f.jpg","text":"TemporaryFile(/tmp/multipartBody2359286235725711705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208214809,"filename":"image_03112025_11_29_37_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/3/c8c65699a22d59a9ec70cbc3e60b3fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8160110803042393922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208214809,"filename":"image_03112025_11_29_35_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392188187","file1":"1392188150","file0":"1392188114","file4":"1392188265","file5":"1392188304","file3":"1392188227"},"map_files_photo_id_array":[{"photo_id":"1392188304","filename":"file5"},{"photo_id":"1392188187","filename":"file2"},{"photo_id":"1392188265","filename":"file4"},{"photo_id":"1392188150","filename":"file1"},{"photo_id":"1392188114","filename":"file0"},{"photo_id":"1392188227","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392188227":["hashtag1","hashtag2"]},{"1392188265":["hashtag1","hashtag2"]},{"1392188187":["hashtag1","hashtag2"]},{"1392188304":["hashtag1","hashtag2"]},{"1392188150":["hashtag1","hashtag2"]},{"1392188114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392188227, 1392188265, 1392188187, 1392188304, 1392188150, 1392188114)","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 = 1392188187 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_40_2805.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1392188187 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_40_2805.jpg";
uploaded 6 photos
time to upload: 73.31066489219666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:17:14.660066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_35_1703.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_37_1629.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_40_2805.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_41_1613.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_43_1552.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_44_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_35_1703.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_37_1629.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_40_2805.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_41_1613.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_43_1552.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_44_1545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392188758","1392188754","1392188742","1392188751","1392188747","1392188756"],"photo_ids_order":["1392188742","1392188747","1392188751","1392188754","1392188756","1392188758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/de48a2a8b0fb60e65762ec0037394f39.jpg","text":"TemporaryFile(/tmp/multipartBody5648226695054088436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208295379,"filename":"image_03112025_11_29_44_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/3/36f1ccd7206908461d512d0926bd0d8f.jpg","text":"TemporaryFile(/tmp/multipartBody125891262431132113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208295379,"filename":"image_03112025_11_29_41_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/3/01e834a68b8c80e899956d0b926d8ef6.jpg","text":"TemporaryFile(/tmp/multipartBody4188888242462084064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208295379,"filename":"image_03112025_11_29_35_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f2e13162add9df45d442fa99c59a2e23.jpg","text":"TemporaryFile(/tmp/multipartBody189616092227489047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208295379,"filename":"image_03112025_11_29_40_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e5cd6cc32498f65857368164ba7d9771.jpg","text":"TemporaryFile(/tmp/multipartBody2344053884058517780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208295379,"filename":"image_03112025_11_29_37_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/3/1309046a01fab3ab6cf90e4b34b1935d.jpg","text":"TemporaryFile(/tmp/multipartBody3940098015728955241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208295379,"filename":"image_03112025_11_29_43_1552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392188751","file1":"1392188747","file0":"1392188742","file4":"1392188756","file5":"1392188758","file3":"1392188754"},"map_files_photo_id_array":[{"photo_id":"1392188758","filename":"file5"},{"photo_id":"1392188751","filename":"file2"},{"photo_id":"1392188756","filename":"file4"},{"photo_id":"1392188747","filename":"file1"},{"photo_id":"1392188742","filename":"file0"},{"photo_id":"1392188754","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392188758":["hashtag1","hashtag2"]},{"1392188754":["hashtag1","hashtag2"]},{"1392188742":["hashtag1","hashtag2"]},{"1392188751":["hashtag1","hashtag2"]},{"1392188747":["hashtag1","hashtag2"]},{"1392188756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392188758, 1392188754, 1392188742, 1392188751, 1392188747, 1392188756)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 73.61042785644531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:18:42.802054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_46_1536.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_47_1600.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_49_1680.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_51_1592.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_52_1612.jpg', '/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_57_4594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_46_1536.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_47_1600.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_49_1680.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_51_1592.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_52_1612.jpg
/home/pi/Desktop/images/03112025/11/29/image_03112025_11_29_57_4594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392189130","1392189601","1392189497","1392189386","1392189197","1392189280"],"photo_ids_order":["1392189130","1392189197","1392189280","1392189386","1392189497","1392189601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/17cff285d1410651ba504ee858a58846.jpg","text":"TemporaryFile(/tmp/multipartBody7357946404088716354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208384086,"filename":"image_03112025_11_29_46_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/3/f4273cdd835465aa328ee59f16f1a83d.jpg","text":"TemporaryFile(/tmp/multipartBody8686351724460578423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208384086,"filename":"image_03112025_11_29_57_4594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c4050db96bd73a4f966cb0a219553115.jpg","text":"TemporaryFile(/tmp/multipartBody2367782970822369885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208384086,"filename":"image_03112025_11_29_52_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/3/af654553a1464872c069e13cfdecc19f.jpg","text":"TemporaryFile(/tmp/multipartBody4246914374464504988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208384086,"filename":"image_03112025_11_29_51_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/3/28f67cfed417edd278a24b0bdc5473f7.jpg","text":"TemporaryFile(/tmp/multipartBody2632282095344140793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208384086,"filename":"image_03112025_11_29_47_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/3/8ea2d0f6aafc6cd2a85bf191f89df13f.jpg","text":"TemporaryFile(/tmp/multipartBody2381801214206107618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208384086,"filename":"image_03112025_11_29_49_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392189280","file1":"1392189197","file0":"1392189130","file4":"1392189497","file5":"1392189601","file3":"1392189386"},"map_files_photo_id_array":[{"photo_id":"1392189601","filename":"file5"},{"photo_id":"1392189280","filename":"file2"},{"photo_id":"1392189497","filename":"file4"},{"photo_id":"1392189197","filename":"file1"},{"photo_id":"1392189130","filename":"file0"},{"photo_id":"1392189386","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392189130":["hashtag1","hashtag2"]},{"1392189601":["hashtag1","hashtag2"]},{"1392189497":["hashtag1","hashtag2"]},{"1392189386":["hashtag1","hashtag2"]},{"1392189197":["hashtag1","hashtag2"]},{"1392189280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392189130, 1392189601, 1392189497, 1392189386, 1392189197, 1392189280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.372578859329224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:19:21.998311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_07_3010.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_11_3690.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_13_2596.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_17_3538.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_20_2853.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_28_8547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_07_3010.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_11_3690.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_13_2596.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_17_3538.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_20_2853.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_28_8547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392190054","1392190059","1392189893","1392189947","1392190049","1392190013"],"photo_ids_order":["1392189893","1392189947","1392190013","1392190049","1392190054","1392190059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/68fdceac570269943a21ebbf27b53422.jpg","text":"TemporaryFile(/tmp/multipartBody8875482055102231590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208425665,"filename":"image_03112025_11_31_20_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/3/4a39e22f9a935e4ed2f0cf30f8214b23.jpg","text":"TemporaryFile(/tmp/multipartBody3944176996047417191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208425665,"filename":"image_03112025_11_31_28_8547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2b53f5a3a05aae815ac476ef2236731a.jpg","text":"TemporaryFile(/tmp/multipartBody8008094306094453329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208425665,"filename":"image_03112025_11_31_07_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/3/9bbb1a8b1e1011f891cfe39d0745d1d8.jpg","text":"TemporaryFile(/tmp/multipartBody39707802896245602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208425665,"filename":"image_03112025_11_31_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/3/262d041d23c07898d1d31cd1017b5e84.jpg","text":"TemporaryFile(/tmp/multipartBody8800590659291265907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208425665,"filename":"image_03112025_11_31_17_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/3/990f70bf2c1d27874a211fefba186f56.jpg","text":"TemporaryFile(/tmp/multipartBody2605503923679154422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208425665,"filename":"image_03112025_11_31_13_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392190013","file1":"1392189947","file0":"1392189893","file4":"1392190054","file5":"1392190059","file3":"1392190049"},"map_files_photo_id_array":[{"photo_id":"1392190059","filename":"file5"},{"photo_id":"1392190013","filename":"file2"},{"photo_id":"1392190054","filename":"file4"},{"photo_id":"1392189947","filename":"file1"},{"photo_id":"1392189893","filename":"file0"},{"photo_id":"1392190049","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392190054":["hashtag1","hashtag2"]},{"1392190059":["hashtag1","hashtag2"]},{"1392189893":["hashtag1","hashtag2"]},{"1392189947":["hashtag1","hashtag2"]},{"1392190049":["hashtag1","hashtag2"]},{"1392190013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392190054, 1392190059, 1392189893, 1392189947, 1392190049, 1392190013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.022995948791504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:20:22.145702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_30_1736.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_32_1607.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_33_1590.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_35_1536.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_38_2753.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_40_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_30_1736.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_32_1607.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_33_1590.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_35_1536.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_38_2753.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_40_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392190366","1392190344","1392190385","1392190317","1392190358","1392190393"],"photo_ids_order":["1392190317","1392190344","1392190358","1392190366","1392190385","1392190393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/78d095805ff86abab7b8e5521caefe42.jpg","text":"TemporaryFile(/tmp/multipartBody8860569471585209739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208482971,"filename":"image_03112025_11_31_35_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/3/c6e72b58de0c71370afa69fa2ed14d67.jpg","text":"TemporaryFile(/tmp/multipartBody2115295760566940404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208482971,"filename":"image_03112025_11_31_32_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/3/1abe0b9939f08f34a9578f70124f6477.jpg","text":"TemporaryFile(/tmp/multipartBody7202762672797778860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208482971,"filename":"image_03112025_11_31_38_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/3/6397eb659a4aaccf1ee6e7f028bf22b4.jpg","text":"TemporaryFile(/tmp/multipartBody6677253552346236816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208482971,"filename":"image_03112025_11_31_30_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/3/08bd16c95ec8351fce2b1935e733efa4.jpg","text":"TemporaryFile(/tmp/multipartBody8377915876478985830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208482971,"filename":"image_03112025_11_31_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/3/d9a89c67b1472d39fadc70f21eca3cef.jpg","text":"TemporaryFile(/tmp/multipartBody3186125375398867571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208482971,"filename":"image_03112025_11_31_40_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392190358","file1":"1392190344","file0":"1392190317","file4":"1392190385","file5":"1392190393","file3":"1392190366"},"map_files_photo_id_array":[{"photo_id":"1392190393","filename":"file5"},{"photo_id":"1392190358","filename":"file2"},{"photo_id":"1392190385","filename":"file4"},{"photo_id":"1392190344","filename":"file1"},{"photo_id":"1392190317","filename":"file0"},{"photo_id":"1392190366","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392190366":["hashtag1","hashtag2"]},{"1392190344":["hashtag1","hashtag2"]},{"1392190385":["hashtag1","hashtag2"]},{"1392190317":["hashtag1","hashtag2"]},{"1392190358":["hashtag1","hashtag2"]},{"1392190393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392190366, 1392190344, 1392190385, 1392190317, 1392190358, 1392190393)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.833707094192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:21:22.320970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_44_3665.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_47_2709.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_49_2749.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_52_2675.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_56_3592.jpg', '/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_58_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_44_3665.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_47_2709.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_49_2749.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_52_2675.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_56_3592.jpg
/home/pi/Desktop/images/03112025/11/31/image_03112025_11_31_58_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392190444","1392190438","1392190441","1392190435","1392190448","1392190430"],"photo_ids_order":["1392190430","1392190435","1392190438","1392190441","1392190444","1392190448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fc87227a091107acb59045849cac7d62.jpg","text":"TemporaryFile(/tmp/multipartBody6289535064474179730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208543117,"filename":"image_03112025_11_31_56_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/3/1374867c18f141b47c8f31491bea7484.jpg","text":"TemporaryFile(/tmp/multipartBody8374070286399888431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208543117,"filename":"image_03112025_11_31_49_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/3/2e1c14d816cbe096208419bcc0fdf232.jpg","text":"TemporaryFile(/tmp/multipartBody4029884149805143905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208543117,"filename":"image_03112025_11_31_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/3/0c1cebb7f171825f015053baf58ea04e.jpg","text":"TemporaryFile(/tmp/multipartBody1593832453569847267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208543117,"filename":"image_03112025_11_31_47_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/236de25e0e4179c0d4d8502404758c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4257923850274462890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208543117,"filename":"image_03112025_11_31_58_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/3/b012b5bf486cca58413328ca6783a638.jpg","text":"TemporaryFile(/tmp/multipartBody6651423797702714557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208543117,"filename":"image_03112025_11_31_44_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392190438","file1":"1392190435","file0":"1392190430","file4":"1392190444","file5":"1392190448","file3":"1392190441"},"map_files_photo_id_array":[{"photo_id":"1392190448","filename":"file5"},{"photo_id":"1392190438","filename":"file2"},{"photo_id":"1392190444","filename":"file4"},{"photo_id":"1392190435","filename":"file1"},{"photo_id":"1392190430","filename":"file0"},{"photo_id":"1392190441","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392190444":["hashtag1","hashtag2"]},{"1392190438":["hashtag1","hashtag2"]},{"1392190441":["hashtag1","hashtag2"]},{"1392190435":["hashtag1","hashtag2"]},{"1392190448":["hashtag1","hashtag2"]},{"1392190430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392190444, 1392190438, 1392190441, 1392190435, 1392190448, 1392190430)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.166534662246704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:22:22.381295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_08_9361.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_09_1689.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_11_1702.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_13_1855.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_15_1638.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_24_9508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_08_9361.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_09_1689.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_11_1702.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_13_1855.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_15_1638.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_24_9508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392190521","1392190719","1392190481","1392190478","1392190664","1392190592"],"photo_ids_order":["1392190478","1392190481","1392190521","1392190592","1392190664","1392190719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cf6c1a7b1a00655ca83d710b02a84401.jpg","text":"TemporaryFile(/tmp/multipartBody6355082361304511522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208610606,"filename":"image_03112025_11_32_11_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a9815fedf8fdf947f16ab3e1b74215c9.jpg","text":"TemporaryFile(/tmp/multipartBody1251828499762829669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208610606,"filename":"image_03112025_11_32_24_9508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/497245f3517fbfbc2ca876dd02135620.jpg","text":"TemporaryFile(/tmp/multipartBody3157449348512684157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208610606,"filename":"image_03112025_11_32_09_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/3/ac1af48d4eebb91bfcb6955380a2877e.jpg","text":"TemporaryFile(/tmp/multipartBody2578135572158632940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208610606,"filename":"image_03112025_11_32_08_9361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1d71484bbce557d8c2c3ce14a0bbcd96.jpg","text":"TemporaryFile(/tmp/multipartBody3050608669021449557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208610606,"filename":"image_03112025_11_32_15_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/3/034caced08a5840abd21061dd88068ef.jpg","text":"TemporaryFile(/tmp/multipartBody3340795830058167717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208610606,"filename":"image_03112025_11_32_13_1855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392190521","file1":"1392190481","file0":"1392190478","file4":"1392190664","file5":"1392190719","file3":"1392190592"},"map_files_photo_id_array":[{"photo_id":"1392190719","filename":"file5"},{"photo_id":"1392190521","filename":"file2"},{"photo_id":"1392190664","filename":"file4"},{"photo_id":"1392190481","filename":"file1"},{"photo_id":"1392190478","filename":"file0"},{"photo_id":"1392190592","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392190521":["hashtag1","hashtag2"]},{"1392190719":["hashtag1","hashtag2"]},{"1392190481":["hashtag1","hashtag2"]},{"1392190478":["hashtag1","hashtag2"]},{"1392190664":["hashtag1","hashtag2"]},{"1392190592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392190521, 1392190719, 1392190481, 1392190478, 1392190664, 1392190592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.03660321235657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:23:28.166889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 23:24:11.288910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 23:24:26.885863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_26_1791.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_28_1747.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_29_1660.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_31_1600.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_33_1768.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_34_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_26_1791.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_28_1747.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_29_1660.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_31_1600.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_33_1768.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_34_1610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392191868","1392191940","1392191963","1392191966","1392191903","1392191968"],"photo_ids_order":["1392191868","1392191903","1392191940","1392191963","1392191966","1392191968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d58b5a59a4bc6004f8c220faa897a5c0.jpg","text":"TemporaryFile(/tmp/multipartBody502085785737742381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208727811,"filename":"image_03112025_11_32_26_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/3/5712a6eba9506e3e5e3f31a1fe5b2edc.jpg","text":"TemporaryFile(/tmp/multipartBody4373597041893951969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208727811,"filename":"image_03112025_11_32_29_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/3/8922ec46abadfba5927a7c9f34d65093.jpg","text":"TemporaryFile(/tmp/multipartBody3058551181516362522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208727811,"filename":"image_03112025_11_32_31_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/3/847258435f19ee934e2d7f0f9940189b.jpg","text":"TemporaryFile(/tmp/multipartBody2989133882259046471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208727811,"filename":"image_03112025_11_32_33_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/3/037afa5f8207e51ba94badbd90160289.jpg","text":"TemporaryFile(/tmp/multipartBody5111587734493767993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208727811,"filename":"image_03112025_11_32_28_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/3/a489a6c7bf00ddf921f37ab46da60056.jpg","text":"TemporaryFile(/tmp/multipartBody8108059589960735884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208727811,"filename":"image_03112025_11_32_34_1610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392191940","file1":"1392191903","file0":"1392191868","file4":"1392191966","file5":"1392191968","file3":"1392191963"},"map_files_photo_id_array":[{"photo_id":"1392191968","filename":"file5"},{"photo_id":"1392191940","filename":"file2"},{"photo_id":"1392191966","filename":"file4"},{"photo_id":"1392191903","filename":"file1"},{"photo_id":"1392191868","filename":"file0"},{"photo_id":"1392191963","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392191868":["hashtag1","hashtag2"]},{"1392191940":["hashtag1","hashtag2"]},{"1392191963":["hashtag1","hashtag2"]},{"1392191966":["hashtag1","hashtag2"]},{"1392191903":["hashtag1","hashtag2"]},{"1392191968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392191868, 1392191940, 1392191963, 1392191966, 1392191903, 1392191968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83906888961792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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-03 23:25:37.568487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 23:26:09.934400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 23:26:40.667005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 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-03 23:26:50.094865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_38_3622.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_41_2760.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_43_2614.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_47_3606.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_50_2674.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_52_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_38_3622.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_41_2760.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_43_2614.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_47_3606.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_50_2674.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_52_2571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392192717","1392192708","1392192656","1392192670","1392192664","1392192625"],"photo_ids_order":["1392192625","1392192656","1392192664","1392192670","1392192708","1392192717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b56f59b3aa9d43d25fe6026f2981dc56.jpg","text":"TemporaryFile(/tmp/multipartBody2201718146552924668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208870929,"filename":"image_03112025_11_32_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/3/1593ed84323e1549d58dee286594fe47.jpg","text":"TemporaryFile(/tmp/multipartBody3411448214942345607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208870929,"filename":"image_03112025_11_32_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/3/615e252269b33abc184b97c89e83d968.jpg","text":"TemporaryFile(/tmp/multipartBody7656444682686740388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208870929,"filename":"image_03112025_11_32_41_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6fa0eb40a536bcc218bf52f874f28892.jpg","text":"TemporaryFile(/tmp/multipartBody748228620572663447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208870929,"filename":"image_03112025_11_32_47_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/3/20965124a3b0bc1bf20e592a62c3c2dd.jpg","text":"TemporaryFile(/tmp/multipartBody7689812559870823255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208870929,"filename":"image_03112025_11_32_43_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/3/6df8ec78103ce4f5b691be8e33d7e291.jpg","text":"TemporaryFile(/tmp/multipartBody6490647867284251913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208870929,"filename":"image_03112025_11_32_38_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392192664","file1":"1392192656","file0":"1392192625","file4":"1392192708","file5":"1392192717","file3":"1392192670"},"map_files_photo_id_array":[{"photo_id":"1392192717","filename":"file5"},{"photo_id":"1392192664","filename":"file2"},{"photo_id":"1392192708","filename":"file4"},{"photo_id":"1392192656","filename":"file1"},{"photo_id":"1392192625","filename":"file0"},{"photo_id":"1392192670","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392192717":["hashtag1","hashtag2"]},{"1392192708":["hashtag1","hashtag2"]},{"1392192656":["hashtag1","hashtag2"]},{"1392192670":["hashtag1","hashtag2"]},{"1392192664":["hashtag1","hashtag2"]},{"1392192625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392192717, 1392192708, 1392192656, 1392192670, 1392192664, 1392192625)","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 = 1392192664 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_43_2614.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.842567443847656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:28:03.954883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_56_3736.jpg', '/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_58_2649.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_01_2604.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_05_3593.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_07_2590.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_10_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_56_3736.jpg
/home/pi/Desktop/images/03112025/11/32/image_03112025_11_32_58_2649.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_01_2604.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_05_3593.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_07_2590.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_10_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392192777","1392192779","1392192767","1392192772","1392192775","1392192769"],"photo_ids_order":["1392192767","1392192769","1392192772","1392192775","1392192777","1392192779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/83689e3cbac8fbe0504a1a28850320db.jpg","text":"TemporaryFile(/tmp/multipartBody8066818234140444370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208956127,"filename":"image_03112025_11_33_07_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/3/322f8390d52be3eab6fd938ff1b40546.jpg","text":"TemporaryFile(/tmp/multipartBody5547666870677660266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208956127,"filename":"image_03112025_11_33_10_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/3/8931aae599329747e90b4357b63b72fe.jpg","text":"TemporaryFile(/tmp/multipartBody1452426957641673957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208956127,"filename":"image_03112025_11_32_56_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/3/f9029b9ac907a6310e86f2c1c441690e.jpg","text":"TemporaryFile(/tmp/multipartBody7738402655977828611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208956127,"filename":"image_03112025_11_33_01_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a341f866bb643b8b566d380dfd9c1a3d.jpg","text":"TemporaryFile(/tmp/multipartBody890707416723726544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208956127,"filename":"image_03112025_11_33_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/3/fbfd35f012f3acf7b7af244d43a90af3.jpg","text":"TemporaryFile(/tmp/multipartBody3507552274322817208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762208956127,"filename":"image_03112025_11_32_58_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392192772","file1":"1392192769","file0":"1392192767","file4":"1392192777","file5":"1392192779","file3":"1392192775"},"map_files_photo_id_array":[{"photo_id":"1392192779","filename":"file5"},{"photo_id":"1392192772","filename":"file2"},{"photo_id":"1392192777","filename":"file4"},{"photo_id":"1392192769","filename":"file1"},{"photo_id":"1392192767","filename":"file0"},{"photo_id":"1392192775","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392192777":["hashtag1","hashtag2"]},{"1392192779":["hashtag1","hashtag2"]},{"1392192767":["hashtag1","hashtag2"]},{"1392192772":["hashtag1","hashtag2"]},{"1392192775":["hashtag1","hashtag2"]},{"1392192769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392192777, 1392192779, 1392192767, 1392192772, 1392192775, 1392192769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.5594003200531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:29:17.347810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_14_3650.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_16_2575.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_19_2701.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_23_3640.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_25_2737.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_28_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_14_3650.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_16_2575.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_19_2701.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_23_3640.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_25_2737.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_28_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392192794","1392192797","1392192791","1392192800","1392192803","1392192792"],"photo_ids_order":["1392192791","1392192792","1392192794","1392192797","1392192800","1392192803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bc8f3ec9a10d0976ec4c986158f65cac.jpg","text":"TemporaryFile(/tmp/multipartBody5235781996864190162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209018353,"filename":"image_03112025_11_33_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/3/2ea55db2becdf2224749fd4c7655744a.jpg","text":"TemporaryFile(/tmp/multipartBody3404782952102515321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209018353,"filename":"image_03112025_11_33_23_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/3/8fd34b1180b334c8f705caabcd02d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody2998500281650790425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209018353,"filename":"image_03112025_11_33_14_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/3/93e2277a425237be4f675a5c499fae2f.jpg","text":"TemporaryFile(/tmp/multipartBody940280735992687992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209018353,"filename":"image_03112025_11_33_25_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/3/4f50e4eae9480857621311ccc55bc402.jpg","text":"TemporaryFile(/tmp/multipartBody7456729754210595348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209018353,"filename":"image_03112025_11_33_28_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/267dde716cea2c106aba989d7160754f.jpg","text":"TemporaryFile(/tmp/multipartBody1940293895065942681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209018353,"filename":"image_03112025_11_33_16_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392192794","file1":"1392192792","file0":"1392192791","file4":"1392192800","file5":"1392192803","file3":"1392192797"},"map_files_photo_id_array":[{"photo_id":"1392192803","filename":"file5"},{"photo_id":"1392192794","filename":"file2"},{"photo_id":"1392192800","filename":"file4"},{"photo_id":"1392192792","filename":"file1"},{"photo_id":"1392192791","filename":"file0"},{"photo_id":"1392192797","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392192794":["hashtag1","hashtag2"]},{"1392192797":["hashtag1","hashtag2"]},{"1392192791":["hashtag1","hashtag2"]},{"1392192800":["hashtag1","hashtag2"]},{"1392192803":["hashtag1","hashtag2"]},{"1392192792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392192794, 1392192797, 1392192791, 1392192800, 1392192803, 1392192792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.002097606658936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:29:56.439005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_32_3554.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_34_2654.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_37_2654.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_41_3946.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_43_2647.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_46_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_32_3554.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_34_2654.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_37_2654.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_41_3946.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_43_2647.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_46_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392192888","1392192915","1392192903","1392192813","1392192878","1392192841"],"photo_ids_order":["1392192813","1392192841","1392192878","1392192888","1392192903","1392192915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ee1dd36845265e14650385e0ccd74527.jpg","text":"TemporaryFile(/tmp/multipartBody1048691797540527856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209057315,"filename":"image_03112025_11_33_41_3946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0d69880e805734e99e2e34ac0b82dc8e.jpg","text":"TemporaryFile(/tmp/multipartBody6631283620918033488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209057315,"filename":"image_03112025_11_33_46_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/3/d34cc528d1ec0798ad79dee014b295f8.jpg","text":"TemporaryFile(/tmp/multipartBody6300422026852266224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209057315,"filename":"image_03112025_11_33_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/3/dcabb19a2c04d2aba9e39193b56e1155.jpg","text":"TemporaryFile(/tmp/multipartBody2662700004361534236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209057315,"filename":"image_03112025_11_33_32_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/3/dbe4f656110952176fedbf9b35405e50.jpg","text":"TemporaryFile(/tmp/multipartBody5519184136699566307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209057315,"filename":"image_03112025_11_33_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/3/e796ae1f9a0ef8fc3bea01239e08cf38.jpg","text":"TemporaryFile(/tmp/multipartBody2896558564750840386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209057315,"filename":"image_03112025_11_33_34_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392192878","file1":"1392192841","file0":"1392192813","file4":"1392192903","file5":"1392192915","file3":"1392192888"},"map_files_photo_id_array":[{"photo_id":"1392192915","filename":"file5"},{"photo_id":"1392192878","filename":"file2"},{"photo_id":"1392192903","filename":"file4"},{"photo_id":"1392192841","filename":"file1"},{"photo_id":"1392192813","filename":"file0"},{"photo_id":"1392192888","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392192888":["hashtag1","hashtag2"]},{"1392192915":["hashtag1","hashtag2"]},{"1392192903":["hashtag1","hashtag2"]},{"1392192813":["hashtag1","hashtag2"]},{"1392192878":["hashtag1","hashtag2"]},{"1392192841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392192888, 1392192915, 1392192903, 1392192813, 1392192878, 1392192841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.150272846221924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:30:42.676843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_50_3632.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_52_2625.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_55_2734.jpg', '/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_59_3736.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_01_2568.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_04_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_50_3632.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_52_2625.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_55_2734.jpg
/home/pi/Desktop/images/03112025/11/33/image_03112025_11_33_59_3736.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_01_2568.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_04_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392193037","1392193022","1392193010","1392193015","1392193000","1392193026"],"photo_ids_order":["1392193000","1392193010","1392193015","1392193022","1392193026","1392193037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/542e7c8079f823a77a3168bd29af7bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3980933009892717245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209103501,"filename":"image_03112025_11_34_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/3/d9feeaa939b7cc51fa6d96e3b4a8117f.jpg","text":"TemporaryFile(/tmp/multipartBody3822483455907511183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209103501,"filename":"image_03112025_11_33_59_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/3/e39d116cd6b8e4afee6613eee2faebc3.jpg","text":"TemporaryFile(/tmp/multipartBody7210300480138635394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209103501,"filename":"image_03112025_11_33_52_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/3/4144f429c9bfcd02e93aebfa831a15fd.jpg","text":"TemporaryFile(/tmp/multipartBody8300005759845769603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209103501,"filename":"image_03112025_11_33_55_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/3/c3583448dd3d833a3f2ed2d3079fccef.jpg","text":"TemporaryFile(/tmp/multipartBody2461610455863273882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209103501,"filename":"image_03112025_11_33_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/3/37fbb626a7117107e13b6f826e33a625.jpg","text":"TemporaryFile(/tmp/multipartBody1945197965447332452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209103501,"filename":"image_03112025_11_34_01_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392193015","file1":"1392193010","file0":"1392193000","file4":"1392193026","file5":"1392193037","file3":"1392193022"},"map_files_photo_id_array":[{"photo_id":"1392193037","filename":"file5"},{"photo_id":"1392193015","filename":"file2"},{"photo_id":"1392193026","filename":"file4"},{"photo_id":"1392193010","filename":"file1"},{"photo_id":"1392193000","filename":"file0"},{"photo_id":"1392193022","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392193037":["hashtag1","hashtag2"]},{"1392193022":["hashtag1","hashtag2"]},{"1392193010":["hashtag1","hashtag2"]},{"1392193015":["hashtag1","hashtag2"]},{"1392193000":["hashtag1","hashtag2"]},{"1392193026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392193037, 1392193022, 1392193010, 1392193015, 1392193000, 1392193026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.983131885528564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:31:21.966432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_08_3654.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_10_2707.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_13_2893.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_16_2697.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_20_3752.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_25_5193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_08_3654.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_10_2707.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_13_2893.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_16_2697.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_20_3752.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_25_5193.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392193094","1392193067","1392193074","1392193098","1392193062","1392193071"],"photo_ids_order":["1392193062","1392193067","1392193071","1392193074","1392193094","1392193098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d3c9c7f85731eb9cc752639f99a15bee.jpg","text":"TemporaryFile(/tmp/multipartBody4091580717526339126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209145239,"filename":"image_03112025_11_34_20_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/3/120c3c69c795840a8760ac61e1c31801.jpg","text":"TemporaryFile(/tmp/multipartBody2508221652172444825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209145239,"filename":"image_03112025_11_34_10_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/98adbfa49dc4b02bb675a136bf24b0ab.jpg","text":"TemporaryFile(/tmp/multipartBody1795421899312663388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209145239,"filename":"image_03112025_11_34_16_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/bb2cf49289c413bf2bd646db76f9ad43.jpg","text":"TemporaryFile(/tmp/multipartBody7871670132183939888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209145239,"filename":"image_03112025_11_34_25_5193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cea84c17ae39a24bf352917d9fad4fd4.jpg","text":"TemporaryFile(/tmp/multipartBody8021929925611110211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209145239,"filename":"image_03112025_11_34_08_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/3/5a4c36755cb769b9b7470d2c2771471c.jpg","text":"TemporaryFile(/tmp/multipartBody1538385215403531285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209145239,"filename":"image_03112025_11_34_13_2893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392193071","file1":"1392193067","file0":"1392193062","file4":"1392193094","file5":"1392193098","file3":"1392193074"},"map_files_photo_id_array":[{"photo_id":"1392193098","filename":"file5"},{"photo_id":"1392193071","filename":"file2"},{"photo_id":"1392193094","filename":"file4"},{"photo_id":"1392193067","filename":"file1"},{"photo_id":"1392193062","filename":"file0"},{"photo_id":"1392193074","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392193094":["hashtag1","hashtag2"]},{"1392193067":["hashtag1","hashtag2"]},{"1392193074":["hashtag1","hashtag2"]},{"1392193098":["hashtag1","hashtag2"]},{"1392193062":["hashtag1","hashtag2"]},{"1392193071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392193094, 1392193067, 1392193074, 1392193098, 1392193062, 1392193071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.898398637771606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:32:02.536263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_28_1809.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_31_2569.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_35_3740.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_38_3265.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_41_2718.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_43_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_28_1809.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_31_2569.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_35_3740.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_38_3265.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_41_2718.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_43_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392193113","1392193110","1392193106","1392193100","1392193102","1392193108"],"photo_ids_order":["1392193100","1392193102","1392193106","1392193108","1392193110","1392193113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e72fbe5f60a90ec6f2a2f441926509f2.jpg","text":"TemporaryFile(/tmp/multipartBody6260601532459121981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209183411,"filename":"image_03112025_11_34_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/3/f3752f1442953d206953cd90dbcebbdf.jpg","text":"TemporaryFile(/tmp/multipartBody205601990835619650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209183411,"filename":"image_03112025_11_34_41_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a7c590f4fa4c4eb68b5e65557af0df0a.jpg","text":"TemporaryFile(/tmp/multipartBody1055425668885152872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209183411,"filename":"image_03112025_11_34_35_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/3/41f7a7f622ceda08fa220e875b3909c8.jpg","text":"TemporaryFile(/tmp/multipartBody3816165770036615725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209183411,"filename":"image_03112025_11_34_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/3/1acc2d388ccb5bcc6f9f07900669b367.jpg","text":"TemporaryFile(/tmp/multipartBody2697668670814700974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209183411,"filename":"image_03112025_11_34_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/3/74134ebcc2a216e31228bb15fa98283a.jpg","text":"TemporaryFile(/tmp/multipartBody3609476904729704241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209183411,"filename":"image_03112025_11_34_38_3265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392193106","file1":"1392193102","file0":"1392193100","file4":"1392193110","file5":"1392193113","file3":"1392193108"},"map_files_photo_id_array":[{"photo_id":"1392193113","filename":"file5"},{"photo_id":"1392193106","filename":"file2"},{"photo_id":"1392193110","filename":"file4"},{"photo_id":"1392193102","filename":"file1"},{"photo_id":"1392193100","filename":"file0"},{"photo_id":"1392193108","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392193113":["hashtag1","hashtag2"]},{"1392193110":["hashtag1","hashtag2"]},{"1392193106":["hashtag1","hashtag2"]},{"1392193100":["hashtag1","hashtag2"]},{"1392193102":["hashtag1","hashtag2"]},{"1392193108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392193113, 1392193110, 1392193106, 1392193100, 1392193102, 1392193108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2432804107666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:32:41.964335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_46_2746.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_50_3578.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_52_2807.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_55_2759.jpg', '/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_58_2603.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_46_2746.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_50_3578.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_52_2807.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_55_2759.jpg
/home/pi/Desktop/images/03112025/11/34/image_03112025_11_34_58_2603.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392193128","1392193121","1392193118","1392193123","1392193126","1392193131"],"photo_ids_order":["1392193118","1392193121","1392193123","1392193126","1392193128","1392193131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/35ea09b9defeac5b56164548171bc92e.jpg","text":"TemporaryFile(/tmp/multipartBody1506696469922570183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209222793,"filename":"image_03112025_11_34_58_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/3/1e820893479bf5cb13dbedbbbcc9a855.jpg","text":"TemporaryFile(/tmp/multipartBody3797545971244723695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209222793,"filename":"image_03112025_11_34_50_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/3/5bd6fe91f949c2870059c7fcb44fb41b.jpg","text":"TemporaryFile(/tmp/multipartBody8845773654316116473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209222793,"filename":"image_03112025_11_34_46_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/3/fbc765624980bd07080e4228ed4151cb.jpg","text":"TemporaryFile(/tmp/multipartBody6817644712597961827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209222793,"filename":"image_03112025_11_34_52_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/3/c9bc0bd3a8cc2ade72408880dddc2354.jpg","text":"TemporaryFile(/tmp/multipartBody822964679555547357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209222793,"filename":"image_03112025_11_34_55_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/3/85291aabd2d9e8d1b3d16087b9b84ca0.jpg","text":"TemporaryFile(/tmp/multipartBody1614291001924403353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209222793,"filename":"image_03112025_11_35_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392193123","file1":"1392193121","file0":"1392193118","file4":"1392193128","file5":"1392193131","file3":"1392193126"},"map_files_photo_id_array":[{"photo_id":"1392193131","filename":"file5"},{"photo_id":"1392193123","filename":"file2"},{"photo_id":"1392193128","filename":"file4"},{"photo_id":"1392193121","filename":"file1"},{"photo_id":"1392193118","filename":"file0"},{"photo_id":"1392193126","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392193128":["hashtag1","hashtag2"]},{"1392193121":["hashtag1","hashtag2"]},{"1392193118":["hashtag1","hashtag2"]},{"1392193123":["hashtag1","hashtag2"]},{"1392193126":["hashtag1","hashtag2"]},{"1392193131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392193128, 1392193121, 1392193118, 1392193123, 1392193126, 1392193131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01095938682556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:33:22.319371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_11_3746.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_13_2801.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_16_2755.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_19_2833.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_23_3650.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_25_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_11_3746.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_13_2801.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_16_2755.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_19_2833.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_23_3650.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_25_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392193148","1392193136","1392193139","1392193141","1392193144","1392193152"],"photo_ids_order":["1392193136","1392193139","1392193141","1392193144","1392193148","1392193152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d521b0d2e44cd5abebf33c93d263673f.jpg","text":"TemporaryFile(/tmp/multipartBody522655261605695747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209263220,"filename":"image_03112025_11_35_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/3/e560b94759107bdfa8bf5c57c624243d.jpg","text":"TemporaryFile(/tmp/multipartBody431506656684522475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209263220,"filename":"image_03112025_11_35_11_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/3/4648c00f70193bbc02152605566c3112.jpg","text":"TemporaryFile(/tmp/multipartBody6247870305770153154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209263220,"filename":"image_03112025_11_35_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/3/3452a433d9ad1264157f3d8c8906c5d7.jpg","text":"TemporaryFile(/tmp/multipartBody2812625483560525191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209263220,"filename":"image_03112025_11_35_16_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/049d11e05cff5fbdd958e1af88fb8f6b.jpg","text":"TemporaryFile(/tmp/multipartBody7938175002780140275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209263220,"filename":"image_03112025_11_35_19_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/3/dcbd05d6a52049598937b226f4a989c0.jpg","text":"TemporaryFile(/tmp/multipartBody3170268897131203880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209263220,"filename":"image_03112025_11_35_25_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392193141","file1":"1392193139","file0":"1392193136","file4":"1392193148","file5":"1392193152","file3":"1392193144"},"map_files_photo_id_array":[{"photo_id":"1392193152","filename":"file5"},{"photo_id":"1392193141","filename":"file2"},{"photo_id":"1392193148","filename":"file4"},{"photo_id":"1392193139","filename":"file1"},{"photo_id":"1392193136","filename":"file0"},{"photo_id":"1392193144","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392193148":["hashtag1","hashtag2"]},{"1392193136":["hashtag1","hashtag2"]},{"1392193139":["hashtag1","hashtag2"]},{"1392193141":["hashtag1","hashtag2"]},{"1392193144":["hashtag1","hashtag2"]},{"1392193152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392193148, 1392193136, 1392193139, 1392193141, 1392193144, 1392193152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45695686340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:34:03.259293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_28_2771.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_32_3548.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_34_2598.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_37_2690.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_41_3756.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_43_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_28_2771.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_32_3548.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_34_2598.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_37_2690.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_41_3756.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_43_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392193233","1392193199","1392193163","1392193165","1392193168","1392193275"],"photo_ids_order":["1392193163","1392193165","1392193168","1392193199","1392193233","1392193275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/684ee552597c9901a25277706024f6d8.jpg","text":"TemporaryFile(/tmp/multipartBody8372790139060817372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209304239,"filename":"image_03112025_11_35_41_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/3/2b3f191da6c7947706d71799f3434655.jpg","text":"TemporaryFile(/tmp/multipartBody3971218373599029122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209304239,"filename":"image_03112025_11_35_37_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/3/3d1500b31aab25144869ef22053b0a93.jpg","text":"TemporaryFile(/tmp/multipartBody8320273981782438228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209304239,"filename":"image_03112025_11_35_28_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/3/8a63ca2d3607ade05a6b82fdb3d42c00.jpg","text":"TemporaryFile(/tmp/multipartBody1277885357939562190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209304239,"filename":"image_03112025_11_35_32_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/3/20123f2bb10e3c1afce68e7f4381e14d.jpg","text":"TemporaryFile(/tmp/multipartBody4685938203070369702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209304239,"filename":"image_03112025_11_35_34_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/3/7077a9bd29233397aad63cdaa8a43a5c.jpg","text":"TemporaryFile(/tmp/multipartBody5828819093445902769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209304239,"filename":"image_03112025_11_35_43_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392193168","file1":"1392193165","file0":"1392193163","file4":"1392193233","file5":"1392193275","file3":"1392193199"},"map_files_photo_id_array":[{"photo_id":"1392193275","filename":"file5"},{"photo_id":"1392193168","filename":"file2"},{"photo_id":"1392193233","filename":"file4"},{"photo_id":"1392193165","filename":"file1"},{"photo_id":"1392193163","filename":"file0"},{"photo_id":"1392193199","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392193233":["hashtag1","hashtag2"]},{"1392193199":["hashtag1","hashtag2"]},{"1392193163":["hashtag1","hashtag2"]},{"1392193165":["hashtag1","hashtag2"]},{"1392193168":["hashtag1","hashtag2"]},{"1392193275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392193233, 1392193199, 1392193163, 1392193165, 1392193168, 1392193275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8322389125824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:34:42.603255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_46_2713.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_49_2842.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_52_3709.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_55_2560.jpg', '/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_59_3698.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_02_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_46_2713.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_49_2842.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_52_3709.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_55_2560.jpg
/home/pi/Desktop/images/03112025/11/35/image_03112025_11_35_59_3698.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_02_2784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392193617","1392193478","1392193401","1392193552","1392193513","1392193440"],"photo_ids_order":["1392193401","1392193440","1392193478","1392193513","1392193552","1392193617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d2592176ecfa7452b6f99944a40d2efe.jpg","text":"TemporaryFile(/tmp/multipartBody3521501329474456870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209343442,"filename":"image_03112025_11_36_02_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/3/6935c39bd34c3f6d982461027a49e108.jpg","text":"TemporaryFile(/tmp/multipartBody7982176811222425073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209343442,"filename":"image_03112025_11_35_52_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/3/aa5d5ea485f370eb540e52e4bae83fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4836723806347158672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209343442,"filename":"image_03112025_11_35_46_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/3/caa78e52a09b27eba73ec3c368927bfd.jpg","text":"TemporaryFile(/tmp/multipartBody4973236772846112289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209343442,"filename":"image_03112025_11_35_59_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/3/1e6e431a6a3a2ea411d720fbb03caa6f.jpg","text":"TemporaryFile(/tmp/multipartBody2914424999212119253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209343442,"filename":"image_03112025_11_35_55_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/3/4edd18c2d359cfac3bce9d859eb040a3.jpg","text":"TemporaryFile(/tmp/multipartBody838086075859997344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209343442,"filename":"image_03112025_11_35_49_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392193478","file1":"1392193440","file0":"1392193401","file4":"1392193552","file5":"1392193617","file3":"1392193513"},"map_files_photo_id_array":[{"photo_id":"1392193617","filename":"file5"},{"photo_id":"1392193478","filename":"file2"},{"photo_id":"1392193552","filename":"file4"},{"photo_id":"1392193440","filename":"file1"},{"photo_id":"1392193401","filename":"file0"},{"photo_id":"1392193513","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392193617":["hashtag1","hashtag2"]},{"1392193478":["hashtag1","hashtag2"]},{"1392193401":["hashtag1","hashtag2"]},{"1392193552":["hashtag1","hashtag2"]},{"1392193513":["hashtag1","hashtag2"]},{"1392193440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392193617, 1392193478, 1392193401, 1392193552, 1392193513, 1392193440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91005039215088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:35:22.766612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_04_2742.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_07_2637.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_11_3660.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_13_2574.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_16_2712.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_19_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_04_2742.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_07_2637.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_11_3660.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_13_2574.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_16_2712.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_19_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392193864","1392193942","1392193903","1392193782","1392193743","1392193824"],"photo_ids_order":["1392193743","1392193782","1392193824","1392193864","1392193903","1392193942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fcceebca9c680e76f79519242bb64f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1517036224204462714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209383701,"filename":"image_03112025_11_36_13_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/3/89f7bbbfbeef512d1f154f33a04199b8.jpg","text":"TemporaryFile(/tmp/multipartBody4563602890897616989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209383701,"filename":"image_03112025_11_36_19_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/f197a24fc9b8cec8e434acc97aa16d98.jpg","text":"TemporaryFile(/tmp/multipartBody1551172264426927344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209383701,"filename":"image_03112025_11_36_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/3/1e33607cb8eccbfa9ea5b57845c2cd3b.jpg","text":"TemporaryFile(/tmp/multipartBody5498006412323647430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209383701,"filename":"image_03112025_11_36_07_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/3/7c49f6870ccecd5327c7a0c436df9af4.jpg","text":"TemporaryFile(/tmp/multipartBody4474403292634191011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209383701,"filename":"image_03112025_11_36_04_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/3/5b3ff521ffe9b836966cf7cb2d2c539e.jpg","text":"TemporaryFile(/tmp/multipartBody1511445617264245402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209383701,"filename":"image_03112025_11_36_11_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392193824","file1":"1392193782","file0":"1392193743","file4":"1392193903","file5":"1392193942","file3":"1392193864"},"map_files_photo_id_array":[{"photo_id":"1392193942","filename":"file5"},{"photo_id":"1392193824","filename":"file2"},{"photo_id":"1392193903","filename":"file4"},{"photo_id":"1392193782","filename":"file1"},{"photo_id":"1392193743","filename":"file0"},{"photo_id":"1392193864","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392193864":["hashtag1","hashtag2"]},{"1392193942":["hashtag1","hashtag2"]},{"1392193903":["hashtag1","hashtag2"]},{"1392193782":["hashtag1","hashtag2"]},{"1392193743":["hashtag1","hashtag2"]},{"1392193824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392193864, 1392193942, 1392193903, 1392193782, 1392193743, 1392193824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69072508811951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:36:02.501300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_22_2339.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_25_3631.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_28_2662.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_32_3561.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_34_2609.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_37_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_22_2339.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_25_3631.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_28_2662.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_32_3561.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_34_2609.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_37_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392194045","1392194030","1392194024","1392194086","1392194026","1392194028"],"photo_ids_order":["1392194024","1392194026","1392194028","1392194030","1392194045","1392194086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b6594b61d7cc61f4fc6fecce13810314.jpg","text":"TemporaryFile(/tmp/multipartBody1234866131493486447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209423363,"filename":"image_03112025_11_36_34_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/3f1db99f89399b26ee4d4c463c89f6dc.jpg","text":"TemporaryFile(/tmp/multipartBody7475328452328425430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209423363,"filename":"image_03112025_11_36_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/3/ff4d85dafcded870781bd19d5ae1db7f.jpg","text":"TemporaryFile(/tmp/multipartBody6059491016099977754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209423363,"filename":"image_03112025_11_36_22_2339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e84da8ab194e9f41f4b126fbae418a4b.jpg","text":"TemporaryFile(/tmp/multipartBody6178434809327643718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209423363,"filename":"image_03112025_11_36_37_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/3/584ae287bd1bf38082d0ac5b64f147e8.jpg","text":"TemporaryFile(/tmp/multipartBody6175026232340554616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209423363,"filename":"image_03112025_11_36_25_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/3/4191051ffe1211fa36579fc27f1deaed.jpg","text":"TemporaryFile(/tmp/multipartBody7329888513900239017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209423363,"filename":"image_03112025_11_36_28_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392194028","file1":"1392194026","file0":"1392194024","file4":"1392194045","file5":"1392194086","file3":"1392194030"},"map_files_photo_id_array":[{"photo_id":"1392194086","filename":"file5"},{"photo_id":"1392194028","filename":"file2"},{"photo_id":"1392194045","filename":"file4"},{"photo_id":"1392194026","filename":"file1"},{"photo_id":"1392194024","filename":"file0"},{"photo_id":"1392194030","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392194045":["hashtag1","hashtag2"]},{"1392194030":["hashtag1","hashtag2"]},{"1392194024":["hashtag1","hashtag2"]},{"1392194086":["hashtag1","hashtag2"]},{"1392194026":["hashtag1","hashtag2"]},{"1392194028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392194045, 1392194030, 1392194024, 1392194086, 1392194026, 1392194028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80731177330017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:36:41.821087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_41_3674.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_43_2640.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_46_2612.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_49_3639.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_52_2667.jpg', '/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_55_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_41_3674.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_43_2640.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_46_2612.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_49_3639.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_52_2667.jpg
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_55_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392194444","1392194351","1392194267","1392194225","1392194306","1392194395"],"photo_ids_order":["1392194225","1392194267","1392194306","1392194351","1392194395","1392194444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/43a6aa58ae8283cdfa20385e99b14507.jpg","text":"TemporaryFile(/tmp/multipartBody6409178287775446762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209462667,"filename":"image_03112025_11_36_55_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/fbddd1a49bf7579d14477bd79bf2bd14.jpg","text":"TemporaryFile(/tmp/multipartBody6217972145028974628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209462667,"filename":"image_03112025_11_36_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/3/9c2ff6ca3b9a72f852330289907d4097.jpg","text":"TemporaryFile(/tmp/multipartBody106427845045074291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209462667,"filename":"image_03112025_11_36_43_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/3/238cc0adc6365c96663e3e8911502280.jpg","text":"TemporaryFile(/tmp/multipartBody5259631157139128783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209462667,"filename":"image_03112025_11_36_41_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/3/9039a65029d4c52d3497836359f38961.jpg","text":"TemporaryFile(/tmp/multipartBody3285694398973328713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209462667,"filename":"image_03112025_11_36_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/3/2be1bdacc7df0a91d327d8546bd037ff.jpg","text":"TemporaryFile(/tmp/multipartBody2398197070679463049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209462667,"filename":"image_03112025_11_36_52_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392194306","file1":"1392194267","file0":"1392194225","file4":"1392194395","file5":"1392194444","file3":"1392194351"},"map_files_photo_id_array":[{"photo_id":"1392194444","filename":"file5"},{"photo_id":"1392194306","filename":"file2"},{"photo_id":"1392194395","filename":"file4"},{"photo_id":"1392194267","filename":"file1"},{"photo_id":"1392194225","filename":"file0"},{"photo_id":"1392194351","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392194444":["hashtag1","hashtag2"]},{"1392194351":["hashtag1","hashtag2"]},{"1392194267":["hashtag1","hashtag2"]},{"1392194225":["hashtag1","hashtag2"]},{"1392194306":["hashtag1","hashtag2"]},{"1392194395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392194444, 1392194351, 1392194267, 1392194225, 1392194306, 1392194395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10760712623596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:37:22.005526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_58_2959.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_02_3832.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_04_2654.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_07_2739.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_11_3535.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_13_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/36/image_03112025_11_36_58_2959.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_02_3832.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_04_2654.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_07_2739.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_11_3535.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_13_2823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392194980","1392194725","1392195092","1392194829","1392194904","1392195050"],"photo_ids_order":["1392194725","1392194829","1392194904","1392194980","1392195050","1392195092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/599fa10fad102fcb300cdef5eed69812.jpg","text":"TemporaryFile(/tmp/multipartBody1038099239350135206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209502850,"filename":"image_03112025_11_37_07_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/3/f51a0f57e91895e446f9eb6782599933.jpg","text":"TemporaryFile(/tmp/multipartBody2612988806716743071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209502850,"filename":"image_03112025_11_36_58_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/3/f6404cd1f76f0e43792d96cc3ea5b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody8178514542920150826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209502850,"filename":"image_03112025_11_37_13_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/3/c7a6f2bdb2a9d6cea805732a5b766499.jpg","text":"TemporaryFile(/tmp/multipartBody8965652938528632123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209502850,"filename":"image_03112025_11_37_02_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/3/1486c40c27d40c75b42cee1b99da8ae9.jpg","text":"TemporaryFile(/tmp/multipartBody4469239734922959795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209502850,"filename":"image_03112025_11_37_04_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/26055179a31a539c3c3b2a798aff4e4f.jpg","text":"TemporaryFile(/tmp/multipartBody3680885915858000921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209502850,"filename":"image_03112025_11_37_11_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392194904","file1":"1392194829","file0":"1392194725","file4":"1392195050","file5":"1392195092","file3":"1392194980"},"map_files_photo_id_array":[{"photo_id":"1392195092","filename":"file5"},{"photo_id":"1392194904","filename":"file2"},{"photo_id":"1392195050","filename":"file4"},{"photo_id":"1392194829","filename":"file1"},{"photo_id":"1392194725","filename":"file0"},{"photo_id":"1392194980","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392194980":["hashtag1","hashtag2"]},{"1392194725":["hashtag1","hashtag2"]},{"1392195092":["hashtag1","hashtag2"]},{"1392194829":["hashtag1","hashtag2"]},{"1392194904":["hashtag1","hashtag2"]},{"1392195050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392194980, 1392194725, 1392195092, 1392194829, 1392194904, 1392195050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.748016357421875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:38:02.600474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_16_2628.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_19_2591.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_22_3645.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_25_2638.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_28_2767.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_31_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_16_2628.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_19_2591.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_22_3645.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_25_2638.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_28_2767.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_31_3671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392195382","1392195370","1392195318","1392195266","1392195182","1392195230"],"photo_ids_order":["1392195182","1392195230","1392195266","1392195318","1392195370","1392195382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e1c862c0c663c359f8180812644c8469.jpg","text":"TemporaryFile(/tmp/multipartBody5805773437958056175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209543488,"filename":"image_03112025_11_37_31_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/3/dc0f386b7a2b0a20d16ae12d8b237fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2823207321690832494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209543488,"filename":"image_03112025_11_37_28_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/3/9405b468ac4f4d16c965359aae47870d.jpg","text":"TemporaryFile(/tmp/multipartBody4425821712533206497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209543488,"filename":"image_03112025_11_37_25_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/3/a0571b777b1c9c0047651d2cb5275980.jpg","text":"TemporaryFile(/tmp/multipartBody8109320320810964352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209543488,"filename":"image_03112025_11_37_22_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/3/3a02909b3c49c24fc3dd9d719e1b9f73.jpg","text":"TemporaryFile(/tmp/multipartBody8611621519107828789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209543488,"filename":"image_03112025_11_37_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/3/f0e1422d9591adf901876b42cd59e62f.jpg","text":"TemporaryFile(/tmp/multipartBody1722984770419949060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209543488,"filename":"image_03112025_11_37_19_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392195266","file1":"1392195230","file0":"1392195182","file4":"1392195370","file5":"1392195382","file3":"1392195318"},"map_files_photo_id_array":[{"photo_id":"1392195382","filename":"file5"},{"photo_id":"1392195266","filename":"file2"},{"photo_id":"1392195370","filename":"file4"},{"photo_id":"1392195230","filename":"file1"},{"photo_id":"1392195182","filename":"file0"},{"photo_id":"1392195318","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392195382":["hashtag1","hashtag2"]},{"1392195370":["hashtag1","hashtag2"]},{"1392195318":["hashtag1","hashtag2"]},{"1392195266":["hashtag1","hashtag2"]},{"1392195182":["hashtag1","hashtag2"]},{"1392195230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392195382, 1392195370, 1392195318, 1392195266, 1392195182, 1392195230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39131760597229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:38:42.189465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_34_2660.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_37_2672.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_40_3620.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_43_2689.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_46_2744.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_49_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_34_2660.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_37_2672.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_40_3620.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_43_2689.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_46_2744.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_49_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392195506","1392195457","1392195487","1392195508","1392195507","1392195467"],"photo_ids_order":["1392195457","1392195467","1392195487","1392195506","1392195507","1392195508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4e63f3603315f5c7b384d36e3a2593f3.jpg","text":"TemporaryFile(/tmp/multipartBody7073128776497864321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209583204,"filename":"image_03112025_11_37_43_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/3/65604e8272e04e049afb0b04b1200f48.jpg","text":"TemporaryFile(/tmp/multipartBody1218757143450242817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209583204,"filename":"image_03112025_11_37_34_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/3/07681a4526abc10d6e2ca52b93790443.jpg","text":"TemporaryFile(/tmp/multipartBody7493998368094372238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209583204,"filename":"image_03112025_11_37_40_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/629bdbbf66585868cbe7928cb5014550.jpg","text":"TemporaryFile(/tmp/multipartBody676916266519135765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209583204,"filename":"image_03112025_11_37_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/3/e00f1f1b5022a14e30df578bf2ab3354.jpg","text":"TemporaryFile(/tmp/multipartBody3726259807137763765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209583204,"filename":"image_03112025_11_37_46_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/3/688162cd8aad3386a80248295db8fb75.jpg","text":"TemporaryFile(/tmp/multipartBody5528397321576967261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209583204,"filename":"image_03112025_11_37_37_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392195487","file1":"1392195467","file0":"1392195457","file4":"1392195507","file5":"1392195508","file3":"1392195506"},"map_files_photo_id_array":[{"photo_id":"1392195508","filename":"file5"},{"photo_id":"1392195487","filename":"file2"},{"photo_id":"1392195507","filename":"file4"},{"photo_id":"1392195467","filename":"file1"},{"photo_id":"1392195457","filename":"file0"},{"photo_id":"1392195506","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392195506":["hashtag1","hashtag2"]},{"1392195457":["hashtag1","hashtag2"]},{"1392195487":["hashtag1","hashtag2"]},{"1392195508":["hashtag1","hashtag2"]},{"1392195507":["hashtag1","hashtag2"]},{"1392195467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392195506, 1392195457, 1392195487, 1392195508, 1392195507, 1392195467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03827714920044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:39:22.438177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_52_2726.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_55_2580.jpg', '/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_58_3590.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_01_2656.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_04_2777.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_07_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_52_2726.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_55_2580.jpg
/home/pi/Desktop/images/03112025/11/37/image_03112025_11_37_58_3590.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_01_2656.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_04_2777.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_07_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392195640","1392195715","1392195678","1392195601","1392195708","1392195698"],"photo_ids_order":["1392195601","1392195640","1392195678","1392195698","1392195708","1392195715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b05c4f284be93d26fc2fcd4709ec8fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6180008451576688160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209623262,"filename":"image_03112025_11_37_55_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/3/b7eb59fd968e0fed3c15b649c7dd5d06.jpg","text":"TemporaryFile(/tmp/multipartBody4865876122726845266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209623262,"filename":"image_03112025_11_38_07_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/3/83c918b8b33542a16a2013e058eaca9c.jpg","text":"TemporaryFile(/tmp/multipartBody231820307807150842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209623262,"filename":"image_03112025_11_37_58_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a979258d7677a9607e6d7771f8ffe7c0.jpg","text":"TemporaryFile(/tmp/multipartBody5609544727961439107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209623262,"filename":"image_03112025_11_37_52_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/3/da514e4c8ee860b0eacac8e8f3067725.jpg","text":"TemporaryFile(/tmp/multipartBody1794905287680175429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209623262,"filename":"image_03112025_11_38_04_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/3/9ef15a1c3e1a8c0232fa19cc09cba39d.jpg","text":"TemporaryFile(/tmp/multipartBody4344364601069796819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209623262,"filename":"image_03112025_11_38_01_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392195678","file1":"1392195640","file0":"1392195601","file4":"1392195708","file5":"1392195715","file3":"1392195698"},"map_files_photo_id_array":[{"photo_id":"1392195715","filename":"file5"},{"photo_id":"1392195678","filename":"file2"},{"photo_id":"1392195708","filename":"file4"},{"photo_id":"1392195640","filename":"file1"},{"photo_id":"1392195601","filename":"file0"},{"photo_id":"1392195698","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392195640":["hashtag1","hashtag2"]},{"1392195715":["hashtag1","hashtag2"]},{"1392195678":["hashtag1","hashtag2"]},{"1392195601":["hashtag1","hashtag2"]},{"1392195708":["hashtag1","hashtag2"]},{"1392195698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392195640, 1392195715, 1392195678, 1392195601, 1392195708, 1392195698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.963473320007324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:40:03.091356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_10_3667.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_13_2630.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_16_3538.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_19_2669.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_22_2710.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_25_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_10_3667.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_13_2630.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_16_3538.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_19_2669.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_22_2710.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_25_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392195821","1392195847","1392195754","1392195864","1392195756","1392195758"],"photo_ids_order":["1392195754","1392195756","1392195758","1392195821","1392195847","1392195864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ba1d31ff346c9df87d2fc93112e3bbd6.jpg","text":"TemporaryFile(/tmp/multipartBody436278763683443662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209663996,"filename":"image_03112025_11_38_19_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/c2c2fd09615b0917e744952f03178942.jpg","text":"TemporaryFile(/tmp/multipartBody5773286118285958820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209663996,"filename":"image_03112025_11_38_22_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/3/2044520398fb2b76d4521e09b00b3bec.jpg","text":"TemporaryFile(/tmp/multipartBody1129025379534823291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209663996,"filename":"image_03112025_11_38_10_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/3/a34a27d6212e5821473658720abe3e53.jpg","text":"TemporaryFile(/tmp/multipartBody8922431279514809620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209663996,"filename":"image_03112025_11_38_25_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/3/9561f4cdaf3657d966955bf613e7c44e.jpg","text":"TemporaryFile(/tmp/multipartBody8119515210658834697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209663996,"filename":"image_03112025_11_38_13_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/3/93abe52eb93276fd787e617271123f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2559007532864674064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209663996,"filename":"image_03112025_11_38_16_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392195758","file1":"1392195756","file0":"1392195754","file4":"1392195847","file5":"1392195864","file3":"1392195821"},"map_files_photo_id_array":[{"photo_id":"1392195864","filename":"file5"},{"photo_id":"1392195758","filename":"file2"},{"photo_id":"1392195847","filename":"file4"},{"photo_id":"1392195756","filename":"file1"},{"photo_id":"1392195754","filename":"file0"},{"photo_id":"1392195821","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392195821":["hashtag1","hashtag2"]},{"1392195847":["hashtag1","hashtag2"]},{"1392195754":["hashtag1","hashtag2"]},{"1392195864":["hashtag1","hashtag2"]},{"1392195756":["hashtag1","hashtag2"]},{"1392195758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392195821, 1392195847, 1392195754, 1392195864, 1392195756, 1392195758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.827895164489746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:40:42.529415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_28_2667.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_31_2610.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_34_3689.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_37_2993.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_40_2690.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_43_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_28_2667.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_31_2610.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_34_3689.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_37_2993.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_40_2690.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_43_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392195883","1392195892","1392195885","1392195879","1392195888","1392195881"],"photo_ids_order":["1392195879","1392195881","1392195883","1392195885","1392195888","1392195892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b58c7b2e026050364a3ba0129a968a53.jpg","text":"TemporaryFile(/tmp/multipartBody3920309964655575732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209703348,"filename":"image_03112025_11_38_34_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/3/62740f2dcad2b3744ac07b32485ada88.jpg","text":"TemporaryFile(/tmp/multipartBody1700057758088536946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209703348,"filename":"image_03112025_11_38_43_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/3/8d22fbab6e4377d84594d92322f43354.jpg","text":"TemporaryFile(/tmp/multipartBody4905398232860816940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209703348,"filename":"image_03112025_11_38_37_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/3/db6a529535b2bde3c7953508a3fdb808.jpg","text":"TemporaryFile(/tmp/multipartBody8588392520930472164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209703348,"filename":"image_03112025_11_38_28_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/3/a2ae7bff096caad8e2145a8c1a007f24.jpg","text":"TemporaryFile(/tmp/multipartBody1827348595399425619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209703348,"filename":"image_03112025_11_38_40_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/3/8acee5392f9662181fe2b0fbf716509f.jpg","text":"TemporaryFile(/tmp/multipartBody3294415985155701523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209703348,"filename":"image_03112025_11_38_31_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392195883","file1":"1392195881","file0":"1392195879","file4":"1392195888","file5":"1392195892","file3":"1392195885"},"map_files_photo_id_array":[{"photo_id":"1392195892","filename":"file5"},{"photo_id":"1392195883","filename":"file2"},{"photo_id":"1392195888","filename":"file4"},{"photo_id":"1392195881","filename":"file1"},{"photo_id":"1392195879","filename":"file0"},{"photo_id":"1392195885","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392195883":["hashtag1","hashtag2"]},{"1392195892":["hashtag1","hashtag2"]},{"1392195885":["hashtag1","hashtag2"]},{"1392195879":["hashtag1","hashtag2"]},{"1392195888":["hashtag1","hashtag2"]},{"1392195881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392195883, 1392195892, 1392195885, 1392195879, 1392195888, 1392195881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.319663524627686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:41:22.806684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_46_3681.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_50_3726.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_52_1617.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_54_2721.jpg', '/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_58_3636.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_01_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_46_3681.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_50_3726.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_52_1617.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_54_2721.jpg
/home/pi/Desktop/images/03112025/11/38/image_03112025_11_38_58_3636.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_01_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392195929","1392195898","1392195922","1392195933","1392195900","1392195903"],"photo_ids_order":["1392195898","1392195900","1392195903","1392195922","1392195929","1392195933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6aec29a2738323602d893f594114aae7.jpg","text":"TemporaryFile(/tmp/multipartBody6837656459565101129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209743735,"filename":"image_03112025_11_38_58_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/3/885ab72e4e110c56c0870e54cb2ca9cb.jpg","text":"TemporaryFile(/tmp/multipartBody1441465900860555433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209743735,"filename":"image_03112025_11_38_46_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/3/f5569410576cfcbdbdbb782290e11e66.jpg","text":"TemporaryFile(/tmp/multipartBody6555005621048207711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209743735,"filename":"image_03112025_11_38_54_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/532a4d5d49ca2ffb95439968ede4515b.jpg","text":"TemporaryFile(/tmp/multipartBody2997434156541167607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209743735,"filename":"image_03112025_11_39_01_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/3/264763be7372d48e64bc27f86502d6f1.jpg","text":"TemporaryFile(/tmp/multipartBody2653232326224703838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209743735,"filename":"image_03112025_11_38_50_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/3/154ce4378152912d6e460081d8ffb515.jpg","text":"TemporaryFile(/tmp/multipartBody8025133812669134375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209743735,"filename":"image_03112025_11_38_52_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392195903","file1":"1392195900","file0":"1392195898","file4":"1392195929","file5":"1392195933","file3":"1392195922"},"map_files_photo_id_array":[{"photo_id":"1392195933","filename":"file5"},{"photo_id":"1392195903","filename":"file2"},{"photo_id":"1392195929","filename":"file4"},{"photo_id":"1392195900","filename":"file1"},{"photo_id":"1392195898","filename":"file0"},{"photo_id":"1392195922","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392195929":["hashtag1","hashtag2"]},{"1392195898":["hashtag1","hashtag2"]},{"1392195922":["hashtag1","hashtag2"]},{"1392195933":["hashtag1","hashtag2"]},{"1392195900":["hashtag1","hashtag2"]},{"1392195903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392195929, 1392195898, 1392195922, 1392195933, 1392195900, 1392195903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16270446777344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:42:02.472402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_03_2692.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_07_3568.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_12_4817.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_14_1748.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_19_5563.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_21_1706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_03_2692.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_07_3568.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_12_4817.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_14_1748.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_19_5563.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_21_1706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392195940","1392195943","1392195945","1392195948","1392195953","1392195950"],"photo_ids_order":["1392195940","1392195943","1392195945","1392195948","1392195950","1392195953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/480c71f8d446027b94b264896cae6249.jpg","text":"TemporaryFile(/tmp/multipartBody9089967937031016757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209783336,"filename":"image_03112025_11_39_03_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/3/4599875909869a8af828d899d2b49c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7956733406746250676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209783336,"filename":"image_03112025_11_39_07_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/3/b0bb00898d56387e78f7d99aa241fa60.jpg","text":"TemporaryFile(/tmp/multipartBody4732341165341585126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209783336,"filename":"image_03112025_11_39_12_4817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/01bfa053264dc74fdbae12c4787cd03a.jpg","text":"TemporaryFile(/tmp/multipartBody5163337495150761698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209783336,"filename":"image_03112025_11_39_14_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/3/093125788bf3d6cfd2a041d2c1d04e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3206095964869276948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209783336,"filename":"image_03112025_11_39_21_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/3/42dd12451ff9294ba1e197fb7b010a82.jpg","text":"TemporaryFile(/tmp/multipartBody8632985224153303920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209783336,"filename":"image_03112025_11_39_19_5563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392195945","file1":"1392195943","file0":"1392195940","file4":"1392195950","file5":"1392195953","file3":"1392195948"},"map_files_photo_id_array":[{"photo_id":"1392195953","filename":"file5"},{"photo_id":"1392195945","filename":"file2"},{"photo_id":"1392195950","filename":"file4"},{"photo_id":"1392195943","filename":"file1"},{"photo_id":"1392195940","filename":"file0"},{"photo_id":"1392195948","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392195940":["hashtag1","hashtag2"]},{"1392195943":["hashtag1","hashtag2"]},{"1392195945":["hashtag1","hashtag2"]},{"1392195948":["hashtag1","hashtag2"]},{"1392195953":["hashtag1","hashtag2"]},{"1392195950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392195940, 1392195943, 1392195945, 1392195948, 1392195953, 1392195950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.226967096328735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:42:41.957287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_22_1582.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_25_2745.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_30_4824.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_32_1571.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_57_24995.jpg', '/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_58_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_22_1582.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_25_2745.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_30_4824.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_32_1571.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_57_24995.jpg
/home/pi/Desktop/images/03112025/11/39/image_03112025_11_39_58_1568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392195979","1392196009","1392196012","1392196006","1392196011","1392195992"],"photo_ids_order":["1392195979","1392195992","1392196006","1392196009","1392196011","1392196012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7ade3d4a27ff61c70c2d048630c615f6.jpg","text":"TemporaryFile(/tmp/multipartBody6620909568788106156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209822783,"filename":"image_03112025_11_39_22_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/3/4d52e8f3c385ac7c9bb891117eda7e22.jpg","text":"TemporaryFile(/tmp/multipartBody5675032262899426067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209822783,"filename":"image_03112025_11_39_32_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/3/86d879467c0140b38f6cd7165031f176.jpg","text":"TemporaryFile(/tmp/multipartBody2929110890222785367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209822783,"filename":"image_03112025_11_39_58_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/3/76778c6d51ff4e89a3454829bb2de6d9.jpg","text":"TemporaryFile(/tmp/multipartBody8949041773113475709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209822783,"filename":"image_03112025_11_39_30_4824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b74b0d1f0c3564ac8c1aeb1df01a992c.jpg","text":"TemporaryFile(/tmp/multipartBody48484995547782368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209822783,"filename":"image_03112025_11_39_57_24995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/cebba6f2bdc4cda84e6f8741ecc6ad90.jpg","text":"TemporaryFile(/tmp/multipartBody2798998170526169238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209822783,"filename":"image_03112025_11_39_25_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392196006","file1":"1392195992","file0":"1392195979","file4":"1392196011","file5":"1392196012","file3":"1392196009"},"map_files_photo_id_array":[{"photo_id":"1392196012","filename":"file5"},{"photo_id":"1392196006","filename":"file2"},{"photo_id":"1392196011","filename":"file4"},{"photo_id":"1392195992","filename":"file1"},{"photo_id":"1392195979","filename":"file0"},{"photo_id":"1392196009","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392195979":["hashtag1","hashtag2"]},{"1392196009":["hashtag1","hashtag2"]},{"1392196012":["hashtag1","hashtag2"]},{"1392196006":["hashtag1","hashtag2"]},{"1392196011":["hashtag1","hashtag2"]},{"1392195992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392195979, 1392196009, 1392196012, 1392196006, 1392196011, 1392195992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48962664604187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:43:22.202647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_07_3020.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_11_3757.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_14_2883.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_17_2546.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_19_2770.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_23_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_07_3020.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_11_3757.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_14_2883.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_17_2546.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_19_2770.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_23_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392196132","1392196287","1392196248","1392196209","1392196172","1392196084"],"photo_ids_order":["1392196084","1392196132","1392196172","1392196209","1392196248","1392196287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a5e199cfe319ec4ebdcf7689932209b.jpg","text":"TemporaryFile(/tmp/multipartBody7546828306832928389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209863161,"filename":"image_03112025_11_40_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/3/44a6d5772ddf55de909484e530305b5f.jpg","text":"TemporaryFile(/tmp/multipartBody3345915403108605438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209863161,"filename":"image_03112025_11_40_23_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e301716e88a587491de16a93c8bf5764.jpg","text":"TemporaryFile(/tmp/multipartBody9108905668031132959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209863161,"filename":"image_03112025_11_40_19_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/3/45fbeda5cc54decfe3b12e7f55d43e55.jpg","text":"TemporaryFile(/tmp/multipartBody5304412929568226264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209863161,"filename":"image_03112025_11_40_17_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/3/16b7d619135f83b2f5e39143e2f9a174.jpg","text":"TemporaryFile(/tmp/multipartBody1953307970173831452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209863161,"filename":"image_03112025_11_40_14_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d236c41ca57d5d1449bdbbff1c60aafc.jpg","text":"TemporaryFile(/tmp/multipartBody1231443418669318730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209863161,"filename":"image_03112025_11_40_07_3020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392196172","file1":"1392196132","file0":"1392196084","file4":"1392196248","file5":"1392196287","file3":"1392196209"},"map_files_photo_id_array":[{"photo_id":"1392196287","filename":"file5"},{"photo_id":"1392196172","filename":"file2"},{"photo_id":"1392196248","filename":"file4"},{"photo_id":"1392196132","filename":"file1"},{"photo_id":"1392196084","filename":"file0"},{"photo_id":"1392196209","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392196132":["hashtag1","hashtag2"]},{"1392196287":["hashtag1","hashtag2"]},{"1392196248":["hashtag1","hashtag2"]},{"1392196209":["hashtag1","hashtag2"]},{"1392196172":["hashtag1","hashtag2"]},{"1392196084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392196132, 1392196287, 1392196248, 1392196209, 1392196172, 1392196084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.381221532821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:44:03.038528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_26_2663.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_28_2657.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_32_3779.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_35_2602.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_37_2661.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_41_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_26_2663.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_28_2657.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_32_3779.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_35_2602.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_37_2661.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_41_3603.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8209786415100098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:44:22.349714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_26_2663.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_28_2657.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_32_3779.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_35_2602.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_37_2661.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_41_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_26_2663.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_28_2657.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_32_3779.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_35_2602.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_37_2661.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_41_3603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392196366","1392196371","1392196374","1392196368","1392196377","1392196401"],"photo_ids_order":["1392196366","1392196368","1392196371","1392196374","1392196377","1392196401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1e7ff93c9d0668a5e03a18c6335959d6.jpg","text":"TemporaryFile(/tmp/multipartBody4904073873514913414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209923056,"filename":"image_03112025_11_40_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/3/b14de5f715f02e51d1a19b230a66afa5.jpg","text":"TemporaryFile(/tmp/multipartBody5273741432025131833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209923056,"filename":"image_03112025_11_40_32_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/3/e19a735fa2c9b8efc1e8a3694a1d1824.jpg","text":"TemporaryFile(/tmp/multipartBody2680736325943246085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209923056,"filename":"image_03112025_11_40_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/3/077b7f3d7818dd614166c7f994181f4f.jpg","text":"TemporaryFile(/tmp/multipartBody2945784516978074863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209923056,"filename":"image_03112025_11_40_28_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/3/16f2cc57eddf18d4c1f31b01a1b27db5.jpg","text":"TemporaryFile(/tmp/multipartBody2233108054121425682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209923056,"filename":"image_03112025_11_40_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/3/86273ff0e11d6a2814e572fe08c45e2e.jpg","text":"TemporaryFile(/tmp/multipartBody3907177242616619064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209923056,"filename":"image_03112025_11_40_41_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392196371","file1":"1392196368","file0":"1392196366","file4":"1392196377","file5":"1392196401","file3":"1392196374"},"map_files_photo_id_array":[{"photo_id":"1392196401","filename":"file5"},{"photo_id":"1392196371","filename":"file2"},{"photo_id":"1392196377","filename":"file4"},{"photo_id":"1392196368","filename":"file1"},{"photo_id":"1392196366","filename":"file0"},{"photo_id":"1392196374","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392196366":["hashtag1","hashtag2"]},{"1392196371":["hashtag1","hashtag2"]},{"1392196374":["hashtag1","hashtag2"]},{"1392196368":["hashtag1","hashtag2"]},{"1392196377":["hashtag1","hashtag2"]},{"1392196401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392196366, 1392196371, 1392196374, 1392196368, 1392196377, 1392196401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07534432411194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:45:03.211486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_44_2585.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_47_3633.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_50_2543.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_52_2644.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_56_3669.jpg', '/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_59_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_44_2585.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_47_3633.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_50_2543.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_52_2644.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_56_3669.jpg
/home/pi/Desktop/images/03112025/11/40/image_03112025_11_40_59_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392196732","1392196776","1392196815","1392196559","1392196604","1392196690"],"photo_ids_order":["1392196559","1392196604","1392196690","1392196732","1392196776","1392196815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/037f915da3fd582b93f08a19c30c6196.jpg","text":"TemporaryFile(/tmp/multipartBody6610953196299435090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209964165,"filename":"image_03112025_11_40_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/3/ee02b8d434499266f1fe64536bd82d23.jpg","text":"TemporaryFile(/tmp/multipartBody1703540302408643193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209964165,"filename":"image_03112025_11_40_56_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/3/926eff917c7e184dd84f3d19e68cbf17.jpg","text":"TemporaryFile(/tmp/multipartBody7568131463993207798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209964165,"filename":"image_03112025_11_40_59_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/3/7b5c2579be37f730bcafcb131e9d440f.jpg","text":"TemporaryFile(/tmp/multipartBody6087299406575144358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209964165,"filename":"image_03112025_11_40_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/3/b3b0dcd9cb7d281883260b4672d7babd.jpg","text":"TemporaryFile(/tmp/multipartBody5539701002975483709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209964165,"filename":"image_03112025_11_40_47_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/3/ef10e20a49ab97e40f4f4762f76a34ab.jpg","text":"TemporaryFile(/tmp/multipartBody7646127802326772996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762209964165,"filename":"image_03112025_11_40_50_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392196690","file1":"1392196604","file0":"1392196559","file4":"1392196776","file5":"1392196815","file3":"1392196732"},"map_files_photo_id_array":[{"photo_id":"1392196815","filename":"file5"},{"photo_id":"1392196690","filename":"file2"},{"photo_id":"1392196776","filename":"file4"},{"photo_id":"1392196604","filename":"file1"},{"photo_id":"1392196559","filename":"file0"},{"photo_id":"1392196732","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392196732":["hashtag1","hashtag2"]},{"1392196776":["hashtag1","hashtag2"]},{"1392196815":["hashtag1","hashtag2"]},{"1392196559":["hashtag1","hashtag2"]},{"1392196604":["hashtag1","hashtag2"]},{"1392196690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392196732, 1392196776, 1392196815, 1392196559, 1392196604, 1392196690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.580344676971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:46:03.235363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_01_2662.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_05_3682.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_08_2631.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_11_3551.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_14_2807.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_17_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_01_2662.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_05_3682.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_08_2631.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_11_3551.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_14_2807.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_17_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392197215","1392197177","1392197252","1392197102","1392197140","1392197065"],"photo_ids_order":["1392197065","1392197102","1392197140","1392197177","1392197215","1392197252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/446849c94e2eb43916a89d38ac755273.jpg","text":"TemporaryFile(/tmp/multipartBody7821108801866654358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210024113,"filename":"image_03112025_11_41_14_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/3/f125943f1c5490d7253ebe31f88b4d54.jpg","text":"TemporaryFile(/tmp/multipartBody5374076133131233110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210024113,"filename":"image_03112025_11_41_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/3/9a26cd1084b9854e964d2076c6ff9b2e.jpg","text":"TemporaryFile(/tmp/multipartBody3023368544383872227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210024113,"filename":"image_03112025_11_41_17_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/3/1effbeb1c31be3cbd0fbdcf413edee7f.jpg","text":"TemporaryFile(/tmp/multipartBody6066997910895705348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210024113,"filename":"image_03112025_11_41_05_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/3/688044520d35f2d51e78359d21d6c6af.jpg","text":"TemporaryFile(/tmp/multipartBody2675780901850245563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210024113,"filename":"image_03112025_11_41_08_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/3/7dc16383121f7f05c037c39f8fd7715a.jpg","text":"TemporaryFile(/tmp/multipartBody8694286496043326318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210024113,"filename":"image_03112025_11_41_01_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392197140","file1":"1392197102","file0":"1392197065","file4":"1392197215","file5":"1392197252","file3":"1392197177"},"map_files_photo_id_array":[{"photo_id":"1392197252","filename":"file5"},{"photo_id":"1392197140","filename":"file2"},{"photo_id":"1392197215","filename":"file4"},{"photo_id":"1392197102","filename":"file1"},{"photo_id":"1392197065","filename":"file0"},{"photo_id":"1392197177","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392197215":["hashtag1","hashtag2"]},{"1392197177":["hashtag1","hashtag2"]},{"1392197252":["hashtag1","hashtag2"]},{"1392197102":["hashtag1","hashtag2"]},{"1392197140":["hashtag1","hashtag2"]},{"1392197065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392197215, 1392197177, 1392197252, 1392197102, 1392197140, 1392197065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44922947883606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:46:42.655077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_19_2707.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_23_3591.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_26_2641.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_29_3618.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_32_2808.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_35_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_19_2707.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_23_3591.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_26_2641.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_29_3618.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_32_2808.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_35_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392197503","1392197397","1392197656","1392197578","1392197719","1392197434"],"photo_ids_order":["1392197397","1392197434","1392197503","1392197578","1392197656","1392197719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5ca21f0142bdf311917988df00d23577.jpg","text":"TemporaryFile(/tmp/multipartBody1990266847759305621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210063491,"filename":"image_03112025_11_41_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/3/2185a0dfd298bf3359d5bdba8af342b5.jpg","text":"TemporaryFile(/tmp/multipartBody3168634711903316982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210063491,"filename":"image_03112025_11_41_19_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/3/af3f59a7d900d847fa3fa0f20bf5e7f6.jpg","text":"TemporaryFile(/tmp/multipartBody4153617798286548638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210063491,"filename":"image_03112025_11_41_32_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/3/bdf5f5c7392fa2e6dbd0f5a16d8aa279.jpg","text":"TemporaryFile(/tmp/multipartBody4579142771882351755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210063491,"filename":"image_03112025_11_41_29_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/3/81bc2ab01e435786d640869eb22c0bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4336775852706923393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210063491,"filename":"image_03112025_11_41_35_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/3/e1190f77f431cb52a9fd909c49a00b05.jpg","text":"TemporaryFile(/tmp/multipartBody2176717734511005863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210063491,"filename":"image_03112025_11_41_23_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392197503","file1":"1392197434","file0":"1392197397","file4":"1392197656","file5":"1392197719","file3":"1392197578"},"map_files_photo_id_array":[{"photo_id":"1392197719","filename":"file5"},{"photo_id":"1392197503","filename":"file2"},{"photo_id":"1392197656","filename":"file4"},{"photo_id":"1392197434","filename":"file1"},{"photo_id":"1392197397","filename":"file0"},{"photo_id":"1392197578","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392197503":["hashtag1","hashtag2"]},{"1392197397":["hashtag1","hashtag2"]},{"1392197656":["hashtag1","hashtag2"]},{"1392197578":["hashtag1","hashtag2"]},{"1392197719":["hashtag1","hashtag2"]},{"1392197434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392197503, 1392197397, 1392197656, 1392197578, 1392197719, 1392197434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26871585845947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:47:21.964008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_37_2648.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_41_3623.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_43_2547.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_47_3583.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_50_2782.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_53_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_37_2648.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_41_3623.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_43_2547.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_47_3583.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_50_2782.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_53_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392197970","1392197931","1392198011","1392197852","1392198049","1392197893"],"photo_ids_order":["1392197852","1392197893","1392197931","1392197970","1392198011","1392198049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4392269b437a25d6a64494d6454383dc.jpg","text":"TemporaryFile(/tmp/multipartBody6616657993204926611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210102890,"filename":"image_03112025_11_41_47_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/3/901ae88500a2ea487e39144422f0f3ef.jpg","text":"TemporaryFile(/tmp/multipartBody3701917006334141851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210102890,"filename":"image_03112025_11_41_43_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/3/49a0e3bdbcf44fa8f7b082d09ad65aeb.jpg","text":"TemporaryFile(/tmp/multipartBody309058021735062057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210102890,"filename":"image_03112025_11_41_50_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ac7218880a59238b42b903630276e7da.jpg","text":"TemporaryFile(/tmp/multipartBody3270981333796731293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210102890,"filename":"image_03112025_11_41_37_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/3/ab26e740f7b7cba3304935fdf2d75006.jpg","text":"TemporaryFile(/tmp/multipartBody6282361010558938222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210102890,"filename":"image_03112025_11_41_53_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/3/191075927b4df1e17de4f6e120aea740.jpg","text":"TemporaryFile(/tmp/multipartBody5862509141248326307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210102890,"filename":"image_03112025_11_41_41_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392197931","file1":"1392197893","file0":"1392197852","file4":"1392198011","file5":"1392198049","file3":"1392197970"},"map_files_photo_id_array":[{"photo_id":"1392198049","filename":"file5"},{"photo_id":"1392197931","filename":"file2"},{"photo_id":"1392198011","filename":"file4"},{"photo_id":"1392197893","filename":"file1"},{"photo_id":"1392197852","filename":"file0"},{"photo_id":"1392197970","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392197970":["hashtag1","hashtag2"]},{"1392197931":["hashtag1","hashtag2"]},{"1392198011":["hashtag1","hashtag2"]},{"1392197852":["hashtag1","hashtag2"]},{"1392198049":["hashtag1","hashtag2"]},{"1392197893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392197970, 1392197931, 1392198011, 1392197852, 1392198049, 1392197893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07009792327881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:48:02.480110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_55_2749.jpg', '/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_58_2880.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_02_3723.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_05_2622.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_07_2666.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_11_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_55_2749.jpg
/home/pi/Desktop/images/03112025/11/41/image_03112025_11_41_58_2880.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_02_3723.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_05_2622.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_07_2666.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_11_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392198155","1392198179","1392198158","1392198152","1392198146","1392198148"],"photo_ids_order":["1392198146","1392198148","1392198152","1392198155","1392198158","1392198179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/b95f1b669180d43282057697cb0e4f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3424137789566306298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210143413,"filename":"image_03112025_11_42_05_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/052802293473edba2863bb45240f43f1.jpg","text":"TemporaryFile(/tmp/multipartBody532172069903336735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210143413,"filename":"image_03112025_11_42_11_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/3/4666c7fa5e371f9d078a00e8cd7389a5.jpg","text":"TemporaryFile(/tmp/multipartBody6139152757267037053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210143413,"filename":"image_03112025_11_42_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/3/9ee687359dac4266c30a114cd7b3069b.jpg","text":"TemporaryFile(/tmp/multipartBody4370760089353977490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210143413,"filename":"image_03112025_11_42_02_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/3/e0e9a05e78b38595191b4b6a9d3dab71.jpg","text":"TemporaryFile(/tmp/multipartBody5800242475053350848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210143413,"filename":"image_03112025_11_41_55_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/3/dbadaad6b0cf9a1b1fd1a6a659120fae.jpg","text":"TemporaryFile(/tmp/multipartBody8085018837570430255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210143413,"filename":"image_03112025_11_41_58_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392198152","file1":"1392198148","file0":"1392198146","file4":"1392198158","file5":"1392198179","file3":"1392198155"},"map_files_photo_id_array":[{"photo_id":"1392198179","filename":"file5"},{"photo_id":"1392198152","filename":"file2"},{"photo_id":"1392198158","filename":"file4"},{"photo_id":"1392198148","filename":"file1"},{"photo_id":"1392198146","filename":"file0"},{"photo_id":"1392198155","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392198155":["hashtag1","hashtag2"]},{"1392198179":["hashtag1","hashtag2"]},{"1392198158":["hashtag1","hashtag2"]},{"1392198152":["hashtag1","hashtag2"]},{"1392198146":["hashtag1","hashtag2"]},{"1392198148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392198155, 1392198179, 1392198158, 1392198152, 1392198146, 1392198148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26675629615784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:48:42.054412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_13_2549.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_17_3580.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_20_2689.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_22_2640.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_26_3820.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_29_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_13_2549.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_17_3580.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_20_2689.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_22_2640.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_26_3820.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_29_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392198402","1392198303","1392198569","1392198346","1392198454","1392198495"],"photo_ids_order":["1392198303","1392198346","1392198402","1392198454","1392198495","1392198569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ea597be261c8d0811994fd0902487f75.jpg","text":"TemporaryFile(/tmp/multipartBody3831669118581114083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210182899,"filename":"image_03112025_11_42_20_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/3/46eb6b126f90f95e880f12712da9ea64.jpg","text":"TemporaryFile(/tmp/multipartBody7531525946186418052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210182899,"filename":"image_03112025_11_42_13_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/3/1e074d5a24939b4c569c06d3465d80e7.jpg","text":"TemporaryFile(/tmp/multipartBody5437317641157650986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210182899,"filename":"image_03112025_11_42_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/3/2117c39112e6459725b8fb787acb01c1.jpg","text":"TemporaryFile(/tmp/multipartBody6114855435355703644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210182899,"filename":"image_03112025_11_42_17_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/3/03ba8c7167144c7d3bc23a40daba97b3.jpg","text":"TemporaryFile(/tmp/multipartBody8611892063926142002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210182899,"filename":"image_03112025_11_42_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/9786811673ce2e3f5f43a1821d93f959.jpg","text":"TemporaryFile(/tmp/multipartBody2595192509416363321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210182899,"filename":"image_03112025_11_42_26_3820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392198402","file1":"1392198346","file0":"1392198303","file4":"1392198495","file5":"1392198569","file3":"1392198454"},"map_files_photo_id_array":[{"photo_id":"1392198569","filename":"file5"},{"photo_id":"1392198402","filename":"file2"},{"photo_id":"1392198495","filename":"file4"},{"photo_id":"1392198346","filename":"file1"},{"photo_id":"1392198303","filename":"file0"},{"photo_id":"1392198454","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392198402":["hashtag1","hashtag2"]},{"1392198303":["hashtag1","hashtag2"]},{"1392198569":["hashtag1","hashtag2"]},{"1392198346":["hashtag1","hashtag2"]},{"1392198454":["hashtag1","hashtag2"]},{"1392198495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392198402, 1392198303, 1392198569, 1392198346, 1392198454, 1392198495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65727519989014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:49:22.250242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_31_2646.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_34_2681.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_38_3574.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_41_2837.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_44_3566.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_47_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_31_2646.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_34_2681.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_38_3574.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_41_2837.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_44_3566.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_47_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392198890","1392198917","1392198800","1392198763","1392198838","1392198718"],"photo_ids_order":["1392198718","1392198763","1392198800","1392198838","1392198890","1392198917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0cedae91ef7267fca448d76a803fb474.jpg","text":"TemporaryFile(/tmp/multipartBody2706288939476493984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210223084,"filename":"image_03112025_11_42_44_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/3/24d5777b7e76c6bc6a3f0f7df122634a.jpg","text":"TemporaryFile(/tmp/multipartBody1316748734313129429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210223084,"filename":"image_03112025_11_42_47_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d1a8c7f625187935e74da765b01ae271.jpg","text":"TemporaryFile(/tmp/multipartBody6770516502139276345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210223084,"filename":"image_03112025_11_42_38_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/3/937563a81621e0c4f5df7efa895b5f53.jpg","text":"TemporaryFile(/tmp/multipartBody5404973449520253477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210223084,"filename":"image_03112025_11_42_34_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/837b04994218ff48192ec4eeb8c902c9.jpg","text":"TemporaryFile(/tmp/multipartBody1061394603984346733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210223084,"filename":"image_03112025_11_42_41_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0808d15a8d80645379c84af17783e39f.jpg","text":"TemporaryFile(/tmp/multipartBody1594095475307633659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210223084,"filename":"image_03112025_11_42_31_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392198800","file1":"1392198763","file0":"1392198718","file4":"1392198890","file5":"1392198917","file3":"1392198838"},"map_files_photo_id_array":[{"photo_id":"1392198917","filename":"file5"},{"photo_id":"1392198800","filename":"file2"},{"photo_id":"1392198890","filename":"file4"},{"photo_id":"1392198763","filename":"file1"},{"photo_id":"1392198718","filename":"file0"},{"photo_id":"1392198838","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392198890":["hashtag1","hashtag2"]},{"1392198917":["hashtag1","hashtag2"]},{"1392198800":["hashtag1","hashtag2"]},{"1392198763":["hashtag1","hashtag2"]},{"1392198838":["hashtag1","hashtag2"]},{"1392198718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392198890, 1392198917, 1392198800, 1392198763, 1392198838, 1392198718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3578941822052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:50:02.946197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_49_2590.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_53_3519.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_56_2597.jpg', '/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_58_2639.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_02_3616.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_04_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_49_2590.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_53_3519.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_56_2597.jpg
/home/pi/Desktop/images/03112025/11/42/image_03112025_11_42_58_2639.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_02_3616.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_04_2559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392199121","1392199019","1392198983","1392199186","1392199056","1392199245"],"photo_ids_order":["1392198983","1392199019","1392199056","1392199121","1392199186","1392199245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/a44319feeea711272baa1c2e2dae1320.jpg","text":"TemporaryFile(/tmp/multipartBody5664043147280620817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210263825,"filename":"image_03112025_11_42_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/3/9836e27401e87395809e7ad183f2b6c8.jpg","text":"TemporaryFile(/tmp/multipartBody2215806636993281352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210263825,"filename":"image_03112025_11_42_53_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/3/3e48bbf8c277e44556dd3bbb115ff873.jpg","text":"TemporaryFile(/tmp/multipartBody905623102265457654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210263825,"filename":"image_03112025_11_42_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/3/7d837bac2daf24fb7c7cc07d7742267d.jpg","text":"TemporaryFile(/tmp/multipartBody939685517855935887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210263825,"filename":"image_03112025_11_43_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/3/7b17327142aa111a2f9a59bdfeb36eab.jpg","text":"TemporaryFile(/tmp/multipartBody8775746914257366260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210263825,"filename":"image_03112025_11_42_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/3/704ba9179946abee5ad65ea2a8feca25.jpg","text":"TemporaryFile(/tmp/multipartBody2517525256764293690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210263825,"filename":"image_03112025_11_43_04_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392199056","file1":"1392199019","file0":"1392198983","file4":"1392199186","file5":"1392199245","file3":"1392199121"},"map_files_photo_id_array":[{"photo_id":"1392199245","filename":"file5"},{"photo_id":"1392199056","filename":"file2"},{"photo_id":"1392199186","filename":"file4"},{"photo_id":"1392199019","filename":"file1"},{"photo_id":"1392198983","filename":"file0"},{"photo_id":"1392199121","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392199121":["hashtag1","hashtag2"]},{"1392199019":["hashtag1","hashtag2"]},{"1392198983":["hashtag1","hashtag2"]},{"1392199186":["hashtag1","hashtag2"]},{"1392199056":["hashtag1","hashtag2"]},{"1392199245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392199121, 1392199019, 1392198983, 1392199186, 1392199056, 1392199245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27274823188782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:50:42.326484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_07_2829.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_11_3712.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_14_2775.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_16_2574.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_20_3710.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_22_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_07_2829.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_11_3712.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_14_2775.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_16_2574.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_20_3710.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_22_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392199430","1392199657","1392199609","1392199510","1392199563","1392199392"],"photo_ids_order":["1392199392","1392199430","1392199510","1392199563","1392199609","1392199657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/df618762c14b27ced08f27a3cf246c23.jpg","text":"TemporaryFile(/tmp/multipartBody1178584203565039893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210303158,"filename":"image_03112025_11_43_11_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/ea1c7a795e4b4be51b8e88008ffb06a6.jpg","text":"TemporaryFile(/tmp/multipartBody8312104453140643275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210303158,"filename":"image_03112025_11_43_22_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/3/4cdc2b6e492cf3dbccd6e7a521741ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4507760943027347770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210303158,"filename":"image_03112025_11_43_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/3/8022a32fc246e994fdf1717c8a9dd5e6.jpg","text":"TemporaryFile(/tmp/multipartBody8390744215172412679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210303158,"filename":"image_03112025_11_43_14_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/3/1ce1a346bf7de8f525d28e367177a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody2632274210183879449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210303158,"filename":"image_03112025_11_43_16_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/3/31f2ecc98369f8a3d539898ef69b0459.jpg","text":"TemporaryFile(/tmp/multipartBody1549703371062455994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210303158,"filename":"image_03112025_11_43_07_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392199510","file1":"1392199430","file0":"1392199392","file4":"1392199609","file5":"1392199657","file3":"1392199563"},"map_files_photo_id_array":[{"photo_id":"1392199657","filename":"file5"},{"photo_id":"1392199510","filename":"file2"},{"photo_id":"1392199609","filename":"file4"},{"photo_id":"1392199430","filename":"file1"},{"photo_id":"1392199392","filename":"file0"},{"photo_id":"1392199563","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392199430":["hashtag1","hashtag2"]},{"1392199657":["hashtag1","hashtag2"]},{"1392199609":["hashtag1","hashtag2"]},{"1392199510":["hashtag1","hashtag2"]},{"1392199563":["hashtag1","hashtag2"]},{"1392199392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392199430, 1392199657, 1392199609, 1392199510, 1392199563, 1392199392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03684449195862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:51:22.594285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_25_2636.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_29_3874.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_32_2801.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_35_3124.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_37_2515.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_41_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_25_2636.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_29_3874.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_32_2801.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_35_3124.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_37_2515.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_41_3568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392199964","1392200080","1392199811","1392200005","1392199870","1392200042"],"photo_ids_order":["1392199811","1392199870","1392199964","1392200005","1392200042","1392200080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/84b1670fcefd5d6c17d50cd14d149342.jpg","text":"TemporaryFile(/tmp/multipartBody8391424005519575241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210343500,"filename":"image_03112025_11_43_32_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/3/f2029cb8529a2186aa197801a48dab0d.jpg","text":"TemporaryFile(/tmp/multipartBody521778455000358169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210343500,"filename":"image_03112025_11_43_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/3/bd77578aa16e82d5f7d261f59e0f2d22.jpg","text":"TemporaryFile(/tmp/multipartBody9041229391377563450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210343500,"filename":"image_03112025_11_43_25_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/3/7d82bd2841a2d9ddd9025d9c7671bbe8.jpg","text":"TemporaryFile(/tmp/multipartBody8557002725686698448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210343500,"filename":"image_03112025_11_43_35_3124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7b0ed2a57f108810a53548001e5ac2b1.jpg","text":"TemporaryFile(/tmp/multipartBody3877588056535894057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210343500,"filename":"image_03112025_11_43_29_3874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/98b871610ef540bb3c9bf08ced2151db.jpg","text":"TemporaryFile(/tmp/multipartBody3330343317237461293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210343500,"filename":"image_03112025_11_43_37_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392199964","file1":"1392199870","file0":"1392199811","file4":"1392200042","file5":"1392200080","file3":"1392200005"},"map_files_photo_id_array":[{"photo_id":"1392200080","filename":"file5"},{"photo_id":"1392199964","filename":"file2"},{"photo_id":"1392200042","filename":"file4"},{"photo_id":"1392199870","filename":"file1"},{"photo_id":"1392199811","filename":"file0"},{"photo_id":"1392200005","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392199964":["hashtag1","hashtag2"]},{"1392200080":["hashtag1","hashtag2"]},{"1392199811":["hashtag1","hashtag2"]},{"1392200005":["hashtag1","hashtag2"]},{"1392199870":["hashtag1","hashtag2"]},{"1392200042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392199964, 1392200080, 1392199811, 1392200005, 1392199870, 1392200042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.710291385650635 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-03 23:52:22.770627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_44_2777.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_46_2589.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_50_3624.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_53_3325.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_56_2508.jpg', '/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_59_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_44_2777.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_46_2589.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_50_3624.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_53_3325.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_56_2508.jpg
/home/pi/Desktop/images/03112025/11/43/image_03112025_11_43_59_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392200437","1392200440","1392200434","1392200436","1392200432","1392200429"],"photo_ids_order":["1392200429","1392200432","1392200434","1392200436","1392200437","1392200440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/4c563dd8b227d89724ca17436322d0bf.jpg","text":"TemporaryFile(/tmp/multipartBody1024186070793451325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210403718,"filename":"image_03112025_11_43_56_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/3/e7a90b9b1a78c8fedf97b473b44d4e93.jpg","text":"TemporaryFile(/tmp/multipartBody3078255398010332800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210403718,"filename":"image_03112025_11_43_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/3/f5e95aaccc98f801a4ab9cc79fc0d357.jpg","text":"TemporaryFile(/tmp/multipartBody7364504390243784360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210403718,"filename":"image_03112025_11_43_50_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/3/7c14efa0db8875c652766bca386d7c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6595565524017747960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210403718,"filename":"image_03112025_11_43_53_3325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/142414aab7d77354d7c7c2e6aef5a67b.jpg","text":"TemporaryFile(/tmp/multipartBody8177564602097756505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210403718,"filename":"image_03112025_11_43_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/3/48252edea661c3472d85bf309a54b5ff.jpg","text":"TemporaryFile(/tmp/multipartBody5172300589004077140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210403718,"filename":"image_03112025_11_43_44_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392200434","file1":"1392200432","file0":"1392200429","file4":"1392200437","file5":"1392200440","file3":"1392200436"},"map_files_photo_id_array":[{"photo_id":"1392200440","filename":"file5"},{"photo_id":"1392200434","filename":"file2"},{"photo_id":"1392200437","filename":"file4"},{"photo_id":"1392200432","filename":"file1"},{"photo_id":"1392200429","filename":"file0"},{"photo_id":"1392200436","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392200437":["hashtag1","hashtag2"]},{"1392200440":["hashtag1","hashtag2"]},{"1392200434":["hashtag1","hashtag2"]},{"1392200436":["hashtag1","hashtag2"]},{"1392200432":["hashtag1","hashtag2"]},{"1392200429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392200437, 1392200440, 1392200434, 1392200436, 1392200432, 1392200429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70092153549194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:53:03.440738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_01_2613.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_05_3583.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_07_2700.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_10_2658.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_14_3544.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_16_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_01_2613.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_05_3583.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_07_2700.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_10_2658.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_14_3544.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_16_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392200491","1392200494","1392200488","1392200482","1392200484","1392200486"],"photo_ids_order":["1392200482","1392200484","1392200486","1392200488","1392200491","1392200494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/6a2b857500083feff8aecd1d7eebf6cd.jpg","text":"TemporaryFile(/tmp/multipartBody1901349900521437345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210444352,"filename":"image_03112025_11_44_14_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/3/53f34eae048d1f278784fd7a8eb15fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6935778535569019829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210444352,"filename":"image_03112025_11_44_16_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/2f42d2dfe55ae0cf5a7cea18acda2c13.jpg","text":"TemporaryFile(/tmp/multipartBody5682014350438838921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210444352,"filename":"image_03112025_11_44_10_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/3/02ac58b7a5fbbc0cc94cb4697a0ddaed.jpg","text":"TemporaryFile(/tmp/multipartBody4297506406782288026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210444352,"filename":"image_03112025_11_44_01_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/3/aad59ede63d5be1c680c30565496dac9.jpg","text":"TemporaryFile(/tmp/multipartBody1805894029103974404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210444352,"filename":"image_03112025_11_44_05_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/3/6163d845d99f7f96332b7a10ba065464.jpg","text":"TemporaryFile(/tmp/multipartBody8615437274315923832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210444352,"filename":"image_03112025_11_44_07_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392200486","file1":"1392200484","file0":"1392200482","file4":"1392200491","file5":"1392200494","file3":"1392200488"},"map_files_photo_id_array":[{"photo_id":"1392200494","filename":"file5"},{"photo_id":"1392200486","filename":"file2"},{"photo_id":"1392200491","filename":"file4"},{"photo_id":"1392200484","filename":"file1"},{"photo_id":"1392200482","filename":"file0"},{"photo_id":"1392200488","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392200491":["hashtag1","hashtag2"]},{"1392200494":["hashtag1","hashtag2"]},{"1392200488":["hashtag1","hashtag2"]},{"1392200482":["hashtag1","hashtag2"]},{"1392200484":["hashtag1","hashtag2"]},{"1392200486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392200491, 1392200494, 1392200488, 1392200482, 1392200484, 1392200486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08712673187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:53:42.690491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_20_3615.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_23_2680.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_25_2587.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_29_3648.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_31_2640.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_34_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_20_3615.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_23_2680.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_25_2587.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_29_3648.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_31_2640.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_34_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392200599","1392200509","1392200562","1392200526","1392200505","1392200508"],"photo_ids_order":["1392200505","1392200508","1392200509","1392200526","1392200562","1392200599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/282820c44407f8db13bb9486be06b95a.jpg","text":"TemporaryFile(/tmp/multipartBody7969246606488498265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210483553,"filename":"image_03112025_11_44_34_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/3/c5f651529debac6180d62c4fd28e986e.jpg","text":"TemporaryFile(/tmp/multipartBody5922874700576682833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210483553,"filename":"image_03112025_11_44_25_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/3/4a44777d05c49356304358573e556043.jpg","text":"TemporaryFile(/tmp/multipartBody6108921455954456526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210483553,"filename":"image_03112025_11_44_31_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/3/3fbf1172d531992fa301d7f7e42dadbb.jpg","text":"TemporaryFile(/tmp/multipartBody4880407098411021381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210483553,"filename":"image_03112025_11_44_29_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/3/bcc194c7a3c725900d21c3172c6cbe99.jpg","text":"TemporaryFile(/tmp/multipartBody537099164964219744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210483553,"filename":"image_03112025_11_44_20_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/3/22c43597cd58b5dc80f5e95c08b0acc7.jpg","text":"TemporaryFile(/tmp/multipartBody7740902585322244477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210483553,"filename":"image_03112025_11_44_23_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392200509","file1":"1392200508","file0":"1392200505","file4":"1392200562","file5":"1392200599","file3":"1392200526"},"map_files_photo_id_array":[{"photo_id":"1392200599","filename":"file5"},{"photo_id":"1392200509","filename":"file2"},{"photo_id":"1392200562","filename":"file4"},{"photo_id":"1392200508","filename":"file1"},{"photo_id":"1392200505","filename":"file0"},{"photo_id":"1392200526","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392200599":["hashtag1","hashtag2"]},{"1392200509":["hashtag1","hashtag2"]},{"1392200562":["hashtag1","hashtag2"]},{"1392200526":["hashtag1","hashtag2"]},{"1392200505":["hashtag1","hashtag2"]},{"1392200508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392200599, 1392200509, 1392200562, 1392200526, 1392200505, 1392200508)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.69460368156433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-03 23:54:41.818133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_38_3684.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_40_2671.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_43_2888.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_57_13469.jpg', '/home/pi/Desktop/images/03112025/11/44/image_03112025_11_45_00_3020.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_07_3013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_38_3684.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_40_2671.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_43_2888.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_44_57_13469.jpg
/home/pi/Desktop/images/03112025/11/44/image_03112025_11_45_00_3020.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_07_3013.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392201151","1392201232","1392201075","1392201191","1392201029","1392201110"],"photo_ids_order":["1392201029","1392201075","1392201110","1392201151","1392201191","1392201232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/5ed642a2cb68ff1b0ece7b8e58b5de81.jpg","text":"TemporaryFile(/tmp/multipartBody8429196616502483764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210542648,"filename":"image_03112025_11_44_57_13469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/e2227748527617a7408ce8034864529c.jpg","text":"TemporaryFile(/tmp/multipartBody3326608512157338640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210542648,"filename":"image_03112025_11_45_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/3/3791427a530c5a4990c071dd1e38312f.jpg","text":"TemporaryFile(/tmp/multipartBody9093149404112532819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210542648,"filename":"image_03112025_11_44_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/3/e8ab6f6a80ee7b122983a203b213b1a1.jpg","text":"TemporaryFile(/tmp/multipartBody1563636766773085868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210542648,"filename":"image_03112025_11_45_00_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d9bb52a88e2815acace806230c77376a.jpg","text":"TemporaryFile(/tmp/multipartBody2040464088077711589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210542648,"filename":"image_03112025_11_44_38_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/3/7134e7aa1d5ceedc0aa932fe31f578b1.jpg","text":"TemporaryFile(/tmp/multipartBody7927235061535376810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210542648,"filename":"image_03112025_11_44_43_2888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392201110","file1":"1392201075","file0":"1392201029","file4":"1392201191","file5":"1392201232","file3":"1392201151"},"map_files_photo_id_array":[{"photo_id":"1392201232","filename":"file5"},{"photo_id":"1392201110","filename":"file2"},{"photo_id":"1392201191","filename":"file4"},{"photo_id":"1392201075","filename":"file1"},{"photo_id":"1392201029","filename":"file0"},{"photo_id":"1392201151","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392201151":["hashtag1","hashtag2"]},{"1392201232":["hashtag1","hashtag2"]},{"1392201075":["hashtag1","hashtag2"]},{"1392201191":["hashtag1","hashtag2"]},{"1392201029":["hashtag1","hashtag2"]},{"1392201110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392201151, 1392201232, 1392201075, 1392201191, 1392201029, 1392201110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45203137397766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:55:23.897076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_11_3819.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_13_2637.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_16_2769.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_19_2904.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_23_3759.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_25_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_11_3819.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_13_2637.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_16_2769.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_19_2904.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_23_3759.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_25_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":["1392201364","1392201310","1392201360","1392201357","1392201402","1392201332"],"photo_ids_order":["1392201310","1392201332","1392201357","1392201360","1392201364","1392201402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/d65d783968cace814f611efc604bc781.jpg","text":"TemporaryFile(/tmp/multipartBody4848804430217452394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210584729,"filename":"image_03112025_11_45_23_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/3/4e5f64def403786939aacdf89b72ed7f.jpg","text":"TemporaryFile(/tmp/multipartBody2330945136385566864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210584729,"filename":"image_03112025_11_45_11_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/3/03e46e9ffabf714f1f905608040823f9.jpg","text":"TemporaryFile(/tmp/multipartBody2808509382807464716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210584729,"filename":"image_03112025_11_45_19_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/3/51b6778c6aface2b34b7455ca46d6204.jpg","text":"TemporaryFile(/tmp/multipartBody5675845516397625293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210584729,"filename":"image_03112025_11_45_16_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/3/486522f1a9eefaa5fdac1b21576f05cc.jpg","text":"TemporaryFile(/tmp/multipartBody8004182497012901282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210584729,"filename":"image_03112025_11_45_25_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/3/a5aaeb718883db3da45591a6d9a73061.jpg","text":"TemporaryFile(/tmp/multipartBody545507349198104141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210584729,"filename":"image_03112025_11_45_13_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392201357","file1":"1392201332","file0":"1392201310","file4":"1392201364","file5":"1392201402","file3":"1392201360"},"map_files_photo_id_array":[{"photo_id":"1392201402","filename":"file5"},{"photo_id":"1392201357","filename":"file2"},{"photo_id":"1392201364","filename":"file4"},{"photo_id":"1392201332","filename":"file1"},{"photo_id":"1392201310","filename":"file0"},{"photo_id":"1392201360","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392201364":["hashtag1","hashtag2"]},{"1392201310":["hashtag1","hashtag2"]},{"1392201360":["hashtag1","hashtag2"]},{"1392201357":["hashtag1","hashtag2"]},{"1392201402":["hashtag1","hashtag2"]},{"1392201332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392201364, 1392201310, 1392201360, 1392201357, 1392201402, 1392201332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19211530685425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-03 23:56:21.859617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_28_2737.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_32_3582.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_34_2612.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_37_2560.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_41_3750.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_43_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_28_2737.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_32_3582.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_34_2612.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_37_2560.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_41_3750.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_43_2838.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392201463","1392201486","1392201447","1392201479","1392201443","1392201490"],"photo_ids_order":["1392201443","1392201447","1392201463","1392201479","1392201486","1392201490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/1f2d43eb023d4c6fd229775709a319e2.jpg","text":"TemporaryFile(/tmp/multipartBody1088303329668318116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210642993,"filename":"image_03112025_11_45_34_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/3/e71c771e2445a8ec4c5613f1f5511632.jpg","text":"TemporaryFile(/tmp/multipartBody3390969138207843194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210642993,"filename":"image_03112025_11_45_41_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/3/2c690218ec12f7c271be1a6b10819a41.jpg","text":"TemporaryFile(/tmp/multipartBody6952061303328226621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210642993,"filename":"image_03112025_11_45_32_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/3/1bf843412c8b866a7228746ea14da2c3.jpg","text":"TemporaryFile(/tmp/multipartBody638945260545802587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210642993,"filename":"image_03112025_11_45_37_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/3/ab4dfcf8cbf617035b9fba3b921f5f66.jpg","text":"TemporaryFile(/tmp/multipartBody3116117740144946937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210642993,"filename":"image_03112025_11_45_28_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/3/6c1377c0610185acd47e631d2d219d46.jpg","text":"TemporaryFile(/tmp/multipartBody1099077022127393325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210642993,"filename":"image_03112025_11_45_43_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392201463","file1":"1392201447","file0":"1392201443","file4":"1392201486","file5":"1392201490","file3":"1392201479"},"map_files_photo_id_array":[{"photo_id":"1392201490","filename":"file5"},{"photo_id":"1392201463","filename":"file2"},{"photo_id":"1392201486","filename":"file4"},{"photo_id":"1392201447","filename":"file1"},{"photo_id":"1392201443","filename":"file0"},{"photo_id":"1392201479","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392201463":["hashtag1","hashtag2"]},{"1392201486":["hashtag1","hashtag2"]},{"1392201447":["hashtag1","hashtag2"]},{"1392201479":["hashtag1","hashtag2"]},{"1392201443":["hashtag1","hashtag2"]},{"1392201490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392201463, 1392201486, 1392201447, 1392201479, 1392201443, 1392201490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52340030670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-03 23:57:03.017415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_46_2740.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_49_2719.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_53_3623.jpg', '/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_58_2835.jpg', '/home/pi/Desktop/images/03112025/11/46/image_03112025_11_46_01_2907.jpg', '/home/pi/Desktop/images/03112025/11/46/image_03112025_11_46_05_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_46_2740.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_49_2719.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_53_3623.jpg
/home/pi/Desktop/images/03112025/11/45/image_03112025_11_45_58_2835.jpg
/home/pi/Desktop/images/03112025/11/46/image_03112025_11_46_01_2907.jpg
/home/pi/Desktop/images/03112025/11/46/image_03112025_11_46_05_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1392201777","1392201627","1392201590","1392201740","1392201665","1392201704"],"photo_ids_order":["1392201590","1392201627","1392201665","1392201704","1392201740","1392201777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/0a52235d7d7ee46a4e19f12dfe703000.jpg","text":"TemporaryFile(/tmp/multipartBody7263352160281834469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210683964,"filename":"image_03112025_11_46_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/3/adc460bcd78f4dd981c3779ce05de392.jpg","text":"TemporaryFile(/tmp/multipartBody5995190897154258385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210683964,"filename":"image_03112025_11_45_49_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/3/a2273faa73b3f145590944e72e7d9770.jpg","text":"TemporaryFile(/tmp/multipartBody3520569430245857296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210683964,"filename":"image_03112025_11_45_46_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/3/7910a29173cc24d15f892e0edad5d638.jpg","text":"TemporaryFile(/tmp/multipartBody4301629600677848765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210683964,"filename":"image_03112025_11_46_01_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/3/29fef415af5f174a0090b523265a58c8.jpg","text":"TemporaryFile(/tmp/multipartBody1790457097722460368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210683964,"filename":"image_03112025_11_45_53_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/3/f9853287593275c6d23a413572035ba6.jpg","text":"TemporaryFile(/tmp/multipartBody6930047262300191618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762210683964,"filename":"image_03112025_11_45_58_2835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1392201665","file1":"1392201627","file0":"1392201590","file4":"1392201740","file5":"1392201777","file3":"1392201704"},"map_files_photo_id_array":[{"photo_id":"1392201777","filename":"file5"},{"photo_id":"1392201665","filename":"file2"},{"photo_id":"1392201740","filename":"file4"},{"photo_id":"1392201627","filename":"file1"},{"photo_id":"1392201590","filename":"file0"},{"photo_id":"1392201704","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1392201777":["hashtag1","hashtag2"]},{"1392201627":["hashtag1","hashtag2"]},{"1392201590":["hashtag1","hashtag2"]},{"1392201740":["hashtag1","hashtag2"]},{"1392201665":["hashtag1","hashtag2"]},{"1392201704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1392201777, 1392201627, 1392201590, 1392201740, 1392201665, 1392201704)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.41167402267456 secondes ---
